Struct jvm_classfile::ClassFile [] [src]

pub struct ClassFile {
    pub version: Version,
    pub constant_pool: ConstantPool,
    pub access_flags: AccessFlags,
    pub fields: Vec<FieldInfo>,
    pub methods: Vec<MethodInfo>,
    pub attrs: Vec<Attr>,
    // some fields omitted
}

Fields

version
constant_pool
access_flags
fields
methods
attrs

Methods

impl ClassFile

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

fn this_class(&self) -> Option<&ConstantClassInfo>

fn super_class(&self) -> Option<&ConstantClassInfo>

fn interfaces<'a>(&'a self) -> Interfaces<'a>

fn dump(&self)

impl ClassFile

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

Trait Implementations

Derived Implementations

impl Debug for ClassFile

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