Class TypePool.Default.LazyTypeDescription.AnnotationToken

  • Enclosing class:
    TypePool.Default.LazyTypeDescription

    @Enhance
    protected static class TypePool.Default.LazyTypeDescription.AnnotationToken
    extends java.lang.Object
    A token for representing collected data on an annotation.
    • Field Detail

      • descriptor

        private final java.lang.String descriptor
        The descriptor of the represented annotation.
      • values

        private final java.util.Map<java.lang.String,​AnnotationValue<?,​?>> values
        A map of annotation value names to their value representations.
    • Constructor Detail

      • AnnotationToken

        protected AnnotationToken​(java.lang.String descriptor,
                                  java.util.Map<java.lang.String,​AnnotationValue<?,​?>> values)
        Creates a new annotation token.
        Parameters:
        descriptor - The descriptor of the represented annotation.
        values - A map of annotation value names to their value representations.
    • Method Detail

      • getValues

        protected java.util.Map<java.lang.String,​AnnotationValue<?,​?>> getValues()
        Returns a map of annotation value names to their value representations.
        Returns:
        A map of annotation value names to their value representations.
      • getBinaryName

        protected java.lang.String getBinaryName()
        Returns the annotation type's binary name.
        Returns:
        The annotation type's binary name.