Note
the method to start the resolving is startResolving(ClassNode, SourceUnit).
| Modifier and Type | Class and Description |
|---|---|
| private static class | ResolveVisitor.ConstructedClassWithPackage
we use ConstructedClassWithPackage to limit the resolving the compiler does when combining package names and class names. |
| private static class | ResolveVisitor.ConstructedNestedClass
A ConstructedNestedClass consists of an outer class and a name part, denoting a nested class with an unknown number of levels down. |
| private static class | ResolveVisitor.LowerCaseClass
we use LowerCaseClass to limit the resolving the compiler does for vanilla names starting with a lower case letter. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private boolean | |
| private ClassNodeResolver | |
| private final CompilationUnit | |
| private ClassNode | |
| private MethodNode | |
| private VariableScope | |
| private ImportNode | |
| private static final Map | |
| public static final String[] | |
| public static final String[] | |
| private final Set | |
| private Map | |
| private boolean | |
| private boolean | |
| private boolean | |
| private final Map | |
| public static final String | |
| private SourceUnit |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private static Expression | correctClassClassChain(final PropertyExpression pe)
Returns "Type" class expression for "Type.class" or "pack.Type.class". |
| private boolean | |
| private static Map | |
| private void | |
| private void | |
| private static String | |
| protected SourceUnit | |
| private boolean | |
| private static boolean | |
| private static String | |
| private static Tuple2 | |
| private static String | |
| protected boolean | |
| protected boolean | |
| private boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| private void | |
| private void | |
| private boolean | |
| private boolean | |
| protected boolean | |
| private void | |
| private void | |
| private void | resolveOrFail(final ClassNode type, final String msg, final ASTNode node, final boolean preferImports)
|
| private void | |
| protected boolean | |
| protected boolean | |
| private boolean | |
| private static void | resolveWildcardBounding(final GenericsType[] typeArguments, final ClassNode type)
For cases like "Foo<? |
| public void | |
| private boolean | |
| public void | |
| private static boolean | |
| public Expression | transform(final Expression exp)
Overrides org. Implements org. |
| protected Expression | |
| protected Expression | |
| protected Expression | |
| protected Expression | |
| protected Expression | |
| private static Expression | |
| protected Expression | |
| protected Expression | |
| protected Expression | |
| private CompileUnit. | tryToConstructOuterNestedClassNode(final ClassNode type, final ClassNode outerClassNode, final BiConsumer<CompileUnit.
Deprecated
as a consequence of
CompileUnit.ConstructedOuterNestedClassNode being deprecated.
|
| private CompileUnit. | tryToConstructOuterNestedClassNodeForBaseType(final CompileUnit compileUnit, final String typeName, final ClassNode cn, final BiConsumer<CompileUnit.
Deprecated
as a consequence of
CompileUnit.ConstructedOuterNestedClassNode being deprecated.
|
| private CompileUnit. | tryToConstructOuterNestedClassNodeViaStaticImport(final CompileUnit compileUnit, final ImportNode importNode, final String typeName, final BiConsumer<CompileUnit.
Deprecated
as a consequence of
CompileUnit.ConstructedOuterNestedClassNode being deprecated.
|
| public void | visitAnnotations(final AnnotatedNode node)
Overrides org. |
| public void | |
| public void | |
| public void | visitClass(final ClassNode node)
Overrides org. Implements org. |
| protected void | visitConstructorOrMethod(final MethodNode node, final boolean isConstructor)
Overrides org. |
| public void | visitField(final FieldNode node)
Overrides org. Implements org. |
| public void | visitForLoop(final ForStatement forLoop)
Overrides org. Implements org. |
| public void | visitProperty(final PropertyNode node)
Overrides org. Implements org. |