|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.rtti.IClass
public class IClass
Defines a class/interface in the RTTI.
Method Summary | |
---|---|
String[] |
getComments(String language)
Returns the list of comments describing this class. |
IConstructor[] |
getConstructors()
Returns the list of constructors defined in this class. |
IDestructor |
getDestructor()
Returns the destructor defined in this class. |
IField[] |
getEnumFields()
|
String[] |
getEOCComments(String language)
Returns the list of end-of-class comments. |
String[] |
getEOFComments(String language)
Returns the list of end-of-file comments. |
String[] |
getEOPComments(String language)
Returns the list of end-of-package comments. |
IField[] |
getFields()
Returns the list of fields (including static ones) defined in this class |
String[] |
getInterfaces()
Returns the list of interfaces, implemented by this class. |
IMethod[] |
getMethods()
Returns the list of methods (including static ones) defined in this class |
String |
getName()
returns the name of this class |
String[] |
getPackageComments(String language)
Returns the list of package comments describing this class. |
String |
getPackageName()
Returns the package name |
String |
getPackageName(String packagePrefix)
Returns the package name, consisting of the prefix and the defined package name. |
String[] |
getTemplateParameters()
Returns the list of template parameters used by this class. |
boolean |
isClass()
returns true if this is a class |
void |
setEnumFields(Vector enumFields)
|
void |
setEOFComments(Vector eofComments)
|
void |
setEOPComments(Vector eopComments)
|
String |
toString()
Semi-java string representation of this class without package prefix. |
String |
toString(String packagePrefix)
Semi-java string representation of this class without package prefix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
public boolean isClass()
public String getPackageName()
public String getPackageName(String packagePrefix)
packagePrefix
- prefix to be prefix to the defined package name, or null, if not necessary.
public String[] getPackageComments(String language)
public String[] getComments(String language)
public String[] getEOCComments(String language)
public String[] getEOPComments(String language)
public void setEOPComments(Vector eopComments)
public String[] getEOFComments(String language)
public void setEOFComments(Vector eofComments)
public IField[] getEnumFields()
public void setEnumFields(Vector enumFields)
public String[] getTemplateParameters()
public String[] getInterfaces()
public IConstructor[] getConstructors()
public IDestructor getDestructor()
public IMethod[] getMethods()
public IField[] getFields()
public String toString()
toString
in class Object
public String toString(String packagePrefix)
packagePrefix
- prefix to be used in the string representation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |