枚举常量和说明 |
---|
NOT_COMPLIANT
Mark an instantiator that doesn't behave like a
STANDARD nor a SERIALIZATION (e.g. calls a constructor, fails
all the time, etc.) |
SERIALIZATION
Mark an instantiator used for serialization.
|
STANDARD
Mark an instantiator used for standard instantiation (not calling a constructor).
|
UNKNOWN
No type specified on the instantiator class
|
public static final Typology STANDARD
public static final Typology SERIALIZATION
public static final Typology NOT_COMPLIANT
STANDARD
nor a SERIALIZATION
(e.g. calls a constructor, fails
all the time, etc.)public static final Typology UNKNOWN
public static Typology[] values()
for (Typology c : Typology.values()) System.out.println(c);
public static Typology valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值