|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.java.resolve.Symbol
public class Symbol
| Nested Class Summary | |
|---|---|
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.VariableSymbol
Represents a field, enum constant, method or constructor parameter, local variable, resource variable or exception parameter. |
| Field Summary | |
|---|---|
static int |
ABSENT
|
static int |
AMBIGUOUS
|
static int |
ERRONEOUS
|
static int |
MTH
|
static int |
PCK
|
static int |
TYP
|
static int |
VAR
|
| Constructor Summary | |
|---|---|
Symbol(int kind,
int flags,
String name,
Symbol owner)
|
|
| Method Summary | |
|---|---|
void |
complete()
|
Symbol.TypeSymbol |
enclosingClass()
The closest enclosing class. |
int |
flags()
|
Symbol.TypeSymbol |
outermostClass()
The outermost class which indirectly owns this symbol. |
Symbol |
owner()
The owner of this symbol. |
Symbol.PackageSymbol |
packge()
The package which indirectly owns this symbol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PCK
public static final int TYP
public static final int VAR
public static final int MTH
public static final int ERRONEOUS
public static final int AMBIGUOUS
public static final int ABSENT
| Constructor Detail |
|---|
public Symbol(int kind,
int flags,
@Nullable
String name,
@Nullable
Symbol owner)
| Method Detail |
|---|
public int flags()
Flagspublic Symbol owner()
public void complete()
public Symbol.TypeSymbol outermostClass()
public Symbol.PackageSymbol packge()
public Symbol.TypeSymbol enclosingClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||