Package net.bytebuddy.build
Enum Class Plugin.Factory.UsingReflection.ArgumentResolver.NoOp
java.lang.Object
java.lang.Enum<Plugin.Factory.UsingReflection.ArgumentResolver.NoOp>
net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<Plugin.Factory.UsingReflection.ArgumentResolver.NoOp>
,Constable
,Plugin.Factory.UsingReflection.ArgumentResolver
- Enclosing interface:
Plugin.Factory.UsingReflection.ArgumentResolver
public static enum Plugin.Factory.UsingReflection.ArgumentResolver.NoOp
extends Enum<Plugin.Factory.UsingReflection.ArgumentResolver.NoOp>
implements Plugin.Factory.UsingReflection.ArgumentResolver
An argument resolver that never resolves an argument.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver
Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex, Plugin.Factory.UsingReflection.ArgumentResolver.ForType<T>, Plugin.Factory.UsingReflection.ArgumentResolver.NoOp, Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttempts the resolution of an argument for a given parameter.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoOp
private NoOp()
-
-
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
-
resolve
Attempts the resolution of an argument for a given parameter.- Specified by:
resolve
in interfacePlugin.Factory.UsingReflection.ArgumentResolver
- Parameters:
index
- The parameter's index.type
- The parameter's type.- Returns:
- The resolution for the parameter.
-