public static class MethodRegistry.Handler.ForAbstractMethod extends Object implements MethodRegistry.Handler, MethodRegistry.Handler.Compiled
MethodRegistry.Handler.Compiled, MethodRegistry.Handler.ForAbstractMethod, MethodRegistry.Handler.ForAnnotationValue, MethodRegistry.Handler.ForImplementation
Constructor and Description |
---|
ForAbstractMethod(ModifierResolver modifierResolver)
Creates a new handler for defining an abstract method.
|
Modifier and Type | Method and Description |
---|---|
TypeWriter.MethodPool.Entry |
assemble(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() |
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type for this handler.
|
String |
toString() |
public ForAbstractMethod(ModifierResolver modifierResolver)
modifierResolver
- The transformer to apply to the modifier of this method.public InstrumentedType prepare(InstrumentedType instrumentedType)
MethodRegistry.Handler
prepare
in interface MethodRegistry.Handler
instrumentedType
- The instrumented type to prepare.public MethodRegistry.Handler.Compiled compile(Implementation.Target implementationTarget)
MethodRegistry.Handler
compile
in interface MethodRegistry.Handler
implementationTarget
- The implementation target to compile this handler for.public TypeWriter.MethodPool.Entry assemble(MethodAttributeAppender attributeAppender)
MethodRegistry.Handler.Compiled
assemble
in interface MethodRegistry.Handler.Compiled
attributeAppender
- The method attribute appender to apply together with this handler.Copyright © 2014–2015. All rights reserved.