protected class DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.TypeVariableAnnotationAdapter extends DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter<U>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter<X>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Modifier | Constructor and Description |
---|---|
protected |
TypeVariableAnnotationAdapter(TypeVariableToken token)
Creates a new type variable annotation adapter.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<U> |
annotateTypeVariable(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected DynamicType.Builder.MethodDefinition.ParameterDefinition<U> |
materialize()
Materializes this instance as a parameter definition with the currently defined properties.
|
String |
toString() |
defaultValue, defaultValue, intercept, typeVariable, withoutCode
annotateTypeVariable, annotateTypeVariable, annotateTypeVariable
typeVariable, typeVariable, typeVariable, typeVariable
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
typeVariable, typeVariable, typeVariable, typeVariable
protected TypeVariableAnnotationAdapter(TypeVariableToken token)
token
- The currently defined type variable.protected DynamicType.Builder.MethodDefinition.ParameterDefinition<U> materialize()
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter
materialize
in class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter<U>
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<U> annotateTypeVariable(Collection<? extends AnnotationDescription> annotations)
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable
annotations
- The annotations to declare on the previously defined type variable.Copyright © 2014–2017. All rights reserved.