V - A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase<V> extends DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<V> implements DynamicType.Builder.MethodDefinition.ParameterDefinition<V>
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<V>DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
withParameter(TypeDefinition type,
String name,
Collection<? extends ModifierContributor.ForParameter> modifierContributors)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
withParameter(TypeDefinition type,
String name,
ModifierContributor.ForParameter... modifierContributor)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
withParameter(Type type,
String name,
Collection<? extends ModifierContributor.ForParameter> modifierContributors)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
withParameter(Type type,
String name,
int modifiers)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> |
withParameter(Type type,
String name,
ModifierContributor.ForParameter... modifierContributor)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
throwing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariabledefaultValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithParameterthrowing, throwing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariable, typeVariabledefaultValue, defaultValue, intercept, withoutCodepublic DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> withParameter(Type type, String name, ModifierContributor.ForParameter... modifierContributor)
withParameter in interface DynamicType.Builder.MethodDefinition.ParameterDefinition<V>type - The parameter's type. Can also be TargetType if the parameter type
should be equal to the currently instrumented type.name - The parameter's name.modifierContributor - The parameter's modifiers.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> withParameter(Type type, String name, Collection<? extends ModifierContributor.ForParameter> modifierContributors)
withParameter in interface DynamicType.Builder.MethodDefinition.ParameterDefinition<V>type - The parameter's type. Can also be TargetType if the parameter type
should be equal to the currently instrumented type.name - The parameter's name.modifierContributors - The parameter's modifiers.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> withParameter(Type type, String name, int modifiers)
withParameter in interface DynamicType.Builder.MethodDefinition.ParameterDefinition<V>type - The parameter's type. Can also be TargetType if the parameter type
should be equal to the currently instrumented type.name - The parameter's name.modifiers - The parameter's modifiers.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> withParameter(TypeDefinition type, String name, ModifierContributor.ForParameter... modifierContributor)
withParameter in interface DynamicType.Builder.MethodDefinition.ParameterDefinition<V>type - The parameter's type. Can also be TargetType if the parameter type
should be equal to the currently instrumented type.name - The parameter's name.modifierContributor - The parameter's modifiers.public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V> withParameter(TypeDefinition type, String name, Collection<? extends ModifierContributor.ForParameter> modifierContributors)
withParameter in interface DynamicType.Builder.MethodDefinition.ParameterDefinition<V>type - The parameter's type. Can also be TargetType if the parameter type
should be equal to the currently instrumented type.name - The parameter's name.modifierContributors - The parameter's modifiers.Copyright © 2014–2023. All rights reserved.