bugged
stringlengths 6
599k
| fixed
stringlengths 6
40.8M
| __index_level_0__
int64 0
3.24M
|
|---|---|---|
void disposeDialogs() { // forward event to the quantumManager. if (qpManager != null) qpManager.disposeDialogs(); }
|
void disposeDialogs() { // forward event to the quantumManager. if (qpManager != null) qpManager.disposeDialogs(); }
| 3,228,665
|
public PixelsStatsEntry[] getChannelStats(int w) { return abstraction.getChannelStats(w); }
|
public PixelsStatsEntry[] getChannelStats(int w) { return abstraction.getChannelStats(w); }
| 3,228,666
|
ModelPane getModelPane() { return activate(getRendererClass(abstraction.getModel())); }
|
ModelPane getModelPane() { return activate(getRendererClass(abstraction.getModel())); }
| 3,228,667
|
public RenderingAgtUIF getReferenceFrame() { return presentation; }
|
public RenderingAgtUIF getReferenceFrame() { return presentation; }
| 3,228,668
|
private Class getRendererClass(int index) { Class result = null; try { switch (index) { case GREY: result = GreyScalePane.class; modelType = "Grey"; modelIcon = im.getIcon(IconManager.GREYSCALE); break; case HSB: result = HSBPane.class; modelType = "HSB"; modelIcon = im.getIcon(IconManager.HSB); break; case RGB: result = RGBPane.class; modelType = "RGB"; modelIcon = im.getIcon(IconManager.RGB); } }catch(NumberFormatException nfe) { throw new Error("Invalid Action ID "+index, nfe); } return result; }
|
private Class getRendererClass(int index) { Class result = null; try { switch (index) { case GREY: result = GreyScalePane.class; modelType = "Grey"; modelIcon = im.getIcon(IconManager.GREYSCALE); break; case HSB: result = HSBPane.class; modelType = "HSB"; modelIcon = im.getIcon(IconManager.HSB); break; case RGB: result = RGBPane.class; modelType = "RGB"; modelIcon = im.getIcon(IconManager.RGB); } }catch(NumberFormatException nfe) { throw new Error("Invalid Action ID "+index, nfe); } return result; }
| 3,228,669
|
public void removeCodomainMap(CodomainMapContext ctx) { abstraction.removeCodomainMap(ctx); }
|
public void removeCodomainMap(CodomainMapContext ctx) { abstraction.removeCodomainMap(ctx); }
| 3,228,670
|
public void resetDefaults() { //update the rendering control. abstraction.resetDefaults(); //update the view. qpManager.resetDefaults(); //reset the model pane QuantumPane qp = presentation.getQuantumPane(); qp.setSelectionWavelengthsEnable(false); presentation.resetGUI(activate(getRendererClass(GREY))); }
|
public void resetDefaults() { //update the rendering control. abstraction.resetDefaults(); //update the view. qpManager.resetDefaults(); //reset the model pane QuantumPane qp = presentation.getQuantumPane(); qp.setSelectionWavelengthsEnable(false); presentation.resetGUI(activate(getRendererClass(GREY))); }
| 3,228,671
|
public void saveDisplayOptions() { abstraction.saveDisplayOptions(); }
|
public void saveDisplayOptions() { abstraction.saveDisplayOptions(); }
| 3,228,672
|
public void setActive(int w, boolean active) { if (active) { presentation.getQuantumPane().setSelectedWavelength(w); presentation.getTabs().setSelectedIndex(RenderingAgtUIF.POS_MODEL); } abstraction.setActive(w, active); }
|
public void setActive(int w, boolean active) { if (active) { presentation.getQuantumPane().setSelectedWavelength(w); presentation.getTabs().setSelectedIndex(RenderingAgtUIF.POS_MODEL); } abstraction.setActive(w, active); }
| 3,228,673
|
public void setChannelWindowEnd(int w, int x) { abstraction.setChannelWindowEnd(w, x); }
|
public void setChannelWindowEnd(int w, int x) { abstraction.setChannelWindowEnd(w, x); }
| 3,228,674
|
public void setChannelWindowStart(int w, int x) { abstraction.setChannelWindowStart(w, x); }
|
public void setChannelWindowStart(int w, int x) { abstraction.setChannelWindowStart(w, x); }
| 3,228,675
|
public void setCodomainLowerBound(int x) { abstraction.setCodomainLowerBound(x); }
|
public void setCodomainLowerBound(int x) { abstraction.setCodomainLowerBound(x); }
| 3,228,676
|
public void setCodomainUpperBound(int x) { abstraction.setCodomainUpperBound(x); }
|
public void setCodomainUpperBound(int x) { abstraction.setCodomainUpperBound(x); }
| 3,228,677
|
public void setMappingPane() { presentation.setMappingPane(); }
|
public void setMappingPane() { presentation.setMappingPane(); }
| 3,228,678
|
void setPresentation(RenderingAgtUIF presentation) { this.presentation = presentation; }
|
void setPresentation(RenderingAgtUIF presentation) { this.presentation = presentation; }
| 3,228,679
|
public void setQuantumStrategy(double k, int family, int resolution) { abstraction.setQuantumStrategy(k, family, resolution); }
|
public void setQuantumStrategy(double k, int family, int resolution) { abstraction.setQuantumStrategy(k, family, resolution); }
| 3,228,680
|
public void setRGBA(int w, int red, int green, int blue, int alpha) { abstraction.setRGBA(w, red, green, blue, alpha); }
|
public void setRGBA(int w, int red, int green, int blue, int alpha) { abstraction.setRGBA(w, red, green, blue, alpha); }
| 3,228,681
|
public void updateChannelData(ChannelData cd) { abstraction.updateChannelData(cd); }
|
public void updateChannelData(ChannelData cd) { abstraction.updateChannelData(cd); }
| 3,228,682
|
public void updateCodomainMap(CodomainMapContext ctx) { abstraction.updateCodomainMap(ctx); }
|
public void updateCodomainMap(CodomainMapContext ctx) { abstraction.updateCodomainMap(ctx); }
| 3,228,683
|
void setModelPane(ModelPane pane, boolean b) { tabs.remove(POS_MODEL); modelPane.removeAll(); modelPane = pane; modelPane.buildComponent(); tabs.insertTab(control.getModelType()+" Model", control.getModelIcon(), modelPane, null, POS_MODEL); if (b) tabs.setSelectedIndex(POS_MODEL); }
|
void setModelPane(ModelPane pane, boolean b) { tabs.remove(POS_MODEL); modelPane.removeAll(); modelPane = pane; modelPane.buildComponent(); tabs.insertTab(control.getModelType()+" Model", control.getModelIcon(), modelPane, null, POS_MODEL); if (b) tabs.setSelectedIndex(POS_MODEL); }
| 3,228,684
|
void setModel(int model) { renderingControl.setModel(model); refreshImage(); }
|
void setModel(int model) { renderingControl.setModel(model); refreshImage(); }
| 3,228,685
|
void addCodomainMap(CodomainMapContext ctx) { renderingControl.addCodomainMap(ctx); refreshImage(); }
|
void addCodomainMap(CodomainMapContext ctx) { renderingControl.addCodomainMap(ctx); refreshImage(); }
| 3,228,686
|
public void disposeDialogs() { DomainPaneManager dpm = view.getDomainPane().getManager(); dpm.disposeDialogs(); }
|
public void disposeDialogs() { DomainPaneManager dpm = view.getDomainPane().getManager(); dpm.disposeDialogs(); }
| 3,228,687
|
PixelsStatsEntry[] getChannelStats(int w) { PixelsStatsEntry[] channelStats = new PixelsStatsEntry[pxsDims.sizeT]; for (int t = 0; t < pxsDims.sizeT; t++) channelStats[t] = pxsStats.getEntry(w, t); return channelStats; }
|
PixelsStatsEntry[] getChannelStats(int w) { PixelsStatsEntry[] channelStats = new PixelsStatsEntry[pxsDims.sizeT]; for (int t = 0; t < pxsDims.sizeT; t++) channelStats[t] = pxsStats.getEntry(w, t); return channelStats; }
| 3,228,688
|
double getChannelWindowEnd(int w) { return renderingControl.getChannelWindowEnd(w); }
|
double getChannelWindowEnd(int w) { return renderingControl.getChannelWindowEnd(w); }
| 3,228,689
|
double getChannelWindowStart(int w) { return renderingControl.getChannelWindowStart(w); }
|
double getChannelWindowStart(int w) { return renderingControl.getChannelWindowStart(w); }
| 3,228,690
|
double getGlobalChannelWindowEnd(int w) { return pxsStats.getGlobalEntry(w).globalMax; }
|
double getGlobalChannelWindowEnd(int w) { return pxsStats.getGlobalEntry(w).globalMax; }
| 3,228,691
|
double getGlobalChannelWindowStart(int w) { return pxsStats.getGlobalEntry(w).globalMin; }
|
double getGlobalChannelWindowStart(int w) { return pxsStats.getGlobalEntry(w).globalMin; }
| 3,228,692
|
void removeCodomainMap(CodomainMapContext ctx) { renderingControl.removeCodomainMap(ctx); refreshImage(); }
|
void removeCodomainMap(CodomainMapContext ctx) { renderingControl.removeCodomainMap(ctx); refreshImage(); }
| 3,228,693
|
void resetDefaults() { renderingControl.resetDefaults(); refreshImage(); }
|
void resetDefaults() { renderingControl.resetDefaults(); refreshImage(); }
| 3,228,694
|
public void resetDefaults() { //DomainPane+Histogram DomainPaneManager dpm = view.getDomainPane().getManager(); dpm.resetDefaults(); //Codomain CodomainPaneManager cpm = view.getCodomainPane().getManager(); cpm.resetDefaults(); //Graphics representation view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(0); int maxi = (int) eventManager.getGlobalChannelWindowEnd(0); gr = new GraphicsRepresentation(this, QuantumFactory.LINEAR, 1.0, 0, 255, mini, maxi); gr.setReverseIntensity(false); gr.setDefaultLinear(mini, maxi); view.setGRepresentation(gr); view.buildGRPane(); }
|
public void resetDefaults() { //DomainPane+Histogram DomainPaneManager dpm = view.getDomainPane().getManager(); dpm.resetDefaults(); //Codomain CodomainPaneManager cpm = view.getCodomainPane().getManager(); cpm.resetDefaults(); //Graphics representation view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(0); int maxi = (int) eventManager.getGlobalChannelWindowEnd(0); gr = new GraphicsRepresentation(this, QuantumFactory.LINEAR, 1.0, 0, 255, mini, maxi); gr.setReverseIntensity(false); gr.setDefaultLinear(mini, maxi); view.setGRepresentation(gr); view.buildGRPane(); }
| 3,228,695
|
void resetGUI(ModelPane pane) { setModelPane(pane, false); setMappingPane(); }
|
void resetGUI(ModelPane pane) { setModelPane(pane, false); setMappingPane(); }
| 3,228,696
|
void saveDisplayOptions() { renderingControl.saveCurrentSettings(); String msg = "The settings have now been saved, Note that the " + "parameters set in \"options\" haven't been saved."; registry.getUserNotifier().notifyInfo("Rendering", msg); }
|
void saveDisplayOptions() { renderingControl.saveCurrentSettings(); String msg = "The settings have now been saved, Note that the " + "parameters set in \"options\" haven't been saved."; registry.getUserNotifier().notifyInfo("Rendering", msg); }
| 3,228,697
|
void setActive(int w, boolean active) { renderingControl.setActive(w, active); refreshImage(); }
|
void setActive(int w, boolean active) { renderingControl.setActive(w, active); refreshImage(); }
| 3,228,698
|
void setChannelWindowEnd(int w, double x) { double start = renderingControl.getChannelWindowStart(w); renderingControl.setChannelWindow(w, start, x); refreshImage(); }
|
void setChannelWindowEnd(int w, double x) { double start = renderingControl.getChannelWindowStart(w); renderingControl.setChannelWindow(w, start, x); refreshImage(); }
| 3,228,699
|
void setChannelWindowStart(int w, double x) { double end = renderingControl.getChannelWindowEnd(w); renderingControl.setChannelWindow(w, x, end); refreshImage(); }
|
void setChannelWindowStart(int w, double x) { double end = renderingControl.getChannelWindowEnd(w); renderingControl.setChannelWindow(w, x, end); refreshImage(); }
| 3,228,700
|
void setCodomainLowerBound(int x) { QuantumDef qDef = renderingControl.getQuantumDef(); renderingControl.setCodomainInterval(x, qDef.cdEnd); refreshImage(); }
|
void setCodomainLowerBound(int x) { QuantumDef qDef = renderingControl.getQuantumDef(); renderingControl.setCodomainInterval(x, qDef.cdEnd); refreshImage(); }
| 3,228,701
|
void setCodomainUpperBound(int x) { QuantumDef qDef = renderingControl.getQuantumDef(); renderingControl.setCodomainInterval(qDef.cdStart, x); refreshImage(); }
|
void setCodomainUpperBound(int x) { QuantumDef qDef = renderingControl.getQuantumDef(); renderingControl.setCodomainInterval(qDef.cdStart, x); refreshImage(); }
| 3,228,702
|
void setMappingPane() { tabs.remove(POS_MAPPING); mappingPanel.removeAll(); buildMappingPanel(); tabs.insertTab("Mapping", im.getIcon(IconManager.MAPPING), mappingPanel, null, POS_MAPPING); tabs.setSelectedIndex(POS_MAPPING); }
|
void setMappingPane() { tabs.remove(POS_MAPPING); mappingPanel.removeAll(); buildMappingPanel(); tabs.insertTab("Mapping", im.getIcon(IconManager.MAPPING), mappingPanel, null, POS_MAPPING); tabs.setSelectedIndex(POS_MAPPING); }
| 3,228,703
|
void setQuantumStrategy(double k, int family, int resolution) { renderingControl.setQuantumStrategy(family, k, resolution); refreshImage(); }
|
void setQuantumStrategy(double k, int family, int resolution) { renderingControl.setQuantumStrategy(family, k, resolution); refreshImage(); }
| 3,228,704
|
void setRGBA(int w, int red, int green, int blue, int alpha) { renderingControl.setRGBA(w, red, green, blue, alpha); refreshImage(); }
|
void setRGBA(int w, int red, int green, int blue, int alpha) { renderingControl.setRGBA(w, red, green, blue, alpha); refreshImage(); }
| 3,228,705
|
void updateChannelData(ChannelData cd) { try { if (canUpdate) { DataManagementService ds = registry.getDataManagementService(); ds.updateChannelData(cd); channelData[cd.getIndex()] = cd; } else { String msg = "The channel data can't be updated b/c of a data" + " retrieval failure at initialization time."; registry.getUserNotifier().notifyInfo("Update channel", msg); } } catch(DSAccessException dsae) { String s = "Can't update the channel data."; registry.getLogger().error(this, s+" Error: "+dsae); registry.getUserNotifier().notifyError("Data Retrieval Failure", s, dsae); } catch(DSOutOfServiceException dsose) { ServiceActivationRequest request = new ServiceActivationRequest( ServiceActivationRequest.DATA_SERVICES); registry.getEventBus().post(request); } }
|
void updateChannelData(ChannelData cd) { try { if (canUpdate) { DataManagementService ds = registry.getDataManagementService(); ds.updateChannelData(cd); channelData[cd.getIndex()] = cd; } else { String msg = "The channel data can't be updated b/c of a data" + " retrieval failure at initialization time."; registry.getUserNotifier().notifyInfo("Update channel", msg); } } catch(DSAccessException dsae) { String s = "Can't update the channel data."; registry.getLogger().error(this, s+" Error: "+dsae); registry.getUserNotifier().notifyError("Data Retrieval Failure", s, dsae); } catch(DSOutOfServiceException dsose) { ServiceActivationRequest request = new ServiceActivationRequest( ServiceActivationRequest.DATA_SERVICES); registry.getEventBus().post(request); } }
| 3,228,706
|
void updateCodomainMap(CodomainMapContext ctx) { renderingControl.updateCodomainMap(ctx); refreshImage(); }
|
void updateCodomainMap(CodomainMapContext ctx) { renderingControl.updateCodomainMap(ctx); refreshImage(); }
| 3,228,707
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
| 3,228,708
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? SearchMethodResult smr = searchMethod(id); NODE body = smr.getBody(); RubyModule origin = smr.getOrigin(); if (body == null || body.nd_body() == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
| 3,228,709
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); MethodCacheEntry.saveEmptyEntry(getRuby(), this, id); return result; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
| 3,228,710
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
|
MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); public NODE getMethodBody(RubyId id, int scope) {MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); NODE body = searchMethod(id);MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); // ??MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); if (body == null) {MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName());MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); return null;MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); }MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); // ??MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); // ... cacheMethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); body = body.nd_body();MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); if (body.nd_type() == NODE_FBODY) {MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); body = body.nd_head();MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); }MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); return body;MethodCacheEntry ent = new MethodCacheEntry(this, body.nd_noex()); }
| 3,228,711
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } result.setNoex(ent.getNoex()); result.setBody(body); return result; }
| 3,228,712
|
public RubyMethod(Ruby ruby, RubyClass rubyClass) { super(ruby, rubyClass); }
|
public RubyMethod(Ruby ruby, RubyClass rubyClass) { super(ruby, rubyClass); }
| 3,228,713
|
public void setReceiverClass(RubyClass receiverClass) { this.receiverClass = receiverClass; }
|
public void setReceiverClass(RubyClass receiverClass) { this.receiverClass = receiverClass; }
| 3,228,714
|
public void setReceiver(RubyObject receiver) { this.receiver = receiver; }
|
public void setReceiver(RubyObject receiver) { this.receiver = receiver; }
| 3,228,715
|
public void setMethodId(RubyId methodId) { this.methodId = methodId; }
|
public void setMethodId(RubyId methodId) { this.methodId = methodId; }
| 3,228,716
|
public void setOriginalClass(RubyClass originalClass) { this.originalClass = originalClass; }
|
public void setOriginalClass(RubyClass originalClass) { this.originalClass = originalClass; }
| 3,228,717
|
public void setOriginalId(RubyId originalId) { this.originalId = originalId; }
|
public void setOriginalId(RubyId originalId) { this.originalId = originalId; }
| 3,228,718
|
public RubyNumeric op_mul(IRubyObject num) { RubyNumeric other = numericValue(num); return RubyFloat.newFloat(getRuntime(), getDoubleValue() * other.getDoubleValue()); }
|
public RubyNumeric op_mul(IRubyObject num) { RubyNumeric other = numericValue(num); return RubyFloat.newFloat(getRuntime(), getDoubleValue() * other.getDoubleValue()); }
| 3,228,719
|
private void initComponents() { IconManager icons = IconManager.getInstance(); progressBar = new JProgressBar(); progressBar.setIndeterminate(true); status = new JLabel(); statusButton = new JButton(icons.getIcon(IconManager.CANCEL)); statusButton.setVisible(false); statusButton.setBorder(null); UIUtilities.unifiedButtonLookAndFeel(statusButton); //statusButton.setOpaque(false); statusButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (buttonEnabled) controller.cancel(); } }); }
|
private void initComponents() { IconManager icons = IconManager.getInstance(); progressBar = new JProgressBar(); progressBar.setIndeterminate(true); status = new JLabel(); statusButton = new JButton(icons.getIcon(IconManager.CANCEL)); statusButton.setVisible(false); statusButton.setBorder(null); UIUtilities.unifiedButtonLookAndFeel(statusButton); //statusButton.setOpaque(false); statusButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (buttonEnabled) controller.cancel(); } }); }
| 3,228,721
|
protected Pixels createPixelGraph(Long pixelsId) { // TODO put this into ome.testing.ObjectFactory PIType pi = new PIType(); pi.setValue("test"); AcquisitionContext ac = new AcquisitionContext(); ac.setPhotometricInterpretation(pi); Channel c = new Channel(); c.setIndex(1); Pixels p = new Pixels(pixelsId); p.setSizeX(new Integer(1)); p.setSizeY(new Integer(1)); p.setSizeZ(new Integer(1)); p.setSizeC(new Integer(1)); p.setSizeT(new Integer(1)); p.setSha1("09bc7b2dcc9a510f4ab3a40c47f7a4cb77954356"); // "pixels" p.setAcquisitionContext(ac); p.setChannels(new HashSet()); p.getChannels().add(c); c.setPixels(p); p.setDetails(new Details()); return p; }
|
protected Pixels createPixelGraph(Long pixelsId) { // TODO put this into ome.testing.ObjectFactory PIType pi = new PIType(); pi.setValue("test"); AcquisitionContext ac = new AcquisitionContext(); ac.setPhotometricInterpretation(pi); Channel c = new Channel(); c.setIndex(1); Pixels p = new Pixels(); p.setId(pixelsId); p.setSizeX(new Integer(1)); p.setSizeY(new Integer(1)); p.setSizeZ(new Integer(1)); p.setSizeC(new Integer(1)); p.setSizeT(new Integer(1)); p.setSha1("09bc7b2dcc9a510f4ab3a40c47f7a4cb77954356"); // "pixels" p.setAcquisitionContext(ac); p.setChannels(new HashSet()); p.getChannels().add(c); c.setPixels(p); p.setDetails(new Details()); return p; }
| 3,228,722
|
private String generateTableRowForPackage(PackageData packageData) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + packageData.getName() + ".html"; String url2 = "frame-sourcefiles-" + packageData.getName() + ".html"; double lineCoverage = -1; double branchCoverage = -1; File[] files = finder.findDirectory(packageData.getSourceFileName()); if (files.length == 0) { LOGGER.warn("No directories found for package: " + packageData.getSourceFileName()); } double ccnSum = 0; for (int i = 0; i < files.length; i++) { ccnSum += Util.getCCN(files[i], false); } double ccn = ccnSum / (double) files.length; if (packageData.getNumberOfValidLines() > 0) lineCoverage = packageData.getLineCoverageRate(); if (packageData.getNumberOfValidBranches() > 0) branchCoverage = packageData.getBranchCoverageRate(); ret.append(" <tr>"); ret.append("<td class=\"text\"><a href=\"" + url1 + "\" onClick='parent.sourceFileList.location.href=\"" + url2 + "\"'>" + generatePackageName(packageData) + "</a></td>"); ret.append("<td class=\"value\">" + packageData.getNumberOfChildren() + "</td>"); ret.append(generateTableColumnsFromData(lineCoverage, branchCoverage, ccn)); ret.append("</tr>"); return ret.toString(); }
|
private String generateTableRowForPackage(PackageData packageData) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + packageData.getName() + ".html"; String url2 = "frame-sourcefiles-" + packageData.getName() + ".html"; double lineCoverage = -1; double branchCoverage = -1; File[] files = finder.findDirectory(packageData.getSourceFileName()); if (files.length == 0) { LOGGER.warn("No directories found for package: " + packageData.getSourceFileName()); } double ccnSum = 0; for (int i = 0; i < files.length; i++) { ccnSum += Util.getCCN(files[i], false); } double ccn = ccnSum / (double) files.length; if (packageData.getNumberOfValidLines() > 0) lineCoverage = packageData.getLineCoverageRate(); if (packageData.getNumberOfValidBranches() > 0) branchCoverage = packageData.getBranchCoverageRate(); ret.append(" <tr>"); ret.append("<td class=\"text\"><a href=\"" + url1 + "\" onClick='parent.sourceFileList.location.href=\"" + url2 + "\"'>" + generatePackageName(packageData) + "</a></td>"); ret.append("<td class=\"value\">" + packageData.getNumberOfChildren() + "</td>"); ret.append(generateTableColumnsFromData(lineCoverage, branchCoverage, ccn)); ret.append("</tr>"); return ret.toString(); }
| 3,228,723
|
BrowserCanvas(BrowserModel model, BrowserUI view) { if (model == null) throw new NullPointerException("No model."); if (view == null) throw new NullPointerException("No view."); this.model = model; this.view = view; charWidth = getFontMetrics(getFont()).charWidth('m'); setDoubleBuffered(true); setBorder(BorderFactory.createLineBorder(Color.GRAY, 2)); dragging = false; addMouseListener(this); addMouseMotionListener(this); }
|
BrowserCanvas(BrowserModel model, BrowserUI view) { if (model == null) throw new NullPointerException("No model."); if (view == null) throw new NullPointerException("No view."); this.model = model; this.view = view; charWidth = getFontMetrics(getFont()).charWidth('m'); setDoubleBuffered(true); dragging = false; addMouseListener(this); addMouseMotionListener(this); }
| 3,228,724
|
public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); g2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); BufferedImage image = model.getDisplayedImage(); if (image == null) return; paintXYFrame(g2D); setCanvasLocation(image.getWidth()+2*BrowserUI.TOP_LEFT_IMAGE, image.getHeight()+2*BrowserUI.TOP_LEFT_IMAGE); double v = 1;//model.getPixelsSizeX()/model.getZoomFactor(); if (v > 0) { int h = image.getHeight()+3*BrowserUI.TOP_LEFT_IMAGE/2; paintScaleBar(g2D, BrowserUI.TOP_LEFT_IMAGE, h, 2*LENGTH, ""+(int) v+NANOMETER); } g2D.drawImage(image, null, BrowserUI.TOP_LEFT_IMAGE, BrowserUI.TOP_LEFT_IMAGE); }
|
public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); g2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); BufferedImage image = model.getDisplayedImage(); if (image == null) return; paintXYFrame(g2D); setCanvasLocation(image.getWidth()+2*BrowserUI.TOP_LEFT_IMAGE, image.getHeight()+2*BrowserUI.TOP_LEFT_IMAGE); double v = 1;//model.getPixelsSizeX()/model.getZoomFactor(); if (v > 0) { int h = image.getHeight()+3*BrowserUI.TOP_LEFT_IMAGE/2; paintScaleBar(g2D, BrowserUI.TOP_LEFT_IMAGE, h, 2*LENGTH, ""+(int) v+NANOMETER); } g2D.drawImage(image, null, BrowserUI.TOP_LEFT_IMAGE, BrowserUI.TOP_LEFT_IMAGE); }
| 3,228,725
|
void setComponentsSize(int w, int h) { Dimension d = new Dimension(w, h); layeredPane.setPreferredSize(d); layeredPane.setSize(d); browserCanvas.setPreferredSize(d); browserCanvas.setSize(d); }
|
private void setComponentsSize(int w, int h) { Dimension d = new Dimension(w, h); layeredPane.setPreferredSize(d); layeredPane.setSize(d); browserCanvas.setPreferredSize(d); browserCanvas.setSize(d); }
| 3,228,726
|
private void log(Object...objects) { if ( log.isDebugEnabled() && objects != null && objects.length > 0) { StringBuilder sb = new StringBuilder(objects.length*16); for (Object obj : objects) { sb.append(obj.toString()); } log.debug(sb.toString()); } }
|
private void log(Object...objects) { if ( log.isDebugEnabled() && objects != null && objects.length > 0) { StringBuilder sb = new StringBuilder(objects.length*16); for (Object obj : objects) { sb.append(obj.toString()); } log.debug(sb.toString()); } }
| 3,228,728
|
public void paint(PPaintContext context) { Graphics2D g2 = context.getGraphics(); Paint oldPaint = g2.getPaint(); Font oldFont = g2.getFont(); Color oldColor = g2.getColor(); g2.setPaint(Color.yellow); g2.fill(border); g2.setPaint(oldPaint); g2.drawImage(getImage(),0,0,null); g2.drawImage(openIconImage, (int)Math.round(openIconShape.getX()), (int)Math.round(openIconShape.getY()),null); g2.drawImage(closeIconImage, (int)Math.round(closeIconShape.getX()), (int)Math.round(closeIconShape.getY()),null); g2.setFont(nameFont); g2.setColor(Color.yellow); String wellName = (String)parentThumbnail.getModel().getValue(UIConstants.WELL_KEY_STRING); if(wellName != null) { g2.drawString(wellName,4,26); } g2.setFont(oldFont); g2.setColor(oldColor); if(multipleModeOn) { g2.setPaint(Color.yellow); g2.setColor(Color.yellow); String whichSelected = (parentThumbnail.getMultipleImageIndex()+1) + "/" + (String.valueOf(parentThumbnail.getMultipleImageSize())); Rectangle2D selectedBounds = g2.getFontMetrics(multiFont).getStringBounds(whichSelected,g2); Rectangle2D totalBounds = getBounds().getBounds2D(); g2.setFont(multiFont); g2.drawString(whichSelected, (float)((totalBounds.getWidth()-selectedBounds.getWidth())/2), (float)(totalBounds.getHeight()-selectedBounds.getHeight()-5)); g2.fill(prevImageShape); g2.fill(nextImageShape); g2.setFont(oldFont); g2.setPaint(oldPaint); g2.setColor(oldColor); } Rectangle2D bounds = getBounds().getBounds2D(); /* double width = bounds.getWidth(); double height = bounds.getHeight(); DrawStyle noteStyle = DrawStyles.ANNOTATION_NODE_STYLE; DrawStyle oldStyle = noteStyle.applyStyle(g2); PaintShapeGenerator generator = PaintShapeGenerator.getInstance(); Shape note = generator.getAnnotationNoteShape(width-32,height-38); Shape glass = generator.getOuterMagnifierShape(width-32,height-68); g2.fill(note); g2.draw(note); g2.fill(glass); g2.draw(glass); oldStyle.applyStyle(g2); */ }
|
public void paint(PPaintContext context) { Graphics2D g2 = context.getGraphics(); Paint oldPaint = g2.getPaint(); Font oldFont = g2.getFont(); Color oldColor = g2.getColor(); g2.setPaint(Color.yellow); g2.fill(border); g2.setPaint(new Color(153,153,153,128)); g2.drawImage(getImage(),0,0,null); g2.drawImage(openIconImage, (int)Math.round(openIconShape.getX()), (int)Math.round(openIconShape.getY()),null); g2.drawImage(closeIconImage, (int)Math.round(closeIconShape.getX()), (int)Math.round(closeIconShape.getY()),null); g2.setFont(nameFont); g2.setColor(Color.yellow); String wellName = (String)parentThumbnail.getModel().getValue(UIConstants.WELL_KEY_STRING); if(wellName != null) { g2.drawString(wellName,4,26); } g2.setFont(oldFont); g2.setColor(oldColor); if(multipleModeOn) { g2.setPaint(Color.yellow); g2.setColor(Color.yellow); String whichSelected = (parentThumbnail.getMultipleImageIndex()+1) + "/" + (String.valueOf(parentThumbnail.getMultipleImageSize())); Rectangle2D selectedBounds = g2.getFontMetrics(multiFont).getStringBounds(whichSelected,g2); Rectangle2D totalBounds = getBounds().getBounds2D(); g2.setFont(multiFont); g2.drawString(whichSelected, (float)((totalBounds.getWidth()-selectedBounds.getWidth())/2), (float)(totalBounds.getHeight()-selectedBounds.getHeight()-5)); g2.fill(prevImageShape); g2.fill(nextImageShape); g2.setFont(oldFont); g2.setPaint(new Color(153,153,153,128)); g2.setColor(oldColor); } Rectangle2D bounds = getBounds().getBounds2D(); /* double width = bounds.getWidth(); double height = bounds.getHeight(); DrawStyle noteStyle = DrawStyles.ANNOTATION_NODE_STYLE; DrawStyle oldStyle = noteStyle.applyStyle(g2); PaintShapeGenerator generator = PaintShapeGenerator.getInstance(); Shape note = generator.getAnnotationNoteShape(width-32,height-38); Shape glass = generator.getOuterMagnifierShape(width-32,height-68); g2.fill(note); g2.draw(note); g2.fill(glass); g2.draw(glass); oldStyle.applyStyle(g2); */ }
| 3,228,729
|
public void copy(IObject model, ModelMapper mapper) { if (model instanceof Experimenter) { Experimenter exp = (Experimenter) model; super.copy(model,mapper); // Fields this.setFirstName(exp.getFirstName()); this.setLastName(exp.getLastName()); this.setEmail(exp.getEmail()); this.setInstitution(exp.getInstitution()); // Collections MapperBlock block = new MapperBlock( mapper ); setGroups( new HashSet( exp.eachLinkedExperimenterGroup( block ))); } else { throw new IllegalArgumentException( "ExperimenterData can only copy from Experimenter"); } }
|
public void copy(IObject model, ModelMapper mapper) { if (model instanceof Experimenter) { Experimenter exp = (Experimenter) model; super.copy(model,mapper); // Fields this.setFirstName(exp.getFirstName()); this.setLastName(exp.getLastName()); this.setEmail(exp.getEmail()); this.setInstitution(exp.getInstitution()); // Collections MapperBlock block = new MapperBlock( mapper ); setGroups( new HashSet( exp.eachLinkedExperimenterGroup( block ))); } else { throw new IllegalArgumentException( "ExperimenterData can only copy from Experimenter"); } }
| 3,228,731
|
public void initCoreClasses() { objectClass = defineBootClass("Object", null); moduleClass = defineBootClass("Module", objectClass); classClass = defineBootClass("Class", moduleClass); RubyClass metaClass = objectClass.makeMetaClass(classClass); metaClass = moduleClass.makeMetaClass(metaClass); metaClass = classClass.makeMetaClass(metaClass); kernelModule = RubyKernel.createKernelModule(runtime); objectClass.includeModule(kernelModule); CallbackFactory callbackFactory = runtime.callbackFactory(RubyClasses.class); objectClass.definePrivateMethod("initialize", callbackFactory.getNilMethod(-1)); classClass.definePrivateMethod("inherited", callbackFactory.getNilMethod(1)); RubyObject.createObjectClass(objectClass); RubyClass.createClassClass(classClass); RubyModule.createModuleClass(moduleClass); nilClass = RubyNil.createNilClass(runtime); falseClass = RubyBoolean.createFalseClass(runtime); trueClass = RubyBoolean.createTrueClass(runtime); threadGroupClass = RubyThreadGroup.createThreadGroupClass(runtime); threadClass = RubyThread.createThreadClass(runtime); runtime.getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(Ruby runtime, String name) { return RubyUnboundMethod.defineUnboundMethodClass(runtime); } }); runtime.getClasses().getFileTestModule(); }
|
public void initCoreClasses() { objectClass = defineBootClass("Object", null); moduleClass = defineBootClass("Module", objectClass); classClass = defineBootClass("Class", moduleClass); RubyClass metaClass = objectClass.makeMetaClass(classClass); metaClass = moduleClass.makeMetaClass(metaClass); metaClass = classClass.makeMetaClass(metaClass); kernelModule = RubyKernel.createKernelModule(runtime); objectClass.includeModule(kernelModule); CallbackFactory callbackFactory = runtime.callbackFactory(RubyClasses.class); objectClass.definePrivateMethod("initialize", callbackFactory.getNilMethod(-1)); classClass.definePrivateMethod("inherited", callbackFactory.getNilMethod(1)); RubyObject.createObjectClass(objectClass); RubyClass.createClassClass(classClass); RubyModule.createModuleClass(moduleClass); nilClass = RubyNil.createNilClass(runtime); falseClass = RubyBoolean.createFalseClass(runtime); trueClass = RubyBoolean.createTrueClass(runtime); threadGroupClass = RubyThreadGroup.createThreadGroupClass(runtime); threadClass = RubyThread.createThreadClass(runtime); runtime.getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(Ruby runtime, String name) { return RubyUnboundMethod.defineUnboundMethodClass(runtime); } }); runtime.getClasses().getFileTestModule(); }
| 3,228,732
|
public static RubyClass createFileStatClass(IRuby runtime) { final RubyClass fileStatClass = runtime.getClass("File").defineClassUnder("Stat",runtime.getObject()); final CallbackFactory callbackFactory = runtime.callbackFactory(RubyFileStat.class); // fileStatClass.defineMethod("<=>", callbackFactory.getMethod("")); // fileStateClass.includeModule(runtime.getModule("Comparable")); // fileStatClass.defineMethod("atime", callbackFactory.getMethod("")); fileStatClass.defineMethod("blksize", callbackFactory.getMethod("blksize")); // fileStatClass.defineMethod("blockdev?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("blocks", callbackFactory.getMethod("")); // fileStatClass.defineMethod("chardev?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("ctime", callbackFactory.getMethod("")); // fileStatClass.defineMethod("dev", callbackFactory.getMethod("")); // fileStatClass.defineMethod("dev_major", callbackFactory.getMethod("")); // fileStatClass.defineMethod("dev_minor", callbackFactory.getMethod("")); fileStatClass.defineMethod("directory?", callbackFactory.getMethod("directory_p")); // fileStatClass.defineMethod("executable?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("executable_real?", callbackFactory.getMethod("")); fileStatClass.defineMethod("file?", callbackFactory.getMethod("file_p")); fileStatClass.defineMethod("ftype", callbackFactory.getMethod("ftype")); // fileStatClass.defineMethod("gid", callbackFactory.getMethod("")); // fileStatClass.defineMethod("grpowned?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("ino", callbackFactory.getMethod("")); fileStatClass.defineMethod("mode", callbackFactory.getMethod("mode")); fileStatClass.defineMethod("mtime", callbackFactory.getMethod("mtime")); // fileStatClass.defineMethod("nlink", callbackFactory.getMethod("")); // fileStatClass.defineMethod("owned?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("pipe?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("rdev", callbackFactory.getMethod("")); // fileStatClass.defineMethod("rdev_major", callbackFactory.getMethod("")); // fileStatClass.defineMethod("rdev_minor", callbackFactory.getMethod("")); fileStatClass.defineMethod("readable?", callbackFactory.getMethod("readable_p")); // fileStatClass.defineMethod("readable_real?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("setgid?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("setuid?", callbackFactory.getMethod("")); fileStatClass.defineMethod("size", callbackFactory.getMethod("size")); // fileStatClass.defineMethod("size?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("socket?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("sticky?", callbackFactory.getMethod("")); fileStatClass.defineMethod("symlink?", callbackFactory.getMethod("symlink_p")); // fileStatClass.defineMethod("uid", callbackFactory.getMethod("")); fileStatClass.defineMethod("writable?", callbackFactory.getMethod("writable")); // fileStatClass.defineMethod("writable_real?", callbackFactory.getMethod("")); // fileStatClass.defineMethod("zero?", callbackFactory.getMethod("")); return fileStatClass; }
|
fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); publicfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); staticfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); RubyClassfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); createFileStatClass(IRubyfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); runtime)fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); {fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); finalfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); RubyClassfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClassfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); =fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); runtime.getClass("File").defineClassUnder("Stat",runtime.getObject());fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); finalfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); CallbackFactoryfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactoryfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); =fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); runtime.callbackFactory(RubyFileStat.class);fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("<=>",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStateClass.includeModule(runtime.getModule("Comparable"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("atime",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("blksize",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("blksize"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("blockdev?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("blocks",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("chardev?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ctime",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("dev",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("dev_major",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("dev_minor",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("directory?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("directory_p"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("executable?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("executable_real?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("file?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("file_p"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ftype",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("ftype"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("gid",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("grpowned?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("mode",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("mode"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("mtime",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("mtime"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("nlink",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("owned?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("pipe?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("rdev",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("rdev_major",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("rdev_minor",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("readable?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("readable_p"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("readable_real?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("setgid?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("setuid?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("size",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("size"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("size?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("socket?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("sticky?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("symlink?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("symlink_p"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("uid",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("writable?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod("writable"));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("writable_real?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); //fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("zero?",fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); callbackFactory.getMethod(""));fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); returnfileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass;fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); fileStatClass.defineMethod("ino", callbackFactory.getMethod("ino")); }
| 3,228,733
|
public RubyString to_s() { RubyObject message = getInstanceVar("mesg"); if (message.isNil()) { return getRubyClass().getClassPath(); } else { message.setTaint(isTaint()); return (RubyString) message; } }
|
public RubyString to_s() { RubyObject message = getInstanceVar("mesg"); if (message.isNil()) { return getRubyClass().getClassPath(); } else { message.setTaint(isTaint()); return (RubyString)message.funcall("to_s"); } }
| 3,228,734
|
public HSV(float hs, float ss, float vs, float as) { h = hs; s = ss; v = vs; a = as; }
|
public HSV() { h = hs; s = ss; v = vs; a = as; }
| 3,228,736
|
public HSV(float hs, float ss, float vs, float as) { h = hs; s = ss; v = vs; a = as; }
|
public HSV(float hs, float ss, float vs, float as) { h = hs; s = ss; v = vs; a = as; }
| 3,228,737
|
public RubyString to_s() { String cname = getMetaClass().getName(); RubyString str = getRuntime().newString(""); /* 6:tags 16:addr 1:eos */ str.setValue("#<" + cname + ":0x" + Integer.toHexString(System.identityHashCode(this)) + ">"); str.setTaint(isTaint()); return str; }
|
public RubyString to_s() { String cname = getMetaClass().getRealClass().getName(); RubyString str = getRuntime().newString(""); /* 6:tags 16:addr 1:eos */ str.setValue("#<" + cname + ":0x" + Integer.toHexString(System.identityHashCode(this)) + ">"); str.setTaint(isTaint()); return str; }
| 3,228,738
|
private void initComponents() { IconManager icons = IconManager.getInstance(); progressBar = new JProgressBar(); progressBar.setIndeterminate(true); status = new JLabel(); statusButton = new JButton(icons.getIcon(IconManager.STATUS_INFO)); statusButton.setBorder(null); statusButton.setBorderPainted(false); statusButton.setFocusPainted(false); statusButton.setOpaque(false); statusButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (buttonEnabled) controller.cancel(); } }); }
|
private void initComponents() { IconManager icons = IconManager.getInstance(); progressBar = new JProgressBar(); progressBar.setIndeterminate(true); status = new JLabel(); statusButton = new JButton(icons.getIcon(IconManager.STATUS_INFO)); statusButton.setBorder(null); statusButton.setBorderPainted(false); statusButton.setFocusPainted(false); statusButton.setOpaque(false); statusButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (buttonEnabled) controller.cancel(); } }); }
| 3,228,739
|
public RubyException(String message) { super(message); }
|
public RubyException(String message) { super(message); }
| 3,228,740
|
private int here_document(int term, int indent) { int c; Node list = null; int linesave = ruby.getSourceLine(); newtok(); switch (term) { case '\'' : case '"' : case '`' : while ((c = nextc()) != term) { tokadd(c); } if (term == '\'') { term = 0; } break; default : c = term; term = '"'; if (!is_identchar(c)) { ph.rb_warn("use of bare << to mean <<\"\" is deprecated"); break; } while (is_identchar(c)) { tokadd(c); c = nextc(); } pushback(c); break; } tokfix(); RubyObject lastline_save = lex_lastline; int offset_save = lex_p - lex_pbeg; String eos = tok(); int len = eos.length(); RubyString str = RubyString.newString(ruby, ""); RubyObject line; while (true) { lex_lastline = line = lex_getline(); if (line.isNil()) { // error: ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } ruby.setSourceLine(ruby.getSourceLine()); String p = ((RubyString) line).getValue(); if (indent != 0) { while (Character.isWhitespace(p.charAt(0))) { p = p.substring(1); } // while (*p && (*p == ' ' || *p == '\t')) { // p++; // } } if (p /*.trim()*/ .startsWith(eos)) { if (p.charAt(len) == '\n' || p.charAt(len) == '\r') { break; } if (len == ((RubyString) line).getValue().length()) { break; } } lex_curline = ((RubyString) line).getValue(); lex_pbeg = lex_p = 0; lex_pend = lex_curline.length(); while (true) { switch (parse_string(term, '\n', '\n')) { case Token.tSTRING : case Token.tXSTRING : ((RubyString) yyVal).cat("\n"); if (list == null) { str.concat((RubyString) yyVal); } else { ph.list_append(list, nf.newStr((RubyObject) yyVal)); } break; case Token.tDSTRING : if (list == null) { list = nf.newDStr(str); } /* fall through */ case Token.tDXSTRING : if (list == null) { list = nf.newDXStr(str); } ph.list_append((Node) yyVal, nf.newStr(RubyString.newString(ruby, "\n"))); new RuntimeException("[BUG] Want to convert" + yyVal.getClass().getName() + " to StrNode").printStackTrace(); // ((NODE)yyVal).nd_set_type(NODE.NODE_STR); yyVal = nf.newList((Node) yyVal); ((Node) yyVal).setNextNode(((Node) yyVal).getHeadNode().getNextNode()); ph.list_concat(list, (Node) yyVal); break; case 0 : // goto error; ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } if (lex_p == lex_pend) { break; } } } lex_lastline = lastline_save; lex_curline = ((RubyString) lex_lastline).getValue(); lex_pbeg = 0; lex_pend = lex_pbeg + lex_curline.length(); lex_p = lex_pbeg + offset_save; ph.setLexState(LexState.EXPR_END); ph.setHeredocEnd(ruby.getSourceLine()); ruby.setSourceLine(linesave); if (list != null) { list.setLine(linesave + 1); yyVal = list; } switch (term) { case '\0' : case '\'' : case '"' : if (list != null) { return Token.tDSTRING; } yyVal = str; return Token.tSTRING; case '`' : if (list != null) { return Token.tDXSTRING; } yyVal = str; return Token.tXSTRING; } return 0; }
|
private int here_document(int term, int indent) { int c; Node list = null; int linesave = ruby.getSourceLine(); newtok(); switch (term) { case '\'' : case '"' : case '`' : while ((c = nextc()) != term) { tokadd(c); } if (term == '\'') { term = 0; } break; default : c = term; term = '"'; if (!is_identchar(c)) { ph.rb_warn("use of bare << to mean <<\"\" is deprecated"); break; } while (is_identchar(c)) { tokadd(c); c = nextc(); } pushback(c); break; } tokfix(); RubyObject lastline_save = lex_lastline; int offset_save = lex_p - lex_pbeg; String eos = tok(); int len = eos.length(); RubyString str = RubyString.newString(ruby, ""); RubyObject line; while (true) { lex_lastline = line = lex_getline(); if (line.isNil()) { // error: ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } ruby.setSourceLine(ruby.getSourceLine()); String p = ((RubyString) line).getValue(); if (indent != 0) { while (Character.isWhitespace(p.charAt(0))) { p = p.substring(1); } // while (*p && (*p == ' ' || *p == '\t')) { // p++; // } } if (p /*.trim()*/ .startsWith(eos)) { if (p.charAt(len) == '\n' || p.charAt(len) == '\r') { break; } if (len == ((RubyString) line).getValue().length()) { break; } } lex_curline = ((RubyString) line).getValue(); lex_pbeg = lex_p = 0; lex_pend = lex_curline.length(); while (true) { switch (parse_string(term, '\n', '\n')) { case Token.tSTRING : case Token.tXSTRING : ((RubyString) yyVal).cat("\n"); if (list == null) { str.concat((RubyString) yyVal); } else { ph.list_append(list, nf.newStr((RubyObject) yyVal)); } break; case Token.tDSTRING : if (list == null) { list = nf.newDStr(str); } /* fall through */ case Token.tDXSTRING : if (list == null) { list = nf.newDXStr(str); } ph.list_append((Node) yyVal, nf.newStr(RubyString.newString(ruby, "\n"))); ((StrNodeConvertable)yyVal).convertToStrNode(); // ((NODE)yyVal).nd_set_type(NODE.NODE_STR); yyVal = nf.newList((Node) yyVal); ((Node) yyVal).setNextNode(((Node) yyVal).getHeadNode().getNextNode()); ph.list_concat(list, (Node) yyVal); break; case 0 : // goto error; ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } if (lex_p == lex_pend) { break; } } } lex_lastline = lastline_save; lex_curline = ((RubyString) lex_lastline).getValue(); lex_pbeg = 0; lex_pend = lex_pbeg + lex_curline.length(); lex_p = lex_pbeg + offset_save; ph.setLexState(LexState.EXPR_END); ph.setHeredocEnd(ruby.getSourceLine()); ruby.setSourceLine(linesave); if (list != null) { list.setLine(linesave + 1); yyVal = list; } switch (term) { case '\0' : case '\'' : case '"' : if (list != null) { return Token.tDSTRING; } yyVal = str; return Token.tSTRING; case '`' : if (list != null) { return Token.tDXSTRING; } yyVal = str; return Token.tXSTRING; } return 0; }
| 3,228,741
|
String translatePattern(String regex, boolean commentsAllowed) { regex = COMMENT_PATTERN.matcher(regex).replaceAll(""); regex = HEX_SINGLE_DIGIT_PATTERN.matcher(regex).replaceAll("\\\\"+"x0$1"); regex = OCTAL_SINGLE_DIGIT_PATTERN.matcher(regex).replaceAll("\\\\"+"0$1"); regex = OCTAL_THREE_DIGIT_PATTERN.matcher(regex).replaceAll("\\\\"+"0$1"); if (commentsAllowed) { regex = SPACE_IN_CHARACTER_CLASS_PATTERN.matcher(regex).replaceAll("$1\\\\x20$2"); regex = SHARP_IN_CHARACTER_CLASS_PATTERN.matcher(regex).replaceAll("$1\\\\x23$2"); } return regex; }
|
String translatePattern(String regex, boolean commentsAllowed) { regex = COMMENT_PATTERN.matcher(regex).replaceAll(""); regex = HEX_SINGLE_DIGIT_PATTERN.matcher(regex).replaceAll("\\\\"+"x0$1"); regex = OCTAL_SINGLE_DIGIT_PATTERN.matcher(regex).replaceAll("\\\\"+"0$1"); regex = OCTAL_THREE_DIGIT_PATTERN.matcher(regex).replaceAll("\\\\"+"0$1"); if (commentsAllowed) { regex = SPACE_IN_CHARACTER_CLASS_PATTERN.matcher(regex).replaceAll("$1\\\\x20$2"); regex = SHARP_IN_CHARACTER_CLASS_PATTERN.matcher(regex).replaceAll("$1\\\\x23$2"); } return regex; }
| 3,228,743
|
public void compile(Ruby ruby, String pattern) throws RegexpError { if (extended) { pattern = unextend(pattern); } try { this.re = new RE(pattern, cflags); } catch (REException e) { throw new RegexpError(ruby, e.getMessage()); } }
|
public void compile(Ruby runtime, String pattern) throws RegexpError { if (extended) { pattern = unextend(pattern); } try { this.re = new RE(pattern, cflags); } catch (REException e) { throw new RegexpError(ruby, e.getMessage()); } }
| 3,228,745
|
public void compile(Ruby ruby, String pattern) throws RegexpError { if (extended) { pattern = unextend(pattern); } try { this.re = new RE(pattern, cflags); } catch (REException e) { throw new RegexpError(ruby, e.getMessage()); } }
|
public void compile(Ruby ruby, String pattern) throws RegexpError { if (extended) { pattern = unextend(pattern); } try { this.re = new RE(pattern, cflags); } catch (REException e) { throw new RegexpError(runtime, e.getMessage()); } }
| 3,228,746
|
public IRubyObject search(Ruby ruby, String target, int startPos) { REMatch match = re.getMatch(target, startPos, eflags); if (match != null) { int count = re.getNumSubs() + 1; int[] begin = new int[count]; int[] end = new int[count]; for (int i = 0; i < count; i++) { begin[i] = match.getStartIndex(i); end[i] = match.getEndIndex(i); } return new RubyMatchData(ruby, target, begin, end); } return ruby.getNil(); }
|
public IRubyObject search(Ruby runtime, String target, int startPos) { REMatch match = re.getMatch(target, startPos, eflags); if (match != null) { int count = re.getNumSubs() + 1; int[] begin = new int[count]; int[] end = new int[count]; for (int i = 0; i < count; i++) { begin[i] = match.getStartIndex(i); end[i] = match.getEndIndex(i); } return new RubyMatchData(ruby, target, begin, end); } return ruby.getNil(); }
| 3,228,747
|
public IRubyObject search(Ruby ruby, String target, int startPos) { REMatch match = re.getMatch(target, startPos, eflags); if (match != null) { int count = re.getNumSubs() + 1; int[] begin = new int[count]; int[] end = new int[count]; for (int i = 0; i < count; i++) { begin[i] = match.getStartIndex(i); end[i] = match.getEndIndex(i); } return new RubyMatchData(ruby, target, begin, end); } return ruby.getNil(); }
|
public IRubyObject search(Ruby ruby, String target, int startPos) { REMatch match = re.getMatch(target, startPos, eflags); if (match != null) { int count = re.getNumSubs() + 1; int[] begin = new int[count]; int[] end = new int[count]; for (int i = 0; i < count; i++) { begin[i] = match.getStartIndex(i); end[i] = match.getEndIndex(i); } return new RubyMatchData(runtime, target, begin, end); } return ruby.getNil(); }
| 3,228,748
|
public IRubyObject search(Ruby ruby, String target, int startPos) { REMatch match = re.getMatch(target, startPos, eflags); if (match != null) { int count = re.getNumSubs() + 1; int[] begin = new int[count]; int[] end = new int[count]; for (int i = 0; i < count; i++) { begin[i] = match.getStartIndex(i); end[i] = match.getEndIndex(i); } return new RubyMatchData(ruby, target, begin, end); } return ruby.getNil(); }
|
public IRubyObject search(Ruby ruby, String target, int startPos) { REMatch match = re.getMatch(target, startPos, eflags); if (match != null) { int count = re.getNumSubs() + 1; int[] begin = new int[count]; int[] end = new int[count]; for (int i = 0; i < count; i++) { begin[i] = match.getStartIndex(i); end[i] = match.getEndIndex(i); } return new RubyMatchData(ruby, target, begin, end); } return runtime.getNil(); }
| 3,228,749
|
public abstract void compile(Ruby ruby, String pattern) throws RegexpError;
|
public abstract void compile(Ruby ruby, String pattern) throws RegexpError;
| 3,228,750
|
public String unextend(String re) { boolean inClass = false; int len = re.length(); StringBuffer sbuf = new StringBuffer(len); int pos = 0; char c; while (pos < len) { c = re.charAt(pos); if (c == '\\' && ++pos < len) { sbuf.append('\\').append(re.charAt(pos)); } else if (c == '[' && ++pos < len) { sbuf.append(c); inClass = true; if ((c = re.charAt(pos)) == ']') { sbuf.append(c); } } else if (c == ']') { sbuf.append(c); inClass = false; } else if (c == '#') { if (pos > 2 && re.charAt(pos - 2) == '(' && re.charAt(pos - 1) == '?') { sbuf.append(c); } else { pos++; for (; pos < len && re.charAt(pos) != '\n' && re.charAt(pos) != '\r'; pos++); } } else if (inClass || !Character.isWhitespace(c)) { sbuf.append(c); } pos++; } return sbuf.toString(); }
|
public String unextend(String re) { boolean inClass = false; int len = re.length(); StringBuffer sbuf = new StringBuffer(len); int pos = 0; char c; while (pos < len) { c = re.charAt(pos); if (c == '\\' && ++pos < len) { sbuf.append('\\').append(re.charAt(pos)); } else if (c == '[' && ++pos < len) { sbuf.append(c); inClass = true; if ((c = re.charAt(pos)) == ']') { sbuf.append(c); } } else if (c == ']') { sbuf.append(c); inClass = false; } else if (c == '#') { if (pos > 2 && re.charAt(pos - 2) == '(' && re.charAt(pos - 1) == '?') { sbuf.append(c); } else { pos++; for (; pos < len && re.charAt(pos) != '\n' && re.charAt(pos) != '\r'; pos++); } } else if (inClass || !Character.isWhitespace(c)) { sbuf.append(c); } pos++; } return sbuf.toString(); }
| 3,228,751
|
public String unextend(String re) { boolean inClass = false; int len = re.length(); StringBuffer sbuf = new StringBuffer(len); int pos = 0; char c; while (pos < len) { c = re.charAt(pos); if (c == '\\' && ++pos < len) { sbuf.append('\\').append(re.charAt(pos)); } else if (c == '[' && ++pos < len) { sbuf.append(c); inClass = true; if ((c = re.charAt(pos)) == ']') { sbuf.append(c); } } else if (c == ']') { sbuf.append(c); inClass = false; } else if (c == '#') { if (pos > 2 && re.charAt(pos - 2) == '(' && re.charAt(pos - 1) == '?') { sbuf.append(c); } else { pos++; for (; pos < len && re.charAt(pos) != '\n' && re.charAt(pos) != '\r'; pos++); } } else if (inClass || !Character.isWhitespace(c)) { sbuf.append(c); } pos++; } return sbuf.toString(); }
|
public String unextend(String re) { boolean inClass = false; int len = re.length(); StringBuffer sbuf = new StringBuffer(len); int pos = 0; char c; while (pos < len) { c = re.charAt(pos); if (c == '\\' && ++pos < len) { sbuf.append('\\').append(re.charAt(pos)); } else if (c == '[' && ++pos < len) { sbuf.append(c); inClass = true; if ((c = re.charAt(pos)) == ']') { sbuf.append(c); } } else if (c == ']') { sbuf.append(c); inClass = false; } else if (c == '#') { if (pos > 2 && re.charAt(pos - 2) == '(' && re.charAt(pos - 1) == '?') { sbuf.append(c); } else { pos++; for (; pos < len && re.charAt(pos) != '\n' && re.charAt(pos) != '\r'; pos++); } } else if (inClass || !Character.isWhitespace(c)) { sbuf.append(c); } pos++; } return sbuf.toString(); }
| 3,228,752
|
public abstract IRubyObject search(Ruby ruby, String target, int startPos);
|
public abstract IRubyObject search(Ruby ruby, String target, int startPos);
| 3,228,753
|
protected Throwable getAndLogException(Throwable t){ if (null == t) { log.error("Exception thrown. (null)"); return new InternalException("Exception thrown with null message"); } else { String msg = " Wrapped Exception: (" + t.getClass().getName()+"):\n" + t.getMessage(); log.error("Exception thrown: "+msg); if ( RootException.class.isAssignableFrom( t.getClass() ) ) return t; else if ( OptimisticLockingFailureException.class.isAssignableFrom( t.getClass() )) { OptimisticLockException ole = new OptimisticLockException( t.getMessage() ); ole.setStackTrace( t.getStackTrace() ); return ole; } else if ( IllegalArgumentException.class.isAssignableFrom( t.getClass() )) { ApiUsageException aue = new ApiUsageException( t.getMessage() ); aue.setStackTrace( t.getStackTrace() ); log.warn("IllegalArgumentException thrown:\n"+aue.getStackTrace()); return aue; } else { // Wrap all other exceptions in InternalException InternalException re = new InternalException(msg); re.setStackTrace(t.getStackTrace()); return re; } } }
|
protected Throwable getAndLogException(Throwable t){ if (null == t) { log.error("Exception thrown. (null)"); return new InternalException("Exception thrown with null message"); } else { String msg = " Wrapped Exception: (" + t.getClass().getName()+"):\n" + t.getMessage(); log.error("Exception thrown: "+msg); if ( RootException.class .isAssignableFrom( t.getClass() ) ) return t; else if ( OptimisticLockingFailureException.class.isAssignableFrom( t.getClass() )) { OptimisticLockException ole = new OptimisticLockException( t.getMessage() ); ole.setStackTrace( t.getStackTrace() ); return ole; } else if ( IllegalArgumentException.class.isAssignableFrom( t.getClass() )) { ApiUsageException aue = new ApiUsageException( t.getMessage() ); aue.setStackTrace( t.getStackTrace() ); log.warn("IllegalArgumentException thrown:\n"+aue.getStackTrace()); return aue; } else { // Wrap all other exceptions in InternalException InternalException re = new InternalException(msg); re.setStackTrace(t.getStackTrace()); return re; } } }
| 3,228,754
|
protected Throwable getAndLogException(Throwable t){ if (null == t) { log.error("Exception thrown. (null)"); return new InternalException("Exception thrown with null message"); } else { String msg = " Wrapped Exception: (" + t.getClass().getName()+"):\n" + t.getMessage(); log.error("Exception thrown: "+msg); if ( RootException.class.isAssignableFrom( t.getClass() ) ) return t; else if ( OptimisticLockingFailureException.class.isAssignableFrom( t.getClass() )) { OptimisticLockException ole = new OptimisticLockException( t.getMessage() ); ole.setStackTrace( t.getStackTrace() ); return ole; } else if ( IllegalArgumentException.class.isAssignableFrom( t.getClass() )) { ApiUsageException aue = new ApiUsageException( t.getMessage() ); aue.setStackTrace( t.getStackTrace() ); log.warn("IllegalArgumentException thrown:\n"+aue.getStackTrace()); return aue; } else { // Wrap all other exceptions in InternalException InternalException re = new InternalException(msg); re.setStackTrace(t.getStackTrace()); return re; } } }
|
protected Throwable getAndLogException(Throwable t){ if (null == t) { log.error("Exception thrown. (null)"); return new InternalException("Exception thrown with null message"); } else { String msg = " Wrapped Exception: (" + t.getClass().getName()+"):\n" + t.getMessage(); log.error("Exception thrown: "+msg); if ( RootException.class.isAssignableFrom( t.getClass() ) ) return t; else if ( OptimisticLockingFailureException.class .isAssignableFrom( t.getClass() )) { OptimisticLockException ole = new OptimisticLockException( t.getMessage() ); ole.setStackTrace( t.getStackTrace() ); return ole; } else if ( IllegalArgumentException.class.isAssignableFrom( t.getClass() )) { ApiUsageException aue = new ApiUsageException( t.getMessage() ); aue.setStackTrace( t.getStackTrace() ); log.warn("IllegalArgumentException thrown:\n"+aue.getStackTrace()); return aue; } else { // Wrap all other exceptions in InternalException InternalException re = new InternalException(msg); re.setStackTrace(t.getStackTrace()); return re; } } }
| 3,228,755
|
protected Throwable getAndLogException(Throwable t){ if (null == t) { log.error("Exception thrown. (null)"); return new InternalException("Exception thrown with null message"); } else { String msg = " Wrapped Exception: (" + t.getClass().getName()+"):\n" + t.getMessage(); log.error("Exception thrown: "+msg); if ( RootException.class.isAssignableFrom( t.getClass() ) ) return t; else if ( OptimisticLockingFailureException.class.isAssignableFrom( t.getClass() )) { OptimisticLockException ole = new OptimisticLockException( t.getMessage() ); ole.setStackTrace( t.getStackTrace() ); return ole; } else if ( IllegalArgumentException.class.isAssignableFrom( t.getClass() )) { ApiUsageException aue = new ApiUsageException( t.getMessage() ); aue.setStackTrace( t.getStackTrace() ); log.warn("IllegalArgumentException thrown:\n"+aue.getStackTrace()); return aue; } else { // Wrap all other exceptions in InternalException InternalException re = new InternalException(msg); re.setStackTrace(t.getStackTrace()); return re; } } }
|
protected Throwable getAndLogException(Throwable t){ if (null == t) { log.error("Exception thrown. (null)"); return new InternalException("Exception thrown with null message"); } else { String msg = " Wrapped Exception: (" + t.getClass().getName()+"):\n" + t.getMessage(); log.error("Exception thrown: "+msg); if ( RootException.class.isAssignableFrom( t.getClass() ) ) return t; else if ( OptimisticLockingFailureException.class.isAssignableFrom( t.getClass() )) { OptimisticLockException ole = new OptimisticLockException( t.getMessage() ); ole.setStackTrace( t.getStackTrace() ); return ole; } else if ( IllegalArgumentException.class .isAssignableFrom( t.getClass() )) { ApiUsageException aue = new ApiUsageException( t.getMessage() ); aue.setStackTrace( t.getStackTrace() ); log.warn("IllegalArgumentException thrown:\n"+aue.getStackTrace()); return aue; } else { // Wrap all other exceptions in InternalException InternalException re = new InternalException(msg); re.setStackTrace(t.getStackTrace()); return re; } } }
| 3,228,756
|
public static void errorOnViolation(Class implClass, Method mthd, Object[] args) throws ValidationException { if ( implClass == null || mthd == null ) { throw new ApiUsageException( "ApiConstraintChecker expects non null class and method " + "arguments."); } log.info("Checking: " + mthd); /* get arrays of arguments with parameters */ if ( args == null ) args = new Object[]{}; Object[] allAnnotations = findAnnotations(implClass, mthd); for (int j = 0; j < allAnnotations.length; j++) { Annotation[][] anns = (Annotation[][]) allAnnotations[j]; for (int i = 0; i < args.length; i++) { Object arg = args[i]; Annotation[] annotations = anns[i]; boolean validated = false; for (Annotation annotation : annotations) { if (NotNull.class.equals(annotation.annotationType())) { if (null == arg) { String msg = "Argument " + i + " to " + mthd + " may not be null."; log.warn(msg); throw new ApiUsageException(msg); } } else if (Validate.class.equals(annotation.annotationType())) { validated = true; Validate validator = (Validate) annotation; Class[] validClasses = validator.value(); ValidSet validSet = new ValidSet( validClasses ); String msg = "Argument " + i + " must be of a type in:" + validSet; if (null == arg) { // handled by NotNull } else if (arg instanceof Collection) { Collection coll = (Collection) arg; for (Object object : coll) { if ( ! validSet.isValid( object.getClass() )) throw new ApiUsageException(msg); } } else { if ( ! validSet.isValid( arg.getClass() )) { throw new ApiUsageException(msg); } } } } /* warn if someone's forgotten to annotate a method */ if (arg instanceof Collection && !validated) throw new ValidationException(mthd + " is missing a required @" + Validate.class.getName() + " annotation. This should be added to one of the " + " implemented interfaces. Refusing to proceed..."); } } }
|
if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; publicif (anns == null) continue; staticif (anns == null) continue; voidif (anns == null) continue; errorOnViolation(Classif (anns == null) continue; implClass,if (anns == null) continue; Methodif (anns == null) continue; mthd,if (anns == null) continue; Object[]if (anns == null) continue; args)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; throwsif (anns == null) continue; ValidationExceptionif (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (if (anns == null) continue; implClassif (anns == null) continue; ==if (anns == null) continue; nullif (anns == null) continue; ||if (anns == null) continue; mthdif (anns == null) continue; ==if (anns == null) continue; nullif (anns == null) continue; )if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; throwif (anns == null) continue; newif (anns == null) continue; ApiUsageException(if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; "ApiConstraintCheckerif (anns == null) continue; expectsif (anns == null) continue; nonif (anns == null) continue; nullif (anns == null) continue; classif (anns == null) continue; andif (anns == null) continue; methodif (anns == null) continue; "if (anns == null) continue; +if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; "arguments.");if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; log.info("Checking:if (anns == null) continue; "if (anns == null) continue; +if (anns == null) continue; mthd);if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; /*if (anns == null) continue; getif (anns == null) continue; arraysif (anns == null) continue; ofif (anns == null) continue; argumentsif (anns == null) continue; withif (anns == null) continue; parametersif (anns == null) continue; */if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (if (anns == null) continue; argsif (anns == null) continue; ==if (anns == null) continue; nullif (anns == null) continue; )if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; argsif (anns == null) continue; =if (anns == null) continue; newif (anns == null) continue; Object[]{};if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Object[]if (anns == null) continue; allAnnotationsif (anns == null) continue; =if (anns == null) continue; findAnnotations(implClass,if (anns == null) continue; mthd);if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; forif (anns == null) continue; (intif (anns == null) continue; jif (anns == null) continue; =if (anns == null) continue; 0;if (anns == null) continue; jif (anns == null) continue; <if (anns == null) continue; allAnnotations.length;if (anns == null) continue; j++)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Annotation[][]if (anns == null) continue; annsif (anns == null) continue; =if (anns == null) continue; (Annotation[][])if (anns == null) continue; allAnnotations[j];if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; forif (anns == null) continue; (intif (anns == null) continue; iif (anns == null) continue; =if (anns == null) continue; 0;if (anns == null) continue; iif (anns == null) continue; <if (anns == null) continue; args.length;if (anns == null) continue; i++)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Objectif (anns == null) continue; argif (anns == null) continue; =if (anns == null) continue; args[i];if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Annotation[]if (anns == null) continue; annotationsif (anns == null) continue; =if (anns == null) continue; anns[i];if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; booleanif (anns == null) continue; validatedif (anns == null) continue; =if (anns == null) continue; false;if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; forif (anns == null) continue; (Annotationif (anns == null) continue; annotationif (anns == null) continue; :if (anns == null) continue; annotations)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (NotNull.class.equals(annotation.annotationType()))if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (nullif (anns == null) continue; ==if (anns == null) continue; arg)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Stringif (anns == null) continue; msgif (anns == null) continue; =if (anns == null) continue; "Argumentif (anns == null) continue; "if (anns == null) continue; +if (anns == null) continue; iif (anns == null) continue; +if (anns == null) continue; "if (anns == null) continue; toif (anns == null) continue; "if (anns == null) continue; +if (anns == null) continue; mthdif (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; +if (anns == null) continue; "if (anns == null) continue; mayif (anns == null) continue; notif (anns == null) continue; beif (anns == null) continue; null.";if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; log.warn(msg);if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; throwif (anns == null) continue; newif (anns == null) continue; ApiUsageException(msg);if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; elseif (anns == null) continue; ifif (anns == null) continue; (Validate.class.equals(annotation.annotationType()))if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; validatedif (anns == null) continue; =if (anns == null) continue; true;if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Validateif (anns == null) continue; validatorif (anns == null) continue; =if (anns == null) continue; (Validate)if (anns == null) continue; annotation;if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Class[]if (anns == null) continue; validClassesif (anns == null) continue; =if (anns == null) continue; validator.value();if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ValidSetif (anns == null) continue; validSetif (anns == null) continue; =if (anns == null) continue; newif (anns == null) continue; ValidSet(if (anns == null) continue; validClassesif (anns == null) continue; );if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Stringif (anns == null) continue; msgif (anns == null) continue; =if (anns == null) continue; "Argumentif (anns == null) continue; "if (anns == null) continue; +if (anns == null) continue; iif (anns == null) continue; +if (anns == null) continue; "if (anns == null) continue; mustif (anns == null) continue; beif (anns == null) continue; ofif (anns == null) continue; aif (anns == null) continue; typeif (anns == null) continue; in:"if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; +if (anns == null) continue; validSet;if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (nullif (anns == null) continue; ==if (anns == null) continue; arg)if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; //if (anns == null) continue; handledif (anns == null) continue; byif (anns == null) continue; NotNullif (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; elseif (anns == null) continue; ifif (anns == null) continue; (argif (anns == null) continue; instanceofif (anns == null) continue; Collection)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; Collectionif (anns == null) continue; collif (anns == null) continue; =if (anns == null) continue; (Collection)if (anns == null) continue; arg;if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; forif (anns == null) continue; (Objectif (anns == null) continue; objectif (anns == null) continue; :if (anns == null) continue; coll)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (if (anns == null) continue; !if (anns == null) continue; validSet.isValid(if (anns == null) continue; object.getClass()if (anns == null) continue; ))if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; throwif (anns == null) continue; newif (anns == null) continue; ApiUsageException(msg);if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; elseif (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (if (anns == null) continue; !if (anns == null) continue; validSet.isValid(if (anns == null) continue; arg.getClass()if (anns == null) continue; ))if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; {if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; throwif (anns == null) continue; newif (anns == null) continue; ApiUsageException(msg);if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; /*if (anns == null) continue; warnif (anns == null) continue; ifif (anns == null) continue; someone'sif (anns == null) continue; forgottenif (anns == null) continue; toif (anns == null) continue; annotateif (anns == null) continue; aif (anns == null) continue; methodif (anns == null) continue; */if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; ifif (anns == null) continue; (argif (anns == null) continue; instanceofif (anns == null) continue; Collectionif (anns == null) continue; &&if (anns == null) continue; !validated)if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; throwif (anns == null) continue; newif (anns == null) continue; ValidationException(mthdif (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; +if (anns == null) continue; "if (anns == null) continue; isif (anns == null) continue; missingif (anns == null) continue; aif (anns == null) continue; requiredif (anns == null) continue; @"if (anns == null) continue; +if (anns == null) continue; Validate.class.getName()if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; +if (anns == null) continue; "if (anns == null) continue; annotation.if (anns == null) continue; Thisif (anns == null) continue; shouldif (anns == null) continue; beif (anns == null) continue; addedif (anns == null) continue; toif (anns == null) continue; oneif (anns == null) continue; ofif (anns == null) continue; theif (anns == null) continue; "if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; +if (anns == null) continue; "if (anns == null) continue; implementedif (anns == null) continue; interfaces.if (anns == null) continue; Refusingif (anns == null) continue; toif (anns == null) continue; proceed...");if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; if (anns == null) continue; }
| 3,228,758
|
public static RubyProc newProc(Ruby runtime, boolean isLambda) { if (!runtime.isBlockGiven() && !runtime.isFBlockGiven()) { throw runtime.newArgumentError("tried to create Proc object without a block"); } RubyProc newProc = new RubyProc(runtime, runtime.getClasses().getProcClass()); newProc.block = ((Block) runtime.getBlockStack().peek()).cloneBlock(); newProc.wrapper = runtime.getWrapper(); newProc.block.setIter(newProc.block.getNext() != null ? Iter.ITER_PRE : Iter.ITER_NOT); newProc.block.isLambda = isLambda; return newProc; }
|
public static RubyProc newProc(Ruby runtime, boolean isLambda) { if (!runtime.isBlockGiven() && !runtime.isFBlockGiven()) { throw runtime.newArgumentError("tried to create Proc object without a block"); } RubyProc newProc = new RubyProc(runtime, runtime.getClasses().getProcClass()); newProc.block = block.cloneBlock(); newProc.wrapper = runtime.getWrapper(); newProc.block.setIter(newProc.block.getNext() != null ? Iter.ITER_PRE : Iter.ITER_NOT); newProc.block.isLambda = isLambda; return newProc; }
| 3,228,759
|
List getLocalValues() { return localValues; }
|
public List getLocalValues() { return localValues; }
| 3,228,761
|
private void cleanIdentities() { IdReference ref; while ((ref = (IdReference) deadIdentityReferences.poll()) != null) identities.remove(long Long(ref.id())); }
|
private void cleanIdentities() { IdReference ref; while ((ref = (IdReference) deadIdentityReferences.poll()) != null) identities.remove(new Long(ref.id())); }
| 3,228,762
|
public void visitBlockPassNode(BlockPassNode iVisited) { IRubyObject block = eval(iVisited.getBodyNode()); if (block.isNil()) { eval(iVisited.getIterNode()); return; } else if (block instanceof RubyMethod) { block = ((RubyMethod)block).to_proc(); } else if (!(block instanceof RubyProc)) { throw new TypeError(ruby, "wrong argument type " + block.getInternalClass().toName() + " (expected Proc)"); } Block oldBlock = ruby.getBlock().getCurrent(); ruby.getBlock().push(((RubyProc) block).getBlock()); ruby.getIterStack().push(Iter.ITER_PRE); ruby.getCurrentFrame().setIter(Iter.ITER_PRE); try { eval(iVisited.getIterNode()); } finally { ruby.getIterStack().pop(); ruby.getBlock().setCurrent(oldBlock); } }
|
public void visitBlockPassNode(BlockPassNode iVisited) { IRubyObject block = eval(iVisited.getBodyNode()); if (block.isNil()) { eval(iVisited.getIterNode()); return; } else if (block instanceof RubyMethod) { block = ((RubyMethod)block).to_proc(); } else if (!(block instanceof RubyProc)) { throw new TypeError(ruby, "wrong argument type " + block.getInternalClass().toName() + " (expected Proc)"); } Block oldBlock = ruby.getBlock().getCurrent(); ruby.getBlock().push(((RubyProc) block).getBlock()); ruby.getIterStack().push(Iter.ITER_PRE); ruby.getCurrentFrame().setIter(Iter.ITER_PRE); try { eval(iVisited.getIterNode()); } finally { ruby.getIterStack().pop(); ruby.getBlock().setCurrent(oldBlock); } }
| 3,228,763
|
public void visitBlockPassNode(BlockPassNode iVisited) { IRubyObject block = eval(iVisited.getBodyNode()); if (block.isNil()) { eval(iVisited.getIterNode()); return; } else if (block instanceof RubyMethod) { block = ((RubyMethod)block).to_proc(); } else if (!(block instanceof RubyProc)) { throw new TypeError(ruby, "wrong argument type " + block.getInternalClass().toName() + " (expected Proc)"); } Block oldBlock = ruby.getBlock().getCurrent(); ruby.getBlock().push(((RubyProc) block).getBlock()); ruby.getIterStack().push(Iter.ITER_PRE); ruby.getCurrentFrame().setIter(Iter.ITER_PRE); try { eval(iVisited.getIterNode()); } finally { ruby.getIterStack().pop(); ruby.getBlock().setCurrent(oldBlock); } }
|
public void visitBlockPassNode(BlockPassNode iVisited) { IRubyObject block = eval(iVisited.getBodyNode()); if (block.isNil()) { eval(iVisited.getIterNode()); return; } else if (block instanceof RubyMethod) { block = ((RubyMethod)block).to_proc(); } else if (!(block instanceof RubyProc)) { throw new TypeError(ruby, "wrong argument type " + block.getInternalClass().toName() + " (expected Proc)"); } Block oldBlock = ruby.getBlock().getCurrent(); ruby.getBlock().push(((RubyProc) block).getBlock()); ruby.getIterStack().push(Iter.ITER_PRE); ruby.getCurrentFrame().setIter(Iter.ITER_PRE); try { eval(iVisited.getIterNode()); } finally { ruby.getIterStack().pop(); ruby.getBlockStack().setCurrent(oldBlock); } }
| 3,228,764
|
public void visitForNode(ForNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // XXX ruby.getBlock().flags &= ~RubyBlock.BLOCK_D_SCOPE; Block tmpBlock = ArgsUtil.beginCallArgs(ruby); IRubyObject recv = eval(iVisited.getIterNode()); ArgsUtil.endCallArgs(ruby, tmpBlock); ruby.setSourceFile(file); ruby.setSourceLine(line); result = recv.getInternalClass().call(recv.toRubyObject(), "each", null, 0); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
|
public void visitForNode(ForNode iVisited) { ruby.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // XXX ruby.getBlock().flags &= ~RubyBlock.BLOCK_D_SCOPE; Block tmpBlock = ArgsUtil.beginCallArgs(ruby); IRubyObject recv = eval(iVisited.getIterNode()); ArgsUtil.endCallArgs(ruby, tmpBlock); ruby.setSourceFile(file); ruby.setSourceLine(line); result = recv.getInternalClass().call(recv.toRubyObject(), "each", null, 0); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
| 3,228,765
|
public void visitForNode(ForNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // XXX ruby.getBlock().flags &= ~RubyBlock.BLOCK_D_SCOPE; Block tmpBlock = ArgsUtil.beginCallArgs(ruby); IRubyObject recv = eval(iVisited.getIterNode()); ArgsUtil.endCallArgs(ruby, tmpBlock); ruby.setSourceFile(file); ruby.setSourceLine(line); result = recv.getInternalClass().call(recv.toRubyObject(), "each", null, 0); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
|
public void visitForNode(ForNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // XXX ruby.getBlock().flags &= ~RubyBlock.BLOCK_D_SCOPE; Block tmpBlock = ArgsUtil.beginCallArgs(ruby); IRubyObject recv = eval(iVisited.getIterNode()); ArgsUtil.endCallArgs(ruby, tmpBlock); ruby.setSourceFile(file); ruby.setSourceLine(line); result = recv.getInternalClass().call(recv.toRubyObject(), "each", null, 0); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlockStack().pop(); } }
| 3,228,766
|
public void visitIterNode(IterNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { result = eval(iVisited.getIterNode()); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
|
public void visitIterNode(IterNode iVisited) { ruby.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { result = eval(iVisited.getIterNode()); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
| 3,228,767
|
public void visitIterNode(IterNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { result = eval(iVisited.getIterNode()); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
|
public void visitIterNode(IterNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { result = eval(iVisited.getIterNode()); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlockStack().pop(); } }
| 3,228,768
|
public NoteTreeNode(Tree parent, Note data) { treeItem = new TreeItem(parent, SWT.NONE); init(data); }
|
public NoteTreeNode(Tree parent, Note data) { treeItem = new TreeItem(parent, SWT.NONE); init(data); }
| 3,228,769
|
public void dispose() { if (displayedNote.getTab() != null) displayedNote.getTab().dispose(); treeItem.dispose(); }
|
public void dispose() { if (displayedNote.getTab() != null) displayedNote.getTab().dispose(); treeItem.dispose(); }
| 3,228,770
|
private void init(Note data) { this.displayedNote = new DisplayedNote(this, data); treeItem.setText(data.getName()); treeItem.setData(this); for (Note n : data.getChildren()) { new NoteTreeNode(treeItem, n); } }
|
private void init(Note data) { this.displayedNote = new DisplayedNote(this, data); treeItem.setText(data.getName()); treeItem.setData(this); for (Note n : data.getChildren()) { new NoteTreeNode(treeItem, n); } }
| 3,228,771
|
private void init(Note data) { this.displayedNote = new DisplayedNote(this, data); treeItem.setText(data.getName()); treeItem.setData(this); for (Note n : data.getChildren()) { new NoteTreeNode(treeItem, n); } }
|
private void init(Note data) { this.displayedNote = new DisplayedNote(this, data); treeItem.setText(data.getName()); treeItem.setData(this); for (Note n : data.getChildren()) { new NoteTreeNode(treeItem, n); } }
| 3,228,772
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.