Package net.bytebuddy.dynamic.scaffold
Enum Class MethodRegistry.Handler.ForVisibilityBridge
java.lang.Object
java.lang.Enum<MethodRegistry.Handler.ForVisibilityBridge>
net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler.ForVisibilityBridge
- All Implemented Interfaces:
Serializable
,Comparable<MethodRegistry.Handler.ForVisibilityBridge>
,Constable
,InstrumentedType.Prepareable
,MethodRegistry.Handler
- Enclosing interface:
- MethodRegistry.Handler
public static enum MethodRegistry.Handler.ForVisibilityBridge
extends Enum<MethodRegistry.Handler.ForVisibilityBridge>
implements MethodRegistry.Handler
A handler for implementing a visibility bridge.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
A compiled handler for a visibility bridge handler.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
InstrumentedType.Prepareable.NoOp
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler
MethodRegistry.Handler.ForAbstractMethod, MethodRegistry.Handler.ForAnnotationValue, MethodRegistry.Handler.ForImplementation, MethodRegistry.Handler.ForVisibilityBridge
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile
(Implementation.Target implementationTarget) Compiles this handler.prepare
(InstrumentedType instrumentedType) Prepares a given instrumented type.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
ForVisibilityBridge
private ForVisibilityBridge()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
prepare
Prepares a given instrumented type.- Specified by:
prepare
in interfaceInstrumentedType.Prepareable
- Parameters:
instrumentedType
- The instrumented type in its current form.- Returns:
- The prepared instrumented type.
-
compile
public MethodRegistry.Handler.ForVisibilityBridge.Compiled compile(Implementation.Target implementationTarget) Compiles this handler.- Specified by:
compile
in interfaceMethodRegistry.Handler
- Parameters:
implementationTarget
- The implementation target to compile this handler for.- Returns:
- A compiled handler.
-