-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ClassMirror.Flag extends Enum<ClassMirror.Flag>
A set of useful flags for classes, such as whether it is abstract, anonymous, primitive, etc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYNTHETICThis flag is present on synthetic classes (classes generated by the compiler, without a corresponding construct in the source code)
PRIMITIVEThis flag is present on the primitive classes:
boolean,byte,char,short,int,long,float, anddoubleMEMBERThis flag is present on member classes. This includes inner and nested classes
LOCALThis flag is present on local classes (classes declared within an expression body, such as a method)
INTERFACEThis flag is present on interfaces
ENUMThis flag is present on enum classes, but not on anonymous enum element subclasses.
ANONYMOUSThis flag is present on anonymous classes
ANNOTATIONThis flag is present on annotation classes
STRICTThis flag is present on classes with the
strictfpmodifierFINALThis flag is present on final classes
STATICThis flag is present on static nested classes
ABSTRACTThis flag is present on classes
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-