|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.code.Kinds
public class Kinds
Internal symbol kinds, which distinguish between elements of different subclasses of Symbol. Symbol kinds are organized so they can be or'ed to sets.
This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Nested Class Summary | |
|---|---|
static class |
Kinds.KindName
|
| Field Summary | |
|---|---|
static int |
ABSENT_MTH
|
static int |
ABSENT_TYP
|
static int |
ABSENT_VAR
|
static int |
AllKinds
The set of all kinds. |
static int |
AMBIGUOUS
|
static int |
ERR
The error kind, which includes all other kinds. |
static int |
ERRONEOUS
Kinds for erroneous symbols that complement the above |
static int |
HIDDEN
|
static int |
MTH
The kind of methods. |
static int |
NIL
The empty set of kinds. |
static int |
PCK
The kind of package symbols. |
static int |
STATICERR
|
static int |
TYP
The kind of type symbols (classes, interfaces and type variables). |
static int |
VAL
The kind of values (variables or non-variable expressions), includes VAR. |
static int |
VAR
The kind of variable symbols. |
static int |
WRONG_MTH
|
static int |
WRONG_MTHS
|
| Constructor Summary | |
|---|---|
private |
Kinds()
|
| Method Summary | |
|---|---|
static Kinds.KindName |
absentKind(int kind)
A KindName representing the kind of a a missing symbol, given an error kind. |
static Kinds.KindName |
kindName(int kind)
A KindName representing a given symbol kind |
static Kinds.KindName |
kindName(Symbol sym)
A KindName representing a given symbol |
static java.util.EnumSet<Kinds.KindName> |
kindNames(int kind)
A set of KindName(s) representing a set of symbol's kinds. |
static Kinds.KindName |
typeKindName(Type t)
A KindName representing the kind of a given class/interface type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NIL
public static final int PCK
public static final int TYP
public static final int VAR
public static final int VAL
public static final int MTH
public static final int ERR
public static final int AllKinds
public static final int ERRONEOUS
public static final int AMBIGUOUS
public static final int HIDDEN
public static final int STATICERR
public static final int ABSENT_VAR
public static final int WRONG_MTHS
public static final int WRONG_MTH
public static final int ABSENT_MTH
public static final int ABSENT_TYP
| Constructor Detail |
|---|
private Kinds()
| Method Detail |
|---|
public static Kinds.KindName kindName(int kind)
public static Kinds.KindName kindName(Symbol sym)
public static java.util.EnumSet<Kinds.KindName> kindNames(int kind)
public static Kinds.KindName typeKindName(Type t)
public static Kinds.KindName absentKind(int kind)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||