Class MethodRegistry.Handler.ForAnnotationValue

java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler.ForAnnotationValue
All Implemented Interfaces:
InstrumentedType.Prepareable, MethodRegistry.Handler, MethodRegistry.Handler.Compiled
Enclosing interface:
MethodRegistry.Handler

@Enhance public static class MethodRegistry.Handler.ForAnnotationValue extends Object implements MethodRegistry.Handler, MethodRegistry.Handler.Compiled
A handler for defining a default annotation value for a method.
  • Field Details

    • annotationValue

      private final AnnotationValue<?,?> annotationValue
      The annotation value to set as a default value.
  • Constructor Details

    • ForAnnotationValue

      public ForAnnotationValue(AnnotationValue<?,?> annotationValue)
      Creates a handler for defining a default annotation value for a method.
      Parameters:
      annotationValue - The annotation value to set as a default value.
  • Method Details