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 a
Plugin
constructor.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An argument resolver that resolves an argument for a specific parameter index.static class
An argument resolver that resolves parameters for a given type.static enum
An argument resolver that never resolves an argument.static interface
A resolution provided by an argument provider. -
Method Summary
Modifier and TypeMethodDescriptionAttempts the resolution of an argument for a given parameter.
-
Method Details
-
resolve
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.
-