类 TypeAnnotationsAttribute

所有已实现的接口:
Serializable, Processable
直接已知子类:
RuntimeInvisibleTypeAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute

public abstract class TypeAnnotationsAttribute extends AnnotationsAttribute
This Attribute represents a type annotations attribute.
另请参阅:
  • 构造器详细资料

    • TypeAnnotationsAttribute

      protected TypeAnnotationsAttribute()
      Creates an uninitialized TypeAnnotationsAttribute.
    • TypeAnnotationsAttribute

      protected TypeAnnotationsAttribute(int u2attributeNameIndex, int u2annotationsCount, TypeAnnotation[] annotations)
      Creates an initialized TypeAnnotationsAttribute.
  • 方法详细资料

    • typeAnnotationsAccept

      public void typeAnnotationsAccept(Clazz clazz, TypeAnnotationVisitor typeAnnotationVisitor)
      Applies the given visitor to all class annotations.
    • typeAnnotationsAccept

      public void typeAnnotationsAccept(Clazz clazz, Field field, TypeAnnotationVisitor typeAnnotationVisitor)
      Applies the given visitor to all field annotations.
    • typeAnnotationsAccept

      public void typeAnnotationsAccept(Clazz clazz, Method method, TypeAnnotationVisitor typeAnnotationVisitor)
      Applies the given visitor to all method annotations.
    • typeAnnotationsAccept

      public void typeAnnotationsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotationVisitor typeAnnotationVisitor)
      Applies the given visitor to all code attribute annotations.