mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Additional constructor to RequestHint.SmartStepFilter.
This commit is contained in:
@@ -61,9 +61,16 @@ public class RequestHint {
|
||||
private boolean myMethodExecuted;
|
||||
|
||||
public SmartStepFilter(PsiMethod psiMethod) {
|
||||
myDeclaringClassName = JVMNameUtil.getJVMQualifiedName(psiMethod.getContainingClass());
|
||||
myTargetMethodName = psiMethod.isConstructor()? "<init>" : psiMethod.getName();
|
||||
myTargetMethodSignature = JVMNameUtil.getJVMSignature(psiMethod);
|
||||
this(JVMNameUtil.getJVMQualifiedName(psiMethod.getContainingClass()),
|
||||
psiMethod.isConstructor()? "<init>" : psiMethod.getName(),
|
||||
JVMNameUtil.getJVMSignature(psiMethod));
|
||||
}
|
||||
|
||||
public SmartStepFilter(@NotNull JVMName declaringClassName, @NonNls String targetMethodName,
|
||||
@NotNull JVMName targetMethodSignature) {
|
||||
myDeclaringClassName = declaringClassName;
|
||||
myTargetMethodName = targetMethodName;
|
||||
myTargetMethodSignature = targetMethodSignature;
|
||||
}
|
||||
|
||||
public String getTargetMethodName() {
|
||||
|
||||
Reference in New Issue
Block a user