Interface Bytecode.ClassBuilder.AnnotationBuilder<T extends Bytecode.ClassBuilder.AnnotationBuilder<T>>

Type Parameters:
T - the parent type of base class the class shall be created for
All Known Subinterfaces:
Bytecode.ClassBuilder.FieldAnnotationBuilder<T>, Bytecode.ClassBuilder.TypeAnnotationBuilder<T>
Enclosing interface:
Bytecode.ClassBuilder<T>

public static interface Bytecode.ClassBuilder.AnnotationBuilder<T extends Bytecode.ClassBuilder.AnnotationBuilder<T>>
Sub-builder for type annotations.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String property, boolean value)
    Defines an annotation value.
    define(String property, int value)
    Defines an annotation value.
    define(String property, String value)
    Defines an annotation value.
  • Method Details

    • define

      T define(String property, String value)
      Defines an annotation value.
      Parameters:
      property - the property
      value - the property value
      Returns:
      this for chaining
    • define

      T define(String property, int value)
      Defines an annotation value.
      Parameters:
      property - the property
      value - the property value
      Returns:
      this for chaining
    • define

      T define(String property, boolean value)
      Defines an annotation value.
      Parameters:
      property - the property
      value - the property value
      Returns:
      this for chaining