protected static class AsmVisitorWrapper.ForDeclaredMethods.Entry extends Object implements ElementMatcher<MethodDescription.InDefinedShape>, AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
ElementMatcher.Junction<S>| Modifier | Constructor and Description | 
|---|---|
| protected  | Entry(ElementMatcher<? super MethodDescription.InDefinedShape> matcher,
     AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper methodVisitorWrapper)Creates a new entry. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| boolean | matches(MethodDescription.InDefinedShape target)Matches a target against this element matcher. | 
| String | toString() | 
| MethodVisitor | wrap(TypeDescription instrumentedType,
    MethodDescription.InDefinedShape methodDescription,
    MethodVisitor methodVisitor)Wraps a method visitor. | 
protected Entry(ElementMatcher<? super MethodDescription.InDefinedShape> matcher, AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper methodVisitorWrapper)
matcher - The matcher to identify methods to be wrapped.methodVisitorWrapper - The method visitor wrapper to be applied if the given matcher is matched.public boolean matches(MethodDescription.InDefinedShape target)
ElementMatchermatches in interface ElementMatcher<MethodDescription.InDefinedShape>target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.public MethodVisitor wrap(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodVisitor methodVisitor)
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapperwrap in interface AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapperinstrumentedType - The instrumented type.methodDescription - The method that is currently being defined.methodVisitor - The original field visitor that defines the given method.Copyright © 2014–2016. All rights reserved.