pclass_parser/classfile/
mod.rs

1#![allow(unused)]
2
3//! Provides types for working with class file.
4//!
5//! The `classfile` crate provides types for describing the
6//! class file format of the Java Virtual Machine.
7//!
8//! It's not class file parser.
9pub mod attributes;
10mod classfile;
11pub mod constant_pool;
12pub mod consts;
13mod field_info;
14pub mod flags;
15mod method_info;
16mod opcode;
17mod signature;
18pub mod types;
19mod version;
20
21pub use crate::classfile::classfile::ClassFile;
22pub use attributes::Type as AttributeType;
23pub use constant_pool::Type as ConstantPoolType;
24pub use field_info::FieldInfo;
25pub use method_info::MethodInfo;
26pub use opcode::OpCode;
27pub use signature::Type as SignatureType;
28pub use types::BytesRef;
29pub use types::ConstantPool;
30pub use version::Version;
31
32#[cfg(test)]
33mod tests {
34    #[test]
35    fn it_works() {
36        assert_eq!(2 + 2, 4);
37    }
38}