public class FileLocalResolver
extends java.lang.Object
LighterAST
. Can be used during indexing.Modifier and Type | Class and Description |
---|---|
static class |
FileLocalResolver.LightResolveResult |
Constructor and Description |
---|
FileLocalResolver(LighterAST tree) |
Modifier and Type | Method and Description |
---|---|
LighterAST |
getLightTree() |
java.lang.String |
getShortClassTypeName(LighterASTNode var)
Determine the type name of the given variable.
|
java.lang.String |
getShortClassTypeName(LighterASTNode var,
int arrayDepth)
Determine the type name of the given variable, unwrapping the expected array type.
|
FileLocalResolver.LightResolveResult |
resolveLocally(LighterASTNode ref) |
public FileLocalResolver(LighterAST tree)
public LighterAST getLightTree()
public FileLocalResolver.LightResolveResult resolveLocally(LighterASTNode ref)
ref
- reference nodepublic java.lang.String getShortClassTypeName(LighterASTNode var)
var
- Variable nodepublic java.lang.String getShortClassTypeName(LighterASTNode var, int arrayDepth)
var
- Variable nodearrayDepth
- Expected array depth