public static enum MethodRegistry.Handler.ForAbstractMethod extends Enum<MethodRegistry.Handler.ForAbstractMethod> implements MethodRegistry.Handler, MethodRegistry.Handler.Compiled
MethodRegistry.Handler.Compiled, MethodRegistry.Handler.ForAbstractMethod, MethodRegistry.Handler.ForAnnotationValue, MethodRegistry.Handler.ForImplementation, MethodRegistry.Handler.ForVisibilityBridgeInstrumentedType.Prepareable.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
TypeWriter.MethodPool.Record |
assemble(MethodDescription methodDescription,
MethodAttributeAppender attributeAppender,
Visibility visibility)
Assembles this compiled entry with a method attribute appender.
|
MethodRegistry.Handler.Compiled |
compile(Implementation.Target implementationTarget)
Compiles this handler.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
static MethodRegistry.Handler.ForAbstractMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodRegistry.Handler.ForAbstractMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodRegistry.Handler.ForAbstractMethod INSTANCE
public static MethodRegistry.Handler.ForAbstractMethod[] values()
for (MethodRegistry.Handler.ForAbstractMethod c : MethodRegistry.Handler.ForAbstractMethod.values()) System.out.println(c);
public static MethodRegistry.Handler.ForAbstractMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public MethodRegistry.Handler.Compiled compile(Implementation.Target implementationTarget)
compile in interface MethodRegistry.HandlerimplementationTarget - The implementation target to compile this handler for.public TypeWriter.MethodPool.Record assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility)
assemble in interface MethodRegistry.Handler.CompiledmethodDescription - The method description to apply with this handler.attributeAppender - The method attribute appender to apply together with this handler.visibility - The represented method's minimum visibility.Copyright © 2014–2023. All rights reserved.