pub struct MethodInfo {
pub acc_flags: U2,
pub name_index: U2,
pub desc_index: U2,
pub attrs: Vec<Type>,
}
Fields§
§acc_flags: U2
§name_index: U2
§desc_index: U2
§attrs: Vec<Type>
Implementations§
Source§impl MethodInfo
impl MethodInfo
pub fn get_code(&self) -> Option<Code>
pub fn get_line_number_table(&self) -> Vec<LineNumber>
pub fn get_throws(&self) -> Option<Vec<U2>>
pub fn get_ex_table(&self) -> Option<Vec<CodeException>>
pub fn get_stack_map_table(&self) -> Option<Vec<StackMapFrame>>
pub fn get_local_variable_table(&self) -> Option<Vec<LocalVariable>>
pub fn get_local_variable_type_table(&self) -> Option<Vec<LocalVariable>>
Trait Implementations§
Source§impl Clone for MethodInfo
impl Clone for MethodInfo
Source§fn clone(&self) -> MethodInfo
fn clone(&self) -> MethodInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MethodInfo
impl RefUnwindSafe for MethodInfo
impl Send for MethodInfo
impl Sync for MethodInfo
impl Unpin for MethodInfo
impl UnwindSafe for MethodInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more