ClassNode kind representing the classes coming from *.class files decompiled using ASM.
AsmDecompiler
| Modifier and Type | Field and Description |
|---|---|
| private final ClassStub | |
| private volatile boolean | |
| private final AsmReferenceResolver | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private <T extends AnnotatedNode> T | |
| private ConstructorNode | |
| private FieldNode | |
| private MethodNode | |
| public List | |
| public List | |
| public long | |
| public List | |
| public FieldNode | getDeclaredField(final String
the name of the field of interest name)Overrides org. |
| public List | getDeclaredMethods(final String name)
Overrides org. |
| public List | |
| public GenericsType[] | |
| public ClassNode[] | |
| public List | |
| private static int | getModifiers(ClassStub classData)
Handle the case of inner classes returning the correct modifiers from the INNERCLASS reference since the top-level modifiers for inner classes won't include static or private/protected. |
| public Class | getTypeClass()
Returns the concrete class this classnode relates to.
|
| public ClassNode[] | getUnresolvedInterfaces(boolean useRedirect)
Overrides org. |
| public ClassNode | getUnresolvedSuperClass(boolean useRedirect)
Overrides org. |
| public boolean | |
| public boolean | |
| public boolean | |
| private void | |
| private void | |
| public void | setGenericsPlaceHolder(boolean b)
Overrides org. |
| public String | |
| public void | setRedirect(ClassNode
the class to redirect to; if cn)null the redirect is removedOverrides org. ClassNode.
|
| public void |
| classData | back to summary |
|---|---|
| private final ClassStub classData | |
| membersInitialized | back to summary |
|---|---|
| private volatile boolean membersInitialized | |
| resolver | back to summary |
|---|---|
| private final AsmReferenceResolver resolver | |
| supersInitialized | back to summary |
|---|---|
| private volatile boolean supersInitialized | |
| DecompiledClassNode | back to summary |
|---|---|
| public DecompiledClassNode(final ClassStub classData, final AsmReferenceResolver resolver) | |
| addAnnotations | back to summary |
|---|---|
| private <T extends AnnotatedNode> T addAnnotations(MemberStub stub, T node) | |
| createConstructor | back to summary |
|---|---|
| private ConstructorNode createConstructor(final MethodStub method) | |
| createFieldNode | back to summary |
|---|---|
| private FieldNode createFieldNode(final FieldStub field) | |
| createMethodNode | back to summary |
|---|---|
| private MethodNode createMethodNode(final MethodStub method) | |
| getAnnotations | back to summary |
|---|---|
| public List Overrides org.
| |
| getAnnotations | back to summary |
|---|---|
| public List Overrides org.
| |
| getCompilationTimeStamp | back to summary |
|---|---|
| public long getCompilationTimeStamp() | |
| getDeclaredConstructors | back to summary |
|---|---|
| public List Overrides org.
| |
| getDeclaredField | back to summary |
|---|---|
| public FieldNode getDeclaredField(final String name) Overrides org. Doc from org. Finds a field matching the given name in this class. | |
| getDeclaredMethods | back to summary |
|---|---|
| public List Overrides org. Doc from org. This method returns a list of all methods of the given name defined in the current class
| |
| getFields | back to summary |
|---|---|
| public List Overrides org.
| |
| getGenericsTypes | back to summary |
|---|---|
| public GenericsType[] getGenericsTypes() Overrides org.
| |
| getInterfaces | back to summary |
|---|---|
| public ClassNode[] getInterfaces() Overrides org.
| |
| getMethods | back to summary |
|---|---|
| public List Overrides org.
| |
| getModifiers | back to summary |
|---|---|
| private static int getModifiers(ClassStub classData) Handle the case of inner classes returning the correct modifiers from the INNERCLASS reference since the top-level modifiers for inner classes won't include static or private/protected. | |
| getTypeClass | back to summary |
|---|---|
| public Class Overrides org. Doc from org. Returns the concrete class this classnode relates to. However, this method
is inherently unsafe as it may return null depending on the compile phase you are
using. AST transformations should never use this method directly, but rather obtain
a new class node using | |
| getUnresolvedInterfaces | back to summary |
|---|---|
| public ClassNode[] getUnresolvedInterfaces(boolean useRedirect) Overrides org.
| |
| getUnresolvedSuperClass | back to summary |
|---|---|
| public ClassNode getUnresolvedSuperClass(boolean useRedirect) Overrides org.
| |
| isParameterized | back to summary |
|---|---|
| public boolean isParameterized() | |
| isResolved | back to summary |
|---|---|
| public boolean isResolved() Overrides org.
| |
| isUsingGenerics | back to summary |
|---|---|
| public boolean isUsingGenerics() Overrides org.
| |
| lazyInitMembers | back to summary |
|---|---|
| private void lazyInitMembers() | |
| lazyInitSupers | back to summary |
|---|---|
| private void lazyInitSupers() | |
| setGenericsPlaceHolder | back to summary |
|---|---|
| public void setGenericsPlaceHolder(boolean b) Overrides org.
| |
| setName | back to summary |
|---|---|
| public String setName(String name) Overrides org.
| |
| setRedirect | back to summary |
|---|---|
| public void setRedirect(ClassNode cn) Overrides org. Doc from org. Sets this instance as proxy for the given | |
| setUsingGenerics | back to summary |
|---|---|
| public void setUsingGenerics(boolean b) Overrides org.
| |