org.objectweb.asm.tree
Class MemberNode

java.lang.Object
  extended by 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 Summary
 List attrs
          The non standard attributes of this class, field or method.
 List invisibleAnnotations
          The runtime invisible annotations of this class, field or method.
 List visibleAnnotations
          The runtime visible annotations of this class, field or method.
 
Constructor Summary
protected MemberNode()
          Constructs a new MemberNode.
 
Method Summary
 AnnotationVisitor visitAnnotation(String desc, boolean visible)
          Visits an annotation of this class, field or method.
 void visitAttribute(Attribute attr)
          Visits a non standard attribute of this class, field or method.
 void visitEnd()
          Visits the end of this class, field or method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

MemberNode

protected MemberNode()
Constructs a new MemberNode.

Method Detail

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.