@param typeName name of a type for which an TypeDescription object
is constructed whoose information are printed.
*/
static public void dumpTypeDescription(String typeName) throws Exception {
ITypeDescription iTypeDescription = TypeDescription.getTypeDescription(typeName);
System.err.println("TypeName:" + iTypeDescription.getTypeName());
System.err.println("ArrayTypeName:" + iTypeDescription.getArrayTypeName());
System.err.println("SuperType:" + iTypeDescription.getSuperType());
System.err.println("TypeClass:" + iTypeDescription.getTypeClass());
System.err.println("ComponentType:" + iTypeDescription.getComponentType());
System.err.println("Class:" + iTypeDescription.getZClass());
System.err.println("Methods:");
IMethodDescription iMethodDescriptions[] = iTypeDescription.getMethodDescriptions();
if(iMethodDescriptions != null)
for(int i = 0; i < iMethodDescriptions.length; ++ i) {
System.err.print("Name: " + iMethodDescriptions[i].getName());
System.err.print(" index: " + iMethodDescriptions[i].getIndex());
System.err.print(" isOneyWay: " + iMethodDescriptions[i].isOneway());
// System.err.print(" isConst: " + iMethodDescriptions[i].isConst());
System.err.print(" isUnsigned: " + iMethodDescriptions[i].isUnsigned());
System.err.print(" isAny: " + iMethodDescriptions[i].isAny());
System.err.println("\tisInterface: " + iMethodDescriptions[i].isInterface());
System.err.print("\tgetInSignature: ");
ITypeDescription in_sig[] = iMethodDescriptions[i].getInSignature();
for(int j = 0; j < in_sig.length; ++ j)
System.err.print("\t\t" + in_sig[j]);
System.err.println();
System.err.print("\tgetOutSignature: ");
ITypeDescription out_sig[] = iMethodDescriptions[i].getOutSignature();
for(int j = 0; j < out_sig.length; ++ j)
System.err.print("\t\t" + out_sig[j]);
System.err.println();
System.err.println("\tgetReturnSig: " + iMethodDescriptions[i].getReturnSignature());