public static enum ClassInfo.NestingType extends Enum<ClassInfo.NestingType>
Enum Constant and Description |
---|
ANONYMOUS
An unnamed class enclosed within a code block
|
INNER
A named class enclosed by another class
|
LOCAL
A named class enclosed within a code block
|
TOP_LEVEL
A standard class declared within its own source unit
|
Modifier and Type | Method and Description |
---|---|
static ClassInfo.NestingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassInfo.NestingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassInfo.NestingType TOP_LEVEL
public static final ClassInfo.NestingType INNER
public static final ClassInfo.NestingType LOCAL
public static final ClassInfo.NestingType ANONYMOUS
public static ClassInfo.NestingType[] values()
for (ClassInfo.NestingType c : ClassInfo.NestingType.values()) System.out.println(c);
public static ClassInfo.NestingType 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 © 2018 JBoss by Red Hat. All rights reserved.