Package net.bytebuddy.description
Enum Class TypeVariableSource.Visitor.NoOp
java.lang.Object
java.lang.Enum<TypeVariableSource.Visitor.NoOp>
net.bytebuddy.description.TypeVariableSource.Visitor.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<TypeVariableSource.Visitor.NoOp>
,Constable
,TypeVariableSource.Visitor<TypeVariableSource>
- Enclosing interface:
TypeVariableSource.Visitor<T>
public static enum TypeVariableSource.Visitor.NoOp
extends Enum<TypeVariableSource.Visitor.NoOp>
implements TypeVariableSource.Visitor<TypeVariableSource>
A none-operational implementation of a type variable visitor that simply returns the visited source.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.description.TypeVariableSource.Visitor
TypeVariableSource.Visitor.NoOp
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononMethod
(MethodDescription.InDefinedShape methodDescription) Applies the visitor on a method.onType
(TypeDescription typeDescription) Applies the visitor on a type.Returns the enum constant of this class with the specified name.static TypeVariableSource.Visitor.NoOp[]
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
-
NoOp
private NoOp()
-
-
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
-
onType
Applies the visitor on a type.- Specified by:
onType
in interfaceTypeVariableSource.Visitor<TypeVariableSource>
- Parameters:
typeDescription
- The type onto which this visitor is applied.- Returns:
- The visitor's return value.
-
onMethod
Applies the visitor on a method.- Specified by:
onMethod
in interfaceTypeVariableSource.Visitor<TypeVariableSource>
- Parameters:
methodDescription
- The method onto which this visitor is applied.- Returns:
- The visitor's return value.
-