pub struct CtorHelper {
pub name: String,
pub ret: JavaType,
pub params: Vec<(JavaType, String)>,
pub body: Stmt,
pub vt: VarTable,
}Expand description
A synthetic static method extracted from a constructor whose delegation is preceded by computation (the Kotlin default-arg / conditional-bridge shape). Rendered by classdec after the real methods; the ctor becomes a single first-statement delegation whose carrier arg is the helper call.
Fields§
§name: String§ret: JavaType§params: Vec<(JavaType, String)>§body: Stmt§vt: VarTableAuto Trait Implementations§
impl Freeze for CtorHelper
impl RefUnwindSafe for CtorHelper
impl Send for CtorHelper
impl Sync for CtorHelper
impl Unpin for CtorHelper
impl UnsafeUnpin for CtorHelper
impl UnwindSafe for CtorHelper
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