|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.symbols.Symbol
gov.llnl.babel.symbols.Extendable
gov.llnl.babel.symbols.Class
Class Class
defines a sidl class. Most of the basic
functionality for this class is implemented by Extendable
.
This class adds the capability to be extended by a parent class.
Field Summary |
Fields inherited from class gov.llnl.babel.symbols.Symbol |
CLASS, ENUM, INTERFACE, PACKAGE, s_type, SCOPE |
Constructor Summary | |
Class(SymbolID id,
Comment comment)
Create an empty Class object that will be constructed
by calls to other member functions. |
|
Class(SymbolID id,
Comment comment,
Metadata metadata)
Create an empty Class object that will be constructed
by calls to other member functions. |
Method Summary | |
void |
addParentInterface(Interface parent)
Add a parent interface to this class. |
Class |
getParentClass()
|
java.util.Collection |
getParents(boolean all)
Return the parent interfaces and parent class (if any) in a Collection . |
boolean |
hasParentClass(SymbolID id,
boolean all)
|
boolean |
hasStaticMethod(boolean all)
Return whether this class has any static methods. |
boolean |
isAbstract()
Return whether this class is abstract. |
boolean |
isInterface()
Return whether this object represents an interface (false). |
void |
setParentClass(Class parent)
|
Methods inherited from class gov.llnl.babel.symbols.Extendable |
addMethod, addParentData, getAbstractMethods, getAllSymbolReferences, getBasicArrayRefs, getMethods, getNonstaticMethods, getParentInterfaces, getStaticMethods, getSymbolReferences, hasAncestor, hasExceptionThrowingMethod, hasMethodByLongName, hasMethodByShortName, hasParentInterface, isLocal, lookupMethodByLongName, lookupMethodByShortName |
Methods inherited from class gov.llnl.babel.symbols.Symbol |
addMetadata, compareTo, getComment, getFullName, getMetadata, getSymbolID, getSymbolType, getSymbolTypeString, getUserSpecified, setComment, setUserSpecified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Class(SymbolID id, Comment comment)
Class
object that will be constructed
by calls to other member functions.
public Class(SymbolID id, Comment comment, Metadata metadata)
Class
object that will be constructed
by calls to other member functions.
Method Detail |
public boolean isAbstract()
isAbstract
in class Extendable
public boolean isInterface()
isInterface
in class Extendable
public boolean hasStaticMethod(boolean all)
hasStaticMethod
in class Extendable
public void addParentInterface(Interface parent)
addParentInterface
in class Extendable
public void setParentClass(Class parent)
public Class getParentClass()
public java.util.Collection getParents(boolean all)
Collection
.
getParents
in class Extendable
public boolean hasParentClass(SymbolID id, boolean all)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |