Save This Page
Home » openjdk-7 » » javac » code » [javadoc | source]
public class: Kinds [javadoc | source]
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 supported API. 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:
public enum class  Kinds.KindName   
Field Summary
public static final  int NIL    The empty set of kinds. 
public static final  int PCK    The kind of package symbols. 
public static final  int TYP    The kind of type symbols (classes, interfaces and type variables). 
public static final  int VAR    The kind of variable symbols. 
public static final  int VAL    The kind of values (variables or non-variable expressions), includes VAR. 
public static final  int MTH    The kind of methods. 
public static final  int ERR    The error kind, which includes all other kinds. 
public static final  int AllKinds    The set of all kinds. 
public static final  int ERRONEOUS    Kinds for erroneous symbols that complement the above 
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     
Method from Summary:
absentKind,   kindName,   kindName,   kindNames,   typeKindName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public static KindName absentKind(int kind) 
    A KindName representing the kind of a a missing symbol, given an error kind.
 public static KindName kindName(int kind) 
    A KindName representing a given symbol kind
 public static KindName kindName(Symbol sym) 
    A KindName representing a given symbol
 public static EnumSet<KindName> kindNames(int kind) 
    A set of KindName(s) representing a set of symbol's kinds.
 public static KindName typeKindName(Type t) 
    A KindName representing the kind of a given class/interface type.