public enum KotlinModifier extends Enum<KotlinModifier>
Enum Constant and Description |
---|
ABSTRACT
Declare a member without an implementation (infers open).
|
FINAL
Final modifier.
|
LATEINIT
Declare a late-initialized property.
|
OPEN
Allow to override a member.
|
OVERRIDE
Override a member.
|
PRIVATE
Visible inside this class only.
|
PROTECTED
Visible inside that class and any subclass.
|
PUBLIC
Visible to anyone.
|
Modifier and Type | Method and Description |
---|---|
static KotlinModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KotlinModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KotlinModifier PUBLIC
public static final KotlinModifier PROTECTED
public static final KotlinModifier PRIVATE
public static final KotlinModifier FINAL
public static final KotlinModifier OPEN
public static final KotlinModifier ABSTRACT
public static final KotlinModifier OVERRIDE
public static final KotlinModifier LATEINIT
public static KotlinModifier[] values()
for (KotlinModifier c : KotlinModifier.values()) System.out.println(c);
public static KotlinModifier valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.