Class MemberNode
java.lang.Object
org.objectweb.asm.tree.MemberNode
- Direct Known Subclasses:
ClassNode, FieldNode, MethodNode
An abstract class, field or method node.
- Author:
- Eric Bruneton
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe non standard attributes of this class, field or method.The runtime invisible annotations of this class, field or method.The runtime visible annotations of this class, field or method. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitAnnotation(String desc, boolean visible) Visits an annotation of this class, field or method.voidvisitAttribute(Attribute attr) Visits a non standard attribute of this class, field or method.voidvisitEnd()Visits the end of this class, field or method.
-
Field Details
-
visibleAnnotations
The runtime visible annotations of this class, field or method. This list is a list ofAnnotationNodeobjects. May be null. -
invisibleAnnotations
The runtime invisible annotations of this class, field or method. This list is a list ofAnnotationNodeobjects. May be null. -
attrs
-
-
Constructor Details
-
MemberNode
protected MemberNode()Constructs a newMemberNode.
-
-
Method Details
-
visitAnnotation
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
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.
-