public final void addGlobalTypeDecl(XSTypeDecl decl) { if (decl == null) { System.err.println("decl"); System.exit(0); } else if (decl.getXSTypeName() == null) { System.err.println("decl.whatever"); System.exit(0); }  fGlobalTypeDecls.put(decl.getXSTypeName(), decl);
private final void addGlobalTypeDecl(String name, XSTypeDecl decl) { fGlobalTypeDecls.put(name, decl);
    public final void addGlobalTypeDecl(XSTypeDecl decl) {        if (decl == null) {            System.err.println("decl");            System.exit(0);        }        else if (decl.getXSTypeName() == null) {            System.err.println("decl.whatever");            System.exit(0);        }        fGlobalTypeDecls.put(decl.getXSTypeName(), decl);    }