/** * implements the visitor to see if this method is equals(Object o) * * @param obj * the context object of the currently parsed code block */ @Override public void visitCode(Code obj) { Method m = getMethod(); String name = m.getName(); String signature = m.getSignature(); if ("equals".equals(name) && SignatureBuilder.SIG_OBJECT_TO_BOOLEAN.equals(signature) && prescreen(m)) { stack.resetForMethodEntry(this); super.visitCode(obj); } }
/** * implements the visitor to see if this method is equals(Object o) * * @param obj * the context object of the currently parsed code block */ @Override public void visitCode(Code obj) { Method m = getMethod(); String name = m.getName(); String signature = m.getSignature(); if ("equals".equals(name) && SignatureBuilder.SIG_OBJECT_TO_BOOLEAN.equals(signature) && prescreen(m)) { stack.resetForMethodEntry(this); super.visitCode(obj); } }