Class DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase<W>
java.lang.Object
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase<W>
- Type Parameters:
W- A loaded type that the built type is guaranteed to be a subclass of.
- All Implemented Interfaces:
DynamicType.Builder.MethodDefinition.ExceptionDefinition<W>, DynamicType.Builder.MethodDefinition.ImplementationDefinition<W>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<W>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition<W>
- Direct Known Subclasses:
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter
- Enclosing interface:
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>
public abstract static class DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase<W>
extends DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W>
implements DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>
An abstract base implementation of a simple parameter definition.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAn adapter implementation of a simple parameter definition.Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.ExceptionDefinition
DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<V>Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.ImplementationDefinition
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase<W>Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotateParameter(Annotation... annotation) Annotates the previously defined parameter with the specified annotations.annotateParameter(List<? extends Annotation> annotations) Annotates the previously defined parameter with the specified annotations.annotateParameter(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.Methods inherited from class DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase
withParameterMethods inherited from class DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase
throwing, throwing, throwingMethods inherited from class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase
typeVariable, typeVariable, typeVariable, typeVariableMethods inherited from class DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase
defaultValueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DynamicType.Builder.MethodDefinition.ExceptionDefinition
throwing, throwing, throwing, throwingMethods inherited from interface DynamicType.Builder.MethodDefinition.ImplementationDefinition
defaultValue, defaultValue, intercept, withoutCodeMethods inherited from interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple
withParameter, withParameterMethods inherited from interface DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable
annotateParameterMethods inherited from interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
annotateParameter
public DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W> annotateParameter(Annotation... annotation) Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameterin interfaceDynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>- Parameters:
annotation- The annotations to declare on the previously defined parameter.- Returns:
- A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.
-
annotateParameter
public DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W> annotateParameter(List<? extends Annotation> annotations) Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameterin interfaceDynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>- Parameters:
annotations- The annotations to declare on the previously defined parameter.- Returns:
- A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.
-
annotateParameter
public DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W> annotateParameter(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameterin interfaceDynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>- Parameters:
annotation- The annotations to declare on the previously defined parameter.- Returns:
- A new builder that is equal to this builder but with the previously defined parameter annotated with the specified annotations.
-