public boolean injectIntoMethod(String name, String desc) { return lookupRule(name, desc) != null; }
public boolean injectIntoMethod(String name, String desc) { return lookupRule(name, desc) != null; }
RuleTriggerMethodAdapter(MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions) { super(mv, transformContext, access, name, descriptor, transformContext.lookupRule(name, descriptor)); this.signature = signature; this.exceptions = exceptions; this.callArrayBindings = new ArrayList<Binding>(); this.returnBindingType = Type.getReturnType(descriptor); this.argumentTypes = Type.getArgumentTypes(descriptor); this.argLocalIndices = new int[argumentTypes.length]; this.bindReturnOrThrowableValue = false; this.bindInvokeParams = false; this.bindingIndicesSet = false; }
RuleTriggerMethodAdapter(MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions) { super(mv, transformContext, access, name, descriptor, transformContext.lookupRule(name, descriptor)); this.signature = signature; this.exceptions = exceptions; this.callArrayBindings = new ArrayList<Binding>(); this.returnBindingType = Type.getReturnType(descriptor); this.argumentTypes = Type.getArgumentTypes(descriptor); this.argLocalIndices = new int[argumentTypes.length]; this.bindReturnOrThrowableValue = false; this.bindInvokeParams = false; this.bindingIndicesSet = false; }