Package net.bytebuddy.build
Interface Plugin.Factory.UsingReflection.ArgumentResolver
-
- All Known Implementing Classes:
Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex
,Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex.WithDynamicType
,Plugin.Factory.UsingReflection.ArgumentResolver.ForType
,Plugin.Factory.UsingReflection.ArgumentResolver.NoOp
- Enclosing class:
- Plugin.Factory.UsingReflection
public static interface Plugin.Factory.UsingReflection.ArgumentResolver
Allows to resolve arguments for aPlugin
constructor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex
An argument resolver that resolves an argument for a specific parameter index.static class
Plugin.Factory.UsingReflection.ArgumentResolver.ForType<T>
An argument resolver that resolves parameters for a given type.static class
Plugin.Factory.UsingReflection.ArgumentResolver.NoOp
An argument resolver that never resolves an argument.static interface
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
A resolution provided by an argument provider.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
resolve(int index, java.lang.Class<?> type)
Attempts the resolution of an argument for a given parameter.
-
-
-
Method Detail
-
resolve
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution resolve(int index, java.lang.Class<?> type)
Attempts the resolution of an argument for a given parameter.- Parameters:
index
- The parameter's index.type
- The parameter's type.- Returns:
- The resolution for the parameter.
-
-