# quick fix for final method getClass from java.lang.Object
if'final'incur.modsandcur.name!='getClass':
raiseException("ERROR: In class {0}, {1} '{2}' in class '{3}' replaces final {1} in class/interface {4}".format(className,methodOrField,new.name,new.typeName,cur.typeName))
# helper: get list of all super class/interface of a ClassInterNode