|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.asmdex.ApplicationVisitor
org.ow2.asmdex.tree.ApplicationNode
public class ApplicationNode
A node that represents an Application.
| Field Summary | |
|---|---|
java.util.List<ClassNode> |
classes
The Classes of this Application. |
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. |
| Fields inherited from class org.ow2.asmdex.ApplicationVisitor |
|---|
api, av |
| Constructor Summary | |
|---|---|
ApplicationNode(int api)
Constructs a new ApplicationNode. |
|
| Method Summary | |
|---|---|
void |
accept(ApplicationVisitor av)
Makes the given Application visitor visit this Application. |
static java.lang.String[] |
getStringArray(java.util.List<java.lang.String> list)
Returns an array of String from a list of Strings, or Null if the list if Null. |
void |
visit()
Visits the header of the application. |
AnnotationVisitor |
visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of this class, field or method. |
ClassVisitor |
visitClass(int access,
java.lang.String name,
java.lang.String[] signature,
java.lang.String superName,
java.lang.String[] interfaces)
Visits a class of the application. |
| Methods inherited from class org.ow2.asmdex.ApplicationVisitor |
|---|
visitEnd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.List<ClassNode> classes
public java.util.List<AnnotationNode> visibleAnnotations
public java.util.List<AnnotationNode> invisibleAnnotations
| Constructor Detail |
|---|
public ApplicationNode(int api)
ApplicationNode.
api - the API level| Method Detail |
|---|
public void visit()
ApplicationVisitor
visit in class ApplicationVisitor
public ClassVisitor visitClass(int access,
java.lang.String name,
java.lang.String[] signature,
java.lang.String superName,
java.lang.String[] interfaces)
ApplicationVisitorClassVisitor instance (or null) each time it is
called, i.e., it should not return a previously returned visitor.
visitClass in class ApplicationVisitoraccess - the access flags of the class (see Opcodes).name - the internal name of the class.signature - the signature of this class. May be null if
the class is not a generic one, and does not extend or implement
generic classes or interfaces.superName - the internal of name of the super class. For interfaces,
the super class is Object. May be null, but
only for the Object class.interfaces - the internal names of the class's interfaces. May be
null.
public void accept(ApplicationVisitor av)
av - an Application visitor.public static java.lang.String[] getStringArray(java.util.List<java.lang.String> list)
list - the list to convert.
public AnnotationVisitor visitAnnotation(java.lang.String desc,
boolean visible)
desc - the class descriptor of the annotation class.visible - true if the annotation is visible at runtime.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||