360361362363364365366367368369
try { Class cls = this.packageRegistry.getTypeResolver().resolveType( importEntry ); this.imports.put( cls.getSimpleName(), cls ); } catch ( ClassNotFoundException e ) { this.results.add( new ImportError( importEntry, 1 ) ); } } }
409410411412413414415416
} } } catch ( ClassNotFoundException e ) { } // we never managed to make the import, so log an error this.results.add( new ImportError( staticImportEntry, -1 ) ); }
372373374375376377378379380381
try { Class cls = this.packageRegistry.getTypeResolver().resolveType( importEntry ); data.addImport( cls.getSimpleName(), cls ); } catch ( ClassNotFoundException e ) { this.results.add( new ImportError( importEntry, 1 ) ); } } }
413414415416417418419420
368369370371372373374375376377
417418419420421422423424
252253254255256257258259260
} else { try { Class cls = this.typeResolver.resolveType( importEntry ); this.imports.put( ParseTools.getSimpleClassName( cls ), cls ); } catch ( ClassNotFoundException e ) { this.results.add( new ImportError( importEntry, 1 ) ); } } }
285286287288289290291292
this.imports.put( methodName, methods[i] ); break; } } } catch ( ClassNotFoundException e ) { this.results.add( new ImportError( staticImportEntry, -1 ) ); } }
386387388389390391392393394
} else { try { Class cls = this.packageRegistry.getTypeResolver().resolveType( importEntry ); data.addImport( cls.getSimpleName(), cls ); } catch ( ClassNotFoundException e ) { this.results.add( new ImportError( importDescr, 1 ) ); } } }
425426427428429430431
} } } catch ( ClassNotFoundException e ) { } // we never managed to make the import, so log an error this.results.add( new ImportError( importDescr, -1 ) ); }