Class TypePool.Default.LazyTypeDescription.FieldToken

    • Field Detail

      • name

        private final java.lang.String name
        The name of the field.
      • modifiers

        private final int modifiers
        The modifiers of the represented field.
      • descriptor

        private final java.lang.String descriptor
        The descriptor of the field.
      • genericSignature

        private final java.lang.String genericSignature
        The field's generic signature as found in the class file or null if the field is not generic.
    • Constructor Detail

      • FieldToken

        protected FieldToken​(java.lang.String name,
                             int modifiers,
                             java.lang.String descriptor,
                             java.lang.String genericSignature,
                             java.util.Map<java.lang.String,​java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens,
                             java.util.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.