Trait codeviz_java::ClassLike
[−]
[src]
pub trait ClassLike { fn implements<T>(&mut self, ty: T)
where
T: Into<ClassType>; fn push_annotation<A>(&mut self, annotation: A)
where
A: Into<AnnotationSpec>; fn push_field<F>(&mut self, field: F)
where
F: Into<FieldSpec>; fn fields(&self) -> &Vec<FieldSpec>; fn push_constructor<C>(&mut self, constructor: C)
where
C: Into<ConstructorSpec>; }
Required Methods
fn implements<T>(&mut self, ty: T) where
T: Into<ClassType>,
T: Into<ClassType>,
fn push_annotation<A>(&mut self, annotation: A) where
A: Into<AnnotationSpec>,
A: Into<AnnotationSpec>,
fn push_field<F>(&mut self, field: F) where
F: Into<FieldSpec>,
F: Into<FieldSpec>,
fn fields(&self) -> &Vec<FieldSpec>
fn push_constructor<C>(&mut self, constructor: C) where
C: Into<ConstructorSpec>,
C: Into<ConstructorSpec>,