getClassInfo added

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@566 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 103ed528a0
commit 7d0d19c63e
  1. 9
      jode/jode/type/ClassInterfacesType.java

@ -406,6 +406,15 @@ public class ClassInterfacesType extends ReferenceType {
return Class.forName("java.lang.Object"); return Class.forName("java.lang.Object");
} }
public ClassInfo getClassInfo() {
if (clazz != null)
return clazz;
else if (ifaces.length > 0)
return ifaces[0];
else
return ClassInfo.javaLangObject;
}
public String toString() public String toString()
{ {
if (this == tObject) if (this == tObject)

Loading…
Cancel
Save