net.bytebuddy.utility.dispatcher.JavaDispatcher.Proxied
annotation to any method of an
enhanced type where the annotation is not set. This aids in supporting obfuscators that rename methods which
makes reflection-based lookup by the proxy interface's name impossible.
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public DynamicType. | apply(DynamicType.
The builder to use as a basis for the applied transformation. builder,The type being transformed. typeDescription, ClassFileLocator A class file locator that can locate other types in the scope of the project. classFileLocator)Implements net. |
public void | apply(MethodVisitor
The method visitor to which the attributes that are represented by this attribute
appender are written to. methodVisitor, MethodDescription The description of the method for which the given method visitor creates an
instrumentation for. methodDescription, AnnotationValueFilter The annotation value filter to apply when the annotations are written. annotationValueFilter)Implements net. |
public void | close()
Implements java. |
public MethodAttributeAppender | make(TypeDescription
The type for which a method attribute appender is to be applied for. typeDescription)Implements net. |
DispatcherAnnotationPlugin | back to summary |
---|---|
public DispatcherAnnotationPlugin() Creates a new dispatcher annotation plugin. |
apply | back to summary |
---|---|
public DynamicType. Implements net. Doc from net. Applies this plugin.
|
apply | back to summary |
---|---|
public void apply(MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Implements net. Doc from net. Applies this attribute appender to a given method visitor.
|
close | back to summary |
---|---|
public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in |
make | back to summary |
---|---|
public MethodAttributeAppender make(TypeDescription typeDescription) Implements net. Doc from net. Returns a method attribute appender that is applicable for a given type description.
|