Class MethodInjector.Transformer.SyntheticMethod
java.lang.Object
com.infradna.tool.bridge_method_injector.MethodInjector.Transformer.SyntheticMethod
- Enclosing class:
MethodInjector.Transformer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final String(package private) final boolean(package private) final String(package private) final String[](package private) final String(package private) final org.objectweb.asm.TypeReturn type of the declared method written in the source code.(package private) final String(package private) final org.objectweb.asm.TypeReturn type of the bridge method to be inserted. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanvoidinject(org.objectweb.asm.ClassVisitor cv) Injects a synthetic method and send it to cv.private voidinsertAdapterMethod(org.objectweb.asm.commons.GeneratorAdapter ga)
-
Field Details
-
access
final int access -
name
-
desc
-
originalSignature
-
exceptions
-
castRequired
final boolean castRequired -
adapterMethod
-
returnType
final org.objectweb.asm.Type returnTypeReturn type of the bridge method to be inserted. -
originalReturnType
final org.objectweb.asm.Type originalReturnTypeReturn type of the declared method written in the source code.
-
-
Constructor Details
-
SyntheticMethod
-
-
Method Details
-
inject
public void inject(org.objectweb.asm.ClassVisitor cv) Injects a synthetic method and send it to cv. -
hasAdapterMethod
private boolean hasAdapterMethod() -
insertAdapterMethod
private void insertAdapterMethod(org.objectweb.asm.commons.GeneratorAdapter ga)
-