@Override public Boolean call() throws Exception { DirectClassFile cf = dcff.get(); return call(cf); }
/** * Processes one classfile. * * @param name {@code non-null;} name of the file, clipped such that it * <i>should</i> correspond to the name of the class it contains * @param bytes {@code non-null;} contents of the file * @return whether processing was successful */ private boolean processClass(String name, byte[] bytes) { if (! args.coreLibrary) { checkClassName(name); } try { new DirectClassFileConsumer(name, bytes, null).call( new ClassParserTask(name, bytes).call()); } catch (ParseException ex) { // handled in FileBytesConsumer throw ex; } catch(Exception ex) { throw new RuntimeException("Exception parsing classes", ex); } return true; }
/** * Processes one classfile. * * @param name {@code non-null;} name of the file, clipped such that it * <i>should</i> correspond to the name of the class it contains * @param bytes {@code non-null;} contents of the file * @return whether processing was successful */ private boolean processClass(String name, byte[] bytes) { if (! args.coreLibrary) { checkClassName(name); } try { new DirectClassFileConsumer(name, bytes, null).call( new ClassParserTask(name, bytes).call()); } catch (ParseException ex) { // handled in FileBytesConsumer throw ex; } catch(Exception ex) { throw new RuntimeException("Exception parsing classes", ex); } return true; }
/** * Processes one classfile. * * @param name {@code non-null;} name of the file, clipped such that it * <i>should</i> correspond to the name of the class it contains * @param bytes {@code non-null;} contents of the file * @return whether processing was successful */ private boolean processClass(String name, byte[] bytes) { if (! args.coreLibrary) { checkClassName(name); } try { new DirectClassFileConsumer(name, bytes, null).call( new ClassParserTask(name, bytes).call()); } catch(Exception ex) { throw new RuntimeException("Exception parsing classes", ex); } return true; }
@Override public Boolean call() throws Exception { DirectClassFile cf = dcff.get(); return call(cf); }
@Override public Boolean call() throws Exception { DirectClassFile cf = dcff.get(); return call(cf); }