| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A source code class (interface).
Contains a set of methods for accessing classes' inner components such as members
(operations and attributes) or inner classes, and upper-level containers such as packages
and containing classes (for inner classes).
This interface in addition to SciScope extends SciElement, which
makes it an element also:
SciClasss as well.
SciClass instances can be
For SciClasses the qualified name is a full name of this class in a valid systax
construction for the programming language.
For example, the qualified name for a java class will look like a standard Java language
class name: "java.lang.String".
Since Together version 5.1, implementation of SciClass was changed in order to return the last valid
value at calls to SciObject.getLanguage(), SciElement.getQualifiedName(), and
SciElement().getUniqueName() when SciElement.isDeleted() returns true.
| Method Summary | |
SciAttributeEnumeration | attributes()Returns an enumeration of all attributes this class has. |
SciClass | getContainingClass()For inner class returns a class/interface this inner class belongs to. |
SciPackage | getContainingPackage()Returns the package this class belongs to. |
SciInheritanceList | getExtendsList()Returns SciInheritanceList which contains references to classes(interfaces) this class(interface) extends. |
SciInheritanceList | getImplementsList()Returns SciInheritanceList which contains references to interfaces this class implements. |
SciInheritanceEnumeration | inheritances()Returns an enumeration of inheritances for this class. |
SciClassEnumeration | innerClasses()Returns an enumeration of inner classes for this class. |
SciMemberEnumeration | members()Returns an enumeration of all members this class has. |
SciOperationEnumeration | operations()Returns an enumeration of all operations this class has. |
| Methods inherited from interface com.togethersoft.openapi.sci.SciElement |
accept, canSetName, canSetProperty, getDeclarationText, getName, getQualifiedName, getTagList, getUniqueName, hasProperty, isDeleted, isPropertyReadable, isPropertyWritable, setName, setProperty, visitReferences, visitReferences |
| Methods inherited from interface com.togethersoft.openapi.sci.SciObject |
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty |
| Methods inherited from interface com.togethersoft.openapi.sci.SciScope |
declaredElements, visitExpressions, visitExpressions, visitStatements, visitStatements |
| Methods inherited from interface com.togethersoft.openapi.sci.SciContainer |
canPaste, objects, paste |
| Method Detail |
public SciAttributeEnumeration attributes()
members method should be used.public SciClass getContainingClass()
null.SciClass this inner class belongs topublic SciPackage getContainingPackage()
public SciInheritanceList getExtendsList()
SciInheritanceList which contains references to classes(interfaces) this class(interface) extends.SciInheritanceList which contains references to classes(interfaces) this class(interface) extendspublic SciInheritanceList getImplementsList()
SciInheritanceList which contains references to interfaces this class implements. If
SciClass represents an interface (or a C++ class), then this method returns null.SciInheritanceList which contains references to interfaces this class implementspublic SciInheritanceEnumeration inheritances()
public SciClassEnumeration innerClasses()
public SciMemberEnumeration members()
operations or
attributes should be used.public SciOperationEnumeration operations()
members method should be used.
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||