-
- 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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_VOLATILEJAVA_TRANSIENTJAVA_SYNCHRONIZEDJAVA_STRICTJAVA_STATICJAVA_NATIVEJAVA_DEFAULTACTUALEXPECTREIFIEDCROSSINLINENOINLINEVARARGCONSTOPENFINALABSTRACTEXTERNALINLINEINFIXOPERATORTAILRECSUSPENDVALUEFUNINNERDATAANNOTATIONSEALEDENUMLATEINITOVERRIDEOUTINPROTECTEDINTERNALPRIVATEPUBLIC
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-