W
- A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W> extends DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<W> implements DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<W>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W>, 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.
|
throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable
defaultValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withParameter
throwing, throwing, throwing, throwing
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
public 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.Copyright © 2014–2020. All rights reserved.