Class DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase<V>

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • receiverType

        public DynamicType.Builder.MethodDefinition<V> receiverType​(java.lang.reflect.AnnotatedElement receiverType)
        Defines the supplied (annotated) receiver type for the previously defined or matched method.
        Specified by:
        receiverType in interface DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<V>
        Parameters:
        receiverType - The receiver type to define on the previously defined or matched method.
        Returns:
        A new builder that is equal to this builder but with the given type defined as the receiver on the previously defined or matched method.