Class TypeWriter.MethodPool.Record.ForDefinedMethod
java.lang.Object
net.bytebuddy.dynamic.scaffold.TypeWriter.MethodPool.Record.ForDefinedMethod
- All Implemented Interfaces:
TypeWriter.MethodPool.Record
- Direct Known Subclasses:
Implementation.Context.Default.DelegationRecord, TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge, TypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue, TypeWriter.MethodPool.Record.ForDefinedMethod.WithBody, TypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBody
- Enclosing interface:
TypeWriter.MethodPool.Record
public abstract static class TypeWriter.MethodPool.Record.ForDefinedMethod
extends Object
implements TypeWriter.MethodPool.Record
A base implementation of an abstract entry that defines a method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA record for a visibility bridge.static classDescribes an entry that defines a method with a default annotation value.static classDescribes an entry that defines a method as byte code.static classDescribes an entry that defines a method but without byte code and without an annotation value.Nested classes/interfaces inherited from interface TypeWriter.MethodPool.Record
TypeWriter.MethodPool.Record.AccessBridgeWrapper, TypeWriter.MethodPool.Record.ForDefinedMethod, TypeWriter.MethodPool.Record.ForNonImplementedMethod, TypeWriter.MethodPool.Record.Sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, AnnotationValueFilter.Factory annotationValueFilterFactory) Applies this method entry.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TypeWriter.MethodPool.Record
applyAttributes, applyBody, applyCode, applyHead, getMethod, getSort, getVisibility, prepend
-
Constructor Details
-
ForDefinedMethod
public ForDefinedMethod()
-
-
Method Details
-
apply
public void apply(org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, AnnotationValueFilter.Factory annotationValueFilterFactory) Applies this method entry. This method can always be called and might be a no-op.- Specified by:
applyin interfaceTypeWriter.MethodPool.Record- Parameters:
classVisitor- The class visitor to which this entry should be applied.implementationContext- The implementation context to which this entry should be applied.annotationValueFilterFactory- The annotation value filter factory to apply when writing annotations.
-