Package net.bytebuddy.dynamic.scaffold
Enum MethodRegistry.Handler.ForVisibilityBridge
- java.lang.Object
-
- java.lang.Enum<MethodRegistry.Handler.ForVisibilityBridge>
-
- net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler.ForVisibilityBridge
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MethodRegistry.Handler.ForVisibilityBridge>
,InstrumentedType.Prepareable
,MethodRegistry.Handler
- Enclosing interface:
- MethodRegistry.Handler
public static enum MethodRegistry.Handler.ForVisibilityBridge extends java.lang.Enum<MethodRegistry.Handler.ForVisibilityBridge> implements MethodRegistry.Handler
A handler for implementing a visibility bridge.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MethodRegistry.Handler.ForVisibilityBridge.Compiled
A compiled handler for a visibility bridge handler.-
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 Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
ForVisibilityBridge()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodRegistry.Handler.ForVisibilityBridge.Compiled
compile(Implementation.Target implementationTarget)
Compiles this handler.InstrumentedType
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.static MethodRegistry.Handler.ForVisibilityBridge
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MethodRegistry.Handler.ForVisibilityBridge[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final MethodRegistry.Handler.ForVisibilityBridge INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static MethodRegistry.Handler.ForVisibilityBridge[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MethodRegistry.Handler.ForVisibilityBridge c : MethodRegistry.Handler.ForVisibilityBridge.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodRegistry.Handler.ForVisibilityBridge valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
prepare
public InstrumentedType prepare(InstrumentedType instrumentedType)
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.
-
-