|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.llnl.babel.symbols.Symbol
|
+--gov.llnl.babel.symbols.Extendable
|
+--gov.llnl.babel.symbols.Interface
Class Interface defines a SIDL interface. All the
basic functionality for this class is implemented by the parent
extendable class.
| Field Summary |
| Fields inherited from class gov.llnl.babel.symbols.Symbol |
CLASS, ENUM, INTERFACE, PACKAGE, s_type, SCOPE |
| Constructor Summary | |
Interface(SymbolID id,
Comment comment)
Create an empty Interface object that will be constructed
by calls to other member functions. |
|
Interface(SymbolID id,
Comment comment,
Metadata metadata)
Create an empty Interface object that will be constructed
by calls to other member functions. |
|
| Method Summary | |
void |
addParentInterface(Interface parent)
Add a parent interface to this interface. |
boolean |
hasStaticMethod(boolean all)
Return whether this interface has any static methods (always false). |
boolean |
isAbstract()
Return whether this interface is abstract. |
boolean |
isInterface()
Return whether this object represents an interface (true). |
| Methods inherited from class gov.llnl.babel.symbols.Extendable |
addMethod, addParentData, getAbstractMethods, getAllSymbolReferences, getBasicArrayRefs, getMethods, getNonstaticMethods, getParentInterfaces, getParents, 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 Interface(SymbolID id,
Comment comment)
Interface object that will be constructed
by calls to other member functions.
public Interface(SymbolID id,
Comment comment,
Metadata metadata)
Interface object that will be constructed
by calls to other member functions.
| Method Detail |
public boolean isAbstract()
isAbstract in class Extendablepublic boolean isInterface()
isInterface in class Extendablepublic boolean hasStaticMethod(boolean all)
hasStaticMethod in class Extendablepublic void addParentInterface(Interface parent)
addParentInterface in class Extendable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||