Class TypePool.Default.LazyTypeDescription.FieldToken

java.lang.Object
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.FieldToken
Enclosing class:
TypePool.Default.LazyTypeDescription

@Enhance protected static class TypePool.Default.LazyTypeDescription.FieldToken extends Object
A token for representing collected data on a field.
  • Constructor Details

    • FieldToken

      protected FieldToken(String name, int modifiers, String descriptor, @MaybeNull String genericSignature, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens, List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
      Creates a new field token.
      Parameters:
      name - The name of the field.
      modifiers - The modifiers of the represented field.
      descriptor - The descriptor of the field.
      genericSignature - The field's generic signature as found in the class file or null if the field is not generic.
      typeAnnotationTokens - A mapping of the field type's type annotation tokens.
      annotationTokens - A list of annotation tokens representing the annotations of the represented field.