public static enum Stub.Type extends Enum<Stub.Type>
Enum Constant and Description |
---|
EXCEPTIONS
The generated methods of this stub will throw an UnsupportedOperationException
|
VALUES
The generated methods of this stub will return null and fixed values
|
Modifier and Type | Method and Description |
---|---|
static Stub.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stub.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stub.Type VALUES
public static final Stub.Type EXCEPTIONS
public static Stub.Type[] values()
for (Stub.Type c : Stub.Type.values()) System.out.println(c);
public static Stub.Type 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 © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.