Package net.bytebuddy.build
Enum Class Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved
java.lang.Object
java.lang.Enum<Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved>
net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved
- All Implemented Interfaces:
Serializable
,Comparable<Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved>
,Constable
,Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
- Enclosing interface:
- Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
public static enum Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved
extends Enum<Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved>
implements Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
Represents an unresolved argument resolution.
-
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.Resolution
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Resolved, Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the resolved argument if the resolution was successful.boolean
Returnstrue
if the represented argument is resolved successfully.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
-
Unresolved
private Unresolved()
-
-
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
public static Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved valueOf(String name) 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
-
isResolved
public boolean isResolved()Returnstrue
if the represented argument is resolved successfully.- Specified by:
isResolved
in interfacePlugin.Factory.UsingReflection.ArgumentResolver.Resolution
- Returns:
true
if the represented argument is resolved successfully.
-
getArgument
Returns the resolved argument if the resolution was successful.- Specified by:
getArgument
in interfacePlugin.Factory.UsingReflection.ArgumentResolver.Resolution
- Returns:
- The resolved argument if the resolution was successful.
-