org.ow2.asmdex.tree
Class MemberNode

java.lang.Object
  extended by org.ow2.asmdex.tree.MemberNode

public abstract class MemberNode
extends java.lang.Object

An abstract class, field or method node.

Author:
Eric Bruneton, Julien Névo (adaptation to AsmDex).

Field Summary
 java.util.List<AnnotationNode> invisibleAnnotations
          The runtime invisible annotations of this class, field or method.
 java.util.List<AnnotationNode> visibleAnnotations
          The runtime visible annotations of this class, field or method.
 
Constructor Summary
protected MemberNode()
          Constructs a new MemberNode.
 
Method Summary
 AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
          Visits an annotation of this class, field or method.
 void visitAttribute(java.lang.Object attr)
          Visits a non standard attribute of this class, field or method.
 void visitEnd()
          Visits the end of this application, 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 java.util.List<AnnotationNode> visibleAnnotations
The runtime visible annotations of this class, field or method.


invisibleAnnotations

public java.util.List<AnnotationNode> invisibleAnnotations
The runtime invisible annotations of this class, field or method.

Constructor Detail

MemberNode

protected MemberNode()
Constructs a new MemberNode.

Method Detail

visitAnnotation

public AnnotationVisitor visitAnnotation(java.lang.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(java.lang.Object attr)
Visits a non standard attribute of this class, field or method. Attributes are not supported by AsmDex. This method has no effect.

Parameters:
attr - an attribute.

visitEnd

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