W - A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial.AbstractBase<W> extends DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase<W> implements DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<W>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial.AbstractBase<W>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>| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W> |
withParameter(Type type)
Defines the specified parameter for the currently defined method as the last parameter of the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> |
withParameters(Collection<? extends TypeDefinition> types)
Defines the specified parameters for the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> |
withParameters(List<? extends Type> types)
Defines the specified parameters for the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> |
withParameters(Type... type)
Defines the specified parameters for the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> |
withParameters(TypeDefinition... type)
Defines the specified parameters for the currently defined method.
|
withParameter, withParameter, withParameter, withParameter, withParameterthrowing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariabledefaultValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithParameter, withParameter, withParameter, withParameter, withParameter, withParameterwithParameterthrowing, throwing, throwing, throwingtypeVariable, typeVariable, typeVariable, typeVariable, typeVariabledefaultValue, defaultValue, intercept, withoutCodepublic DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W> withParameter(Type type)
withParameter in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<W>type - The parameter's type. Can also be TargetType if the parameter type
should be equal to the currently instrumented type.public DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> withParameters(Type... type)
withParameters in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<W>type - The parameter types. Any type can also be TargetType if the parameter type
should be equal to the currently instrumented type.public DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> withParameters(List<? extends Type> types)
withParameters in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<W>types - The parameter types. Any type can also be TargetType if the parameter type
should be equal to the currently instrumented type.public DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> withParameters(TypeDefinition... type)
withParameters in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<W>type - The parameter types. Any type can also be TargetType if the parameter type
should be equal to the currently instrumented type.public DynamicType.Builder.MethodDefinition.ExceptionDefinition<W> withParameters(Collection<? extends TypeDefinition> types)
withParameters in interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<W>types - The parameter types. Any type can also be TargetType if the parameter type
should be equal to the currently instrumented type.Copyright © 2014–2023. All rights reserved.