Class TypePool.Default.TypeExtractor.FieldExtractor

  • Enclosing class:
    TypePool.Default.TypeExtractor

    protected class TypePool.Default.TypeExtractor.FieldExtractor
    extends org.objectweb.asm.FieldVisitor
    A field extractor reads a field within a class file and collects data that is relevant to creating a related field description.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FieldExtractor​(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature)
      Creates a new field extractor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String descriptor, boolean visible)  
      void visitEnd()  
      org.objectweb.asm.AnnotationVisitor visitTypeAnnotation​(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)  
      • Methods inherited from class org.objectweb.asm.FieldVisitor

        visitAttribute
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • modifiers

        private final int modifiers
        The modifiers found on the field.
      • internalName

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

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

        private final java.lang.String genericSignature
        The generic signature of the field or null if it is not generic.
    • Constructor Detail

      • FieldExtractor

        protected FieldExtractor​(int modifiers,
                                 java.lang.String internalName,
                                 java.lang.String descriptor,
                                 java.lang.String genericSignature)
        Creates a new field extractor.
        Parameters:
        modifiers - The modifiers found for this field.
        internalName - The name of the field.
        descriptor - The descriptor of the field type.
        genericSignature - The generic signature of the field or null if it is not generic.
    • Method Detail

      • visitTypeAnnotation

        public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation​(int rawTypeReference,
                                                                       org.objectweb.asm.TypePath typePath,
                                                                       java.lang.String descriptor,
                                                                       boolean visible)
        Overrides:
        visitTypeAnnotation in class org.objectweb.asm.FieldVisitor
      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String descriptor,
                                                                   boolean visible)
        Overrides:
        visitAnnotation in class org.objectweb.asm.FieldVisitor
      • visitEnd

        public void visitEnd()
        Overrides:
        visitEnd in class org.objectweb.asm.FieldVisitor