Struct jvm_classfile::constant::ConstantPool [] [src]

pub struct ConstantPool {
    // some fields omitted
}

Methods

impl ConstantPool

fn read<R: Read>(reader: &mut R) -> Result<ConstantPool>

fn get(&self, index: usize) -> Option<&ConstantPoolEntry>

fn get_str(&self, index: usize) -> Option<&str>

fn get_class_info(&self, index: usize) -> Option<&ConstantClassInfo>

impl ConstantPool

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

Trait Implementations

Derived Implementations

impl Debug for ConstantPool

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