V - A loaded type that the built type is guaranteed to be a subclass of.protected abstract static class DynamicType.Builder.MethodDefinition.AbstractBase.Adapter<V> extends DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase<V>
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter<V>DynamicType.Builder.AbstractBase.Delegator<U>DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase<V>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>| Modifier and Type | Field and Description | 
|---|---|
| protected MethodRegistry.Handler | handlerThe handler that determines how a method is implemented. | 
| protected MethodAttributeAppender.Factory | methodAttributeAppenderFactoryThe method attribute appender factory to apply onto the method that is currently being implemented. | 
| protected MethodTransformer | methodTransformerThe method transformer to apply onto the method that is currently being implemented. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Adapter(MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory methodAttributeAppenderFactory,
       MethodTransformer methodTransformer)Creates a new adapter for a method definition. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MethodDefinition<V> | attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)Applies the supplied method attribute appender factory onto the previously defined or matched method. | 
| boolean | equals(Object other) | 
| int | hashCode() | 
| protected abstract DynamicType.Builder.MethodDefinition<V> | materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           MethodTransformer methodTransformer)Materializes the current builder as a method definition. | 
| DynamicType.Builder.MethodDefinition<V> | transform(MethodTransformer methodTransformer)Applies the supplied method transformer onto the previously defined or matched method. | 
receiverTypeannotateMethod, annotateMethod, annotateMethod, annotateParameter, annotateParameter, annotateParameterannotateType, 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, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreceiverTypeannotateMethod, annotateMethod, annotateMethod, annotateMethod, annotateParameter, annotateParameter, annotateParameter, annotateParameterannotateType, 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, visitprotected final MethodRegistry.Handler handler
protected final MethodAttributeAppender.Factory methodAttributeAppenderFactory
protected final MethodTransformer methodTransformer
protected Adapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, MethodTransformer methodTransformer)
handler - The handler that determines how a method is implemented.methodAttributeAppenderFactory - The method attribute appender factory to apply onto the method that is currently being implemented.methodTransformer - The method transformer to apply onto the method that is currently being implemented.public DynamicType.Builder.MethodDefinition<V> attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
DynamicType.Builder.MethodDefinitionmethodAttributeAppenderFactory - The method attribute appender factory that should be applied on the
                                       previously defined or matched method.public DynamicType.Builder.MethodDefinition<V> transform(MethodTransformer methodTransformer)
DynamicType.Builder.MethodDefinitionmethodTransformer - The method transformer to apply to the previously defined or matched method.protected abstract DynamicType.Builder.MethodDefinition<V> materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, MethodTransformer methodTransformer)
handler - The handler that determines how a method is implemented.methodAttributeAppenderFactory - The method attribute appender factory to apply onto the method that is currently being implemented.methodTransformer - The method transformer to apply onto the method that is currently being implemented.Copyright © 2014–2016. All rights reserved.