public static enum Super.Instantiation extends Enum<Super.Instantiation>
Super
Enum Constant and Description |
---|
CONSTRUCTOR
A proxy instance is instantiated by its constructor.
|
UNSAFE
A proxy is instantiated by calling JVM internal methods and without calling a constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract StackManipulation |
proxyFor(TypeDescription proxyType,
Implementation.Target implementationTarget,
AnnotationDescription.Loadable<Super> annotation)
Creates a stack manipulation which loads a
super -call proxy onto the stack. |
static Super.Instantiation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Super.Instantiation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Super.Instantiation CONSTRUCTOR
Super.constructorParameters()
.public static final Super.Instantiation UNSAFE
public static Super.Instantiation[] values()
for (Super.Instantiation c : Super.Instantiation.values()) System.out.println(c);
public static Super.Instantiation 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 nullprotected abstract StackManipulation proxyFor(TypeDescription proxyType, Implementation.Target implementationTarget, AnnotationDescription.Loadable<Super> annotation)
super
-call proxy onto the stack.proxyType
- The type of the proxy that is bound to the parameter annotated by
Super
implementationTarget
- The implementation target for the currently created type.annotation
- The annotation that caused this method call.Copyright © 2014–2025. All rights reserved.