Class MemberNode

java.lang.Object
org.objectweb.asm.tree.MemberNode
Direct Known Subclasses:
ClassNode, FieldNode, MethodNode

public abstract class MemberNode extends Object
An abstract class, field or method node.
Author:
Eric Bruneton
  • Field Details

    • visibleAnnotations

      public List visibleAnnotations
      The runtime visible annotations of this class, field or method. This list is a list of AnnotationNode objects. May be null.
    • invisibleAnnotations

      public List invisibleAnnotations
      The runtime invisible annotations of this class, field or method. This list is a list of AnnotationNode objects. May be null.
    • attrs

      public List attrs
      The non standard attributes of this class, field or method. This list is a list of Attribute objects. May be null.
  • Constructor Details

    • MemberNode

      protected MemberNode()
      Constructs a new MemberNode.
  • Method Details

    • visitAnnotation

      public AnnotationVisitor visitAnnotation(String desc, boolean visible)
      Visits an annotation of this class, field or method.
      Parameters:
      desc - the class descriptor of the annotation class.
      visible - true if the annotation is visible at runtime.
      Returns:
      a visitor to visit the annotation values.
    • visitAttribute

      public void visitAttribute(Attribute attr)
      Visits a non standard attribute of this class, field or method.
      Parameters:
      attr - an attribute.
    • visitEnd

      public void visitEnd()
      Visits the end of this class, field or method.