| |
|
| java.lang.Object org.acm.seguin.summary.Summary org.acm.seguin.summary.TypeSummary
TypeSummary | public class TypeSummary extends Summary (Code) | | Stores the summary of a type (either class or interface)
author: Chris Seguin author: Mike Atkinson |
TypeSummary | public TypeSummary(Summary parentSummary, SimpleNode typeDecl)(Code) | | Creates a TypeSummary object
Parameters: parentSummary - the parent summary Parameters: typeDecl - the type declaration |
accept | public Object accept(SummaryVisitor visitor, Object data)(Code) | | Provide method to visit a node
Parameters: visitor - the visitor Parameters: data - the data for the visit some new data |
add | protected void add(MethodSummary methodSummary)(Code) | | Add a method summary
Parameters: methodSummary - the method summary |
add | protected void add(FieldSummary fieldSummary)(Code) | | Add a field summary
Parameters: fieldSummary - the field summary |
add | protected void add(TypeSummary typeSummary)(Code) | | Add a type summary
Parameters: typeSummary - the type summary |
add | protected void add(TypeDeclSummary typeDeclSummary)(Code) | | Add an interface summary
Parameters: typeDeclSummary - the interface summary |
getField | public FieldSummary getField(String name)(Code) | | Gets a field by a name
Parameters: name - the name of the field the field summary |
getFieldCount | public int getFieldCount()(Code) | | Get the total number of fields - class and instance - that are
associated with this object.
the number of fields |
getFields | public Iterator getFields()(Code) | | Return a list of fields
an iterator of fields |
getImplementedInterfaces | public Iterator getImplementedInterfaces()(Code) | | Return a list of the types that this class/interface implements
an iterator of the types |
getInitializer | MethodSummary getInitializer(boolean isStatic)(Code) | | Gets the Initializer attribute of the TypeSummary object
Parameters: isStatic - Description of Parameter The Initializer value |
getMethodCount | public int getMethodCount()(Code) | | Get the total number of methods - class and instance - that are
associated with this object.
the number of methods |
getMethods | public Iterator getMethods()(Code) | | Return the list of methods
an iterator of methods |
getName | public String getName()(Code) | | Get the name of this object
the name |
getPackageSummary | public PackageSummary getPackageSummary()(Code) | | Finds the package summary associated with this type
the package summary |
getParentClass | public TypeDeclSummary getParentClass()(Code) | | Return the parent class
the type declaration representing the parent class |
getTypeCount | public int getTypeCount()(Code) | | Get the total number of nested class and interface declarations that are
associated with this object.
the number of nested classes and interfaces |
getTypes | public Iterator getTypes()(Code) | | Return the iterator over the types
an iterator full of types |
isInterface | public boolean isInterface()(Code) | | Check to see if this is an interface or a class
true if this is an interface |
setInterface | void setInterface(boolean way)(Code) | | Mark this as an interface or a class
Parameters: way - the way to set the interface variable |
setName | public void setName(String newName)(Code) | | Set the name of this object
Parameters: newName - the name |
setParentClass | void setParentClass(TypeDeclSummary tds)(Code) | | Set the parent class
Parameters: tds - the type declaration representing the parent class |
toString | public String toString()(Code) | | Convert this object to a string
a string |
Fields inherited from org.acm.seguin.summary.Summary | protected int modifiers(Code)(Java Doc)
|
|
|
|