| Package | Description | 
|---|---|
| net.bytebuddy.implementation.attribute | 
 All types and classes in this package are responsible for writing attributes for a given Java byte code element,
 i.e. fields, types and byte code methods. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AnnotationAppender.Default
A default implementation for an annotation appender that writes annotations to a given byte consumer
 represented by an ASM  
AnnotationVisitor. | 
| Modifier and Type | Method and Description | 
|---|---|
AnnotationAppender | 
AnnotationAppender.append(AnnotationDescription annotationDescription,
      AnnotationValueFilter annotationValueFilter)
Writes the given annotation to the target that this appender represents. 
 | 
AnnotationAppender | 
AnnotationAppender.Default.append(AnnotationDescription annotationDescription,
      AnnotationValueFilter annotationValueFilter)  | 
AnnotationAppender | 
AnnotationAppender.append(AnnotationDescription annotationDescription,
      AnnotationValueFilter annotationValueFilter,
      int typeReference,
      String typePath)
Writes the given type annotation to the target that this appender represents. 
 | 
AnnotationAppender | 
AnnotationAppender.Default.append(AnnotationDescription annotationDescription,
      AnnotationValueFilter annotationValueFilter,
      int typeReference,
      String typePath)  | 
protected abstract AnnotationAppender | 
MethodAttributeAppender.ForInstrumentedMethod.appendReceiver(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter,
              MethodDescription methodDescription)
Appends the annotations of the instrumented method's receiver type if this is enabled and such a type exists. 
 | 
static AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter,
              boolean variableOnType,
              int subListIndex,
              List<? extends TypeDescription.Generic> typeVariables)
Appends all supplied type variables to the supplied method appender. 
 | 
static AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter,
              boolean variableOnType,
              List<? extends TypeDescription.Generic> typeVariables)
Appends all supplied type variables to the supplied method appender. 
 | 
AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.onGenericArray(TypeDescription.Generic genericArray)  | 
AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.onNonGenericType(TypeDescription.Generic typeDescription)  | 
AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.onParameterizedType(TypeDescription.Generic parameterizedType)  | 
AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.onTypeVariable(TypeDescription.Generic typeVariable)  | 
AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.onWildcard(TypeDescription.Generic wildcard)  | 
| Modifier and Type | Method and Description | 
|---|---|
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofExceptionType(AnnotationAppender annotationAppender,
               AnnotationValueFilter annotationValueFilter,
               int index)
Creates a type annotation appender for type annotations of a method's exception type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofFieldType(AnnotationAppender annotationAppender,
           AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a field's type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofInterfaceType(AnnotationAppender annotationAppender,
               AnnotationValueFilter annotationValueFilter,
               int index)
Creates a type annotation appender for type annotations of an interface type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofMethodParameterType(AnnotationAppender annotationAppender,
                     AnnotationValueFilter annotationValueFilter,
                     int index)
Creates a type annotation appender for type annotations of a method's parameter type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofMethodReturnType(AnnotationAppender annotationAppender,
                  AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a method's return type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofReceiverType(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a method's receiver type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofSuperClass(AnnotationAppender annotationAppender,
            AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for a type annotations of a super class type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract AnnotationAppender | 
MethodAttributeAppender.ForInstrumentedMethod.appendReceiver(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter,
              MethodDescription methodDescription)
Appends the annotations of the instrumented method's receiver type if this is enabled and such a type exists. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofExceptionType(AnnotationAppender annotationAppender,
               AnnotationValueFilter annotationValueFilter,
               int index)
Creates a type annotation appender for type annotations of a method's exception type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofFieldType(AnnotationAppender annotationAppender,
           AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a field's type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofInterfaceType(AnnotationAppender annotationAppender,
               AnnotationValueFilter annotationValueFilter,
               int index)
Creates a type annotation appender for type annotations of an interface type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofMethodParameterType(AnnotationAppender annotationAppender,
                     AnnotationValueFilter annotationValueFilter,
                     int index)
Creates a type annotation appender for type annotations of a method's parameter type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofMethodReturnType(AnnotationAppender annotationAppender,
                  AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a method's return type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofReceiverType(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a method's receiver type. 
 | 
static TypeDescription.Generic.Visitor<AnnotationAppender> | 
AnnotationAppender.ForTypeAnnotations.ofSuperClass(AnnotationAppender annotationAppender,
            AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for a type annotations of a super class type. 
 | 
static AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter,
              boolean variableOnType,
              int subListIndex,
              List<? extends TypeDescription.Generic> typeVariables)
Appends all supplied type variables to the supplied method appender. 
 | 
static AnnotationAppender | 
AnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender,
              AnnotationValueFilter annotationValueFilter,
              boolean variableOnType,
              List<? extends TypeDescription.Generic> typeVariables)
Appends all supplied type variables to the supplied method appender. 
 | 
| Constructor and Description | 
|---|
ForTypeAnnotations(AnnotationAppender annotationAppender,
                  AnnotationValueFilter annotationValueFilter,
                  int typeReference,
                  String typePath)
Creates a new type annotation appending visitor. 
 | 
ForTypeAnnotations(AnnotationAppender annotationAppender,
                  AnnotationValueFilter annotationValueFilter,
                  TypeReference typeReference)
Creates a new type annotation appending visitor for an empty type path. 
 | 
Copyright © 2014–2016. All rights reserved.