org.objectweb.asm.tree

Class MemberNode

Known Direct 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

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.

Field Details

attrs

public List attrs


invisibleAnnotations

public List invisibleAnnotations


visibleAnnotations

public List visibleAnnotations

Constructor Details

MemberNode

public 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.