Class DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter

All Implemented Interfaces:
DynamicType.Builder<U>, DynamicType.Builder.MethodDefinition<U>, DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
Enclosing class:
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter

@Enhance(includeSyntheticFields=true) protected class DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter extends DynamicType.Builder.MethodDefinition.AbstractBase.Adapter<U>
An annotation adapter for implementing annotations during a method definition.
  • Constructor Details

    • AnnotationAdapter

      protected AnnotationAdapter(MethodRegistry.Handler handler)
      Creates a new annotation adapter.
      Parameters:
      handler - The handler that determines how a method is implemented.
    • AnnotationAdapter

      protected AnnotationAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
      Creates a new annotation adapter.
      Parameters:
      handler - The handler that determines how a method is implemented.
      methodAttributeAppenderFactory - The method attribute appender factory to apply onto the method that is currently being implemented.
      transformer - The method transformer to apply onto the method that is currently being implemented.
  • Method Details