Package 

Enum ClassMirror.Flag

  • 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
      SYNTHETIC

      This flag is present on synthetic classes (classes generated by the compiler, without a corresponding construct in the source code)

      PRIMITIVE

      This flag is present on the primitive classes: boolean, byte, char, short, int, long, float, and double

      MEMBER

      This flag is present on member classes. This includes inner and nested classes

      LOCAL

      This flag is present on local classes (classes declared within an expression body, such as a method)

      INTERFACE

      This flag is present on interfaces

      ENUM

      This flag is present on enum classes, but not on anonymous enum element subclasses.

      ANONYMOUS

      This flag is present on anonymous classes

      ANNOTATION

      This flag is present on annotation classes

      STRICT

      This flag is present on classes with the strictfp modifier

      FINAL

      This flag is present on final classes

      STATIC

      This flag is present on static nested classes

      ABSTRACT

      This flag is present on classes

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait