pub enum ConstantInfo {
Utf8(Utf8Constant),
Integer(IntegerConstant),
Float(FloatConstant),
Long(LongConstant),
Double(DoubleConstant),
Class(ClassConstant),
String(StringConstant),
FieldRef(FieldRefConstant),
MethodRef(MethodRefConstant),
InterfaceMethodRef(InterfaceMethodRefConstant),
NameAndType(NameAndTypeConstant),
MethodHandle(MethodHandleConstant),
MethodType(MethodTypeConstant),
InvokeDynamic(InvokeDynamicConstant),
Unusable,
}
Variants
Utf8(Utf8Constant)
Integer(IntegerConstant)
Float(FloatConstant)
Long(LongConstant)
Double(DoubleConstant)
Class(ClassConstant)
String(StringConstant)
FieldRef(FieldRefConstant)
MethodRef(MethodRefConstant)
InterfaceMethodRef(InterfaceMethodRefConstant)
NameAndType(NameAndTypeConstant)
MethodHandle(MethodHandleConstant)
MethodType(MethodTypeConstant)
InvokeDynamic(InvokeDynamicConstant)
Unusable
Trait Implementations
Formats the value using the given formatter.