public enum ConstructionOption extends Enum<ConstructionOption>
| Enum Constant and Description |
|---|
EXCEPT_CONSTRUCTOR_PARAMETER
调用虚拟抽象类调用父构造方法时,不使用初始化过的参数对象
allow to invoke constructor of abstract class with null parameter
|
EXCEPT_INTERFACE
不初始化接口和抽象类型的成员
allow members of interface or abstract class type be initialized as null
|
EXCEPT_LOOP_NESTING
不初始化循环嵌套类型的成员
allow members with same type nested inside itself be initialized as null
|
EXCEPT_RETURN_VALUE
生成的接口成员方法不返回初始化过的对象
allow return value of methods in constructed interface be null
|
| Modifier and Type | Method and Description |
|---|---|
static ConstructionOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstructionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstructionOption EXCEPT_LOOP_NESTING
public static final ConstructionOption EXCEPT_INTERFACE
public static final ConstructionOption EXCEPT_RETURN_VALUE
public static final ConstructionOption EXCEPT_CONSTRUCTOR_PARAMETER
public static ConstructionOption[] values()
for (ConstructionOption c : ConstructionOption.values()) System.out.println(c);
public static ConstructionOption 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 © 2022. All rights reserved.