public static enum JavaConstant.Visitor.NoOp extends Enum<JavaConstant.Visitor.NoOp> implements JavaConstant.Visitor<JavaConstant>
JavaConstant.Visitor for a JavaConstant.JavaConstant.Visitor.NoOp| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaConstant | onDynamic(JavaConstant.Dynamic constant)Invoked on a  JavaConstant.Dynamicconstant. | 
| JavaConstant | onMethodHandle(JavaConstant.MethodHandle constant)Invoked on a constant that represents a  JavaConstant.MethodHandle. | 
| JavaConstant | onMethodType(JavaConstant.MethodType constant)Invoked on a constant that represents a  JavaConstant.MethodType. | 
| JavaConstant | onType(JavaConstant.Simple<TypeDescription> constant)Invoked on a  JavaConstant.Simpleconstant that represents aTypeDescription. | 
| JavaConstant | onValue(JavaConstant.Simple<?> constant)Invoked on a  JavaConstant.Simpleconstant that represents itself. | 
| static JavaConstant.Visitor.NoOp | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JavaConstant.Visitor.NoOp[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JavaConstant.Visitor.NoOp INSTANCE
public static JavaConstant.Visitor.NoOp[] values()
for (JavaConstant.Visitor.NoOp c : JavaConstant.Visitor.NoOp.values()) System.out.println(c);
public static JavaConstant.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 JavaConstant onValue(JavaConstant.Simple<?> constant)
JavaConstant.Simple constant that represents itself. Such values are of type
 Integer, Long, Float, Double or String.onValue in interface JavaConstant.Visitor<JavaConstant>constant - The simple constant.public JavaConstant onType(JavaConstant.Simple<TypeDescription> constant)
JavaConstant.Simple constant that represents a TypeDescription.onType in interface JavaConstant.Visitor<JavaConstant>constant - The simple constant.public JavaConstant onMethodType(JavaConstant.MethodType constant)
JavaConstant.MethodType.onMethodType in interface JavaConstant.Visitor<JavaConstant>constant - The method type constant.public JavaConstant onMethodHandle(JavaConstant.MethodHandle constant)
JavaConstant.MethodHandle.onMethodHandle in interface JavaConstant.Visitor<JavaConstant>constant - The method handle constant.public JavaConstant onDynamic(JavaConstant.Dynamic constant)
JavaConstant.Dynamic constant.onDynamic in interface JavaConstant.Visitor<JavaConstant>constant - The dynamic constant.Copyright © 2014–2023. All rights reserved.