@Override public void visitMethodInsn(int opcode, String owner, String methodName, String methodDesc) { if (MethodIs.aConstructor(this.name)) { return; } MethodIdentifier identifier = makeMethodIdentifier(makeMethodDescriptor(methodName, methodDesc)); privateMethodCalledFromConstructorMap.put(identifier, false); }
private static boolean isNotAConstructor(final MethodNode methodOrConstructor) { final String methodOrConstructorName = methodOrConstructor.name; return !MethodIs.aConstructor(methodOrConstructorName) && !"<clinit>".equals(methodOrConstructorName); }
private static boolean isConstructor(final MethodNode setter) { return MethodIs.aConstructor(setter.name); }