Package net.bytebuddy.build
Enum EntryPoint.Default
- java.lang.Object
-
- java.lang.Enum<EntryPoint.Default>
-
- net.bytebuddy.build.EntryPoint.Default
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EntryPoint.Default>
,EntryPoint
- Enclosing interface:
- EntryPoint
public static enum EntryPoint.Default extends java.lang.Enum<EntryPoint.Default> implements EntryPoint
Default implementations for an entry point.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.build.EntryPoint
EntryPoint.Default
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECORATE
An entry point that decorates a type and which only offers limited support for transformation by only allowing for the application ofAsmVisitorWrapper
s while improving performance.REBASE
An entry point that rebases a type.REDEFINE
An entry point that redefines a type.REDEFINE_LOCAL
An entry point that redefines a type and which does not change the dynamic type's shape, i.e.
-
Constructor Summary
Constructors Modifier Constructor Description private
Default()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntryPoint.Default
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EntryPoint.Default[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.bytebuddy.build.EntryPoint
byteBuddy, transform
-
-
-
-
Enum Constant Detail
-
REBASE
public static final EntryPoint.Default REBASE
An entry point that rebases a type.
-
REDEFINE
public static final EntryPoint.Default REDEFINE
An entry point that redefines a type.
-
REDEFINE_LOCAL
public static final EntryPoint.Default REDEFINE_LOCAL
An entry point that redefines a type and which does not change the dynamic type's shape, i.e. does not add any methods or considers intercepting inherited methods.
-
DECORATE
public static final EntryPoint.Default DECORATE
An entry point that decorates a type and which only offers limited support for transformation by only allowing for the application ofAsmVisitorWrapper
s while improving performance.
-
-
Method Detail
-
values
public static EntryPoint.Default[] 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 (EntryPoint.Default c : EntryPoint.Default.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntryPoint.Default 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
-
-