Enum jvm::classfile::constant::ConstantPoolEntry [] [src]

pub enum ConstantPoolEntry {
    Class(ConstantClassInfo),
    FieldRef(ConstantFieldRefInfo),
    MethodRef(ConstantMethodRefInfo),
    InterfaceMethodRef(ConstantInterfaceMethodRefInfo),
    String(ConstantStringInfo),
    Integer(ConstantIntegerInfo),
    Float(ConstantFloatInfo),
    Long(ConstantLongInfo),
    Double(ConstantDoubleInfo),
    NameAndType(ConstantNameAndTypeInfo),
    Utf8(ConstantUtf8Info),
    MethodHandle(ConstantMethodHandleInfo),
    MethodType(ConstantMethodTypeInfo),
    InvokedDynamic(ConstantInvokedDynamicInfo),
}

Variants

Class
FieldRef
MethodRef
InterfaceMethodRef
String
Integer
Float
Long
Double
NameAndType
Utf8
MethodHandle
MethodType
InvokedDynamic

Methods

impl ConstantPoolEntry

fn print<W>(&self, printer: &mut Printer<W>, constant_pool: &ConstantPool) -> Result<(), Error> where W: Write

impl ConstantPoolEntry

fn read<R>(reader: &mut R) -> Result<ConstantPoolEntry, Error> where R: Read

Trait Implementations

Derived Implementations

impl Debug for ConstantPoolEntry

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>