Enum Class ParameterAccessor.BasedOn
- All Implemented Interfaces:
Serializable
,Comparable<ParameterAccessor.BasedOn>
,Constable
- Enclosing class:
ParameterAccessor
The Constructor used to create ParameterAccessor influences the parameter-offset.
If this enum is extended many functions will throw if not also extended.
- Since:
- 2013-10-19
- Author:
- Tobias Blaschke <code@tobiasblaschke.de>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionParameterAccessor was constructed using an IMethodParameterAccessor was constructed using a MethodReference -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterAccessor.BasedOn
Returns the enum constant of this class with the specified name.static ParameterAccessor.BasedOn[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMETHOD
ParameterAccessor was constructed using an IMethod -
METHOD_REFERENCE
ParameterAccessor was constructed using a MethodReference
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-