Additional constructor to RequestHint.SmartStepFilter.

This commit is contained in:
Alexander.Podkhalyuzin
2012-01-26 18:35:30 +04:00
parent d35c11949e
commit 0737192155
@@ -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() {