Package net.bytebuddy.dynamic
Class DynamicType.Builder.MethodDefinition.ParameterDefinition.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.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.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<W>,DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>,DynamicType.Builder.MethodDefinition.TypeVariableDefinition<W>
- Direct Known Subclasses:
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter
- Enclosing interface:
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>
public abstract static class DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase<W>
extends DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase<W>
implements DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>
An abstract base implementation for defining an annotation on a parameter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAn adapter implementation for defining an annotation on a parameter.Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ExceptionDefinition
DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<V>Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition
DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<V>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple<V>Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase<W>Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.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 net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.AbstractBase
withParameter, withParameter, withParameter, withParameter, withParameterMethods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase
throwing, throwing, throwingMethods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase
typeVariable, typeVariable, typeVariable, typeVariableMethods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase
defaultValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ExceptionDefinition
throwing, throwing, throwing, throwingMethods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition
defaultValue, defaultValue, intercept, withoutCodeMethods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition
withParameter, withParameter, withParameter, withParameter, withParameter, withParameterMethods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable
annotateParameterMethods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
annotateParameter
public DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W> annotateParameter(Annotation... annotation) Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameterin interfaceDynamicType.Builder.MethodDefinition.ParameterDefinition.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.Annotatable<W> annotateParameter(List<? extends Annotation> annotations) Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameterin interfaceDynamicType.Builder.MethodDefinition.ParameterDefinition.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.Annotatable<W> annotateParameter(AnnotationDescription... annotation) Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameterin interfaceDynamicType.Builder.MethodDefinition.ParameterDefinition.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.
-