Package net.bytebuddy.build
Enum 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:
java.io.Serializable
,java.lang.Comparable<Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved>
,Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
- Enclosing interface:
- Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
public static enum Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved extends java.lang.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 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 Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
Unresolved()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getArgument()
Returns the resolved argument if the resolution was successful.boolean
isResolved()
Returnstrue
if the represented argument is resolved successfully.static Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved[] 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 (Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved c : Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved 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
-
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
public java.lang.Object 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.
-
-