Package net.bytebuddy.dynamic
Class DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase<W>
- java.lang.Object
-
- net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>
-
- net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V>
-
- 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 Classes Modifier and Type Class Description protected static class
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter<X>
An adapter implementation of a simple parameter definition.-
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.Simple
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase<W>, DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.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 Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>
annotateParameter(java.lang.annotation.Annotation... annotation)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>
annotateParameter(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>
annotateParameter(AnnotationDescription... annotation)
Annotates the previously defined parameter with the specified annotations.-
Methods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.AbstractBase
withParameter
-
Methods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase
throwing, throwing, throwing
-
Methods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase
typeVariable, typeVariable, typeVariable, typeVariable
-
Methods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase
defaultValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ExceptionDefinition
throwing, throwing, throwing, throwing
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition
defaultValue, defaultValue, intercept, withoutCode
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple
withParameter, withParameter
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable
annotateParameter
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
-
-
-
-
Method Detail
-
annotateParameter
public DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W> annotateParameter(java.lang.annotation.Annotation... annotation)
Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameter
in 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(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined parameter with the specified annotations.- Specified by:
annotateParameter
in 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:
annotateParameter
in 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.
-
-