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.