public enum DescriptorSearchRule extends java.lang.Enum<DescriptorSearchRule>
Enum Constant and Description |
---|
ERROR_IF_FOUND_IN_KOTLIN |
IGNORE_IF_FOUND_IN_KOTLIN |
INCLUDE_KOTLIN |
Modifier and Type | Method and Description |
---|---|
abstract <T extends DeclarationDescriptor> |
processFoundInKotlin(T foundDescriptor) |
static DescriptorSearchRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DescriptorSearchRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescriptorSearchRule INCLUDE_KOTLIN
public static final DescriptorSearchRule IGNORE_IF_FOUND_IN_KOTLIN
public static final DescriptorSearchRule ERROR_IF_FOUND_IN_KOTLIN
public static DescriptorSearchRule[] values()
for (DescriptorSearchRule c : DescriptorSearchRule.values()) System.out.println(c);
public static DescriptorSearchRule valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract <T extends DeclarationDescriptor> T processFoundInKotlin(T foundDescriptor)