public static enum Constructor.ForwardingTarget extends Enum<Constructor.ForwardingTarget>
Enum Constant and Description |
---|
SUPER
Forward the constructor call to a constructor of the superclass.
|
THIS
Forward the constructor call to another constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
static Constructor.ForwardingTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constructor.ForwardingTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constructor.ForwardingTarget THIS
public static final Constructor.ForwardingTarget SUPER
public static Constructor.ForwardingTarget[] values()
for (Constructor.ForwardingTarget c : Constructor.ForwardingTarget.values()) System.out.println(c);
public static Constructor.ForwardingTarget 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 © 2000–2018 jenesis4java. All rights reserved.