jvm 0.3.0

Core abstractions and runtime services for embeddable JVM implementations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use alloc::borrow::Cow;
use core::fmt::Debug;

use jvm_types::FieldAccessFlags;

use crate::as_any::AsAny;

pub trait Field: Sync + Send + AsAny + Debug {
    fn name(&self) -> Cow<'_, str>;
    fn descriptor(&self) -> Cow<'_, str>;
    fn access_flags(&self) -> FieldAccessFlags;
}