pub enum Java<'el> {
/// Primitive type.
Primitive {
/// The boxed variant of the primitive type.
boxed: &'static str,
/// The primitive-primitive type.
primitive: &'static str,
},
/// A class, with or without arguments, imported from somewhere.
Class(Type<'el>),
/// A local name with no specific qualification.
Local {
/// Name of class.
name: Cons<'el>,
},
/// Optional type.
Optional(Optional<'el>),
}
pub enum Java<'el> { /// Primitive type. Primitive { /// The boxed variant of the primitive type. boxed: &'static str, /// The primitive-primitive type. primitive: &'static str, }, /// A class, with or without arguments, imported from somewhere. Class(Type<'el>), /// A local name with no specific qualification. Local { /// Name of class. name: Cons<'el>, }, /// Optional type. Optional(Optional<'el>), }