public static enum TypeVariableSource.Visitor.NoOp extends Enum<TypeVariableSource.Visitor.NoOp> implements TypeVariableSource.Visitor<TypeVariableSource>
TypeVariableSource.Visitor.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
TypeVariableSource |
onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method.
|
TypeVariableSource |
onType(TypeDescription typeDescription)
Applies the visitor on a type.
|
static TypeVariableSource.Visitor.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeVariableSource.Visitor.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeVariableSource.Visitor.NoOp INSTANCE
public static TypeVariableSource.Visitor.NoOp[] values()
for (TypeVariableSource.Visitor.NoOp c : TypeVariableSource.Visitor.NoOp.values()) System.out.println(c);
public static TypeVariableSource.Visitor.NoOp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic TypeVariableSource onType(TypeDescription typeDescription)
onType
in interface TypeVariableSource.Visitor<TypeVariableSource>
typeDescription
- The type onto which this visitor is applied.public TypeVariableSource onMethod(MethodDescription.InDefinedShape methodDescription)
onMethod
in interface TypeVariableSource.Visitor<TypeVariableSource>
methodDescription
- The method onto which this visitor is applied.Copyright © 2014–2020. All rights reserved.