public void addInterface(TypeX typeX, ISourceLocation sourceLocation) {
myGen.addInterface(typeX.getName());
- warnOnAddedInterface(typeX.getName(),sourceLocation);
+ if (!typeX.equals(TypeX.SERIALIZABLE))
+ warnOnAddedInterface(typeX.getName(),sourceLocation);
}
public void setSuperClass(TypeX typeX) {
myGen.setSuperclassName(typeX.getName());
}
+
+ public String getSuperClassname() {
+ return myGen.getSuperclassName();
+ }
// non-recursive, may be a bug, ha ha.
public boolean isInterface() {
return myGen.isInterface();
}
+
+ public boolean isAbstract() {
+ return myGen.isAbstract();
+ }
public LazyMethodGen getLazyMethodGen(Member m) {
return getLazyMethodGen(m.getName(), m.getSignature());