| Package | Description |
|---|---|
| org.sonar.java.model.expression | |
| org.sonar.java.resolve |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
MethodInvocationTreeImpl.getSymbol() |
| Modifier and Type | Method and Description |
|---|---|
void |
MethodInvocationTreeImpl.setSymbol(Symbol symbol) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Resolve.AccessErrorSymbol |
static class |
Resolve.AmbiguityErrorSymbol |
static class |
Resolve.SymbolNotFound |
static class |
Symbol.MethodSymbol
Represents a method, constructor or initializer (static or instance).
|
static class |
Symbol.PackageSymbol
Represents package.
|
static class |
Symbol.TypeSymbol
Represents a class, interface, enum or annotation type.
|
static class |
Symbol.TypeVariableSymbol
Represents type variable of a parametrized type ie: T in class Foo
|
static class |
Symbol.VariableSymbol
Represents a field, enum constant, method or constructor parameter, local variable, resource variable or exception parameter.
|
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ArrayListMultimap<String,Symbol> |
Scope.symbols |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
Resolve.findIdentInPackage(Symbol site,
String name,
int kind) |
Symbol |
Resolve.findIdentInType(org.sonar.java.resolve.Resolve.Env env,
Symbol.TypeSymbol site,
String name,
int kind) |
Symbol |
SemanticModel.getEnclosingClass(Tree tree) |
Symbol |
SemanticModel.getReference(IdentifierTree tree) |
Symbol |
SemanticModel.getSymbol(Tree tree) |
Symbol |
BytecodeCompleter.loadClass(String fullname)
Note: Attempt to find something like "java.class" on case-insensitive file system can result in unwanted loading of "JAVA.class".
|
Symbol |
Symbol.owner()
The owner of this symbol.
|
Symbol |
TypeAndReferenceSolver.resolveAs(Tree tree,
int kind,
org.sonar.java.resolve.Resolve.Env resolveEnv) |
Symbol |
TypeAndReferenceSolver.resolveAs(Tree tree,
int kind,
org.sonar.java.resolve.Resolve.Env resolveEnv,
boolean associateReference) |
| Modifier and Type | Method and Description |
|---|---|
List<Symbol> |
Scope.lookup(String name) |
List<Symbol> |
Scope.StarImportScope.lookup(String name) |
List<Symbol> |
Scope.StaticStarImportScope.lookup(String name) |
Collection<Symbol> |
Scope.scopeSymbols() |
| Modifier and Type | Method and Description |
|---|---|
void |
SemanticModel.associateReference(IdentifierTree tree,
Symbol symbol) |
void |
SemanticModel.associateSymbol(Tree tree,
Symbol symbol) |
void |
SecondPass.complete(Symbol symbol) |
void |
BytecodeCompleter.complete(Symbol symbol) |
Scope |
Resolve.createStarImportScope(Symbol owner) |
Scope |
Resolve.createStaticStarImportScope(Symbol owner) |
void |
Scope.enter(Symbol symbol) |
Symbol |
Resolve.findIdentInPackage(Symbol site,
String name,
int kind) |
String |
BytecodeCompleter.formFullName(String name,
Symbol site) |
String |
BytecodeCompleter.formFullName(Symbol symbol) |
org.sonar.java.resolve.Resolve.Env |
SemanticModel.getEnv(Symbol symbol) |
Tree |
SemanticModel.getTree(Symbol symbol) |
Collection<IdentifierTree> |
SemanticModel.getUsages(Symbol symbol) |
void |
SemanticModel.saveEnv(Symbol symbol,
org.sonar.java.resolve.Resolve.Env env) |
| Constructor and Description |
|---|
Resolve.AccessErrorSymbol(Symbol symbol,
Type type) |
Scope.StarImportScope(Symbol owner,
BytecodeCompleter bytecodeCompleter) |
Scope.StaticStarImportScope(Symbol owner,
BytecodeCompleter bytecodeCompleter) |
Scope(Symbol owner) |
Symbol.MethodSymbol(int flags,
String name,
Symbol owner) |
Symbol.MethodSymbol(int flags,
String name,
Type type,
Symbol owner) |
Symbol.PackageSymbol(String name,
Symbol owner) |
Symbol.TypeSymbol(int flags,
String name,
Symbol owner) |
Symbol.TypeVariableSymbol(String name,
Symbol owner) |
Symbol.VariableSymbol(int flags,
String name,
Symbol owner) |
Symbol.VariableSymbol(int flags,
String name,
Type type,
Symbol owner) |
Symbol(int kind,
int flags,
String name,
Symbol owner) |
Copyright © 2012–2015 SonarSource. All rights reserved.