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.ArgumentResolverAllows to resolve arguments for aPluginconstructor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlugin.Factory.UsingReflection.ArgumentResolver.ForIndexAn argument resolver that resolves an argument for a specific parameter index.static classPlugin.Factory.UsingReflection.ArgumentResolver.ForType<T>An argument resolver that resolves parameters for a given type.static classPlugin.Factory.UsingReflection.ArgumentResolver.NoOpAn argument resolver that never resolves an argument.static interfacePlugin.Factory.UsingReflection.ArgumentResolver.ResolutionA resolution provided by an argument provider.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plugin.Factory.UsingReflection.ArgumentResolver.Resolutionresolve(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.
-
-