Package 

Enum Modifier

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum Modifier
    extends Enum<Modifier>
                        

    All possible modifiers presented in the Kotlin grammar. Modifiers you can get from a declaration are explict modifiers as they are declared in source code. Same modifier can be semantically different in different languages, therefore you should only rely on modifiers if you have a good understanding of what it means in specific cases, otherwise you should rely on helper functions like isOpen() for modifier related logic. Modifiers prefixed with "JAVA_" are java only modifiers.

    • Constructor Detail

    • Method Detail

      • valueOf

         final Modifier valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<Modifier> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.