dpt.symbtab
Class DummyClass
java.lang.Object
|
+--dpt.symbtab.Definition
|
+--dpt.symbtab.ScopedDef
|
+--dpt.symbtab.HasImports
|
+--dpt.symbtab.ClassDef
|
+--dpt.symbtab.DummyClass
- public class DummyClass
- extends ClassDef
A stub symbol that is used to temporarily hold the name of a class
until it can be properly resolved
Field Summary |
private java.lang.String |
pkg
The name of the package containing the class |
Fields inherited from class dpt.symbtab.Definition |
definition,
name,
parentScope,
references,
ST_CL,
ST_FU,
ST_FU_EXT,
ST_IF,
ST_IMPL,
ST_IMPORT,
ST_PAC,
ST_SUB,
ST_SUPER,
ST_VAR |
Constructor Summary |
DummyClass()
Constructor to create a placeholder class object
This version provides a means to set the package containing the class |
DummyClass(java.lang.String name,
Occurrence occ)
Constructor to create a placeholder class object |
DummyClass(java.lang.String name,
Occurrence occ,
java.lang.String pkg)
Constructor to create a placeholder class object
This version provides a means to set the package containing the class |
Method Summary |
java.lang.String |
GetName(int TypID)
|
java.lang.String |
getPackage()
Get the name of the package in which this class is defined |
void |
report(IndentingPrintWriter out)
Write information about this unresolved class to the report |
Methods inherited from class dpt.symbtab.ClassDef |
addImplementer,
addSubclass,
getImplementers,
getInterfaces,
GetItem,
GetItems,
GetLocation,
GetLocation,
getSubClasses,
getSuperClass,
isClass,
isInterface,
lookup,
resolveTypes,
setInterfaces,
setSuperClass,
setType |
Methods inherited from class dpt.symbtab.Definition |
addReference,
ExtractClass,
ExtractClass,
ExtractName,
ExtractPackage,
ExtractPackage,
getDef,
getName,
getOccurrence,
getParentScope,
getQualifiedName,
GetReferences,
isSuperClassOf,
listReferences,
lookup,
setParentScope,
toString |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
pkg
private java.lang.String pkg
- The name of the package containing the class
DummyClass
public DummyClass()
- Constructor to create a placeholder class object
This version provides a means to set the package containing the class
DummyClass
public DummyClass(java.lang.String name,
Occurrence occ)
- Constructor to create a placeholder class object
DummyClass
public DummyClass(java.lang.String name,
Occurrence occ,
java.lang.String pkg)
- Constructor to create a placeholder class object
This version provides a means to set the package containing the class
getPackage
public java.lang.String getPackage()
- Get the name of the package in which this class is defined
GetName
public java.lang.String GetName(int TypID)
report
public void report(IndentingPrintWriter out)
- Write information about this unresolved class to the report
- Overrides:
- report in class ClassDef