public static class MethodRegistry.Handler.ForAnnotationValue extends Object implements MethodRegistry.Handler, MethodRegistry.Handler.Compiled
MethodRegistry.Handler.Compiled, MethodRegistry.Handler.ForAbstractMethod, MethodRegistry.Handler.ForAnnotationValue, MethodRegistry.Handler.ForImplementation, MethodRegistry.Handler.ForVisibilityBridge| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForAnnotationValue(Object annotationValue)
Creates a handler for defining a default annotation value for a method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TypeWriter.MethodPool.Record | 
assemble(MethodDescription methodDescription,
        MethodAttributeAppender attributeAppender)
Assembles this compiled entry with a method attribute appender. 
 | 
MethodRegistry.Handler.Compiled | 
compile(Implementation.Target implementationTarget)
Compiles this handler. 
 | 
boolean | 
equals(Object other)  | 
int | 
hashCode()  | 
static MethodRegistry.Handler | 
of(Object annotationValue)
Represents the given value as an annotation default value handler after validating its suitability. 
 | 
InstrumentedType | 
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type for this handler. 
 | 
String | 
toString()  | 
protected ForAnnotationValue(Object annotationValue)
annotationValue - The annotation value to set as a default value.public static MethodRegistry.Handler of(Object annotationValue)
annotationValue - The annotation value to represent.public InstrumentedType prepare(InstrumentedType instrumentedType)
MethodRegistry.Handlerprepare in interface MethodRegistry.HandlerinstrumentedType - The instrumented type to prepare.public MethodRegistry.Handler.Compiled compile(Implementation.Target implementationTarget)
MethodRegistry.Handlercompile in interface MethodRegistry.HandlerimplementationTarget - The implementation target to compile this handler for.public TypeWriter.MethodPool.Record assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender)
MethodRegistry.Handler.Compiledassemble in interface MethodRegistry.Handler.CompiledmethodDescription - The method description to apply with this handler.attributeAppender - The method attribute appender to apply together with this handler.Copyright © 2014–2015. All rights reserved.