public static enum Plugin.Factory.UsingReflection.ArgumentResolver.NoOp extends Enum<Plugin.Factory.UsingReflection.ArgumentResolver.NoOp> implements 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 and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution |
resolve(int index,
Class<?> type)
Attempts the resolution of an argument for a given parameter.
|
static Plugin.Factory.UsingReflection.ArgumentResolver.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Plugin.Factory.UsingReflection.ArgumentResolver.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Plugin.Factory.UsingReflection.ArgumentResolver.NoOp INSTANCE
public static Plugin.Factory.UsingReflection.ArgumentResolver.NoOp[] values()
for (Plugin.Factory.UsingReflection.ArgumentResolver.NoOp c : Plugin.Factory.UsingReflection.ArgumentResolver.NoOp.values()) System.out.println(c);
public static Plugin.Factory.UsingReflection.ArgumentResolver.NoOp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Plugin.Factory.UsingReflection.ArgumentResolver.Resolution resolve(int index, Class<?> type)
resolve
in interface Plugin.Factory.UsingReflection.ArgumentResolver
index
- The parameter's index.type
- The parameter's type.Copyright © 2014–2020. All rights reserved.