Package org.mockito.internal.invocation
Enum RealMethod.IsIllegal
- java.lang.Object
-
- java.lang.Enum<RealMethod.IsIllegal>
-
- org.mockito.internal.invocation.RealMethod.IsIllegal
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RealMethod.IsIllegal>
,RealMethod
- Enclosing interface:
- RealMethod
public static enum RealMethod.IsIllegal extends java.lang.Enum<RealMethod.IsIllegal> implements RealMethod
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mockito.internal.invocation.RealMethod
RealMethod.FromBehavior, RealMethod.FromCallable, RealMethod.IsIllegal
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
IsIllegal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke()
boolean
isInvokable()
static RealMethod.IsIllegal
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RealMethod.IsIllegal[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final RealMethod.IsIllegal INSTANCE
-
-
Method Detail
-
values
public static RealMethod.IsIllegal[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RealMethod.IsIllegal c : RealMethod.IsIllegal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealMethod.IsIllegal valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isInvokable
public boolean isInvokable()
- Specified by:
isInvokable
in interfaceRealMethod
-
invoke
public java.lang.Object invoke()
- Specified by:
invoke
in interfaceRealMethod
-
-