U - A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.AbstractBase<U> extends DynamicType.Builder.AbstractBase.Delegator<U> implements DynamicType.Builder.MethodDefinition<U>
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | DynamicType.Builder.MethodDefinition.AbstractBase.Adapter<V>An adapter implementation of a method definition. | 
DynamicType.Builder.AbstractBase.Delegator<U>DynamicType.Builder.MethodDefinition.AbstractBase<U>, DynamicType.Builder.MethodDefinition.ExceptionDefinition<U>, DynamicType.Builder.MethodDefinition.ImplementationDefinition<U>, DynamicType.Builder.MethodDefinition.ParameterDefinition<U>, DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition<U>DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.MethodDefinition<S>| Constructor and Description | 
|---|
| AbstractBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MethodDefinition<U> | annotateMethod(Annotation... annotation)Annotates the previously defined or matched method with the supplied annotations. | 
| DynamicType.Builder.MethodDefinition<U> | annotateMethod(AnnotationDescription... annotation)Annotates the previously defined or matched method with the supplied annotations. | 
| DynamicType.Builder.MethodDefinition<U> | annotateMethod(List<? extends Annotation> annotations)Annotates the previously defined or matched method with the supplied annotations. | 
| DynamicType.Builder.MethodDefinition<U> | annotateParameter(int index,
                 Annotation... annotation)Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations. | 
| DynamicType.Builder.MethodDefinition<U> | annotateParameter(int index,
                 AnnotationDescription... annotation)Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations. | 
| DynamicType.Builder.MethodDefinition<U> | annotateParameter(int index,
                 List<? extends Annotation> annotations)Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations. | 
annotateType, attribute, defineConstructor, defineField, defineMethod, field, ignoreAlso, ignoreAlso, implement, initializer, initializer, invokable, make, materialize, merge, modifiers, name, typeVariable, visitannotateType, annotateType, annotateType, constructor, define, define, define, define, define, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, field, implement, implement, implement, invokable, merge, method, modifiers, modifiers, serialVersionUid, typeVariable, typeVariable, typeVariable, typeVariableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotateMethod, annotateParameter, attribute, transformannotateType, annotateType, annotateType, annotateType, attribute, constructor, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, field, field, ignoreAlso, ignoreAlso, implement, implement, implement, implement, initializer, initializer, invokable, invokable, make, merge, merge, method, modifiers, modifiers, modifiers, name, serialVersionUid, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, visitpublic DynamicType.Builder.MethodDefinition<U> annotateMethod(Annotation... annotation)
DynamicType.Builder.MethodDefinitionannotateMethod in interface DynamicType.Builder.MethodDefinition<U>annotation - The annotations to declare on the previously defined or matched method.public DynamicType.Builder.MethodDefinition<U> annotateMethod(List<? extends Annotation> annotations)
DynamicType.Builder.MethodDefinitionannotateMethod in interface DynamicType.Builder.MethodDefinition<U>annotations - The annotations to declare on the previously defined or matched method.public DynamicType.Builder.MethodDefinition<U> annotateMethod(AnnotationDescription... annotation)
DynamicType.Builder.MethodDefinitionannotateMethod in interface DynamicType.Builder.MethodDefinition<U>annotation - The annotations to declare on the previously defined or matched method.public DynamicType.Builder.MethodDefinition<U> annotateParameter(int index, Annotation... annotation)
DynamicType.Builder.MethodDefinitionannotateParameter in interface DynamicType.Builder.MethodDefinition<U>index - The parameter's index.annotation - The annotations to declare on the previously defined or matched method.public DynamicType.Builder.MethodDefinition<U> annotateParameter(int index, List<? extends Annotation> annotations)
DynamicType.Builder.MethodDefinitionannotateParameter in interface DynamicType.Builder.MethodDefinition<U>index - The parameter's index.annotations - The annotations to declare on the previously defined or matched method.public DynamicType.Builder.MethodDefinition<U> annotateParameter(int index, AnnotationDescription... annotation)
DynamicType.Builder.MethodDefinitionannotateParameter in interface DynamicType.Builder.MethodDefinition<U>index - The parameter's index.annotation - The annotations to declare on the previously defined or matched method.Copyright © 2014–2016. All rights reserved.