Package net.bytebuddy.asm
Interface Advice.BootstrapArgumentResolver
-
- All Known Implementing Classes:
Advice.BootstrapArgumentResolver.ForDefaultValues
- Enclosing class:
- Advice
public static interface Advice.BootstrapArgumentResolver
A resolver for the arguments that are provided to a bootstrap method if dynamic dispatch is used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Advice.BootstrapArgumentResolver.Factory
A factory for creating aAdvice.BootstrapArgumentResolver
.static class
Advice.BootstrapArgumentResolver.ForDefaultValues
An argument resolver that supplies a default selection of arguments.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<JavaConstant>
resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Resolves the constants that are provided as arguments to the bootstrap methods.
-
-
-
Method Detail
-
resolve
java.util.List<JavaConstant> resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Resolves the constants that are provided as arguments to the bootstrap methods.- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.- Returns:
- A list of constants to supply as arguments to the bootstrap method.
-
-