U
- A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U> extends DynamicType.Builder.MethodDefinition<U>
Modifier and Type | Interface and Description |
---|---|
static class |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase<V>
An abstract base implementation of a method definition that can accept a receiver type.
|
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.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.RecordComponentDefinition<S>
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition<U> |
receiverType(AnnotatedElement receiverType)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<U> |
receiverType(TypeDescription.Generic receiverType)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
annotateMethod, annotateMethod, annotateMethod, annotateMethod, annotateParameter, annotateParameter, annotateParameter, annotateParameter, attribute, transform
annotateType, annotateType, annotateType, annotateType, attribute, constructor, declaredTypes, declaredTypes, declaredTypes, declaredTypes, define, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineProperty, defineProperty, defineProperty, defineProperty, defineRecordComponent, defineRecordComponent, field, field, ignoreAlso, ignoreAlso, implement, implement, implement, implement, initializer, initializer, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, invokable, invokable, make, make, make, make, merge, merge, method, modifiers, modifiers, modifiers, name, nestHost, nestHost, nestMembers, nestMembers, nestMembers, nestMembers, noNestMate, permittedSubclass, permittedSubclass, permittedSubclass, permittedSubclass, recordComponent, recordComponent, require, require, require, require, serialVersionUid, suffix, topLevelType, toTypeDescription, transform, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, unsealed, visit, withHashCodeEquals, withToString
DynamicType.Builder.MethodDefinition<U> receiverType(AnnotatedElement receiverType)
receiverType
- The receiver type to define on the previously defined or matched method.DynamicType.Builder.MethodDefinition<U> receiverType(TypeDescription.Generic receiverType)
receiverType
- The receiver type to define on the previously defined or matched method.Copyright © 2014–2020. All rights reserved.