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, throwingtypeVariable, typeVariable, typeVariable, typeVariable, typeVariabledefaultValue, defaultValue, intercept, withoutCodeDynamicType.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–2016. All rights reserved.