gov.llnl.babel.symbols
Class Interface
- Comparable, Attributes, Comparable, IMetadata
Class Interface
defines a sidl interface. All the
basic functionality for this class is implemented by the parent
extendable class.
addInvariant , addMethod , addParentData , addParentInterface , addRenamedMethod , freeze , getAbstractAndLocalMethods , getAbstractMethods , getAllInvariants , getAllParentsInOrder , getAllPostconditions , getAllPreconditions , getAllSymbolReferences , getBasicArrayRefs , getInvariants , getMethods , getMethodsWithNonblocking , getNewMethod , getNewMethods , getNonstaticMethods , getNumberAssertions , getNumberInvariants , getNumberOfMethods , getNumberPostconditions , getNumberPreconditions , getObjectDependencies , getOverloadedMethodsByName , getParentInterface , getParentInterfaces , getParents , getRenamedMethod , getRenamedMethodSymbolID , getRenamedMethods , getStaticMethods , getSymbolReferences , hasAncestor , hasAssertions , hasExceptionThrowingMethod , hasInvariants , hasMethodByLongName , hasMethodByShortName , hasParentInterface , hasParentInterfaces , hasReservedMethodAssertion , hasStaticMethod , isAbstract , isInterface , isLocal , lookupMethodByLongName , lookupMethodByShortName , methodWasRenamed , validateAssertions , validateInvariants , validatePostconditions , validatePostconditions , validatePostconditions , validatePreconditions , validatePreconditions , validatePreconditions |
addMetadata , freeze , getAllSymbolReferences , getAttribute , getAttributes , getBasicArrayRefs , getComment , getDepth , getMetadata , getSymbolID , getSymbolReferences , getSymbolType , getSymbolTypeString , getUserSpecified , hasAttribute , isClass , isInterface , isPackage , isStruct , minimumDepth , removeAttribute , setAttribute , setAttribute , setComment , setUserSpecified |
Interface
public Interface(SymbolID id,
Comment comment,
Context context)
Create an empty Interface
object that will be constructed
by calls to other member functions.
Interface
public Interface(SymbolID id,
Comment comment,
Metadata metadata,
Context context)
Create an empty Interface
object that will be constructed
by calls to other member functions.
addParentInterface
public void addParentInterface(Interface parent)
Add a parent interface to this interface. This method does not check
that the interfaces and methods are compatible; it simply copies the
methods and interface parents and adds them to this interface.
- addParentInterface in interface Extendable
generateAnonymousClass
public Class generateAnonymousClass()
throws CodeGenerationException
generateAnonymousClass generates the anonymous class for this
Interface. This anonymous class is only used to connect an interface remotely.
hasStaticMethod
public boolean hasStaticMethod(boolean all)
Return whether this interface has any static methods (always false).
- hasStaticMethod in interface Extendable
isAbstract
public boolean isAbstract()
Return whether this interface is abstract. An interface is always
abstract, even if it contains no methods.
- isAbstract in interface Extendable
isInterface
public boolean isInterface()
Return whether this object represents an interface (true).
- isInterface in interface Extendable