public static enum CollectClassData.ClassType extends Enum<CollectClassData.ClassType>
Enum Constant and Description |
---|
Anonymous
An anonymous inner class.
|
Inner
A non-static named class nested inside another class.
|
Local
A named class defined inside a method.
|
Nested
A static nested class inside another class.
|
TopLevel
A top level class named the same as its source file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasHiddenConstructorArg() |
boolean |
hasNoExternalName() |
static CollectClassData.ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectClassData.ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, toString, valueOf, valueOf
public static final CollectClassData.ClassType TopLevel
public static final CollectClassData.ClassType Inner
public static final CollectClassData.ClassType Nested
public static final CollectClassData.ClassType Anonymous
public static final CollectClassData.ClassType Local
public static CollectClassData.ClassType[] values()
for (CollectClassData.ClassType c : CollectClassData.ClassType.values()) System.out.println(c);
public static CollectClassData.ClassType 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 nullpublic boolean hasHiddenConstructorArg()
public boolean hasNoExternalName()
Copyright © 2018. All rights reserved.