V
- A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<V> extends DynamicType.Builder.MethodDefinition.ParameterDefinition<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<V>
Modifier and Type | Interface and Description |
---|---|
static class |
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial.AbstractBase<W>
An abstract base implementation for an initial parameter definition.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<V>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
withParameters(Collection<? extends TypeDefinition> types)
Defines the specified parameters for the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
withParameters(List<? extends Type> types)
Defines the specified parameters for the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
withParameters(Type... type)
Defines the specified parameters for the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
withParameters(TypeDefinition... type)
Defines the specified parameters for the currently defined method.
|
withParameter, withParameter, withParameter, withParameter, withParameter, withParameter
withParameter, withParameter
throwing, throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> withParameters(Type... type)
type
- The parameter types. Any type can also be TargetType
if the parameter type
should be equal to the currently instrumented type.DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> withParameters(List<? extends Type> types)
types
- The parameter types. Any type can also be TargetType
if the parameter type
should be equal to the currently instrumented type.DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> withParameters(TypeDefinition... type)
type
- The parameter types. Any type can also be TargetType
if the parameter type
should be equal to the currently instrumented type.DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> withParameters(Collection<? extends TypeDefinition> types)
types
- The parameter types. Any type can also be TargetType
if the parameter type
should be equal to the currently instrumented type.Copyright © 2014–2020. All rights reserved.