There is no Array type in enum Java, how can I generate array type.
sidneywang opened this issue · 0 comments
sidneywang commented
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>),
}