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 print<W>(&self, printer: &mut Printer<W>) -> Result<(), Error> where W: Write

impl ClassFile

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

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

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

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

fn dump(&self)

Trait Implementations

Derived Implementations

impl Debug for ClassFile

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