V
- A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<V> extends DynamicType.Builder.MethodDefinition.ExceptionDefinition<V>
Modifier and Type | Interface and Description |
---|---|
static class |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W>
An abstract base implementation of an exception definition.
|
static interface |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>
A builder for optionally defining an annotation on a parameter.
|
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V> |
withParameter(Type type)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V> |
withParameter(TypeDefinition type)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
throwing, throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V> withParameter(Type type)
type
- The parameter's type. Can also be TargetType
if the parameter type
should be equal to the currently instrumented type.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V> withParameter(TypeDefinition type)
type
- The parameter's type. Can also be TargetType
if the parameter type
should be equal to the currently instrumented type.Copyright © 2014–2022. All rights reserved.