public void compare(ASTTypeDeclaration a, ASTTypeDeclaration b) { dubaj.tr.Ace.log("a", a); dubaj.tr.Ace.log("b", b); // should have only one child, the type itself, either an interface or a // class declaration ASTClassOrInterfaceDeclaration at = TypeDeclarationUtil.getType(a); ASTClassOrInterfaceDeclaration bt = TypeDeclarationUtil.getType(b); dubaj.tr.Ace.log("at", at); dubaj.tr.Ace.log("bt", bt); if (at == null && bt == null) { dubaj.tr.Ace.log("skipping 'semicolon declarations'"); } else { compare(at, bt); } }