Enum TypeProxy.InvocationFactory.Default
- java.lang.Object
-
- java.lang.Enum<TypeProxy.InvocationFactory.Default>
-
- net.bytebuddy.implementation.auxiliary.TypeProxy.InvocationFactory.Default
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeProxy.InvocationFactory.Default>
,TypeProxy.InvocationFactory
- Enclosing interface:
- TypeProxy.InvocationFactory
public static enum TypeProxy.InvocationFactory.Default extends java.lang.Enum<TypeProxy.InvocationFactory.Default> implements TypeProxy.InvocationFactory
Default implementations of theTypeProxy.InvocationFactory
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.auxiliary.TypeProxy.InvocationFactory
TypeProxy.InvocationFactory.Default
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_METHOD
Invokes the default method of the instrumented method if it exists and is not ambiguous.SUPER_METHOD
Invokes the super method of the instrumented method.
-
Constructor Summary
Constructors Modifier Constructor Description private
Default()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeProxy.InvocationFactory.Default
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeProxy.InvocationFactory.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.implementation.auxiliary.TypeProxy.InvocationFactory
invoke
-
-
-
-
Enum Constant Detail
-
SUPER_METHOD
public static final TypeProxy.InvocationFactory.Default SUPER_METHOD
Invokes the super method of the instrumented method.
-
DEFAULT_METHOD
public static final TypeProxy.InvocationFactory.Default DEFAULT_METHOD
Invokes the default method of the instrumented method if it exists and is not ambiguous.
-
-
Method Detail
-
values
public static TypeProxy.InvocationFactory.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 (TypeProxy.InvocationFactory.Default c : TypeProxy.InvocationFactory.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 TypeProxy.InvocationFactory.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
-
-