rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
public void testRemoveModelsViaIterator() { MetadataRoot root = getNewRoot(); root.addModel(new Model("smurf")); Iterator iter = root.getModels(); // Just to be evil try { iter = root.getModels(); while(iter.hasNext()) { iter.next(); iter.remove(); fail("Successfully removed models from MetadataRoot via iterator!"); } } catch (UnsupportedOperationException e) { } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/MetadataRootTest.java/buggy/archive/core-platform/test/src/com/arsdigita/persistence/metadata/MetadataRootTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3288, 8430, 21246, 3198, 1435, 288, 3639, 6912, 2375, 1365, 273, 12654, 2375, 5621, 3639, 1365, 18, 1289, 1488, 12, 2704, 3164, 2932, 4808, 295, 74, 7923, 1769, 3639, 4498, 1400, 273, 1365, 18, 588, 8430, 5621, 3639, 368, 12526, 358, 506, 2113, 330, 3639, 775, 288, 5411, 1400, 273, 1365, 18, 588, 8430, 5621, 5411, 1323, 12, 2165, 18, 5332, 2134, 10756, 225, 288, 7734, 1400, 18, 4285, 5621, 7734, 1400, 18, 4479, 5621, 7734, 2321, 2932, 18303, 3723, 3679, 628, 6912, 2375, 3970, 2775, 4442, 1769, 5411, 289, 7734, 289, 1044, 261, 8544, 10602, 425, 13, 288, 3639, 289, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3288, 8430, 21246, 3198, 1435, 288, 3639, 6912, 2375, 1365, 273, 12654, 2375, 5621, 3639, 1365, 18, 1289, 1488, 12, 2704, 3164, 2932, 4808, 295, 74, 7923, 1769, 3639, 4498, 1400, 273, 1365, 18, 588, 8430, 5621, 3639, 368, 12526, 358, 506, 2113, 330, 3639, 775, 288, 5411, 1400, 273, 1365, 18, 588, 8430, 5621, 5411, 1323, 12, 2165, 18, 5332, 2134, 10756, 225, 288, 7734, 1400, 18, 4285, 5621, 7734, 1400, 18, 4479, 5621, 7734, 2321, 2932, 18303, 3723, 3679, 628, 6912, 2375, 3970, 2775, 4442, 1769, 5411, 289, 7734, 289, 1044, 261, 8544, 10602, 425, 13, 288, 3639, 289, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws Exception {
throws Exception {
public static void main(String[] args) throws Exception { ClassConfigurator test = getInstance(); System.out.println("\n" + test.printMagicMap()); }
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/f4d48c5d12530ffb09ab46034b71d9594b0f1287/ClassConfigurator.java/buggy/src/org/jgroups/conf/ClassConfigurator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 3639, 1216, 1185, 565, 288, 3639, 1659, 17182, 1842, 273, 3694, 5621, 3639, 2332, 18, 659, 18, 8222, 31458, 82, 6, 397, 1842, 18, 1188, 19289, 863, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 3639, 1216, 1185, 565, 288, 3639, 1659, 17182, 1842, 273, 3694, 5621, 3639, 2332, 18, 659, 18, 8222, 31458, 82, 6, 397, 1842, 18, 1188, 19289, 863, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
myWatchPanel = new MainWatchPanel(getProject(), getContextManager()) { protected boolean isViewVisible() {
myWatchPanel = new MainWatchPanel(getProject(), getContextManager(), WATCHES_ICON); myFramePanel = new FramePanel(getProject(), getContextManager()) { protected boolean isUpdateEnabled() {
public DebuggerSessionTab(Project project) { myProject = project; myManager = new LogFilesManager(project, this); myContentPanel = new JPanel(new BorderLayout()); if(!ApplicationManager.getApplication().isUnitTestMode()) { getContextManager().addListener(new DebuggerContextListener() { public void changeEvent(DebuggerContextImpl newContext, int event) { switch(event) { case DebuggerSession.EVENT_DETACHED: DebuggerSettings settings = DebuggerSettings.getInstance(); myFirstToolbar.updateActionsImmediately(); mySecondToolbar.updateActionsImmediately(); if (settings.HIDE_DEBUGGER_ON_PROCESS_TERMINATION) { try { ExecutionManager.getInstance(getProject()).getContentManager().hideRunContent(myRunner, myRunContentDescriptor); } catch (NullPointerException e) { //if we can get closeProcess after the project have been closed LOG.debug(e); } } break; case DebuggerSession.EVENT_PAUSE: if (myIsJustStarted) { final Content frameView = findContent(FRAME_CONTENT); final Content watchView = findContent(WATCHES_CONTENT); if (frameView != null) { Content content = myViewsContentManager.getSelectedContent(); if (content == null || content.equals(frameView) || content.equals(watchView)) { return; } showFramePanel(); } myIsJustStarted = false; } } } }); } myWatchPanel = new MainWatchPanel(getProject(), getContextManager()) { protected boolean isViewVisible() { return myViewsContentManager.getSelectedContent().getComponent() == this; } }; updateWatchTreeTab(); myFramePanel = new FramePanel(getProject(), getContextManager()) { protected boolean isViewVisible() { return myViewsContentManager.getSelectedContent().getComponent() == this; } }; myThreadsPanel = new ThreadsPanel(getProject(), getContextManager()) { protected boolean isViewVisible() { return myViewsContentManager.getSelectedContent().getComponent() == this; } }; TabbedPaneContentUI ui = new TabbedPaneContentUI(SwingConstants.TOP); myViewsContentManager = PeerFactory.getInstance().getContentFactory().createContentManager(ui, false, getProject()); Content content = PeerFactory.getInstance().getContentFactory() .createContent(myThreadsPanel, DebuggerBundle.message("debugger.session.tab.threads.title"), false); content.setIcon(THREADS_ICON); content.putUserData(CONTENT_KIND, THREADS_CONTENT); myViewsContentManager.addContent(content); content = PeerFactory.getInstance().getContentFactory().createContent(myFramePanel, DebuggerBundle.message("debugger.session.tab.frames.title"), false); content.setIcon(FRAME_ICON); content.putUserData(CONTENT_KIND, FRAME_CONTENT); myViewsContentManager.addContent(content); content = PeerFactory.getInstance().getContentFactory().createContent(myWatchPanel, DebuggerBundle.message("debugger.session.tab.watches.title"), false); content.setIcon(WATCHES_ICON); content.putUserData(CONTENT_KIND, WATCHES_CONTENT); myViewsContentManager.addContent(content); myViewsContentManager.addContentManagerListener(new ContentManagerAdapter() { public void selectionChanged(ContentManagerEvent event) { Content selectedContent = myViewsContentManager.getSelectedContent(); if (selectedContent != null) { JComponent component = selectedContent.getComponent(); if (component instanceof DebuggerPanel) { DebuggerPanel panel = (DebuggerPanel)component; if (panel.isRefreshNeeded()) { panel.rebuildIfVisible(); } } } } }); myContentPanel.add(myViewsContentManager.getComponent(), BorderLayout.CENTER); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/eee604fdf99765a660276b3ebfa6a879c40c8e11/DebuggerSessionTab.java/clean/debugger/impl/com/intellij/debugger/ui/DebuggerSessionTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 28645, 2157, 5661, 12, 4109, 1984, 13, 288, 565, 3399, 4109, 273, 1984, 31, 565, 3399, 1318, 273, 394, 1827, 2697, 1318, 12, 4406, 16, 333, 1769, 565, 3399, 1350, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 309, 12, 5, 3208, 1318, 18, 588, 3208, 7675, 291, 2802, 4709, 2309, 10756, 288, 1377, 6474, 1318, 7675, 1289, 2223, 12, 2704, 28645, 1042, 2223, 1435, 288, 3639, 1071, 918, 2549, 1133, 12, 24113, 1042, 2828, 28210, 16, 509, 871, 13, 288, 1850, 1620, 12, 2575, 13, 288, 5411, 648, 28645, 2157, 18, 10454, 67, 40, 31370, 15023, 30, 2868, 28645, 2628, 1947, 273, 28645, 2628, 18, 588, 1442, 5621, 2868, 3399, 3759, 17907, 18, 2725, 6100, 1170, 7101, 5621, 2868, 3399, 8211, 17907, 18, 2725, 6100, 1170, 7101, 5621, 2868, 309, 261, 4272, 18, 44, 10385, 67, 9394, 3101, 67, 673, 67, 16560, 67, 29516, 2689, 13, 288, 7734, 775, 288, 5375, 8687, 1318, 18, 588, 1442, 12, 588, 4109, 1435, 2934, 588, 1350, 1318, 7675, 11248, 1997, 1350, 12, 4811, 9709, 16, 3399, 1997, 1350, 3187, 1769, 7734, 289, 7734, 1044, 261, 2041, 9992, 425, 13, 288, 5375, 368, 430, 732, 848, 336, 1746, 2227, 1839, 326, 1984, 1240, 2118, 4375, 5375, 2018, 18, 4148, 12, 73, 1769, 7734, 289, 2868, 289, 2868, 898, 31, 5411, 648, 28645, 2157, 18, 10454, 67, 4066, 8001, 30, 2868, 309, 261, 4811, 2520, 19642, 9217, 13, 288, 7734, 727, 3697, 2623, 1767, 273, 1104, 1350, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 28645, 2157, 5661, 12, 4109, 1984, 13, 288, 565, 3399, 4109, 273, 1984, 31, 565, 3399, 1318, 273, 394, 1827, 2697, 1318, 12, 4406, 16, 333, 1769, 565, 3399, 1350, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 309, 12, 5, 3208, 1318, 18, 588, 3208, 7675, 291, 2802, 4709, 2309, 10756, 288, 1377, 6474, 1318, 7675, 1289, 2223, 12, 2704, 28645, 1042, 2223, 1435, 288, 3639, 1071, 918, 2549, 1133, 12, 24113, 1042, 2828, 28210, 16, 509, 871, 13, 288, 1850, 1620, 12, 2575, 13, 288, 5411, 648, 28645, 2157, 18, 10454, 67, 40, 31370, 15023, 30, 2868, 28645, 2628, 1947, 273, 28645, 2628, 18, 588, 1442, 5621, 2868, 3399, 3759, 17907, 18, 2725, 6100, 2 ]
public UnterminatedStringLiteralException(int line, int column) { super( line, column );
public UnterminatedStringLiteralException(int line, int column) { super("Unterminated string literal", line, column);
public UnterminatedStringLiteralException(int line, int column) { super( line, column ); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/3d37acd34fcf44c4a51bd104ef70043af62c7d99/UnterminatedStringLiteralException.java/buggy/src/main/org/codehaus/groovy/syntax/lexer/UnterminatedStringLiteralException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1351, 29133, 28565, 503, 12, 474, 980, 16, 4766, 2868, 509, 1057, 13, 565, 288, 3639, 2240, 12, 980, 16, 9079, 1057, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1351, 29133, 28565, 503, 12, 474, 980, 16, 4766, 2868, 509, 1057, 13, 565, 288, 3639, 2240, 12, 980, 16, 9079, 1057, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.pattern = pattern;
public MyCheckStatus setFormat(DecimalFormat df, String pattern, String context) { this.df = df; this.pattern = pattern; this.context = context; return this; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/773f35e3229409718b50212e9f0a0f32a23338fc/CheckNumbers.java/clean/tools/java/org/unicode/cldr/test/CheckNumbers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 8005, 1564, 1482, 26251, 12, 5749, 1630, 3013, 16, 514, 1936, 16, 514, 819, 13, 288, 5411, 333, 18, 2180, 273, 3013, 31, 15604, 333, 18, 2472, 273, 819, 31, 5411, 327, 333, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 8005, 1564, 1482, 26251, 12, 5749, 1630, 3013, 16, 514, 1936, 16, 514, 819, 13, 288, 5411, 333, 18, 2180, 273, 3013, 31, 15604, 333, 18, 2472, 273, 819, 31, 5411, 327, 333, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
org.exist.xquery.parser.XQueryAST tmp257_AST = null; tmp257_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp257_AST);
org.exist.xquery.parser.XQueryAST tmp179_AST = null; tmp179_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp179_AST);
public final void relativePathExpr() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST relativePathExpr_AST = null; stepExpr(); astFactory.addASTChild(currentAST, returnAST); { _loop154: do { if ((LA(1)==SLASH||LA(1)==DSLASH)) { { switch ( LA(1)) { case SLASH: { org.exist.xquery.parser.XQueryAST tmp256_AST = null; tmp256_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp256_AST); match(SLASH); break; } case DSLASH: { org.exist.xquery.parser.XQueryAST tmp257_AST = null; tmp257_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp257_AST); match(DSLASH); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } stepExpr(); astFactory.addASTChild(currentAST, returnAST); } else { break _loop154; } } while (true); } relativePathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = relativePathExpr_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/06537933dfbae14c444eb15b44247b312b5f47d7/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12820, 4742, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 12820, 4742, 67, 9053, 273, 446, 31, 9506, 202, 4119, 4742, 5621, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 202, 202, 95, 202, 202, 67, 6498, 29003, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 2534, 12, 21, 13, 631, 24079, 20081, 2534, 12, 21, 13, 631, 3948, 16504, 3719, 288, 9506, 202, 95, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 9506, 202, 3593, 348, 16504, 30, 9506, 202, 95, 6862, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 5034, 67, 9053, 273, 446, 31, 6862, 202, 5645, 5034, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 6862, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 5034, 67, 9053, 1769, 6862, 202, 1916, 12, 24079, 1769, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 3593, 8678, 16504, 30, 9506, 202, 95, 6862, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 2947, 27, 67, 9053, 273, 446, 31, 6862, 202, 5645, 2947, 27, 67, 9053, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12820, 4742, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 12820, 4742, 67, 9053, 273, 446, 31, 9506, 202, 4119, 4742, 5621, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 202, 202, 95, 202, 202, 67, 6498, 29003, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 2534, 12, 21, 13, 631, 24079, 20081, 2534, 12, 21, 13, 631, 3948, 16504, 3719, 288, 9506, 202, 95, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 2 ]
"[name=" + name + ",fileName="+ fileName + ",Charset=" + encoding + ",exclRange=" + exclRange + ",xlfd=" + xlfd + "]");
"[name=" + name + ",fileName="+ fileName + ",Charset=" + encoding + ",exclRange=" + exclRange + ",xlfd=" + xlfd + "]");
public String toString(){ return new String(this.getClass().getName() + "[name=" + name + ",fileName="+ fileName + ",Charset=" + encoding + ",exclRange=" + exclRange + ",xlfd=" + xlfd + "]"); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/e6ce79da0ad0459deff86829b48b541975a9b721/LinuxFontProperty.java/buggy/modules/awt/src/main/java/linux/org/apache/harmony/awt/gl/font/LinuxFontProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 95, 3639, 327, 394, 514, 12, 2211, 18, 588, 797, 7675, 17994, 1435, 397, 7734, 5158, 529, 1546, 397, 508, 397, 7734, 3104, 17812, 1546, 15, 3968, 397, 7734, 3104, 9652, 1546, 397, 2688, 397, 7734, 3104, 338, 830, 2655, 1546, 397, 4687, 2655, 397, 7734, 3104, 18402, 8313, 1546, 397, 15643, 8313, 397, 9870, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 95, 3639, 327, 394, 514, 12, 2211, 18, 588, 797, 7675, 17994, 1435, 397, 7734, 5158, 529, 1546, 397, 508, 397, 7734, 3104, 17812, 1546, 15, 3968, 397, 7734, 3104, 9652, 1546, 397, 2688, 397, 7734, 3104, 338, 830, 2655, 1546, 397, 4687, 2655, 397, 7734, 3104, 18402, 8313, 1546, 397, 15643, 8313, 397, 9870, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
subGroupIndex = fSchemaHandler.getComponentDecl(schemaDoc, XSDHandler.ELEMENT_TYPE, subGroupAtt);
subGroupIndex = fSchemaHandler.getGlobalDecl(schemaDoc, XSDHandler.ELEMENT_TYPE, subGroupAtt);
int traverseNamedElement(Element elmDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal) { Boolean abstractAtt = (Boolean) attrValues[XSAttributeChecker.ATTIDX_ABSTRACT]; Integer blockAtt = (Integer) attrValues[XSAttributeChecker.ATTIDX_BLOCK]; String defaultAtt = (String) attrValues[XSAttributeChecker.ATTIDX_DEFAULT]; Integer finalAtt = (Integer) attrValues[XSAttributeChecker.ATTIDX_FINAL]; String fixedAtt = (String) attrValues[XSAttributeChecker.ATTIDX_FIXED]; Integer formAtt = (Integer) attrValues[XSAttributeChecker.ATTIDX_FORM]; String nameAtt = (String) attrValues[XSAttributeChecker.ATTIDX_NAME]; Boolean nillableAtt = (Boolean) attrValues[XSAttributeChecker.ATTIDX_NILLABLE]; QName subGroupAtt = (QName) attrValues[XSAttributeChecker.ATTIDX_SUBSGROUP]; QName typeAtt = (QName) attrValues[XSAttributeChecker.ATTIDX_TYPE]; // Step 1: get declaration information // get 'target namespace' String namespace = XSDHandler.EMPTY_STRING; if (isGlobal) { namespace = schemaDoc.fTargetNamespace; } else if (formAtt != null) { if (formAtt.intValue() == SchemaSymbols.FORM_QUALIFIED) namespace = schemaDoc.fTargetNamespace; } else if (schemaDoc.fAreLocalElementsQualified) { namespace = schemaDoc.fTargetNamespace; } // get qname for 'name' and 'target namespace' QName name = new QName(null, nameAtt, nameAtt, namespace); // get 'block', 'final', 'nillable', 'abstract' short blockSet = blockAtt == null ? SchemaSymbols.EMPTY_SET : blockAtt.shortValue(); short finalSet = finalAtt == null ? SchemaSymbols.EMPTY_SET : finalAtt.shortValue(); short elementMiscFlags = 0; if (nillableAtt.booleanValue()) elementMiscFlags |= XSElementDecl.NILLABLE; if (abstractAtt.booleanValue()) elementMiscFlags |= XSElementDecl.ABSTRACT; // make the property of the element's value being fixed also appear in elementMiscFlags if (fixedAtt != null) elementMiscFlags |= XSElementDecl.FIXED; // get 'value constraint' if (defaultAtt == null && fixedAtt != null) { defaultAtt = fixedAtt; fixedAtt = null; } // get 'substitutionGroup affiliation' String subGroupNS = null; int subGroupIndex = -1; if (subGroupAtt != null) { subGroupIndex = fSchemaHandler.getComponentDecl(schemaDoc, XSDHandler.ELEMENT_TYPE, subGroupAtt); if (subGroupIndex == -1) { reportGenericSchemaError("substitutionGroup element not found: "+subGroupAtt.uri+","+subGroupAtt.localpart+" for element '"+nameAtt+"'"); } else { subGroupNS = subGroupAtt.uri; } } // get 'annotation' Element child = DOMUtil.getFirstChildElement(elmDecl); if(child != null && DOMUtil.getLocalName(child).equals(SchemaSymbols.ELT_ANNOTATION)) { traverseAnnotationDecl(child, attrValues, false); child = DOMUtil.getNextSiblingElement(child); } // get 'type definition' String typeNS = null; int elementType = -1; boolean haveAnonType = false; // Handle Anonymous type if there is one if (child != null) { String childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_COMPLEXTYPE)) { elementType = fSchemaHandler.fComplexTypeTraverser.traverse(child, schemaDoc, grammar, null); if (elementType != -1) typeNS = schemaDoc.fTargetNamespace; haveAnonType = true; child = DOMUtil.getNextSiblingElement(child); } else if (childName.equals(SchemaSymbols.ELT_SIMPLETYPE)) { elementType = fSchemaHandler.fSimpleTypeTraverser.traverse(child, schemaDoc, grammar); if (elementType != -1) typeNS = schemaDoc.fTargetNamespace; haveAnonType = true; child = DOMUtil.getNextSiblingElement(child); } } // Handler type attribute if (elementType == -1 && typeAtt != null) { elementType = fSchemaHandler.getComponentDecl(schemaDoc, XSDHandler.TYPEDECL_TYPE, typeAtt); if (elementType != -1) typeNS = typeAtt.uri; else reportGenericSchemaError("type not found: "+typeAtt.uri+","+typeAtt.localpart+" for element '"+nameAtt+"'"); } // Get it from the substitutionGroup declaration if (elementType == -1 && subGroupIndex != -1) { fTempElementDecl = (XSElementDecl)fSchemaHandler.getDecl(subGroupNS, XSDHandler.ELEMENT_TYPE, subGroupIndex); elementType = fTempElementDecl.fTypeIdx; if (elementType != -1) typeNS = fTempElementDecl.fTypeNS; } // check for NOTATION type checkNotationType(nameAtt, typeNS, elementType); if (elementType == -1) { elementType = fSchemaHandler.getComponentDecl(schemaDoc, fSchemaHandler.TYPEDECL_TYPE, ANY_TYPE); typeNS = SchemaSymbols.URI_SCHEMAFORSCHEMA; } // get 'identity constaint' // see if there's something here; it had better be key, keyref or unique. if (child != null) { String childName = DOMUtil.getLocalName(child); while (child != null && (childName.equals(SchemaSymbols.ELT_KEY) || childName.equals(SchemaSymbols.ELT_KEYREF) || childName.equals(SchemaSymbols.ELT_UNIQUE))) { child = DOMUtil.getNextSiblingElement(child); if (child != null) { childName = DOMUtil.getLocalName(child); } } } // // REVISIT: key/keyref/unique processing // /*Element ic = XUtil.getFirstChildElementNS(elementDecl, IDENTITY_CONSTRAINTS); if (ic != null) { Integer elementIndexObj = new Integer(elementIndex); Vector identityConstraints = (Vector)fIdentityConstraints.get(elementIndexObj); if (identityConstraints == null) { identityConstraints = new Vector(); fIdentityConstraints.put(elementIndexObj, identityConstraints); } while (ic != null) { if (DEBUG_IC_DATATYPES) { System.out.println("<ICD>: adding ic for later traversal: "+ic); } identityConstraints.addElement(ic); ic = XUtil.getNextSiblingElementNS(ic, IDENTITY_CONSTRAINTS); } }*/ // Step 2: create the declaration, and register it to the grammar fTempElementDecl.clear(); fTempElementDecl.fQName.setValues(name); fTempElementDecl.fTypeNS = typeNS; fTempElementDecl.fTypeIdx = elementType; fTempElementDecl.fElementMiscFlags = elementMiscFlags; fTempElementDecl.fBlock = blockSet; fTempElementDecl.fFinal = finalSet; fTempElementDecl.fDefault = defaultAtt; fTempElementDecl.fSubGroupNS = subGroupNS; fTempElementDecl.fSubGroupIdx = subGroupIndex; int elementIndex = grammar.addElementDecl(fTempElementDecl); // Step 3: check against schema for schemas // required attributes if (nameAtt == null) { if (isGlobal) reportGenericSchemaError("src-element.0: 'name' must be present in a global element declaration"); else reportGenericSchemaError("src-element.2.1: One of 'ref' or 'name' must be present in a local element declaration"); } // element if (child != null) { reportGenericSchemaError("src-element.0: the content of an element information item must match (annotation?, (simpleType | complexType)?, (unique | key | keyref)*))"); } // Step 4: check 3.3.3 constraints // src-element // 1 default and fixed must not both be present. if (defaultAtt != null && fixedAtt != null) { // REVISIT: localize reportGenericSchemaError("src-element.1: 'default' and 'fixed' must not both be present in element declaration '" + nameAtt + "'"); } // 2 If the item's parent is not <schema>, then all of the following must be true: // 2.1 One of ref or name must be present, but not both. // This is checked in XSAttributeChecker // 2.2 If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, nillable, default, fixed, form, block and type must be absent, i.e. only minOccurs, maxOccurs, id are allowed in addition to ref, along with <annotation>. // Attributes are checked in XSAttributeChecker, elements are checked in "traverse" method // 3 type and either <simpleType> or <complexType> are mutually exclusive. if (haveAnonType && (typeAtt != null)) { reportGenericSchemaError( "src-element.3: Element '"+ nameAtt + "' have both a type attribute and a annoymous type child" ); } // Step 5: check 3.3.6 constraints // e-props-correct // 2 If there is a {value constraint}, the canonical lexical representation of its value must be valid with respect to the {type definition} as defined in Element Default Valid (Immediate) (3.3.6). if (defaultAtt != null) { if (!checkDefaultValid(defaultAtt, typeNS, elementType, nameAtt)) { reportGenericSchemaError ("e-props-correct.2: invalid fixed or default value '" + defaultAtt + "' in element " + nameAtt); } } // 3 If there is an {substitution group affiliation}, the {type definition} of the element declaration must be validly derived from the {type definition} of the {substitution group affiliation}, given the value of the {substitution group exclusions} of the {substitution group affiliation}, as defined in Type Derivation OK (Complex) (3.4.6) (if the {type definition} is complex) or as defined in Type Derivation OK (Simple) (3.14.6) (if the {type definition} is simple). // REVISIT: to implement //if(subGroupIndex != -1) // checkSubstitutionGroupOK(elementDecl, substitutionGroupElementDecl, noErrorSoFar, substitutionGroupElementDeclIndex, subGrammar, typeInfo, substitutionGroupEltTypeInfo, dv, substitutionGroupEltDV); // 4 If the {type definition} or {type definition}'s {content type} is or is derived from ID then there must not be a {value constraint}. if (defaultAtt != null) { XSType typeInfo = (XSType)fSchemaHandler.getDecl(typeNS, XSDHandler.TYPEDECL_TYPE, elementType); if (typeInfo instanceof IDDatatypeValidator || typeInfo instanceof XSComplexTypeDecl && ((XSComplexTypeDecl)typeInfo).containsTypeID()) { reportGenericSchemaError ("e-props-correct.4: If the {type definition} or {type definition}'s {content type} is or is derived from ID then there must not be a {value constraint} -- element " + nameAtt); } } // Step 6: add substitutionGroup information to the handler // REVISIT: substitutionGroup: double-direction if (subGroupIndex != -1) { //fSchemaHandler.addSubGroup(schemaDoc.fTargetNamespace, elementIndex, // subGroupNS, subGroupIndex); } return elementIndex; }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/0f2aae2c22c5dc0957f0413b6320b4c5497482e8/XSDElementTraverser.java/clean/src/org/apache/xerces/impl/v2/XSDElementTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 10080, 7604, 1046, 12, 1046, 12531, 3456, 16, 11794, 1033, 8526, 1604, 1972, 16, 11794, 1139, 55, 2519, 966, 1963, 1759, 16, 11794, 4611, 18576, 6473, 16, 11794, 1250, 353, 5160, 13, 288, 3639, 3411, 8770, 3075, 225, 273, 261, 5507, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 26756, 15533, 3639, 2144, 1203, 3075, 377, 273, 261, 4522, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 11403, 15533, 3639, 514, 225, 805, 3075, 282, 273, 261, 780, 13, 225, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 5280, 15533, 3639, 2144, 727, 3075, 377, 273, 261, 4522, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 7263, 1013, 15533, 3639, 514, 225, 5499, 3075, 377, 273, 261, 780, 13, 225, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 30406, 15533, 3639, 2144, 646, 3075, 1377, 273, 261, 4522, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 4983, 15533, 3639, 514, 225, 508, 3075, 1377, 273, 261, 780, 13, 225, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 1985, 15533, 3639, 3411, 515, 80, 429, 3075, 225, 273, 261, 5507, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 50, 15125, 2782, 15533, 3639, 16723, 282, 720, 1114, 3075, 225, 273, 261, 13688, 13, 282, 1604, 1972, 63, 60, 55, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 10080, 7604, 1046, 12, 1046, 12531, 3456, 16, 11794, 1033, 8526, 1604, 1972, 16, 11794, 1139, 55, 2519, 966, 1963, 1759, 16, 11794, 4611, 18576, 6473, 16, 11794, 1250, 353, 5160, 13, 288, 3639, 3411, 8770, 3075, 225, 273, 261, 5507, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 26756, 15533, 3639, 2144, 1203, 3075, 377, 273, 261, 4522, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 11403, 15533, 3639, 514, 225, 805, 3075, 282, 273, 261, 780, 13, 225, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 5280, 15533, 3639, 2144, 727, 3075, 377, 273, 261, 4522, 13, 1604, 1972, 63, 60, 2 ]
( this, contentHandler, response, isPortlet, haveScriptAncestor );
( this, contentHandler, response, isPortlet, scriptDepth );
public State startElement ( final String ns, final String lnam, final String qnam, final Attributes atts ) throws SAXException { final String no_urlrewrite = atts.getValue( FORMATTING_URI, NOREWRITE_ATT ); State ret = null; done : if ( "true".equals( no_urlrewrite ) ) { final State stt = new NoRewriteState ( this, contentHandler, response, isPortlet, haveScriptAncestor ); ret = stt.startElement( ns, lnam, qnam, atts ); } else if ( FORMATTING_URI.equals( ns ) && "rewrite".equals( lnam ) ) { flushCharacters(); final String typ = atts.getValue( "", "type" ); final String url = atts.getValue( "", "url" ); if ( url != null ) { final String newURL; if ( "action".equals( typ ) ) { newURL = response.rewriteActionURL( url ); } else if ( "render".equals( typ ) ) { newURL = response.rewriteRenderURL( url ); } else { newURL = response.rewriteResourceURL( url, false ); } final char[] chs = newURL.toCharArray(); contentHandler.characters( chs, 0, chs.length ); } } else { flushCharacters(); depth++; if ( "http://www.w3.org/1999/xhtml".equals( ns ) ) { ret = handleA( ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleForm( ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleArea( ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleEltWithResource( "link", HREF_ATT, ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleEltWithResource( "img", SRC_ATT, ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleInput( ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleScript( ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleEltWithResource( "td", BACKGROUND_ATT, ns, lnam, qnam, atts ); if ( ret != null ) break done; ret = handleEltWithResource( "body", BACKGROUND_ATT, ns, lnam, qnam, atts ); if ( ret != null ) break done; } ret = this; contentHandler.startElement( ns, lnam, qnam, atts ); } return ret; }
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/f2f1624fa441b872f82bafeeaf06211c19ccd097/XHTMLRewrite.java/buggy/src/java/org/orbeon/oxf/processor/converter/XHTMLRewrite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 3287, 13591, 3639, 261, 727, 514, 3153, 16, 727, 514, 7211, 301, 16, 727, 514, 1043, 17808, 16, 727, 9055, 15687, 262, 540, 1216, 14366, 288, 5411, 727, 514, 1158, 67, 718, 21489, 273, 15687, 18, 24805, 12, 10449, 56, 1360, 67, 3098, 16, 3741, 862, 11677, 67, 789, 56, 11272, 5411, 3287, 325, 273, 446, 31, 5411, 2731, 294, 309, 261, 315, 3767, 9654, 14963, 12, 1158, 67, 718, 21489, 262, 262, 288, 2398, 202, 6385, 3287, 384, 88, 273, 394, 2631, 19618, 1119, 2398, 202, 565, 261, 333, 16, 913, 1503, 16, 766, 16, 353, 18566, 16, 2728, 6148, 11272, 2398, 202, 1349, 273, 384, 88, 18, 1937, 1046, 12, 3153, 16, 7211, 301, 16, 1043, 17808, 16, 15687, 11272, 5411, 289, 469, 309, 261, 10449, 56, 1360, 67, 3098, 18, 14963, 12, 3153, 262, 597, 315, 21489, 9654, 14963, 12, 7211, 301, 262, 262, 288, 7734, 3663, 11600, 5621, 7734, 727, 514, 3815, 273, 15687, 18, 24805, 12, 23453, 315, 723, 6, 11272, 7734, 727, 514, 880, 273, 15687, 18, 24805, 12, 23453, 315, 718, 6, 11272, 7734, 309, 261, 880, 480, 446, 262, 288, 10792, 727, 514, 394, 1785, 31, 10792, 309, 261, 315, 1128, 9654, 14963, 12, 3815, 262, 262, 288, 13491, 394, 1785, 273, 766, 18, 21489, 1803, 1785, 12, 880, 11272, 10792, 289, 469, 309, 261, 315, 5902, 9654, 14963, 12, 3815, 262, 262, 288, 13491, 394, 1785, 273, 766, 18, 21489, 3420, 1785, 12, 880, 11272, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 3287, 13591, 3639, 261, 727, 514, 3153, 16, 727, 514, 7211, 301, 16, 727, 514, 1043, 17808, 16, 727, 9055, 15687, 262, 540, 1216, 14366, 288, 5411, 727, 514, 1158, 67, 718, 21489, 273, 15687, 18, 24805, 12, 10449, 56, 1360, 67, 3098, 16, 3741, 862, 11677, 67, 789, 56, 11272, 5411, 3287, 325, 273, 446, 31, 5411, 2731, 294, 309, 261, 315, 3767, 9654, 14963, 12, 1158, 67, 718, 21489, 262, 262, 288, 2398, 202, 6385, 3287, 384, 88, 273, 394, 2631, 19618, 1119, 2398, 202, 565, 261, 333, 16, 913, 1503, 16, 766, 16, 353, 18566, 16, 2728, 6148, 11272, 2398, 202, 1349, 273, 384, 88, 18, 1937, 1046, 12, 3153, 16, 7211, 301, 16, 2 ]
public void updateChildren() { Vector newChildren = new Vector(); String childList = Pooka.getProperty(getFolderProperty() + ".folderList", ""); if (childList != "") { StringTokenizer tokens = new StringTokenizer(childList, ":"); String newFolderName; for (int i = 0 ; tokens.hasMoreTokens() ; i++) { newFolderName = (String)tokens.nextToken(); FolderInfo childFolder = getChild(newFolderName); if (childFolder == null) { childFolder = new FolderInfo(this, newFolderName); newChildren.add(childFolder); } else { newChildren.add(childFolder); } } children = newChildren; if (folderNode != null) folderNode.loadChildren(); } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/6d6ba90375f9de34e58b248daf5e8c0025c1433b/FolderInfo.java/buggy/src/net/suberic/pooka/FolderInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 4212, 1435, 288, 565, 5589, 394, 4212, 273, 394, 5589, 5621, 3639, 514, 1151, 682, 273, 453, 1184, 69, 18, 588, 1396, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 1408, 1769, 565, 309, 261, 3624, 682, 480, 1408, 13, 288, 1377, 16370, 2430, 273, 394, 16370, 12, 3624, 682, 16, 6153, 1769, 5411, 514, 394, 26169, 31, 5411, 364, 261, 474, 277, 273, 374, 274, 2430, 18, 5332, 7417, 5157, 1435, 274, 277, 27245, 288, 3639, 394, 26169, 273, 261, 780, 13, 7860, 18, 4285, 1345, 5621, 3639, 12623, 966, 1151, 3899, 273, 8154, 12, 2704, 26169, 1769, 3639, 309, 261, 3624, 3899, 422, 446, 13, 288, 1850, 1151, 3899, 273, 394, 12623, 966, 12, 2211, 16, 394, 26169, 1769, 1850, 394, 4212, 18, 1289, 12, 3624, 3899, 1769, 3639, 289, 469, 288, 1850, 394, 4212, 18, 1289, 12, 3624, 3899, 1769, 3639, 289, 1377, 289, 5411, 2325, 273, 394, 4212, 31, 5411, 309, 261, 5609, 907, 480, 446, 13, 540, 3009, 907, 18, 945, 4212, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 4212, 1435, 288, 565, 5589, 394, 4212, 273, 394, 5589, 5621, 3639, 514, 1151, 682, 273, 453, 1184, 69, 18, 588, 1396, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 1408, 1769, 565, 309, 261, 3624, 682, 480, 1408, 13, 288, 1377, 16370, 2430, 273, 394, 16370, 12, 3624, 682, 16, 6153, 1769, 5411, 514, 394, 26169, 31, 5411, 364, 261, 474, 277, 273, 374, 274, 2430, 18, 5332, 7417, 5157, 1435, 274, 277, 27245, 288, 3639, 394, 26169, 273, 261, 780, 13, 7860, 18, 4285, 1345, 5621, 3639, 12623, 966, 1151, 3899, 273, 8154, 12, 2704, 26169, 1769, 3639, 309, 261, 3624, 3899, 422, 446, 13, 288, 1850, 1151, 3899, 273, 394, 2 ]
templateSelector="list";
templateSelector = "list";
private byte[] getContentList(CmsObject cms, CmsXmlWpTemplateFile template, String elementName, Hashtable parameters, String templateSelector) throws CmsException { //return var byte[] processResult = null; // session will be created or fetched I_CmsSession session = (CmsSession) cms.getRequestContext().getSession(true); //get the class of the content definition Class cdClass = getContentDefinitionClass(); templateSelector="head"; //read value of the inputfield filterparameter String filterParam = (String) parameters.get("filterparameter"); //read value of the selected filter String filterMethodName = (String) parameters.get("selectbox"); if (filterMethodName == null) filterMethodName = ""; templateSelector="list"; //init vars String tableHead = ""; String singleRow = ""; String allEntrys = ""; String entry = ""; int columns = 0; // get number of columns Vector columnsVector = new Vector(); String fieldNamesMethod = "getFieldNames"; Class paramClasses[] = {CmsObject.class}; Object params[] = {cms}; columnsVector = (Vector) getContentMethodObject(cms, cdClass, fieldNamesMethod, paramClasses, params); columns = columnsVector.size(); //create appropriate class name with underscores for labels String moduleName = ""; moduleName = (String) getClass().toString(); //get name moduleName = moduleName.substring(5); //remove 'class' substring at the beginning moduleName = moduleName.trim(); moduleName = moduleName.replace('.','_'); //replace dots with underscores //create new language file object CmsXmlLanguageFile lang = new CmsXmlLanguageFile(cms); //create tableheadline for (int i = 0; i < columns; i++) { tableHead += (template.getDataValue("tabledatabegin")) + lang.getLanguageValue(moduleName +".label." + columnsVector.elementAt(i).toString().toLowerCase()) + (template.getDataValue("tabledataend")); } //set template data for table headline content template.setData("tableheadline", tableHead); //get vector of filterMethods //& select the appropriate filter method, // if no filter is appropriate, select a default filter //& get number of rows for output Vector tableContent = new Vector(); try { Vector filterMethods = (Vector) cdClass.getMethod("getFilterMethods", new Class[] {CmsObject.class}).invoke(null, new Object[] {cms}); FilterMethod filterMethod = null; FilterMethod filterName = (FilterMethod) filterMethods.elementAt(Integer.parseInt(filterMethodName)); filterMethodName = filterName.getFilterName(); //loop trough the filter methods and set the chosen one for (int i = 0; i < filterMethods.size(); i++) { FilterMethod currentFilter = (FilterMethod) filterMethods.elementAt(i); if (currentFilter.getFilterName().equals(filterMethodName)) { filterMethod = currentFilter; break; } } // the chosen filter does not exist, use the first one! if (filterMethod == null) { filterMethod = (FilterMethod) filterMethods.firstElement(); } // now apply the filter with the cms object, the filter method and additional user parameters tableContent = (Vector) cdClass.getMethod("applyFilter", new Class[] {CmsObject.class, FilterMethod.class, String.class}).invoke(null, new Object[] {cms, filterMethod, filterParam}); } catch (InvocationTargetException ite) { //error occured while applying the filter System.err.println("Backoffice apply filter: InvocationTargetException!"); ite.getTargetException().printStackTrace(); templateSelector = "error"; template.setData("filtername", filterMethodName); template.setData("filtererror", ite.getTargetException().getMessage()); } catch (NoSuchMethodException nsm) { System.err.println("Backoffice apply filter: Requested method was not found!"); } catch (Exception e) { System.err.println("Backoffice apply filter: Other Exception!"); e.printStackTrace(); templateSelector = "error"; template.setData("filtername", filterMethodName); } //get the number of rows int rows = tableContent.size(); // get the field methods from the content definition Vector fieldMethods = new Vector(); try { fieldMethods = (Vector) cdClass.getMethod("getFieldMethods", new Class[] {CmsObject.class}).invoke(null, new Object[] {cms}); } catch (Exception exc) { System.err.println("Backoffice fieldMethods throwed an exception"); exc.printStackTrace(); } // create output from the table data String fieldEntry = ""; String id = ""; String url = ""; for (int i = 0; i < rows; i++) { //init entry = ""; singleRow = ""; Object entryObject = new Object(); entryObject = tableContent.elementAt(i);//cd object in row #i //get the url belonging to an entry try { url = (String) cdClass.getMethod("getUrl", new Class[] {}).invoke(entryObject, new Object[] {}); } catch (InvocationTargetException ite) { System.err.println("Backoffice getUrl: Catched Exception while using reflection!"); ite.getTargetException().printStackTrace(); } catch (NoSuchMethodException nsm) { System.err.println("Backoffice getUrl: Requested method was not found!"); } catch (Exception e) { System.err.println("Backoffice getUrl: Output section throwed an exception!"); e.printStackTrace(); } if (url == null) url = ""; //set data of single row for (int j = 0; j < columns; j++) { // call the field methods Method getMethod = (Method) fieldMethods.elementAt(j); try { fieldEntry = (String) getMethod.invoke(entryObject, new Object[0]); } catch (InvocationTargetException ite) { System.err.println("Backoffice table entry: Catched Exception while using reflection!"); ite.getTargetException().printStackTrace(); } catch (Exception e) { System.err.println("Backoffice table entry: Other exception!"); e.printStackTrace(); } //insert table entry if (fieldEntry != null) entry += (template.getDataValue("tabledatabegin")) + (template.getDataValue("urlbegin")) + url + (template.getDataValue("urlend")) + fieldEntry + (template.getDataValue("tabledataend")); } //get the unique id belonging to an entry try { id = (String) cdClass.getMethod("getUniqueId", new Class[] {CmsObject.class}).invoke(entryObject, new Object[] {cms}); } catch (InvocationTargetException ite) { System.err.println("Backoffice getUniqueId: Catched Exception while using reflection!"); ite.getTargetException().printStackTrace(); } catch (NoSuchMethodException nsm) { System.err.println("Backoffice getUniqueId: Requested method was not found!"); } catch (Exception e) { System.err.println("Backoffice getUniqueId: Output section throwed an exception!"); e.printStackTrace(); } //insert unique id in contextmenue if (id != null) template.setData("uniqueid", id); //set the lockstates for the actual entry setLockstates(template, cdClass, entryObject); //insert single table row in template template.setData("entry", entry); // processed row from template singleRow = template.getProcessedDataValue("singlerow", this); allEntrys += (template.getDataValue("tablerowbegin")) + singleRow + (template.getDataValue("tablerowend")); } //insert tablecontent in template template.setData("tablecontent", "" + allEntrys); //save select box value into session session.putValue("selectbox", filterMethodName); //finally start the processing processResult = startProcessing(cms, template, elementName, parameters, templateSelector); return processResult;}
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/cdbe660ff2369bbca40eb27640604aa9a452cef3/A_Backoffice.java/clean/src/com/opencms/defaults/A_Backoffice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 1160, 8526, 5154, 682, 12, 4747, 921, 6166, 16, 16084, 59, 84, 2283, 812, 1542, 16, 514, 14453, 16, 18559, 1472, 16, 514, 1542, 4320, 13, 1216, 11228, 288, 202, 759, 2463, 569, 202, 7229, 8526, 1207, 1253, 273, 446, 31, 202, 759, 1339, 903, 506, 2522, 578, 12807, 202, 45, 67, 4747, 2157, 1339, 273, 261, 4747, 2157, 13, 6166, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 202, 759, 588, 326, 667, 434, 326, 913, 2379, 202, 202, 797, 7976, 797, 273, 5154, 1852, 797, 5621, 202, 3202, 4320, 1546, 1978, 14432, 202, 759, 896, 460, 434, 326, 810, 1518, 1034, 6775, 202, 780, 1034, 786, 273, 261, 780, 13, 1472, 18, 588, 2932, 2188, 6775, 8863, 202, 759, 896, 460, 434, 326, 3170, 1034, 202, 780, 1034, 11666, 273, 261, 780, 13, 1472, 18, 588, 2932, 4025, 2147, 8863, 202, 430, 261, 2188, 11666, 422, 446, 13, 202, 202, 2188, 11666, 273, 1408, 31, 202, 3202, 4320, 1546, 1098, 14432, 202, 759, 2738, 4153, 6862, 202, 780, 1014, 1414, 273, 1408, 31, 202, 780, 2202, 1999, 273, 1408, 31, 202, 780, 777, 1622, 87, 273, 1408, 31, 202, 780, 1241, 273, 1408, 31, 202, 474, 2168, 273, 374, 31, 202, 759, 336, 1300, 434, 2168, 202, 5018, 2168, 5018, 273, 394, 5589, 5621, 202, 780, 16902, 1305, 273, 315, 588, 20393, 14432, 202, 797, 579, 4818, 8526, 273, 288, 4747, 921, 18, 1106, 20451, 202, 921, 859, 8526, 273, 288, 6851, 20451, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 1160, 8526, 5154, 682, 12, 4747, 921, 6166, 16, 16084, 59, 84, 2283, 812, 1542, 16, 514, 14453, 16, 18559, 1472, 16, 514, 1542, 4320, 13, 1216, 11228, 288, 202, 759, 2463, 569, 202, 7229, 8526, 1207, 1253, 273, 446, 31, 202, 759, 1339, 903, 506, 2522, 578, 12807, 202, 45, 67, 4747, 2157, 1339, 273, 261, 4747, 2157, 13, 6166, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 202, 759, 588, 326, 667, 434, 326, 913, 2379, 202, 202, 797, 7976, 797, 273, 5154, 1852, 797, 5621, 202, 3202, 4320, 1546, 1978, 14432, 202, 759, 896, 460, 434, 326, 810, 1518, 1034, 6775, 202, 780, 1034, 786, 273, 261, 780, 13, 1472, 18, 588, 2932, 2188, 2 ]
if (buf[offset-1]<0)
/* * No, we should allow signed numbers * if (buf[offset-1]<0)
private int intToBytes(long i, byte[] buf, int offset) { // TODO: handle negative numbers also!!!! int inoffset = offset; if (i == 0) { buf[offset++] = 0; } else { for (; i > 0 ; i = i / 256) { buf[offset] = (byte)(i % 256); offset++; } } // make the number unsigned if (buf[offset-1]<0) buf[offset++] = 0; return (offset - inoffset); }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/691653452ddba7c64cdf9b7231b5691b5c53207f/BEREncoder.java/clean/src/snmplib/BEREncoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 509, 21033, 12, 5748, 277, 16, 1160, 8526, 1681, 16, 509, 1384, 13, 288, 202, 202, 759, 2660, 30, 1640, 6092, 5600, 2546, 23045, 202, 202, 474, 316, 3348, 273, 1384, 31, 202, 202, 430, 261, 77, 422, 374, 13, 288, 1082, 202, 4385, 63, 3348, 9904, 65, 273, 374, 31, 202, 202, 97, 469, 288, 1082, 202, 1884, 261, 31, 277, 405, 374, 274, 277, 273, 277, 342, 8303, 13, 288, 9506, 202, 4385, 63, 3348, 65, 273, 261, 7229, 21433, 77, 738, 8303, 1769, 9506, 202, 3348, 9904, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 1221, 326, 1300, 9088, 202, 202, 430, 261, 4385, 63, 3348, 17, 21, 65, 32, 20, 13, 1082, 202, 4385, 63, 3348, 9904, 65, 273, 374, 31, 202, 202, 2463, 261, 3348, 300, 316, 3348, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 509, 21033, 12, 5748, 277, 16, 1160, 8526, 1681, 16, 509, 1384, 13, 288, 202, 202, 759, 2660, 30, 1640, 6092, 5600, 2546, 23045, 202, 202, 474, 316, 3348, 273, 1384, 31, 202, 202, 430, 261, 77, 422, 374, 13, 288, 1082, 202, 4385, 63, 3348, 9904, 65, 273, 374, 31, 202, 202, 97, 469, 288, 1082, 202, 1884, 261, 31, 277, 405, 374, 274, 277, 273, 277, 342, 8303, 13, 288, 9506, 202, 4385, 63, 3348, 65, 273, 261, 7229, 21433, 77, 738, 8303, 1769, 9506, 202, 3348, 9904, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 1221, 326, 1300, 9088, 202, 202, 430, 261, 4385, 63, 3348, 17, 21, 65, 32, 2 ]
setInquiryAboutYieldingPersonalDataForm(new InquiryAboutYieldingPersonalDataForm()); addForm(getInquiryAboutYieldingPersonalDataForm());
setOriginInformationForm(new OriginInformationForm()); addForm(getOriginInformationForm());
public FillPersonalDataOperation(final Set<RoleType> roleTypes, final DegreeCandidacy degreeCandidacy) { super(roleTypes, degreeCandidacy); addForm(new FillPersonalDataWelcomeForm()); setPasswordForm(PasswordForm.createFromPerson(getPerson())); addForm(getPasswordForm()); setPersonalInformationForm(PersonalInformationForm.createFromPerson(getPerson())); addForm(getPersonalInformationForm()); setFiliationForm(FiliationForm.createFromPerson(getPerson())); addForm(getFiliationForm()); setResidenceInformationForm(ResidenceInformationForm.createFromPerson(getPerson())); addForm(getResidenceInformationForm()); setContactsForm(ContactsForm.createFromPerson(getPerson())); addForm(getContactsForm()); setInquiryAboutYieldingPersonalDataForm(new InquiryAboutYieldingPersonalDataForm()); addForm(getInquiryAboutYieldingPersonalDataForm()); setOriginInformationForm(new OriginInformationForm()); addForm(getOriginInformationForm()); setResidenceApplianceInquiryForm(new ResidenceApplianceInquiryForm()); addForm(getResidenceApplianceInquiryForm()); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/61f87346f6668dbb9edc976a7eaf43274a47ca46/FillPersonalDataOperation.java/buggy/src/net/sourceforge/fenixedu/domain/candidacy/workflow/FillPersonalDataOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14192, 8346, 287, 751, 2988, 12, 6385, 1000, 32, 2996, 559, 34, 2478, 2016, 16, 727, 463, 1332, 992, 39, 3339, 3505, 10782, 39, 3339, 3505, 13, 288, 3639, 2240, 12, 4615, 2016, 16, 10782, 39, 3339, 3505, 1769, 3639, 527, 1204, 12, 2704, 14192, 8346, 287, 751, 59, 16312, 1204, 10663, 3639, 23753, 1204, 12, 3913, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 3913, 1204, 10663, 3639, 444, 8346, 287, 5369, 1204, 12, 8346, 287, 5369, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 8346, 287, 5369, 1204, 10663, 3639, 24340, 16278, 1204, 12, 42, 16278, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 42, 16278, 1204, 10663, 3639, 444, 607, 10328, 5369, 1204, 12, 607, 10328, 5369, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 607, 10328, 5369, 1204, 10663, 3639, 444, 20017, 1204, 12, 20017, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 20017, 1204, 10663, 3639, 444, 382, 372, 6913, 24813, 16348, 310, 8346, 287, 751, 1204, 12, 2704, 657, 372, 6913, 24813, 16348, 310, 8346, 287, 751, 1204, 10663, 3639, 527, 1204, 12, 588, 382, 372, 6913, 24813, 16348, 310, 8346, 287, 751, 1204, 10663, 3639, 444, 7571, 5369, 1204, 12, 2704, 18040, 5369, 1204, 10663, 3639, 527, 1204, 12, 588, 7571, 5369, 1204, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14192, 8346, 287, 751, 2988, 12, 6385, 1000, 32, 2996, 559, 34, 2478, 2016, 16, 727, 463, 1332, 992, 39, 3339, 3505, 10782, 39, 3339, 3505, 13, 288, 3639, 2240, 12, 4615, 2016, 16, 10782, 39, 3339, 3505, 1769, 3639, 527, 1204, 12, 2704, 14192, 8346, 287, 751, 59, 16312, 1204, 10663, 3639, 23753, 1204, 12, 3913, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 3913, 1204, 10663, 3639, 444, 8346, 287, 5369, 1204, 12, 8346, 287, 5369, 1204, 18, 2640, 1265, 8346, 12, 588, 8346, 1435, 10019, 3639, 527, 1204, 12, 588, 8346, 287, 5369, 1204, 10663, 3639, 24340, 16278, 1204, 12, 42, 16278, 1204, 18, 2640, 1265, 8346, 2 ]
final String commandId = readRequiredFromRegistry( configurationElement, ATTRIBUTE_ID, warningsToLog, "Commands need an id");
final String commandId = readRequired(configurationElement, ATTRIBUTE_ID, warningsToLog, "Commands need an id");
private static final void readCommandsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final ICommandService commandService) { // Undefine all the previous handle objects. final HandleObject[] handleObjects = commandService .getDefinedCommands(); if (handleObjects != null) { for (int i = 0; i < handleObjects.length; i++) { handleObjects[i].undefine(); } } final List warningsToLog = new ArrayList(1); for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement configurationElement = configurationElements[i]; // Read out the command identifier. final String commandId = readRequiredFromRegistry( configurationElement, ATTRIBUTE_ID, warningsToLog, "Commands need an id"); //$NON-NLS-1$ if (commandId == null) { continue; } // Read out the name. final String name = readRequiredFromRegistry(configurationElement, ATTRIBUTE_NAME, warningsToLog, "Commands need a name"); //$NON-NLS-1$ if (name == null) { continue; } // Read out the description. final String description = readOptionalFromRegistry( configurationElement, ATTRIBUTE_DESCRIPTION); // Read out the category id. String categoryId = configurationElement .getAttribute(ATTRIBUTE_CATEGORY_ID); if ((categoryId == null) || (categoryId.length() == 0)) { categoryId = configurationElement .getAttribute(ATTRIBUTE_CATEGORY); if ((categoryId != null) && (categoryId.length() == 0)) { categoryId = null; } } // Read out the parameters. final Parameter[] parameters = readParameters(configurationElement, warningsToLog); final Command command = commandService.getCommand(commandId); final Category category = commandService.getCategory(categoryId); if (!category.isDefined()) { addWarning( warningsToLog, "Commands should really have a category", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "categoryId", categoryId); //$NON-NLS-1$ } command.define(name, description, category, parameters); readState(configurationElement, warningsToLog, command); } // If there were any warnings, then log them now. logWarnings( warningsToLog, "Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points."); //$NON-NLS-1$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/539b29bd9f4ed0020b6fce0d726b8d740d87469d/CommandPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 9127, 1265, 4243, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 16, 1082, 202, 6385, 467, 2189, 1179, 1296, 1179, 13, 288, 202, 202, 759, 1351, 11255, 777, 326, 2416, 1640, 2184, 18, 202, 202, 6385, 5004, 921, 8526, 1640, 4710, 273, 1296, 1179, 9506, 202, 18, 588, 8116, 9127, 5621, 202, 202, 430, 261, 4110, 4710, 480, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1640, 4710, 18, 2469, 31, 277, 27245, 288, 9506, 202, 4110, 4710, 63, 77, 8009, 318, 11255, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 1664, 1046, 273, 1664, 3471, 63, 77, 15533, 1082, 202, 759, 2720, 596, 326, 1296, 2756, 18, 1082, 202, 6385, 514, 1296, 548, 273, 855, 3705, 1265, 4243, 12, 6862, 202, 7025, 1046, 16, 15941, 67, 734, 16, 5599, 774, 1343, 16, 6862, 202, 6, 9127, 1608, 392, 612, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 3076, 548, 422, 446, 13, 288, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 759, 2720, 596, 326, 508, 18, 1082, 202, 6385, 514, 508, 273, 855, 3705, 1265, 4243, 12, 7025, 1046, 16, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 9127, 1265, 4243, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 16, 1082, 202, 6385, 467, 2189, 1179, 1296, 1179, 13, 288, 202, 202, 759, 1351, 11255, 777, 326, 2416, 1640, 2184, 18, 202, 202, 6385, 5004, 921, 8526, 1640, 4710, 273, 1296, 1179, 9506, 202, 18, 588, 8116, 9127, 5621, 202, 202, 430, 261, 4110, 4710, 480, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1640, 4710, 18, 2469, 31, 277, 27245, 288, 9506, 202, 4110, 4710, 63, 77, 8009, 318, 11255, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 6385, 987, 5599, 774, 2 ]
assert( "Compare returned the wrong value i="+i+" j="+j + " result="+result, result == results[i][j] );
assert( "Compare returned the wrong value i="+i+" j="+j + " result="+result, result == results[i][j] );
private void doTestCompare( short how, int[][] results ) { // get the sample ranges Range[] ranges = buildRanges(); // Compare every pair of ranges. for( int i=0; i<ranges.length; ++i ) { for( int j=0; j<ranges.length; ++j ) { int result = ranges[i].compareBoundaryPoints( how, ranges[j] ); assert( "Compare returned the wrong value i="+i+" j="+j + " result="+result, result == results[i][j] ); } } } /** * Using all of the sample ranges from section 2.1 of the DOM * specification, compare each starting point to every other * starting point. */ public void testCompareStartToStart() { doTestCompare( Range.START_TO_START, results_START_TO_START ); }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/d3787c91dabf67f7f2f7ee5aee04c490c6f849b1/TestCompare.java/buggy/tests/dom/range/TestCompare.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 4709, 8583, 12, 3025, 3661, 16, 509, 63, 6362, 65, 1686, 262, 565, 288, 3639, 368, 336, 326, 3296, 7322, 3639, 8086, 8526, 7322, 273, 1361, 9932, 5621, 3639, 368, 11051, 3614, 3082, 434, 7322, 18, 3639, 364, 12, 509, 277, 33, 20, 31, 277, 32, 14530, 18, 2469, 31, 965, 77, 262, 3639, 288, 5411, 364, 12, 509, 525, 33, 20, 31, 525, 32, 14530, 18, 2469, 31, 965, 78, 262, 5411, 288, 7734, 509, 563, 273, 7322, 63, 77, 8009, 9877, 11941, 5636, 12, 3661, 16, 7322, 63, 78, 65, 11272, 7734, 1815, 12, 5397, 315, 8583, 2106, 326, 7194, 460, 277, 1546, 15, 77, 9078, 525, 1546, 15, 78, 397, 315, 563, 1546, 15, 2088, 16, 10792, 563, 422, 1686, 63, 77, 6362, 78, 65, 1171, 11272, 5411, 289, 3639, 289, 565, 289, 565, 1783, 377, 380, 11637, 777, 434, 326, 3296, 7322, 628, 2442, 576, 18, 21, 434, 326, 4703, 377, 380, 7490, 16, 3400, 1517, 5023, 1634, 358, 3614, 1308, 1377, 380, 5023, 1634, 18, 377, 1195, 565, 1071, 918, 1842, 8583, 1685, 28939, 1435, 565, 288, 3639, 741, 4709, 8583, 12, 8086, 18, 7570, 67, 4296, 67, 7570, 16, 1686, 67, 7570, 67, 4296, 67, 7570, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 4709, 8583, 12, 3025, 3661, 16, 509, 63, 6362, 65, 1686, 262, 565, 288, 3639, 368, 336, 326, 3296, 7322, 3639, 8086, 8526, 7322, 273, 1361, 9932, 5621, 3639, 368, 11051, 3614, 3082, 434, 7322, 18, 3639, 364, 12, 509, 277, 33, 20, 31, 277, 32, 14530, 18, 2469, 31, 965, 77, 262, 3639, 288, 5411, 364, 12, 509, 525, 33, 20, 31, 525, 32, 14530, 18, 2469, 31, 965, 78, 262, 5411, 288, 7734, 509, 563, 273, 7322, 63, 77, 8009, 9877, 11941, 5636, 12, 3661, 16, 7322, 63, 78, 65, 11272, 7734, 1815, 12, 5397, 315, 8583, 2106, 326, 7194, 460, 277, 1546, 15, 77, 9078, 525, 1546, 15, 78, 397, 315, 563, 2 ]
public static void checkElementDeclsConsistent(XSComplexTypeDecl type, XSParticleDecl particle, SymbolHash elemDeclHash, SubstitutionGroupHandler sgHandler) throws XMLSchemaException { // check for elements in the tree with the same name and namespace int pType = particle.fType; if (pType == XSParticleDecl.PARTICLE_WILDCARD) return; if (pType == XSParticleDecl.PARTICLE_ELEMENT) { XSElementDecl elem = (XSElementDecl)(particle.fValue); findElemInTable(type, elem, elemDeclHash); if (elem.fScope == XSConstants.SCOPE_GLOBAL) { // Check for subsitution groups. XSElementDecl[] subGroup = sgHandler.getSubstitutionGroup(elem); for (int i = 0; i < subGroup.length; i++) { findElemInTable(type, subGroup[i], elemDeclHash); } } return; } XSModelGroupImpl group = (XSModelGroupImpl)particle.fValue; for (int i = 0; i < group.fParticleCount; i++) checkElementDeclsConsistent(type, group.fParticles[i], elemDeclHash, sgHandler); }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/4594eb39e3df202e27e5eb360e885698b2cc2461/XSConstraints.java/buggy/src/org/apache/xerces/impl/xs/XSConstraints.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 866, 1046, 1799, 3251, 17579, 319, 12, 60, 55, 12795, 559, 3456, 618, 16, 19694, 1139, 55, 1988, 3711, 3456, 20036, 16, 19694, 8565, 2310, 3659, 3456, 2310, 16, 19694, 2592, 14278, 1114, 1503, 11150, 1503, 13, 4766, 1377, 1216, 3167, 3078, 503, 288, 4202, 368, 866, 364, 2186, 316, 326, 2151, 598, 326, 1967, 508, 471, 1981, 5375, 509, 29171, 273, 20036, 18, 74, 559, 31, 4202, 309, 261, 84, 559, 422, 1139, 55, 1988, 3711, 3456, 18, 15055, 2871, 900, 67, 59, 29067, 13, 1850, 327, 31, 4202, 309, 261, 84, 559, 422, 1139, 55, 1988, 3711, 3456, 18, 15055, 2871, 900, 67, 10976, 13, 288, 1850, 1139, 55, 1046, 3456, 3659, 273, 261, 60, 55, 1046, 3456, 21433, 2680, 3711, 18, 74, 620, 1769, 1850, 1104, 7498, 382, 1388, 12, 723, 16, 3659, 16, 3659, 3456, 2310, 1769, 1850, 309, 261, 10037, 18, 74, 3876, 422, 1139, 55, 2918, 18, 19444, 67, 20402, 13, 288, 2398, 368, 2073, 364, 11630, 305, 1421, 3252, 18, 9079, 1139, 55, 1046, 3456, 8526, 720, 1114, 273, 11150, 1503, 18, 588, 23798, 1114, 12, 10037, 1769, 2398, 364, 261, 474, 277, 273, 374, 31, 277, 411, 720, 1114, 18, 2469, 31, 277, 27245, 288, 9079, 1104, 7498, 382, 1388, 12, 723, 16, 720, 1114, 63, 77, 6487, 3659, 3456, 2310, 1769, 2868, 289, 1850, 289, 1850, 327, 31, 4202, 289, 4202, 1139, 55, 1488, 1114, 2828, 1041, 273, 261, 60, 55, 1488, 1114, 2828, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 866, 1046, 1799, 3251, 17579, 319, 12, 60, 55, 12795, 559, 3456, 618, 16, 19694, 1139, 55, 1988, 3711, 3456, 20036, 16, 19694, 8565, 2310, 3659, 3456, 2310, 16, 19694, 2592, 14278, 1114, 1503, 11150, 1503, 13, 4766, 1377, 1216, 3167, 3078, 503, 288, 4202, 368, 866, 364, 2186, 316, 326, 2151, 598, 326, 1967, 508, 471, 1981, 5375, 509, 29171, 273, 20036, 18, 74, 559, 31, 4202, 309, 261, 84, 559, 422, 1139, 55, 1988, 3711, 3456, 18, 15055, 2871, 900, 67, 59, 29067, 13, 1850, 327, 31, 4202, 309, 261, 84, 559, 422, 1139, 55, 1988, 3711, 3456, 18, 15055, 2871, 900, 67, 10976, 13, 288, 1850, 1139, 55, 1046, 3456, 3659, 273, 2 ]
return (VersionImpl) session.getNodeByUUID(v.getId());
return (Version) eventSource.getNodeByUUID(v.getId());
public Version setVersionLabel(VersionHistory history, QName version, QName label, boolean move) throws RepositoryException { SessionImpl session = (SessionImpl) history.getSession(); InternalVersionHistoryImpl vh = (InternalVersionHistoryImpl) ((VersionHistoryImpl) history).getInternalVersionHistory(); NodeImpl labelNode = ((VersionHistoryImpl) history).getNode(QName.JCR_VERSIONLABELS); try { stateMgr.edit(); } catch (IllegalStateException e) { throw new VersionException("Unable to start edit operation", e); } InternalVersion v = null; boolean success = false; try { v = vh.setVersionLabel(version, label, move); stateMgr.update(); success = true; } catch(ItemStateException e) { log.error("Error while storing: " + e.toString()); } finally { if (!success) { // update operation failed, cancel all modifications stateMgr.cancel(); } } // collect observation events List events = new ArrayList(); if (version == null && v != null) { // label removed events.add(EventState.propertyRemoved( labelNode.internalGetUUID(), labelNode.getPrimaryPath(), Path.PathElement.fromString(label.toString()), (NodeTypeImpl) labelNode.getPrimaryNodeType(), labelNode.getMixinTypeNames(), labelNode.getSession() )); } else if (v == null) { // label added events.add(EventState.propertyAdded( labelNode.internalGetUUID(), labelNode.getPrimaryPath(), Path.PathElement.fromString(label.toString()), (NodeTypeImpl) labelNode.getPrimaryNodeType(), labelNode.getMixinTypeNames(), labelNode.getSession() )); } else { // label modified events.add(EventState.propertyChanged( labelNode.internalGetUUID(), labelNode.getPrimaryPath(), Path.PathElement.fromString(label.toString()), (NodeTypeImpl) labelNode.getPrimaryNodeType(), labelNode.getMixinTypeNames(), labelNode.getSession() )); } obsMgr.dispatch(events, session); if (v == null) { return null; } else { return (VersionImpl) session.getNodeByUUID(v.getId()); } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/3e957667fd047e8ecafab58400b893e41d2e2dc2/VersionManagerImpl.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4049, 16770, 2224, 12, 1444, 5623, 4927, 16, 16723, 1177, 16, 4766, 282, 16723, 1433, 16, 1250, 3635, 13, 5411, 1216, 13367, 288, 3639, 3877, 2828, 1339, 273, 261, 2157, 2828, 13, 4927, 18, 588, 2157, 5621, 3639, 3186, 1444, 5623, 2828, 331, 76, 273, 261, 3061, 1444, 5623, 2828, 13, 7734, 14015, 1444, 5623, 2828, 13, 4927, 2934, 588, 3061, 1444, 5623, 5621, 3639, 2029, 2828, 1433, 907, 273, 14015, 1444, 5623, 2828, 13, 4927, 2934, 588, 907, 12, 13688, 18, 46, 5093, 67, 5757, 13545, 55, 1769, 3639, 775, 288, 5411, 919, 9455, 18, 4619, 5621, 3639, 289, 1044, 261, 12195, 5060, 425, 13, 288, 5411, 604, 394, 4049, 503, 2932, 3370, 358, 787, 3874, 1674, 3113, 425, 1769, 3639, 289, 3639, 3186, 1444, 331, 273, 446, 31, 3639, 1250, 2216, 273, 629, 31, 3639, 775, 288, 5411, 331, 273, 331, 76, 18, 542, 1444, 2224, 12, 1589, 16, 1433, 16, 3635, 1769, 5411, 919, 9455, 18, 2725, 5621, 5411, 2216, 273, 638, 31, 3639, 289, 1044, 12, 1180, 5060, 425, 13, 288, 5411, 613, 18, 1636, 2932, 668, 1323, 15729, 30, 315, 397, 425, 18, 10492, 10663, 3639, 289, 3095, 288, 5411, 309, 16051, 4768, 13, 288, 7734, 368, 1089, 1674, 2535, 16, 3755, 777, 17953, 7734, 919, 9455, 18, 10996, 5621, 5411, 289, 3639, 289, 3639, 368, 3274, 13853, 2641, 3639, 987, 2641, 273, 394, 2407, 5621, 3639, 309, 261, 1589, 422, 446, 597, 331, 480, 446, 13, 288, 5411, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4049, 16770, 2224, 12, 1444, 5623, 4927, 16, 16723, 1177, 16, 4766, 282, 16723, 1433, 16, 1250, 3635, 13, 5411, 1216, 13367, 288, 3639, 3877, 2828, 1339, 273, 261, 2157, 2828, 13, 4927, 18, 588, 2157, 5621, 3639, 3186, 1444, 5623, 2828, 331, 76, 273, 261, 3061, 1444, 5623, 2828, 13, 7734, 14015, 1444, 5623, 2828, 13, 4927, 2934, 588, 3061, 1444, 5623, 5621, 3639, 2029, 2828, 1433, 907, 273, 14015, 1444, 5623, 2828, 13, 4927, 2934, 588, 907, 12, 13688, 18, 46, 5093, 67, 5757, 13545, 55, 1769, 3639, 775, 288, 5411, 919, 9455, 18, 4619, 5621, 3639, 289, 1044, 261, 12195, 5060, 425, 13, 288, 5411, 604, 394, 4049, 503, 2932, 3370, 358, 787, 3874, 2 ]
Set exceptionTypes, PsiElementFactory factory){
Set<PsiType> exceptionTypes){
private static void calculateExceptionsThrownForStatement(PsiStatement statement, Set exceptionTypes, PsiElementFactory factory){ if(statement == null){ return; } if(statement instanceof PsiBreakStatement || statement instanceof PsiContinueStatement){ // don't do anything } else if(statement instanceof PsiReturnStatement){ final PsiReturnStatement returnStatement = (PsiReturnStatement) statement; final PsiExpression returnValue = returnStatement.getReturnValue(); if(returnValue != null){ calculateExceptionsThrown(returnValue, exceptionTypes, factory); } } else if(statement instanceof PsiThrowStatement){ calculateExceptionsThrownForThrowStatement((PsiThrowStatement) statement, exceptionTypes, factory); } else if(statement instanceof PsiExpressionListStatement){ final PsiExpressionListStatement listStatement = (PsiExpressionListStatement) statement; calculateExceptionsThrownForExpressionListStatement(listStatement, exceptionTypes, factory); } else if(statement instanceof PsiExpressionStatement){ final PsiExpressionStatement expStatement = (PsiExpressionStatement) statement; final PsiExpression expression = expStatement.getExpression(); calculateExceptionsThrown(expression, exceptionTypes, factory); } else if(statement instanceof PsiAssertStatement){ final PsiAssertStatement assertStatement = (PsiAssertStatement) statement; calculateExceptionsThrownForAssertStatement(assertStatement, exceptionTypes, factory); } else if(statement instanceof PsiDeclarationStatement){ final PsiDeclarationStatement declStatement = (PsiDeclarationStatement) statement; calculateExceptionsThrownForDeclarationStatemt(declStatement, exceptionTypes, factory); } else if(statement instanceof PsiForStatement){ calculateExceptionsThrownForForExpression((PsiForStatement) statement, exceptionTypes, factory); } else if(statement instanceof PsiWhileStatement){ calculateExceptionsThrownForWhileStatement((PsiWhileStatement) statement, exceptionTypes, factory); } else if(statement instanceof PsiDoWhileStatement){ calculateExceptionsThrownForDoWhileStatement((PsiDoWhileStatement) statement, exceptionTypes, factory); } else if(statement instanceof PsiSynchronizedStatement){ calculateExceptionsThrownForSynchronizedStatement((PsiSynchronizedStatement) statement, exceptionTypes, factory); } else if(statement instanceof PsiBlockStatement){ final PsiBlockStatement block = (PsiBlockStatement) statement; calculateExceptionsThrownForBlockStatement(block, exceptionTypes, factory); } else if(statement instanceof PsiLabeledStatement){ final PsiLabeledStatement labeledStatement = (PsiLabeledStatement) statement; calculateExceptionsThrownForLabeledStatement(labeledStatement, exceptionTypes, factory); } else if(statement instanceof PsiIfStatement){ final PsiIfStatement ifStatement = (PsiIfStatement) statement; calculateExceptionsThrownForIfStatement(ifStatement, exceptionTypes, factory); } else if(statement instanceof PsiTryStatement){ final PsiTryStatement tryStatement = (PsiTryStatement) statement; calculateExceptionsThrownForTryStatement(tryStatement, factory, exceptionTypes); } else if(statement instanceof PsiSwitchStatement){ final PsiSwitchStatement switchStatement = (PsiSwitchStatement) statement; calculateExceptionsThrownForSwitchStatement(switchStatement, exceptionTypes, factory); } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/3837c95856454e21e9059f3aa91174a1e2c65526/ExceptionUtils.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/exceptions/ExceptionUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4604, 11416, 29591, 1290, 3406, 12, 52, 7722, 3406, 3021, 16, 4766, 17311, 1000, 1520, 2016, 16, 4766, 17311, 453, 7722, 1046, 1733, 3272, 15329, 3639, 309, 12, 11516, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 309, 12, 11516, 1276, 453, 7722, 7634, 3406, 747, 27573, 3021, 1276, 453, 7722, 12378, 3406, 15329, 5411, 368, 2727, 1404, 741, 6967, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 990, 3406, 15329, 5411, 727, 453, 7722, 990, 3406, 327, 3406, 273, 10792, 261, 52, 7722, 990, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 7750, 273, 327, 3406, 18, 588, 19092, 5621, 5411, 309, 12, 2463, 620, 480, 446, 15329, 7734, 4604, 11416, 29591, 12, 2463, 620, 16, 1520, 2016, 16, 3272, 1769, 5411, 289, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 8282, 3406, 15329, 5411, 4604, 11416, 29591, 1290, 8282, 3406, 12443, 52, 7722, 8282, 3406, 13, 3021, 16, 4766, 15604, 1520, 2016, 16, 3272, 1769, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 2300, 682, 3406, 15329, 5411, 727, 453, 7722, 2300, 682, 3406, 666, 3406, 273, 10792, 261, 52, 7722, 2300, 682, 3406, 13, 3021, 31, 5411, 4604, 11416, 29591, 1290, 2300, 682, 3406, 12, 1098, 3406, 16, 4766, 27573, 1520, 2016, 16, 4766, 27573, 3272, 1769, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 2300, 3406, 15329, 5411, 727, 453, 7722, 2300, 3406, 1329, 3406, 273, 10792, 261, 52, 7722, 2300, 3406, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4604, 11416, 29591, 1290, 3406, 12, 52, 7722, 3406, 3021, 16, 4766, 17311, 1000, 1520, 2016, 16, 4766, 17311, 453, 7722, 1046, 1733, 3272, 15329, 3639, 309, 12, 11516, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 309, 12, 11516, 1276, 453, 7722, 7634, 3406, 747, 27573, 3021, 1276, 453, 7722, 12378, 3406, 15329, 5411, 368, 2727, 1404, 741, 6967, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 990, 3406, 15329, 5411, 727, 453, 7722, 990, 3406, 327, 3406, 273, 10792, 261, 52, 7722, 990, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 7750, 273, 327, 3406, 18, 588, 19092, 5621, 5411, 309, 12, 2463, 620, 480, 446, 15329, 7734, 4604, 11416, 2 ]
if((child & DTMManager.IDENT_DTM_DEFAULT) != docID)
if(xctxt.getDTM(child) != dtm)
public void transformSelectedNodes(TransformerImpl transformer) throws TransformerException { final XPathContext xctxt = transformer.getXPathContext(); final int sourceNode = xctxt.getCurrentNode(); DTMIterator sourceNodes = m_selectExpression.asIterator(xctxt, sourceNode); VariableStack vars = xctxt.getVarStack(); int nParams = getParamElemCount(); int thisframe = vars.getStackFrame(); try { final Vector keys = (m_sortElems == null) ? null : transformer.processSortKeys(this, sourceNode); // Sort if we need to. if (null != keys) sourceNodes = sortNodes(xctxt, keys, sourceNodes); if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireSelectedEvent(sourceNode, this, "select", new XPath(m_selectExpression), new org.apache.xpath.objects.XNodeSet(sourceNodes)); final ResultTreeHandler rth = transformer.getResultTreeHandler(); ContentHandler chandler = rth.getContentHandler(); final StylesheetRoot sroot = transformer.getStylesheet(); final TemplateList tl = sroot.getTemplateListComposed(); final boolean quiet = transformer.getQuietConflictWarnings(); xctxt.pushCurrentNode(DTM.NULL); int[] currentNodes = xctxt.getCurrentNodeStack(); int currentNodePos = xctxt.getCurrentNodeFirstFree() - 1; xctxt.pushCurrentExpressionNode(DTM.NULL); int[] currentExpressionNodes = xctxt.getCurrentExpressionNodeStack(); int currentExpressionNodePos = xctxt.getCurrentExpressionNodesFirstFree() - 1; xctxt.pushSAXLocatorNull(); xctxt.pushContextNodeList(sourceNodes); transformer.pushElemTemplateElement(null); // pushParams(transformer, xctxt); // Should be able to get this from the iterator but there must be a bug. DTM dtm = xctxt.getDTM(sourceNode); int docID = sourceNode & DTMManager.IDENT_DTM_DEFAULT; int argsFrame = -1; if(nParams > 0) { // This code will create a section on the stack that is all the // evaluated arguments. These will be copied into the real params // section of each called template. argsFrame = vars.link(nParams); vars.setStackFrame(thisframe); for (int i = 0; i < nParams; i++) { ElemWithParam ewp = m_paramElems[i]; XObject obj = ewp.getValue(transformer, sourceNode); vars.setLocalVariable(i, obj, argsFrame); } vars.setStackFrame(argsFrame); } int child; while (DTM.NULL != (child = sourceNodes.nextNode())) { currentNodes[currentNodePos] = child; currentExpressionNodes[currentExpressionNodePos] = child; if((child & DTMManager.IDENT_DTM_DEFAULT) != docID) { dtm = xctxt.getDTM(child); docID = sourceNode & DTMManager.IDENT_DTM_DEFAULT; } final int exNodeType = dtm.getExpandedTypeID(child); final int nodeType = (exNodeType >> ExpandedNameTable.ROTAMOUNT_TYPE); final QName mode = transformer.getMode(); ElemTemplate template = tl.getTemplateFast(xctxt, child, exNodeType, mode, -1, quiet, dtm); // If that didn't locate a node, fall back to a default template rule. // See http://www.w3.org/TR/xslt#built-in-rule. if (null == template) { switch (nodeType) { case DTM.DOCUMENT_FRAGMENT_NODE : case DTM.ELEMENT_NODE : template = sroot.getDefaultRule(); // %OPT% direct faster? break; case DTM.ATTRIBUTE_NODE : case DTM.CDATA_SECTION_NODE : case DTM.TEXT_NODE : // if(rth.m_elemIsPending || rth.m_docPending) // rth.flushPending(true); transformer.pushPairCurrentMatched(sroot.getDefaultTextRule(), child); transformer.setCurrentElement(sroot.getDefaultTextRule()); // dtm.dispatchCharactersEvents(child, chandler, false); dtm.dispatchCharactersEvents(child, rth, false); transformer.popCurrentMatched(); continue; case DTM.DOCUMENT_NODE : template = sroot.getDefaultRootRule(); break; default : // No default rules for processing instructions and the like. continue; } } transformer.pushPairCurrentMatched(template, child); if(template.m_frameSize > 0) { vars.link(template.m_frameSize); // You can't do the check for nParams here, otherwise the // xsl:params might not be nulled. if(/* nParams > 0 && */ template.m_inArgsSize > 0) { int paramIndex = 0; for (ElemTemplateElement elem = template.getFirstChildElem(); null != elem; elem = elem.getNextSiblingElem()) { if(Constants.ELEMNAME_PARAMVARIABLE == elem.getXSLToken()) { ElemParam ep = (ElemParam)elem; int i; for (i = 0; i < nParams; i++) { ElemWithParam ewp = m_paramElems[i]; if(ewp.m_qnameID == ep.m_qnameID) { XObject obj = vars.getLocalVariable(i, argsFrame); vars.setLocalVariable(paramIndex, obj); break; } } if(i == nParams) vars.setLocalVariable(paramIndex, null); } else break; paramIndex++; } } } // if (check) // guard.push(this, child); // Fire a trace event for the template. if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEvent(template); // And execute the child templates. // Loop through the children of the template, calling execute on // each of them. for (ElemTemplateElement t = template.m_firstChild; t != null; t = t.m_nextSibling) { xctxt.setSAXLocator(t); transformer.setCurrentElement(t); t.execute(transformer); } if(template.m_frameSize > 0) vars.unlink(); transformer.popCurrentMatched(); } // end while (DTM.NULL != (child = sourceNodes.nextNode())) } catch (SAXException se) { transformer.getErrorListener().fatalError(new TransformerException(se)); } finally { if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireSelectedEndEvent(sourceNode, this, "select", new XPath(m_selectExpression), new org.apache.xpath.objects.XNodeSet(sourceNodes)); // Unlink to the original stack frame if(nParams > 0) vars.unlink(thisframe); xctxt.popSAXLocator(); xctxt.popContextNodeList(); transformer.popElemTemplateElement(); xctxt.popCurrentExpressionNode(); xctxt.popCurrentNode(); sourceNodes.detach(); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2d102c245a54c9167bd2255d2b93ba5f3b7667e8/ElemApplyTemplates.java/buggy/src/org/apache/xalan/templates/ElemApplyTemplates.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2510, 7416, 3205, 12, 8319, 2828, 8360, 13, 5411, 1216, 21684, 225, 288, 565, 727, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 565, 727, 509, 26799, 273, 25465, 18, 588, 3935, 907, 5621, 565, 19854, 3198, 1084, 3205, 273, 312, 67, 4025, 2300, 18, 345, 3198, 12, 92, 20364, 16, 26799, 1769, 565, 7110, 2624, 4153, 273, 25465, 18, 588, 1537, 2624, 5621, 565, 509, 290, 1370, 273, 9027, 7498, 1380, 5621, 565, 509, 333, 3789, 273, 4153, 18, 588, 2624, 3219, 5621, 1850, 775, 565, 288, 1377, 727, 5589, 1311, 273, 261, 81, 67, 3804, 23207, 422, 446, 13, 12900, 692, 446, 12900, 294, 8360, 18, 2567, 4416, 2396, 12, 2211, 16, 26799, 1769, 1377, 368, 5928, 309, 732, 1608, 358, 18, 1377, 309, 261, 2011, 480, 1311, 13, 3639, 1084, 3205, 273, 1524, 3205, 12, 92, 20364, 16, 1311, 16, 1084, 3205, 1769, 1377, 309, 261, 8319, 2828, 18, 55, 67, 9394, 13, 3639, 8360, 18, 588, 3448, 1318, 7675, 12179, 7416, 1133, 12, 3168, 907, 16, 333, 16, 7734, 315, 4025, 3113, 394, 10172, 12, 81, 67, 4025, 2300, 3631, 7734, 394, 2358, 18, 19211, 18, 18644, 18, 6911, 18, 60, 907, 694, 12, 3168, 3205, 10019, 1377, 727, 3438, 2471, 1503, 436, 451, 273, 8360, 18, 588, 1253, 2471, 1503, 5621, 1377, 3697, 1503, 462, 464, 749, 273, 436, 451, 18, 588, 1350, 1503, 5621, 1377, 727, 29483, 2963, 2375, 272, 3085, 273, 8360, 18, 588, 24656, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2510, 7416, 3205, 12, 8319, 2828, 8360, 13, 5411, 1216, 21684, 225, 288, 565, 727, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 565, 727, 509, 26799, 273, 25465, 18, 588, 3935, 907, 5621, 565, 19854, 3198, 1084, 3205, 273, 312, 67, 4025, 2300, 18, 345, 3198, 12, 92, 20364, 16, 26799, 1769, 565, 7110, 2624, 4153, 273, 25465, 18, 588, 1537, 2624, 5621, 565, 509, 290, 1370, 273, 9027, 7498, 1380, 5621, 565, 509, 333, 3789, 273, 4153, 18, 588, 2624, 3219, 5621, 1850, 775, 565, 288, 1377, 727, 5589, 1311, 273, 261, 81, 67, 3804, 23207, 422, 446, 13, 12900, 692, 446, 12900, 294, 8360, 18, 2567, 4416, 2396, 12, 2211, 16, 2 ]
public void visitCHECKCAST(CHECKCAST obj) { consumeStack(obj); pushValue(obj.getType(getCPG())); }
public void visitCHECKCAST(CHECKCAST obj) { consumeStack(obj); pushValue(obj.getType(getCPG())); }
public void visitCHECKCAST(CHECKCAST obj) { consumeStack(obj); pushValue(obj.getType(getCPG())); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/TypeFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 10687, 21871, 12, 10687, 21871, 1081, 13, 202, 202, 95, 7865, 2624, 12, 2603, 1769, 1817, 620, 12, 2603, 18, 588, 559, 12, 588, 4258, 43, 1435, 10019, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 10687, 21871, 12, 10687, 21871, 1081, 13, 202, 202, 95, 7865, 2624, 12, 2603, 1769, 1817, 620, 12, 2603, 18, 588, 559, 12, 588, 4258, 43, 1435, 10019, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (column != 0) { downloadVisibilities[column] = visible; } }
if (column != 0) { downloadVisibilities[column] = visible; } }
public void setDownloadColumnVisible(int column, boolean visible) { if (column != 0) { downloadVisibilities[column] = visible; } }
13641 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13641/9d4c0ac400318b3124b7dce0e66530a9f461e59b/PropertiesManager.java/clean/AJClientGUI/src/de/applejuicenet/client/gui/controller/PropertiesManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 7109, 1494, 6207, 12, 474, 1057, 16, 1250, 6021, 13, 288, 3639, 309, 261, 2827, 480, 374, 13, 288, 5411, 4224, 3282, 495, 5076, 63, 2827, 65, 273, 6021, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 7109, 1494, 6207, 12, 474, 1057, 16, 1250, 6021, 13, 288, 3639, 309, 261, 2827, 480, 374, 13, 288, 5411, 4224, 3282, 495, 5076, 63, 2827, 65, 273, 6021, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
i4msg.setSessionFlags((short) (add ? i4msg.sflags | i4flag.mBitmask : i4msg.sflags & ~i4flag.mBitmask));
i4msg.setSessionFlags((short) (add ? i4msg.sflags | i4flag.mBitmask : i4msg.sflags & ~i4flag.mBitmask), i4folder);
boolean doSTORE(String tag, String sequenceSet, List<String> flagNames, byte operation, boolean silent, boolean byUID) throws IOException { if (!checkState(tag, ImapSession.STATE_SELECTED)) return CONTINUE_PROCESSING; else if (!mSession.getFolder().isWritable()) { sendNO(tag, "mailbox selected READ-ONLY"); return CONTINUE_PROCESSING; } String command = (byUID ? "UID STORE" : "STORE"); List<Tag> newTags = (operation != STORE_REMOVE ? new ArrayList<Tag>() : null); Set<ImapMessage> i4set; synchronized (mMailbox) { i4set = mSession.getFolder().getSubsequence(sequenceSet, byUID); } boolean allPresent = byUID || !i4set.contains(null); i4set.remove(null); try { // get set of relevant tags List<ImapFlag> i4flags; synchronized (mMailbox) { i4flags = findOrCreateTags(flagNames, newTags); } // if we're doing a STORE FLAGS (i.e. replace), precompute the new set of flags for all the affected messages long tags = 0; int flags = Flag.BITMASK_UNREAD; short sflags = 0; if (operation == STORE_REPLACE) { for (ImapFlag i4flag : i4flags) { if (Tag.validateId(i4flag.mId)) tags = (i4flag.mPositive ? tags | i4flag.mBitmask : tags & ~i4flag.mBitmask); else if (!i4flag.mPermanent) sflags = (byte) (i4flag.mPositive ? sflags | i4flag.mBitmask : sflags & ~i4flag.mBitmask); else flags = (int) (i4flag.mPositive ? flags | i4flag.mBitmask : flags & ~i4flag.mBitmask); } } long checkpoint = System.currentTimeMillis(); int i = 0; List<ImapMessage> i4list = new ArrayList<ImapMessage>(AlterTagOperation.SUGGESTED_BATCH_SIZE); List<Integer> idlist = new ArrayList<Integer>(AlterTagOperation.SUGGESTED_BATCH_SIZE); for (ImapMessage msg : i4set) { // we're sending 'em off in batches of 100 i4list.add(msg); idlist.add(msg.msgId); if (++i % AlterTagOperation.SUGGESTED_BATCH_SIZE != 0 && i != i4set.size()) continue; try { // if it was a STORE [+-]?FLAGS.SILENT, temporarily disable notifications if (silent) mSession.getFolder().disableNotifications(); if (operation == STORE_REPLACE) { // replace real tags and flags on all messages new SetTagsOperation(mSession, getContext(), mMailbox, Requester.IMAP, idlist, MailItem.TYPE_UNKNOWN, flags, tags, null).schedule(); // replace session tags on all messages for (ImapMessage i4msg : i4list) i4msg.setSessionFlags(sflags); } else if (!i4flags.isEmpty()) { for (ImapFlag i4flag : i4flags) { boolean add = operation == STORE_ADD ^ !i4flag.mPositive; if (i4flag.mPermanent) { // real tag; do a batch update to the DB new AlterTagOperation(mSession, getContext(), mMailbox, Requester.IMAP, idlist, MailItem.TYPE_UNKNOWN, i4flag.mId, add, null).schedule(); } else { // session tag; update one-by-one in memory only for (ImapMessage i4msg : i4list) i4msg.setSessionFlags((short) (add ? i4msg.sflags | i4flag.mBitmask : i4msg.sflags & ~i4flag.mBitmask)); } } } } finally { // if it was a STORE [+-]?FLAGS.SILENT, reenable notifications mSession.getFolder().enableNotifications(); } if (!silent) { for (ImapMessage i4msg : i4list) { mSession.getFolder().undirtyMessage(i4msg); StringBuilder ntfn = new StringBuilder(); ntfn.append(i4msg.sequence).append(" FETCH (").append(i4msg.getFlags(mSession)); // 6.4.8: "However, server implementations MUST implicitly include // the UID message data item as part of any FETCH response // caused by a UID command..." if (byUID) ntfn.append(" UID ").append(i4msg.imapUid); sendUntagged(ntfn.append(')').toString()); } } else { // send a gratuitous untagged response to keep pissy clients from closing the socket from inactivity long now = System.currentTimeMillis(); if (now - checkpoint > MAXIMUM_IDLE_PROCESSING_MILLIS) { sendIdleUntagged(); checkpoint = now; } } } } catch (ServiceException e) { deleteTags(newTags); ZimbraLog.imap.warn(command + " failed", e); sendNO(tag, command + " failed"); return canContinue(e); } // RFC 2180 4.2.1: "If the ".SILENT" suffix is used, and the STORE completed successfully for // all the non-expunged messages, the server SHOULD return a tagged OK." // RFC 2180 4.2.3: "If the ".SILENT" suffix is not used, and a mixture of expunged and non- // expunged messages are referenced, the server MAY set the flags and return // a FETCH response for the non-expunged messages along with a tagged NO." if (silent || allPresent) sendOK(tag, command + " completed"); else sendNO(tag, command + " completed"); return CONTINUE_PROCESSING; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/850f66dfd6c92a9a888f9b12bbfb0a9a2081edb1/OzImapConnectionHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/OzImapConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 741, 13651, 12, 780, 1047, 16, 514, 3102, 694, 16, 987, 32, 780, 34, 2982, 1557, 16, 1160, 1674, 16, 1250, 10404, 16, 1250, 635, 3060, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 469, 309, 16051, 81, 2157, 18, 588, 3899, 7675, 291, 12061, 10756, 288, 5411, 1366, 3417, 12, 2692, 16, 315, 4408, 2147, 3170, 10746, 17, 10857, 8863, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 289, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 29656, 6, 294, 315, 13651, 8863, 3639, 987, 32, 1805, 34, 394, 3453, 273, 261, 7624, 480, 29656, 67, 22122, 692, 394, 2407, 32, 1805, 34, 1435, 294, 446, 1769, 3639, 1000, 32, 20827, 1079, 34, 277, 24, 542, 31, 3639, 3852, 261, 81, 30239, 13, 288, 5411, 277, 24, 542, 273, 312, 2157, 18, 588, 3899, 7675, 588, 1676, 6178, 12, 6178, 694, 16, 635, 3060, 1769, 3639, 289, 3639, 1250, 777, 6351, 273, 635, 3060, 747, 401, 77, 24, 542, 18, 12298, 12, 2011, 1769, 3639, 277, 24, 542, 18, 4479, 12, 2011, 1769, 3639, 775, 288, 5411, 368, 336, 444, 434, 9368, 2342, 5411, 987, 32, 20827, 4678, 34, 277, 24, 7133, 31, 5411, 3852, 261, 81, 30239, 13, 288, 7734, 277, 24, 7133, 273, 1104, 17717, 3453, 12, 6420, 1557, 16, 394, 3453, 1769, 5411, 289, 5411, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 741, 13651, 12, 780, 1047, 16, 514, 3102, 694, 16, 987, 32, 780, 34, 2982, 1557, 16, 1160, 1674, 16, 1250, 10404, 16, 1250, 635, 3060, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 469, 309, 16051, 81, 2157, 18, 588, 3899, 7675, 291, 12061, 10756, 288, 5411, 1366, 3417, 12, 2692, 16, 315, 4408, 2147, 3170, 10746, 17, 10857, 8863, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 289, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 29656, 6, 294, 315, 13651, 8863, 3639, 987, 32, 1805, 34, 394, 3453, 273, 2 ]
public static boolean methodAlwaysThrowsException(@NotNull PsiMethod method){
public static boolean methodAlwaysThrowsException( @NotNull PsiMethod method){
public static boolean methodAlwaysThrowsException(@NotNull PsiMethod method){ final PsiCodeBlock body = method.getBody(); final ReturnFinder returnFinder = new ReturnFinder(); body.accept(returnFinder); if(returnFinder.returnFound()){ return false; } return !codeBlockMayCompleteNormally(body); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/b54c8091338ae57ef7018b62fb0717085d77cda8/ControlFlowUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ControlFlowUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 707, 18806, 21845, 503, 12, 632, 5962, 453, 7722, 1305, 707, 15329, 3639, 727, 453, 7722, 1085, 1768, 1417, 273, 707, 18, 588, 2250, 5621, 3639, 727, 2000, 8441, 327, 8441, 273, 394, 2000, 8441, 5621, 3639, 1417, 18, 9436, 12, 2463, 8441, 1769, 3639, 309, 12, 2463, 8441, 18, 2463, 2043, 10756, 95, 5411, 327, 629, 31, 3639, 289, 3639, 327, 401, 710, 1768, 49, 528, 6322, 14624, 1230, 12, 3432, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 707, 18806, 21845, 503, 12, 632, 5962, 453, 7722, 1305, 707, 15329, 3639, 727, 453, 7722, 1085, 1768, 1417, 273, 707, 18, 588, 2250, 5621, 3639, 727, 2000, 8441, 327, 8441, 273, 394, 2000, 8441, 5621, 3639, 1417, 18, 9436, 12, 2463, 8441, 1769, 3639, 309, 12, 2463, 8441, 18, 2463, 2043, 10756, 95, 5411, 327, 629, 31, 3639, 289, 3639, 327, 401, 710, 1768, 49, 528, 6322, 14624, 1230, 12, 3432, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
float inc = (float)(360 /( 4* aminosize));
float inc = (float)(360 /( 4));
private void drawHelixSegment(Segment segment, int drawHeight,Graphics g, int aminosize,int fullwidth,int y,int chainlength, float scale){ logger.finest("drawHelixSegment"); Graphics2D g2D =(Graphics2D) g; int start = segment.getStart() -1 ; int end = segment.getEnd() -1 ; int xstart = java.lang.Math.round(start * scale) + DEFAULT_X_START; int width = java.lang.Math.round( end * scale) - xstart + DEFAULT_X_START+aminosize ; // draw a sinus - double helix ... float ang = 0.0f; // do one helix / 4 amino acids ... float inc = (float)(360 /( 4* aminosize)); logger.finest("increase " + inc); double RAD = 3.1415926535 / 180.0 ; int oldy1 = y+DEFAULT_Y_HEIGHT; int oldy2 = y+DEFAULT_Y_HEIGHT; g2D.setColor(Color.red); for ( int i =xstart ; i<= (xstart+width); i++ ){ ang += inc; if ( ang > 360) ang = 0; float ypos = (float) (Math.cos(ang) ) + 1; //System.out.println("ypos helix " + ypos); float ypos2 = (float) (Math.sin(ang) +1); int currentY = y ; int currentY2 = y ; if ( ypos != 0) currentY = y+ Math.round(DEFAULT_Y_HEIGHT / 2 * ypos) -1; if ( ypos2 != 0) currentY2 = y+ Math.round(DEFAULT_Y_HEIGHT / 2 * ypos2)-1; //System.out.println("i " + i + "inc " + inc + " ang " + ang + " ypos helix " + currentY ); g2D.drawLine(i,oldy1,i,currentY); //g2D.setColor(Color.red); //g2D.drawLine(i,oldy2,i,currentY2); g2D.drawLine(i,currentY,i,currentY2); oldy1= currentY; oldy2 = currentY2; } }
52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/53169135aa1ddeee1bf5e0e134dc5bad9d9e7897/FeaturePanel.java/buggy/src/org/biojava/spice/Panel/seqfeat/FeaturePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3724, 44, 26342, 4131, 12, 4131, 3267, 16, 509, 3724, 2686, 16, 17558, 314, 16, 509, 279, 1154, 538, 554, 16, 474, 1983, 2819, 16, 474, 677, 16, 474, 2687, 2469, 16, 1431, 3159, 15329, 3639, 1194, 18, 926, 395, 2932, 9446, 44, 26342, 4131, 8863, 3639, 16830, 22, 40, 314, 22, 40, 273, 12, 17558, 22, 40, 13, 314, 31, 3639, 509, 787, 377, 273, 3267, 18, 588, 1685, 1435, 300, 21, 274, 3639, 509, 679, 4202, 273, 3267, 18, 588, 1638, 1435, 282, 300, 21, 274, 7734, 509, 619, 1937, 273, 225, 2252, 18, 4936, 18, 10477, 18, 2260, 12, 1937, 380, 3159, 13, 397, 3331, 67, 60, 67, 7570, 31, 3639, 509, 1835, 282, 273, 2252, 18, 4936, 18, 10477, 18, 2260, 12, 225, 679, 380, 3159, 13, 300, 619, 1937, 397, 225, 3331, 67, 60, 67, 7570, 15, 301, 267, 538, 554, 274, 13491, 368, 3724, 279, 5367, 407, 300, 1645, 13150, 697, 1372, 3639, 1431, 7603, 273, 374, 18, 20, 74, 31, 7734, 368, 741, 1245, 13150, 697, 342, 1059, 26117, 1721, 2232, 1372, 3639, 1431, 7290, 273, 261, 5659, 21433, 29751, 342, 12, 1059, 10019, 540, 1194, 18, 926, 395, 2932, 267, 11908, 315, 397, 7290, 1769, 3639, 1645, 534, 1880, 273, 890, 18, 3461, 24872, 30281, 4763, 342, 9259, 18, 20, 274, 3639, 509, 1592, 93, 21, 273, 677, 15, 5280, 67, 61, 67, 14595, 31, 3639, 509, 1592, 93, 22, 273, 677, 15, 5280, 67, 61, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3724, 44, 26342, 4131, 12, 4131, 3267, 16, 509, 3724, 2686, 16, 17558, 314, 16, 509, 279, 1154, 538, 554, 16, 474, 1983, 2819, 16, 474, 677, 16, 474, 2687, 2469, 16, 1431, 3159, 15329, 3639, 1194, 18, 926, 395, 2932, 9446, 44, 26342, 4131, 8863, 3639, 16830, 22, 40, 314, 22, 40, 273, 12, 17558, 22, 40, 13, 314, 31, 3639, 509, 787, 377, 273, 3267, 18, 588, 1685, 1435, 300, 21, 274, 3639, 509, 679, 4202, 273, 3267, 18, 588, 1638, 1435, 282, 300, 21, 274, 7734, 509, 619, 1937, 273, 225, 2252, 18, 4936, 18, 10477, 18, 2260, 12, 1937, 380, 3159, 13, 397, 3331, 67, 60, 67, 7570, 31, 3639, 509, 1835, 2 ]
if (curChild.uri == fChildren[inIndex].uri && curChild.localpart == fChildren[inIndex].localpart) break;
int type = fChildrenType[inIndex]; if (type == XMLContentSpec.CONTENTSPECNODE_LEAF) { if (curChild.uri == fChildren[inIndex].uri && curChild.localpart == fChildren[inIndex].localpart) break; } else if (type == XMLContentSpec.CONTENTSPECNODE_ANY) { int uri = fChildren[inIndex].uri; if (uri == -1 || uri == children[outIndex].uri) { break; } } else if (type == XMLContentSpec.CONTENTSPECNODE_ANY_LOCAL) { if (children[outIndex].uri == -1) { break; } } else if (type == XMLContentSpec.CONTENTSPECNODE_ANY_OTHER) { if (fChildren[inIndex].uri != children[outIndex].uri) { break; } }
public int validateContent(QName children[], int offset, int length) throws Exception { // must match order if (fOrdered) { int inIndex = 0; for (int outIndex = 0; outIndex < length; outIndex++) { // ignore mixed text final QName curChild = children[offset + outIndex]; if (curChild.localpart == -1) { continue; } // element must match if (fChildren[inIndex].uri != children[offset + outIndex].uri && fChildren[inIndex].localpart != children[offset + outIndex].localpart) { return outIndex; } // advance index inIndex++; } } // can appear in any order else { for (int outIndex = 0; outIndex < length; outIndex++) { // Get the current child out of the source index final QName curChild = children[offset + outIndex]; // If its PCDATA, then we just accept that if (curChild.localpart == -1) continue; // And try to find it in our list int inIndex = 0; for (; inIndex < fCount; inIndex++) { if (curChild.uri == fChildren[inIndex].uri && curChild.localpart == fChildren[inIndex].localpart) break; } // We did not find this one, so the validation failed if (inIndex == fCount) return outIndex; } } // Everything seems to be in order, so return success return -1; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/3a89cc8ad7cb3bf9ab90d0fb1aa1fc568f92b001/MixedContentModel.java/clean/src/org/apache/xerces/validators/common/MixedContentModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1954, 1350, 12, 13688, 2325, 63, 6487, 509, 1384, 16, 509, 769, 13, 540, 1216, 1185, 288, 7734, 368, 1297, 845, 1353, 3639, 309, 261, 74, 16756, 13, 288, 5411, 509, 316, 1016, 273, 374, 31, 5411, 364, 261, 474, 596, 1016, 273, 374, 31, 596, 1016, 411, 769, 31, 596, 1016, 27245, 288, 7734, 368, 2305, 7826, 977, 7734, 727, 16723, 662, 1763, 273, 2325, 63, 3348, 397, 596, 1016, 15533, 7734, 309, 261, 1397, 1763, 18, 3729, 2680, 422, 300, 21, 13, 288, 10792, 1324, 31, 7734, 289, 7734, 368, 930, 1297, 845, 7734, 309, 261, 74, 4212, 63, 267, 1016, 8009, 1650, 480, 2325, 63, 3348, 397, 596, 1016, 8009, 1650, 597, 10792, 284, 4212, 63, 267, 1016, 8009, 3729, 2680, 480, 2325, 63, 3348, 397, 596, 1016, 8009, 3729, 2680, 13, 288, 10792, 327, 596, 1016, 31, 7734, 289, 27573, 368, 8312, 770, 7734, 316, 1016, 9904, 31, 5411, 289, 3639, 289, 3639, 368, 848, 9788, 316, 1281, 1353, 3639, 469, 288, 5411, 364, 261, 474, 596, 1016, 273, 374, 31, 596, 1016, 411, 769, 31, 596, 1016, 27245, 5411, 288, 7734, 368, 968, 326, 783, 1151, 596, 434, 326, 1084, 770, 7734, 727, 16723, 662, 1763, 273, 2325, 63, 3348, 397, 596, 1016, 15533, 10792, 368, 971, 2097, 453, 18375, 16, 1508, 732, 2537, 2791, 716, 7734, 309, 261, 1397, 1763, 18, 3729, 2680, 422, 300, 21, 13, 10792, 1324, 31, 10792, 368, 7835, 775, 358, 1104, 518, 316, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1954, 1350, 12, 13688, 2325, 63, 6487, 509, 1384, 16, 509, 769, 13, 540, 1216, 1185, 288, 7734, 368, 1297, 845, 1353, 3639, 309, 261, 74, 16756, 13, 288, 5411, 509, 316, 1016, 273, 374, 31, 5411, 364, 261, 474, 596, 1016, 273, 374, 31, 596, 1016, 411, 769, 31, 596, 1016, 27245, 288, 7734, 368, 2305, 7826, 977, 7734, 727, 16723, 662, 1763, 273, 2325, 63, 3348, 397, 596, 1016, 15533, 7734, 309, 261, 1397, 1763, 18, 3729, 2680, 422, 300, 21, 13, 288, 10792, 1324, 31, 7734, 289, 7734, 368, 930, 1297, 845, 7734, 309, 261, 74, 4212, 63, 267, 1016, 8009, 1650, 480, 2325, 63, 3348, 397, 596, 1016, 8009, 1650, 597, 10792, 2 ]
log.error("#" + seqno + ": " + this + ": (" + "entry is more than " +
System.err.println("#" + seqno + ": " + this + ": (" + "entry is more than " +
boolean isCorrect() { long t; long expected; long diff, delta; boolean off=false; t=first_xmit - start_time; expected=xmit_timeouts[0]; diff=Math.abs(expected - t); delta=(long)(expected * PERCENTAGE_OFF); if(diff >= delta) off=true; t=second_xmit - first_xmit; expected=xmit_timeouts[1]; diff=Math.abs(expected - t); delta=(long)(expected * PERCENTAGE_OFF); if(diff >= delta) off=true; t=third_xmit - second_xmit; expected=xmit_timeouts[2]; diff=Math.abs(expected - t); delta=(long)(expected * PERCENTAGE_OFF); if(diff >= delta) off=true; t=fourth_xmit - third_xmit; expected=xmit_timeouts[3]; diff=Math.abs(expected - t); delta=(long)(expected * PERCENTAGE_OFF); if(diff >= delta) off=true; if(off) { log.error("#" + seqno + ": " + this + ": (" + "entry is more than " + PERCENTAGE_OFF + " percentage off "); return false; } return true; }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TimerTest.java/clean/tests/junit/org/jgroups/tests/TimerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6494, 353, 16147, 1435, 288, 202, 565, 1525, 565, 268, 31, 202, 565, 1525, 565, 2665, 31, 202, 565, 1525, 565, 3122, 16, 3622, 31, 202, 565, 1250, 3397, 33, 5743, 31, 202, 565, 268, 33, 3645, 67, 92, 1938, 300, 787, 67, 957, 31, 202, 565, 2665, 33, 92, 1938, 67, 4538, 87, 63, 20, 15533, 202, 565, 3122, 33, 10477, 18, 5113, 12, 3825, 300, 268, 1769, 202, 565, 3622, 28657, 5748, 21433, 3825, 380, 10950, 19666, 2833, 67, 8797, 1769, 202, 565, 309, 12, 5413, 1545, 3622, 13, 3397, 33, 3767, 31, 202, 565, 268, 33, 8538, 67, 92, 1938, 300, 1122, 67, 92, 1938, 31, 202, 565, 2665, 33, 92, 1938, 67, 4538, 87, 63, 21, 15533, 202, 565, 3122, 33, 10477, 18, 5113, 12, 3825, 300, 268, 1769, 202, 565, 3622, 28657, 5748, 21433, 3825, 380, 10950, 19666, 2833, 67, 8797, 1769, 202, 565, 309, 12, 5413, 1545, 3622, 13, 3397, 33, 3767, 31, 202, 565, 268, 33, 451, 6909, 67, 92, 1938, 300, 2205, 67, 92, 1938, 31, 202, 565, 2665, 33, 92, 1938, 67, 4538, 87, 63, 22, 15533, 202, 565, 3122, 33, 10477, 18, 5113, 12, 3825, 300, 268, 1769, 202, 565, 3622, 28657, 5748, 21433, 3825, 380, 10950, 19666, 2833, 67, 8797, 1769, 202, 565, 309, 12, 5413, 1545, 3622, 13, 3397, 33, 3767, 31, 202, 565, 268, 33, 74, 477, 451, 67, 92, 1938, 300, 12126, 67, 92, 1938, 31, 202, 565, 2665, 33, 92, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6494, 353, 16147, 1435, 288, 202, 565, 1525, 565, 268, 31, 202, 565, 1525, 565, 2665, 31, 202, 565, 1525, 565, 3122, 16, 3622, 31, 202, 565, 1250, 3397, 33, 5743, 31, 202, 565, 268, 33, 3645, 67, 92, 1938, 300, 787, 67, 957, 31, 202, 565, 2665, 33, 92, 1938, 67, 4538, 87, 63, 20, 15533, 202, 565, 3122, 33, 10477, 18, 5113, 12, 3825, 300, 268, 1769, 202, 565, 3622, 28657, 5748, 21433, 3825, 380, 10950, 19666, 2833, 67, 8797, 1769, 202, 565, 309, 12, 5413, 1545, 3622, 13, 3397, 33, 3767, 31, 202, 565, 268, 33, 8538, 67, 92, 1938, 300, 1122, 67, 92, 1938, 31, 202, 565, 2665, 33, 92, 1938, 67, 4538, 2 ]
break _loop163;
break _loop271;
public final void mNCNAME(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NCNAME; int _saveIndex; mNMSTART(false); { _loop163: do { if ((_tokenSet_0.member(LA(1)))) { mNMCHAR(false); } else { break _loop163; } } while (true); } _ttype = testLiteralsTable(_ttype); if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/XPathLexer2.java/clean/src/org/exist/parser/XPathLexer2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 10346, 1985, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 423, 39, 1985, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 81, 50, 49, 7570, 12, 5743, 1769, 202, 202, 95, 202, 202, 67, 6498, 30886, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 20, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 81, 50, 49, 7305, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 8820, 389, 6498, 30886, 31, 1082, 202, 97, 6862, 202, 97, 1323, 261, 3767, 1769, 202, 202, 97, 202, 202, 67, 88, 723, 273, 1842, 48, 11235, 1388, 24899, 88, 723, 1769, 202, 202, 430, 261, 389, 2640, 1345, 597, 389, 2316, 631, 2011, 597, 389, 88, 723, 5, 33, 1345, 18, 22589, 262, 288, 1082, 202, 67, 2316, 273, 1221, 1345, 24899, 88, 723, 1769, 1082, 202, 67, 2316, 18, 542, 1528, 12, 2704, 514, 12, 955, 18, 588, 1892, 9334, 389, 10086, 16, 977, 18, 2469, 1435, 17, 67, 10086, 10019, 202, 202, 97, 202, 202, 67, 2463, 1345, 273, 389, 2316, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 10346, 1985, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 423, 39, 1985, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 81, 50, 49, 7570, 12, 5743, 1769, 202, 202, 95, 202, 202, 67, 6498, 30886, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 20, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 81, 50, 49, 7305, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 2 ]
if (ruby_class == null) {
if (ruby.getRubyClass() == null) {
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { if (node == null) { return getRuby().getNil(); } switch (node.nd_type()) { case NODE_BLOCK: while (node.nd_next() != null) { eval(self, node.nd_head()); node = node.nd_next(); } node = node.nd_head(); break; case NODE_POSTEXE: // rb_f_END(); node.nd_set_type(NODE_NIL); /* exec just once */ return getRuby().getNil(); /* begin .. end without clauses */ case NODE_BEGIN: node = node.nd_body(); break; /* nodes for speed-up(default match) */ case NODE_MATCH: //return rom.rb_reg_match2(node.nd_head().nd_lit()); return getRuby().getNil(); /* nodes for speed-up(literal match) */ case NODE_MATCH2: //return rom.rb_reg_match(eval(node.nd_recv()), eval(node.nd_value())); return getRuby().getNil(); /* nodes for speed-up(literal match) */ case NODE_MATCH3: //VALUE r = eval(node.nd_recv()); //VALUE l = eval(node.nd_value()); //if (r instanceof RubyString) { // return rom.rb_reg_match(l, r); //} else { // return rom.rb_funcall(r, match, 1, l); //} return getRuby().getNil(); /* node for speed-up(top-level loop for -n/-p) */ case NODE_OPT_N: while (true) { try { // while (!rb_gets().isNil() false) { // HACK +++ if (true) { // HACK --- try { eval(self, node.nd_body()); } catch (RedoException rExcptn) { } } break; } catch (NextException nExcptn) { } catch (BreakException bExcptn) { break; } } return getRuby().getNil(); case NODE_SELF: return self; case NODE_NIL: return getRuby().getNil(); case NODE_TRUE: return getRuby().getTrue(); case NODE_FALSE: return getRuby().getFalse(); case NODE_IF: // ruby_sourceline = node.nd_line(); cond = eval(self, node.nd_cond()); if (cond.isTrue()) { node = node.nd_body(); } else { node = node.nd_else(); } break; case NODE_WHEN: while (node != null) { NODE tag; if (node.nd_type() != NODE_WHEN) { break; } tag = node.nd_head(); while (tag != null) {/* if (trace_func) { call_trace_func("line", tag->nd_file, nd_line(tag), self, ruby_frame->last_func, ruby_frame->last_class); }*/ // ruby_sourcefile = tag.nd_file; // ruby_sourceline = tag.nd_line(); if (tag.nd_head().nd_type() == NODE_WHEN) { RubyObject obj = eval(self, tag.nd_head().nd_head()); if (!(obj instanceof RubyArray)) { obj = RubyArray.m_newArray(getRuby(), obj); } for (int i = 0; i < ((RubyArray)obj).length(); i++) { if (((RubyArray)obj).entry(i).isTrue()) { node = node.nd_body(); break; } } tag = tag.nd_next(); continue; } if (eval(self, tag.nd_head()).isTrue()) { node = node.nd_body(); break; } tag = tag.nd_next(); } node = node.nd_next(); } return getRuby().getNil(); case NODE_CASE: RubyObject obj = eval(self, node.nd_head()); node = node.nd_body(); while (node != null) { NODE tag; if (node.nd_type() != NODE_WHEN) { break; } tag = node.nd_head(); while (tag != null) {/* if (trace_func) { call_trace_func("line", tag->nd_file, nd_line(tag), self, ruby_frame->last_func, ruby_frame->last_class); } ruby_sourcefile = tag->nd_file; ruby_sourceline = nd_line(tag);*/ if (tag.nd_head().nd_type() == NODE_WHEN) { RubyObject obj2 = eval(self, tag.nd_head().nd_head()); if (!(obj2 instanceof RubyArray)) { obj2 = RubyArray.m_newArray(getRuby(), obj2); } for (int i = 0; i < ((RubyArray)obj).length(); i++) { RubyObject eqq = ((RubyArray)obj2).entry(i).funcall(getRuby().intern("==="), obj); if (eqq.isTrue()) { node = node.nd_body(); break; } } tag = tag.nd_next(); continue; } if (eval(self, tag.nd_head()).funcall(getRuby().intern("==="), obj).isTrue()) { node = node.nd_body(); break; } tag = tag.nd_next(); } node = node.nd_next(); } return getRuby().getNil(); case NODE_WHILE: while (eval(self, node.nd_cond()).isTrue()) { while (true) { try { eval(self, node.nd_body()); break; } catch (RedoException rExcptn) { } catch (NextException nExcptn) { break; } catch (BreakException bExcptn) { return getRuby().getNil(); } } } return getRuby().getNil(); case NODE_UNTIL: while (eval(self, node.nd_cond()).isFalse()) { while (true) { try { eval(self, node.nd_body()); break; } catch (RedoException rExcptn) { } catch (NextException nExcptn) { break; } catch (BreakException bExcptn) { return getRuby().getNil(); } } } return getRuby().getNil(); case NODE_BLOCK_PASS: //return block_pass(node); return null; case NODE_ITER: case NODE_FOR: rubyBlock.push(node.nd_var(), node.nd_body(), self); rubyIter.push(Iter.ITER_PRE); while (true) { try { if (node.nd_type() == NODE_ITER) { result = eval(self, node.nd_iter()); } else { // String file = // int line = rubyBlock.flags &= ~RubyBlock.BLOCK_D_SCOPE; RubyBlock tmpBlock = beginCallargs(); RubyObject recv = eval(self, node.nd_iter()); endCallArgs(tmpBlock); // = file; // = line; result = recv.getRubyClass().call(recv, ruby.intern("each"), null, 0); } break; } catch (RetryException rExcptn) { } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); break; } catch (BreakException bExcptn) { result = ruby.getNil(); break; } } rubyIter.pop(); rubyBlock.pop(); return result; case NODE_BREAK: throw new BreakException(); case NODE_NEXT: throw new NextException(); case NODE_REDO: throw new RedoException(); case NODE_RETRY: throw new RetryException(); case NODE_RESTARGS: result = eval(self, node.nd_head()); if (!(result instanceof RubyArray)) { result = obj = RubyArray.m_newArray(getRuby(), result); } return result; case NODE_YIELD: if (node.nd_stts() != null) { result = eval(self, node.nd_stts()); if (node.nd_stts().nd_type() == NODE_RESTARGS && ((RubyArray)result).length() == 1) { result = ((RubyArray)result).entry(0); } } else { result = ruby.getNil(); } return yield0(result, null, null, false); case NODE_RESCUE:/* retry_entry: { volatile VALUE e_info = ruby_errinfo; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = rb_eval(self, node->nd_head); } POP_TAG(); if (state == TAG_RAISE) { NODE * volatile resq = node->nd_resq; ruby_sourceline = nd_line(node); while (resq) { if (handle_rescue(self, resq)) { state = 0; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = rb_eval(self, resq->nd_body); } POP_TAG(); if (state == TAG_RETRY) { state = 0; ruby_errinfo = Qnil; goto retry_entry; } if (state != TAG_RAISE) { ruby_errinfo = e_info; } break; } resq = resq->nd_head; /* next rescue */ /** } * } * else if (node->nd_else) { /* else clause given *//* if (!state) { /* no exception raised *//* result = rb_eval(self, node->nd_else); } } if (state) JUMP_TAG(state); } break;*/ case NODE_ENSURE:/* PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = eval(node.nd_head()); } POP_TAG(); if (node.nd_ensr()) { VALUE retval = prot_tag->retval; /* save retval *//* VALUE errinfo = ruby_errinfo; rb_eval(self, node->nd_ensr); return_value(retval); ruby_errinfo = errinfo; } if (state) JUMP_TAG(state); break;*/ case NODE_AND: cond = eval(self, node.nd_1st()); if (cond.isFalse()) { return cond; } node = node.nd_2nd(); break; case NODE_OR: cond = eval(self, node.nd_1st()); if (cond.isTrue()) { return cond; } node = node.nd_2nd(); break; case NODE_NOT: return RubyBoolean.m_newBoolean(getRuby(), eval(self, node.nd_1st()).isFalse()); case NODE_DOT2: case NODE_DOT3: result = RubyRange.m_newRange(getRuby(), eval(self, node.nd_beg()), eval(self, node.nd_end()), node.nd_type() == NODE_DOT3); if (node.nd_state() != 0) { return result; } if (node.nd_beg().nd_type() == NODE_LIT && (node.nd_beg().nd_lit() instanceof RubyFixnum) && node.nd_end().nd_type() == NODE_LIT && (node.nd_end().nd_lit() instanceof RubyFixnum)) { node.nd_set_type(NODE_LIT); node.nd_lit(result); } else { node.nd_state(1L); } return result; case NODE_FLIP2: /* like AWK */ /*if (ruby_scope->local_vars == 0) { rb_bug("unexpected local variable"); }*/ if (ruby.getRubyScope().getLocalVars(node.nd_cnt()).isFalse()) { if (eval(self, node.nd_beg()).isTrue()) { ruby.getRubyScope().setLocalVars(node.nd_cnt(), eval(self, node.nd_end()).isTrue() ? ruby.getFalse() : ruby.getTrue()); result = ruby.getTrue(); } else { result = ruby.getFalse(); } } else { if (eval(self, node.nd_end()).isTrue()) { ruby.getRubyScope().setLocalVars(node.nd_cnt(), ruby.getFalse()); } result = ruby.getTrue(); } return result; case NODE_FLIP3: /* like SED */ /*if (ruby_scope->local_vars == 0) { rb_bug("unexpected local variable"); }*/ if (ruby.getRubyScope().getLocalVars(node.nd_cnt()).isFalse()) { result = eval(self, node.nd_beg()).isTrue() ? ruby.getFalse() : ruby.getTrue(); ruby.getRubyScope().setLocalVars(node.nd_cnt(), result); } else { if (eval(self, node.nd_end()).isTrue()) { ruby.getRubyScope().setLocalVars(node.nd_cnt(), ruby.getFalse()); } result = ruby.getTrue(); } return result; case NODE_RETURN: if (node.nd_stts() != null) { result = eval(self, node.nd_stts()); } else { result = ruby.getNil(); } throw new ReturnException(result); case NODE_ARGSCAT: return ((RubyArray)eval(self, node.nd_head())).m_concat(eval(self, node.nd_body())); case NODE_ARGSPUSH: return ((RubyArray)eval(self, node.nd_head()).m_dup()).push(eval(self, node.nd_body())); case NODE_CALL: // TMP_PROTECT; RubyBlock tmpBlock = beginCallargs(); RubyObject recv = eval(self, node.nd_recv()); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); return recv.getRubyClass().call(recv, (RubyId)node.nd_mid(), args, 0); case NODE_FCALL: // TMP_PROTECT; tmpBlock = beginCallargs(); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); return self.getRubyClass().call(self, (RubyId)node.nd_mid(), args, 1); case NODE_VCALL: return self.getRubyClass().call(self, (RubyId)node.nd_mid(), null, 2); case NODE_SUPER: case NODE_ZSUPER: // TMP_PROTECT; if (getRubyFrame().getLastClass() == null) { throw new RubyNameException("superclass method '" + rubyFrame.getLastFunc().toName() + "' disabled"); } if (node.nd_type() == NODE_ZSUPER) { List argsList = getRubyFrame().getArgs(); args = (RubyObject[])argsList.toArray(new RubyObject[argsList.size()]); } else { tmpBlock = beginCallargs(); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); } rubyIter.push(rubyIter.getIter() != Iter.ITER_NOT ? Iter.ITER_PRE : Iter.ITER_NOT); result = getRubyFrame().getLastClass().getSuperClass().call(rubyFrame.getSelf(), rubyFrame.getLastFunc(), args, 3); rubyIter.pop(); return result; case NODE_SCOPE: NODE saved_cref = null; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; ruby.getRubyScope().push(); if (node.nd_rval() != null) { saved_cref = ruby_cref; ruby_cref = (NODE)node.nd_rval(); getRubyFrame().setCbase(node.nd_rval()); } if (node.nd_tbl() != null) { List tmp = Collections.nCopies(node.nd_tbl()[0].intValue() + 1, ruby.getNil()); ShiftableList vars = new ShiftableList(new ArrayList(tmp)); vars.set(0, (VALUE)node); vars.shift(1); getRuby().getRubyScope().setLocalVars(vars); getRuby().getRubyScope().setLocalTbl(node.nd_tbl()); } else { getRuby().getRubyScope().setLocalVars(null); getRuby().getRubyScope().setLocalTbl(null); } result = eval(self, node.nd_next()); ruby.getRubyScope().pop(); rubyFrame = frame.getTmp(); if (saved_cref != null) { ruby_cref = saved_cref; } return result; case NODE_OP_ASGN1: // TMP_PROTECT; recv = eval(self, node.nd_recv()); NODE rval = node.nd_args().nd_head(); args = setupArgs(self, node.nd_args().nd_next()); ArrayList argsList = new ArrayList(Arrays.asList(args)); argsList.remove(args.length - 1); RubyObject val = recv.funcall(getRuby().intern("[]"), (RubyObject[])argsList.toArray(new RubyObject[argsList.size()])); switch (node.nd_mid().intValue()) { case 0: /* OR */ if (val.isTrue()) { return val; } val = eval(self, rval); break; case 1: /* AND */ if (val.isFalse()) { return val; } val = eval(self, rval); break; default: val = val.funcall((RubyId)node.nd_mid(), eval(self, rval)); } args[args.length - 1] = val; return recv.funcall(getRuby().intern("[]="), args); case NODE_OP_ASGN2: ID id = node.nd_next().nd_vid(); recv = eval(self, node.nd_recv()); val = recv.funcall((RubyId)id, (RubyObject[])null); switch (node.nd_next().nd_mid().intValue()) { case 0: /* OR */ if (val.isTrue()) { return val; } val = eval(self, node.nd_value()); break; case 1: /* AND */ if (val.isFalse()) { return val; } val = eval(self, node.nd_value()); break; default: val = val.funcall((RubyId)node.nd_mid(), eval(self, node.nd_value())); } // HACK +++ val = recv.funcall((RubyId)node.nd_next().nd_aid(), val); // HACK --- return val; case NODE_OP_ASGN_AND: cond = eval(self, node.nd_head()); if (cond.isFalse()) { return cond; } node = node.nd_value(); break; case NODE_OP_ASGN_OR: cond = eval(self, node.nd_head()); if ((node.nd_aid() != null && !self.isInstanceVarDefined((RubyId)node.nd_aid())) || cond.isFalse()) { node = node.nd_value(); break; } return cond; case NODE_MASGN: return massign(self, node, eval(self, node.nd_value()), false); case NODE_LASGN: // if (ruby.ruby_scope.local_vars == null) { // rb_bug("unexpected local variable assignment"); // } result = eval(self, node.nd_value()); getRuby().getRubyScope().setLocalVars(node.nd_cnt(), result); return result; case NODE_DASGN: result = eval(self, node.nd_value()); RubyVarmap.assign(ruby, (RubyId)node.nd_vid(), result); return result; case NODE_DASGN_CURR: result = eval(self, node.nd_value()); RubyVarmap.assignCurrent(ruby, (RubyId)node.nd_vid(), result); return result; case NODE_GASGN: result = eval(self, node.nd_value()); ((RubyGlobalEntry)node.nd_entry()).set(result); return result; case NODE_IASGN: result = eval(self, node.nd_value()); self.setInstanceVar((RubyId)node.nd_vid(), result); return result; case NODE_CDECL: if (ruby_class == null) { throw new RubyTypeException("no class/module to define constant"); } result = eval(self, node.nd_value()); ruby_class.setConstant((RubyId)node.nd_vid(), result); return result; case NODE_CVDECL: if (ruby_cbase == null) { throw new RubyTypeException("no class/module to define class variable"); } result = eval(self, node.nd_value()); if (ruby_cbase.isSingleton()) { ruby_cbase.getInstanceVar("__attached__").getClassVarSingleton().declareClassVar((RubyId)node.nd_vid(), result); return result; } ruby_cbase.declareClassVar((RubyId)node.nd_vid(), result); return result; case NODE_CVASGN: result = eval(self, node.nd_value()); self.getClassVarSingleton().setClassVar((RubyId)node.nd_vid(), result); return result; case NODE_LVAR: //if (getRuby().ruby_scope.local_vars == null) { // rb_bug("unexpected local variable"); // } return (RubyObject)getRuby().getRubyScope().getLocalVars(node.nd_cnt()); case NODE_DVAR: return getDynamicVars().getRef((RubyId)node.nd_vid()); case NODE_GVAR: return ((RubyGlobalEntry)node.nd_entry()).get(); case NODE_IVAR: return self.getInstanceVar((RubyId)node.nd_vid()); case NODE_CONST: return getConstant((NODE)getRubyFrame().getCbase(), (RubyId)node.nd_vid(), self); case NODE_CVAR: /* normal method */ if (ruby_cbase == null) { return self.getRubyClass().getClassVar((RubyId)node.nd_vid()); } if (!ruby_cbase.isSingleton()) { return ruby_cbase.getClassVar((RubyId)node.nd_vid()); } return ruby_cbase.getInstanceVar("__attached__").getClassVarSingleton().getClassVar((RubyId)node.nd_vid()); case NODE_CVAR2: /* singleton method */ return self.getClassVarSingleton().getClassVar((RubyId)node.nd_vid()); case NODE_BLOCK_ARG: if (ruby.getRubyScope().getLocalVars() == null) { throw new RuntimeException("BUG: unexpected block argument"); } if (isBlockGiven()) { result = getRuby().getNil(); // Create Proc object ruby.getRubyScope().setLocalVars(node.nd_cnt(), result); return result; } else { return getRuby().getNil(); } case NODE_COLON2: value = eval(self, node.nd_head()); if (value instanceof RubyModule) { return ((RubyModule)value).getConstant((RubyId)node.nd_mid()); } else { return value.funcall((RubyId)node.nd_mid()); } case NODE_COLON3: return getRuby().getClasses().getObjectClass().getConstant((RubyId)node.nd_mid()); case NODE_NTH_REF: // return rom.rb_reg_nth_match(node.nd_nth(), MATCH_DATA); return null; case NODE_BACK_REF: /*switch ((char)node.nd_nth()) { case '&': return rom.rb_reg_last_match(MATCH_DATA); case '`': return rom.rb_reg_match_pre(MATCH_DATA); case '\'': return rom.rb_reg_match_post(MATCH_DATA); case '+': return rom.rb_reg_match_last(MATCH_DATA); default: rom.rb_bug("unexpected back-ref"); }*/ case NODE_HASH: RubyHash hash = RubyHash.m_newHash(ruby); NODE list = node.nd_head(); while(list != null) { RubyObject key = eval(self, list.nd_head()); list = list.nd_next(); if (list == null) { // HACK +++ throw new RubyArgumentException("odd number list for Hash"); // HACK --- } value = eval(self, list.nd_head()); hash.m_aset(key, value); list = list.nd_next(); } return hash; case NODE_ZARRAY: /* zero length list */ return RubyArray.m_newArray(getRuby()); case NODE_ARRAY: ArrayList ary = new ArrayList(node.nd_alen()); for (; node != null ; node = node.nd_next()) { ary.add(eval(self, node.nd_head())); } return RubyArray.m_newArray(getRuby(), ary); case NODE_STR: return ((RubyObject)node.nd_lit()).m_to_s(); case NODE_DSTR: case NODE_DXSTR: case NODE_DREGX: case NODE_DREGX_ONCE:/* NODE list = node.nd_next(); RubyString str = RubyString.m_newString(getRuby(), (RubyObject)node.nd_lit()); RubyString str2; while (list != null) { if (list.nd_head() != null) { switch (list.nd_head().nd_type()) { case NODE_STR: str2 = (RubyString)list.nd_head().nd_lit(); break; case NODE_EVSTR: result = ruby_errinfo; ruby_errinfo = Qnil; ruby_sourceline = nd_line(node); ruby_in_eval++; list.nd_head(compile(list.nd_head().nd_lit(), ruby_sourcefile,ruby_sourceline)); ruby_eval_tree = 0; ruby_in_eval--; if (ruby_nerrs > 0) { compile_error("string expansion"); } if (!NIL_P(result)) ruby_errinfo = result; /* fall through *//* default: str2 = (RubyString)rom.rb_obj_as_string(eval(list.nd_head())); break; } str.append(str2); str.infectObject(str2); } list = list.nd_next(); } switch (node.nd_type()) { case NODE_DREGX: return rom.rb_reg_new(str.getString(), str.getString().length(), node.nd_cflag()); case NODE_DREGX_ONCE: /* regexp expand once *//* VALUE result = rom.rb_reg_new(str.getString(), str.getString().length(), node.nd_cflag()); node.nd_set_type(NODE_LIT); node.nd_lit(result); return result; case NODE_DXSTR: return rom.rb_funcall(this, '`', 1, str); default: return str; }*/ return null; case NODE_XSTR: return self.funcall(getRuby().intern("`"), (RubyObject)node.nd_lit()); case NODE_LIT: return (RubyObject)node.nd_lit(); case NODE_ATTRSET: if (getRubyFrame().getArgs().size() != 1) { throw new RubyArgumentException("wrong # of arguments(" + rubyFrame.getArgs().size() + "for 1)"); } return self.setInstanceVar((RubyId)node.nd_vid(), (RubyObject)rubyFrame.getArgs().get(0)); case NODE_DEFN: if (node.nd_defn() != null) { int noex; if (ruby_class == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // rom.rb_warn("redefining Object#initialize may cause infinite loop"); //} //if (node.nd_mid() == __id__ || node.nd_mid() == __send__) { // rom.rb_warn("redefining `%s' may cause serious problem", ((RubyId)node.nd_mid()).toName()); //} // ruby_class.setFrozen(true); SearchMethodResult smr = ruby_class.searchMethod((RubyId)node.nd_mid()); NODE body = smr.getBody(); RubyObject origin = smr.getOrigin(); if (body != null){ // if (ruby_verbose.isTrue() && ruby_class == origin && body.nd_cnt() == 0) { // rom.rb_warning("discarding old %s", ((RubyId)node.nd_mid()).toName()); // } // if (node.nd_noex() != 0) { /* toplevel */ /* should upgrade to rb_warn() if no super was called inside? */ // rom.rb_warning("overriding global function `%s'", ((RubyId)node.nd_mid()).toName()); // } } if (isScope(SCOPE_PRIVATE) || node.nd_mid().equals(ruby.intern("initialize"))) { noex = NOEX_PRIVATE; } else if (isScope(SCOPE_PROTECTED)) { noex = NOEX_PROTECTED; } else if (ruby_class == getRuby().getClasses().getObjectClass()) { noex = node.nd_noex(); } else { noex = NOEX_PUBLIC; } if (body != null && origin == ruby_class && (body.nd_noex() & NOEX_UNDEF) != 0) { noex |= NOEX_UNDEF; } NODE defn = node.nd_defn().copyNodeScope(ruby_cref); ruby_class.addMethod((RubyId)node.nd_mid(), defn, noex); // rb_clear_cache_by_id(node.nd_mid()); if (actMethodScope == SCOPE_MODFUNC) { ruby_class.getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby_class.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby_class.isSingleton()) { ruby_class.getInstanceVar("__attached__").funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } else { ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); } } return getRuby().getNil(); case NODE_DEFS: if (node.nd_defn() != null) { recv = eval(self, node.nd_recv()); if (getRuby().getSecurityLevel() >= 4 && !recv.isTaint()) { throw new RubySecurityException("Insecure; can't define singleton method"); } /*if (FIXNUM_P(recv) || SYMBOL_P(recv)) { rb_raise(rb_eTypeError, "can't define singleton method \"%s\" for %s", rb_id2name(node.nd_mid()), rb_class2name(CLASS_OF(recv))); }*/ // not needed in jruby if (recv.isFrozen()) { throw new RubyFrozenException("object"); } rubyClass = recv.getSingletonClass(); NODE body = (NODE)rubyClass.getMethods().get((RubyId)node.nd_mid()); if (body != null) { if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("redefining method prohibited"); } /*if (RTEST(ruby_verbose)) { rb_warning("redefine %s", rb_id2name(node.nd_mid())); }*/ } NODE defn = node.nd_defn().copyNodeScope(ruby_cref); defn.nd_rval(ruby_cref); rubyClass.addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC | (body != null ? body.nd_noex() & NOEX_UNDEF : 0)); // rb_clear_cache_by_id(node.nd_mid()); recv.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } return getRuby().getNil(); case NODE_UNDEF: if (ruby_class == null) { throw new RubyTypeException("no class to undef method"); } ruby_class.undef((RubyId)node.nd_mid()); return getRuby().getNil(); case NODE_ALIAS: if (ruby_class == null) { throw new RubyTypeException("no class to make alias"); } ruby_class.aliasMethod((RubyId)node.nd_new(), (RubyId)node.nd_old()); ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); return getRuby().getNil(); case NODE_VALIAS: RubyGlobalEntry.getGlobalEntry((RubyId)node.nd_old()).alias((RubyId)node.nd_new()); return getRuby().getNil(); case NODE_CLASS: RubyModule superClass; if (ruby_class == null) { throw new RubyTypeException("no outer class/module"); } if (node.nd_super() != null) { superClass = getSuperClass(self, node.nd_super()); } else { superClass = null; } rubyClass = null; // if ((ruby_class == getRuby().getObjectClass()) && rb_autoload_defined(node.nd_cname())) { // rb_autoload_load(node.nd_cname()); // } if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { rubyClass = (RubyClass)ruby_class.getConstant((RubyId)node.nd_cname()); } if (rubyClass != null) { if (!rubyClass.isClass()) { throw new RubyTypeException(((RubyId)node.nd_cname()).toName() + " is not a class"); } if (superClass != null) { RubyModule tmp = rubyClass.getSuperClass(); if (tmp.isSingleton()) { tmp = tmp.getSuperClass(); } while (tmp.isIncluded()) { tmp = tmp.getSuperClass(); } if (tmp != superClass) { superClass = tmp; //goto override_class; if (superClass == null) { superClass = getRuby().getClasses().getObjectClass(); } rubyClass = getRuby().defineClassId((RubyId)node.nd_cname(), (RubyClass)superClass); ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); // end goto } } if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("extending class prohibited"); } // rb_clear_cache(); } else { //override_class: if (superClass == null) { superClass = getRuby().getClasses().getObjectClass(); } rubyClass = getRuby().defineClassId((RubyId)node.nd_cname(), (RubyClass)superClass); ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); } if (ruby_wrapper != null) { rubyClass.getSingletonClass().includeModule(ruby_wrapper); rubyClass.includeModule(ruby_wrapper); } return setupModule(rubyClass, node.nd_body()); case NODE_MODULE: if (ruby_class == null) { throw new RubyTypeException("no outer class/module"); } RubyModule module = null; if ((ruby_class == getRuby().getClasses().getObjectClass()) && getRuby().isAutoloadDefined((RubyId)node.nd_cname())) { // getRuby().rb_autoload_load(node.nd_cname()); } if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { module = (RubyModule)ruby_class.getConstant((RubyId)node.nd_cname()); } if (module != null) { if (!(module instanceof RubyModule)) { throw new RubyTypeException(((RubyId)node.nd_cname()).toName() + " is not a module"); } if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("extending module prohibited"); } } else { module = getRuby().defineModuleId((RubyId)node.nd_cname()); ruby_class.setConstant((RubyId)node.nd_cname(), module); module.setClassPath(ruby_class, ((RubyId)node.nd_cname()).toName()); } if (ruby_wrapper != null) { module.getSingletonClass().includeModule(ruby_wrapper); module.includeModule(ruby_wrapper); } return setupModule(module, node.nd_body()); case NODE_SCLASS: rubyClass = (RubyClass)eval(self, node.nd_recv()); if (rubyClass.isSpecialConst()) { throw new RubyTypeException("no virtual class for " + rubyClass.getRubyClass().toName()); } if (getRuby().getSecurityLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException("Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } rubyClass = rubyClass.getSingletonClass(); if (ruby_wrapper != null) { rubyClass.getSingletonClass().includeModule(ruby_wrapper); rubyClass.includeModule(ruby_wrapper); } return setupModule(rubyClass, node.nd_body()); case NODE_DEFINED: // String buf; // String desc = is_defined(self, node.nd_head(), buf); // // if (desc) { // result = rb_str_new2(desc); // } else { // result = Qnil; // } case NODE_NEWLINE: // ruby_sourcefile = node.nd_file; // ruby_sourceline = node.nd_nth(); // if (trace_func) { // call_trace_func("line", ruby_sourcefile, ruby_sourceline, self, // ruby_frame.last_func(), // ruby_frame.last_class()); // } node = node.nd_next(); break; default: // rom.rb_bug("unknown node type %d", nd_type(node)); } } }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 5302, 12, 54, 10340, 921, 365, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 19817, 921, 6941, 273, 446, 31, 3639, 19817, 921, 8526, 833, 273, 446, 31, 3639, 19817, 921, 460, 273, 446, 31, 3639, 19817, 921, 563, 273, 446, 31, 3639, 19817, 3120, 22155, 797, 273, 446, 31, 3639, 368, 509, 919, 31, 7734, 368, 19817, 8176, 4712, 24137, 273, 4170, 10340, 7675, 588, 8176, 4712, 5621, 7734, 1323, 261, 3767, 13, 288, 13491, 309, 261, 2159, 422, 446, 13, 288, 7734, 327, 4170, 10340, 7675, 588, 12616, 5621, 5411, 289, 13491, 1620, 261, 2159, 18, 4880, 67, 723, 10756, 288, 7734, 648, 11922, 67, 11403, 30, 10792, 1323, 261, 2159, 18, 4880, 67, 4285, 1435, 480, 446, 13, 288, 13491, 5302, 12, 2890, 16, 756, 18, 4880, 67, 1978, 10663, 13491, 756, 273, 756, 18, 4880, 67, 4285, 5621, 10792, 289, 10792, 756, 273, 756, 18, 4880, 67, 1978, 5621, 10792, 898, 31, 4766, 565, 648, 11922, 67, 3798, 2294, 41, 30, 10792, 368, 7138, 67, 74, 67, 4415, 5621, 10792, 756, 18, 4880, 67, 542, 67, 723, 12, 8744, 67, 50, 2627, 1769, 1748, 1196, 2537, 3647, 1195, 10792, 327, 4170, 10340, 7675, 588, 12616, 5621, 4766, 565, 1748, 2376, 6116, 679, 2887, 14093, 1195, 7734, 648, 11922, 67, 16061, 30, 10792, 756, 273, 756, 18, 4880, 67, 3432, 5621, 10792, 898, 31, 4766, 565, 1748, 2199, 364, 8632, 17, 416, 12, 1886, 845, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 5302, 12, 54, 10340, 921, 365, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 19817, 921, 6941, 273, 446, 31, 3639, 19817, 921, 8526, 833, 273, 446, 31, 3639, 19817, 921, 460, 273, 446, 31, 3639, 19817, 921, 563, 273, 446, 31, 3639, 19817, 3120, 22155, 797, 273, 446, 31, 3639, 368, 509, 919, 31, 7734, 368, 19817, 8176, 4712, 24137, 273, 4170, 10340, 7675, 588, 8176, 4712, 5621, 7734, 1323, 261, 3767, 13, 288, 13491, 309, 261, 2159, 422, 446, 13, 288, 7734, 327, 4170, 10340, 7675, 588, 12616, 5621, 5411, 289, 13491, 1620, 261, 2159, 18, 4880, 67, 723, 10756, 288, 7734, 648, 11922, 67, 11403, 30, 10792, 1323, 2 ]
&& !isOrderedField(field.getField(), postFields)) {
&& !isOrderedField(field.getField(), postFields) && !isGroupField(field.getField())) {
void calculateString(StringBuffer buffer, int[] preFields, int[] postFields) { if (preFields != null) { for (int i = 0; i < preFields.length; i++) { Field field = getField(preFields[i], null); field.toString(buffer); buffer.append('\001'); } } for (Iterator iter = fields.values().iterator(); iter.hasNext();) { Field field = (Field) iter.next(); if (!isOrderedField(field.getField(), preFields) && !isOrderedField(field.getField(), postFields)) { field.toString(buffer); buffer.append('\001'); } } // TODO fix group rendering for (Iterator iter = groups.entrySet().iterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); List groups = (List)entry.getValue(); IntField groupField = new IntField(((Integer)entry.getKey()).intValue()); groupField.setValue(groups.size()); groupField.toString(buffer); buffer.append('\001'); // Acceptance test copies message with group length field already present // This causes two fields to be sent. //buffer.append(entry.getKey()).append("=").append(groups.size()).append('\001'); for (int i = 0; i < groups.size(); i++) { FieldMap groupFields = (FieldMap)groups.get(i); groupFields.calculateString(buffer, preFields, postFields); } } if (postFields != null) { for (int i = 0; i < postFields.length; i++) { Field field = getField(postFields[i], null); field.toString(buffer); buffer.append('\001'); } } }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/685763390cd1a107cff55dedf1904803ef0a6e0e/FieldMap.java/clean/src/quickfix/FieldMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4604, 780, 12, 780, 1892, 1613, 16, 509, 8526, 675, 2314, 16, 509, 8526, 1603, 2314, 13, 288, 3639, 309, 261, 1484, 2314, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 675, 2314, 18, 2469, 31, 277, 27245, 288, 7734, 2286, 652, 273, 5031, 12, 1484, 2314, 63, 77, 6487, 446, 1769, 7734, 652, 18, 10492, 12, 4106, 1769, 7734, 1613, 18, 6923, 2668, 64, 11664, 8284, 5411, 289, 3639, 289, 3639, 364, 261, 3198, 1400, 273, 1466, 18, 2372, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 2286, 652, 273, 261, 974, 13, 1400, 18, 4285, 5621, 5411, 309, 16051, 291, 16756, 974, 12, 1518, 18, 588, 974, 9334, 675, 2314, 13, 10792, 597, 401, 291, 16756, 974, 12, 1518, 18, 588, 974, 9334, 1603, 2314, 13, 597, 401, 291, 1114, 974, 12, 1518, 18, 588, 974, 1435, 3719, 288, 1171, 652, 18, 10492, 12, 4106, 1769, 7734, 1613, 18, 6923, 2668, 64, 11664, 8284, 5411, 289, 3639, 289, 3639, 368, 2660, 2917, 1041, 9782, 3639, 364, 261, 3198, 1400, 273, 3252, 18, 4099, 694, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 1400, 18, 4285, 5621, 5411, 987, 3252, 273, 261, 682, 13, 4099, 18, 24805, 5621, 5411, 3094, 974, 1041, 974, 273, 394, 3094, 974, 12443, 12, 4522, 13, 4099, 18, 588, 653, 1435, 2934, 474, 620, 10663, 5411, 1041, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4604, 780, 12, 780, 1892, 1613, 16, 509, 8526, 675, 2314, 16, 509, 8526, 1603, 2314, 13, 288, 3639, 309, 261, 1484, 2314, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 675, 2314, 18, 2469, 31, 277, 27245, 288, 7734, 2286, 652, 273, 5031, 12, 1484, 2314, 63, 77, 6487, 446, 1769, 7734, 652, 18, 10492, 12, 4106, 1769, 7734, 1613, 18, 6923, 2668, 64, 11664, 8284, 5411, 289, 3639, 289, 3639, 364, 261, 3198, 1400, 273, 1466, 18, 2372, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 2286, 652, 273, 261, 974, 13, 1400, 18, 4285, 5621, 5411, 309, 16051, 291, 16756, 974, 12, 1518, 18, 588, 2 ]
protected CachingSimpleNode(FProject project) { super(project);
protected CachingSimpleNode() {
protected CachingSimpleNode(FProject project) { super(project); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/a5513512365218d3e4dd8e96733e48ab54614a2e/CachingSimpleNode.java/buggy/designer/src/jetbrains/fabrique/ui/treeStructure/CachingSimpleNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 23782, 310, 5784, 907, 12, 42, 4109, 1984, 13, 288, 565, 2240, 12, 4406, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 23782, 310, 5784, 907, 12, 42, 4109, 1984, 13, 288, 565, 2240, 12, 4406, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
temp=date[M]+carry; date[M]=modulo(temp, 1, 13); date[CY]=date[CY]+fQuotient(temp, 1, 13);
temp=date.month+carry; date.month=modulo(temp, 1, 13); date.year=date.year+fQuotient(temp, 1, 13);
protected void normalize (int[] date, int[] timeZone) { // REVISIT: we have common code in addDuration() for durations // should consider reorganizing it. // //add minutes (from time zone) int negate = 1; if (date[utc]=='+') { negate = -1; } if ( DEBUG ) { System.out.println("==>date[m]"+date[m]); System.out.println("==>timeZone[mm]" +timeZone[mm]); } int temp = date[m] + negate*timeZone[mm]; int carry = fQuotient (temp, 60); date[m]= mod(temp, 60, carry); if ( DEBUG ) { System.out.println("==>carry: " + carry); } //add hours temp = date[h] + negate*timeZone[hh] + carry; carry = fQuotient(temp, 24); date[h]=mod(temp, 24, carry); if ( DEBUG ) { System.out.println("==>date[h]"+date[h]); System.out.println("==>carry: " + carry); } date[D]=date[D]+carry; while ( true ) { temp=maxDayInMonthFor(date[CY], date[M]); if (date[D]<1) { date[D] = date[D] + maxDayInMonthFor(date[CY], date[M]-1); carry=-1; } else if ( date[D]>temp ) { date[D]=date[D]-temp; carry=1; } else { break; } temp=date[M]+carry; date[M]=modulo(temp, 1, 13); date[CY]=date[CY]+fQuotient(temp, 1, 13); } date[utc]='Z'; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/7569f1e56b929395f70c2717a33b9ea5e6583d7a/AbstractDateTimeDV.java/clean/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 225, 918, 3883, 261, 474, 8526, 1509, 16, 509, 8526, 17512, 13, 288, 3639, 368, 2438, 26780, 1285, 30, 732, 1240, 2975, 981, 316, 527, 5326, 1435, 364, 23920, 3639, 368, 1850, 1410, 5260, 283, 22543, 6894, 518, 18, 3639, 368, 3639, 368, 1289, 6824, 261, 2080, 813, 4157, 13, 3639, 509, 15626, 273, 404, 31, 3639, 309, 261, 712, 63, 17892, 65, 18920, 15, 6134, 288, 5411, 15626, 273, 300, 21, 31, 3639, 289, 3639, 309, 261, 6369, 262, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 712, 63, 81, 4279, 15, 712, 63, 81, 19226, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 957, 4226, 63, 7020, 4279, 397, 957, 4226, 63, 7020, 19226, 3639, 289, 3639, 509, 1906, 273, 1509, 63, 81, 65, 397, 15626, 14, 957, 4226, 63, 7020, 15533, 3639, 509, 9331, 273, 284, 7678, 1979, 261, 5814, 16, 4752, 1769, 3639, 1509, 63, 81, 65, 33, 681, 12, 5814, 16, 4752, 16, 9331, 1769, 3639, 309, 261, 6369, 262, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 9815, 1176, 30, 315, 397, 9331, 1769, 3639, 289, 3639, 368, 1289, 7507, 3639, 1906, 273, 1509, 63, 76, 65, 397, 15626, 14, 957, 4226, 63, 21622, 65, 397, 9331, 31, 3639, 9331, 273, 284, 7678, 1979, 12, 5814, 16, 4248, 1769, 3639, 1509, 63, 76, 65, 33, 1711, 12, 5814, 16, 4248, 16, 9331, 1769, 3639, 309, 261, 6369, 262, 288, 5411, 2332, 18, 659, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 225, 918, 3883, 261, 474, 8526, 1509, 16, 509, 8526, 17512, 13, 288, 3639, 368, 2438, 26780, 1285, 30, 732, 1240, 2975, 981, 316, 527, 5326, 1435, 364, 23920, 3639, 368, 1850, 1410, 5260, 283, 22543, 6894, 518, 18, 3639, 368, 3639, 368, 1289, 6824, 261, 2080, 813, 4157, 13, 3639, 509, 15626, 273, 404, 31, 3639, 309, 261, 712, 63, 17892, 65, 18920, 15, 6134, 288, 5411, 15626, 273, 300, 21, 31, 3639, 289, 3639, 309, 261, 6369, 262, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 712, 63, 81, 4279, 15, 712, 63, 81, 19226, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 957, 4226, 63, 7020, 4279, 397, 957, 4226, 63, 2 ]
System.err.println ("\nIncomingEmailLinkProtocol ALERT: Is your mail server up?"); System.err.println ("Unable to access mailbox:\n" + inboxes[i].toStringDiscreet());
log.error ("ALERT: Is your mail server up? Unable to access mail server: " + inboxes[i].toStringDiscreet());
public synchronized boolean startup (String inboxesProp) { shutdown(); // Only using the first inbox at this time inboxes = parseInboxes (inboxesProp); if (inboxes == null || inboxes.length < 1) return false; // Start the threads that monitor the inboxes for the incoming // Cougaar message emails. for (int i=0; i<inboxes.length; i++) { MessageInThread messageIn = null; try { if (MailMan.checkMailBoxAccess (inboxes[i]) == false) { System.err.println ("\nIncomingEmailLinkProtocol ALERT: Is your mail server up?"); System.err.println ("Unable to access mailbox:\n" + inboxes[i].toStringDiscreet()); continue; } messageIn = new MessageInThread (inboxes[i]); // actually a Runnable Schedulable thread = threadService().getThread (this, messageIn, "inbox"+i); messageIn.setThread (thread);// thread.start(); registerMailData (nodeID, inboxes[i]); messageInThreads.add (messageIn); } catch (Exception e) { System.err.println ("IncomingEmailLinkProtocol.startup inbox"+i+" exception: "); e.printStackTrace(); if (messageIn != null) messageIn.quit(); } } // We can't call it a successful startup unless at least one thread // was successfully started.// created?hasStartedUp = true; // kind of hack for now return messageInThreads.size() > 0; }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/15975c2ad36eae4bbcae53cfd4eca46118d997e4/IncomingEmailLinkProtocol.java/clean/msglog/src/org/cougaar/core/mts/email/IncomingEmailLinkProtocol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 1250, 11850, 261, 780, 316, 15918, 4658, 13, 225, 288, 565, 5731, 5621, 565, 368, 225, 5098, 1450, 326, 1122, 27271, 622, 333, 813, 565, 316, 15918, 273, 1109, 382, 15918, 261, 267, 15918, 4658, 1769, 565, 309, 261, 267, 15918, 422, 446, 747, 316, 15918, 18, 2469, 411, 404, 13, 327, 629, 31, 565, 368, 225, 3603, 326, 7403, 716, 6438, 326, 316, 15918, 364, 326, 6935, 565, 368, 225, 7695, 637, 69, 297, 883, 14255, 18, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 267, 15918, 18, 2469, 31, 277, 27245, 565, 288, 1377, 2350, 382, 3830, 883, 382, 273, 446, 31, 1377, 775, 1377, 288, 3639, 309, 261, 6759, 5669, 18, 1893, 6759, 3514, 1862, 261, 267, 15918, 63, 77, 5717, 422, 629, 13, 3639, 288, 1850, 2332, 18, 370, 18, 8222, 7566, 64, 82, 20370, 4134, 2098, 5752, 7981, 11539, 30, 2585, 3433, 4791, 1438, 731, 7225, 1769, 1850, 2332, 18, 370, 18, 8222, 7566, 3370, 358, 2006, 14187, 5581, 82, 6, 397, 316, 15918, 63, 77, 8009, 10492, 1669, 1793, 278, 10663, 1850, 1324, 31, 3639, 289, 3639, 883, 382, 273, 394, 2350, 382, 3830, 261, 267, 15918, 63, 77, 19226, 225, 368, 6013, 279, 10254, 3639, 348, 4292, 429, 2650, 273, 2650, 1179, 7675, 588, 3830, 261, 2211, 16, 883, 382, 16, 315, 267, 2147, 6, 15, 77, 1769, 3639, 883, 382, 18, 542, 3830, 261, 5930, 1769, 759, 1377, 2650, 18, 1937, 5621, 3639, 1744, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 1250, 11850, 261, 780, 316, 15918, 4658, 13, 225, 288, 565, 5731, 5621, 565, 368, 225, 5098, 1450, 326, 1122, 27271, 622, 333, 813, 565, 316, 15918, 273, 1109, 382, 15918, 261, 267, 15918, 4658, 1769, 565, 309, 261, 267, 15918, 422, 446, 747, 316, 15918, 18, 2469, 411, 404, 13, 327, 629, 31, 565, 368, 225, 3603, 326, 7403, 716, 6438, 326, 316, 15918, 364, 326, 6935, 565, 368, 225, 7695, 637, 69, 297, 883, 14255, 18, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 267, 15918, 18, 2469, 31, 277, 27245, 565, 288, 1377, 2350, 382, 3830, 883, 382, 273, 446, 31, 1377, 775, 1377, 288, 3639, 309, 261, 6759, 5669, 18, 2 ]
public boolean permissionToEdit() { return hasBinding("permissionToEdit") ? booleanForBinding("permissionToEdit") : true; }
public boolean permissionToEdit() { return hasBinding(Keys.permissionToEdit) ? booleanValueForBinding(Keys.permissionToEdit) : true; }
public boolean permissionToEdit() { return hasBinding("permissionToEdit") ? booleanForBinding("permissionToEdit") : true; }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/4cd1134a25d53f7f79ab5c9d6d900b9b8bb089bb/ERDCustomEditComponent.java/clean/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERDCustomEditComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 4132, 774, 4666, 1435, 288, 327, 711, 5250, 2932, 9827, 774, 4666, 7923, 692, 1250, 1290, 5250, 2932, 9827, 774, 4666, 7923, 294, 638, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 4132, 774, 4666, 1435, 288, 327, 711, 5250, 2932, 9827, 774, 4666, 7923, 692, 1250, 1290, 5250, 2932, 9827, 774, 4666, 7923, 294, 638, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
is.mark (4); is.read (signature); is.reset ();
is.mark(4); is.read(signature); is.reset();
private void detectEncoding () throws SAXException, IOException { byte signature[] = new byte [4]; // Read the first four bytes for // autodetection. is.mark (4); is.read (signature); is.reset (); // // FIRST: four byte encodings (who uses these?) // if (tryEncoding (signature, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x3c)) { // UCS-4 must begin with "<?xml" // 0x00 0x00 0x00 0x3c: UCS-4, big-endian (1234) // "UTF-32BE" encoding = ENCODING_UCS_4_1234; } else if (tryEncoding (signature, (byte) 0x3c, (byte) 0x00, (byte) 0x00, (byte) 0x00)) { // 0x3c 0x00 0x00 0x00: UCS-4, little-endian (4321) // "UTF-32LE" encoding = ENCODING_UCS_4_4321; } else if (tryEncoding (signature, (byte) 0x00, (byte) 0x00, (byte) 0x3c, (byte) 0x00)) { // 0x00 0x00 0x3c 0x00: UCS-4, unusual (2143) encoding = ENCODING_UCS_4_2143; } else if (tryEncoding (signature, (byte) 0x00, (byte) 0x3c, (byte) 0x00, (byte) 0x00)) { // 0x00 0x3c 0x00 0x00: UCS-4, unusual (3421) encoding = ENCODING_UCS_4_3412; // 00 00 fe ff UCS_4_1234 (with BOM) // ff fe 00 00 UCS_4_4321 (with BOM) } // // SECOND: two byte encodings // note ... with 1/14/2000 errata the XML spec identifies some // more "broken UTF-16" autodetection cases, with no XML decl, // which we don't handle here (that's legal too). // else if (tryEncoding (signature, (byte) 0xfe, (byte) 0xff)) { // UCS-2 with a byte-order marker. (UTF-16) // 0xfe 0xff: UCS-2, big-endian (12) encoding = ENCODING_UCS_2_12; is.read (); is.read (); } else if (tryEncoding (signature, (byte) 0xff, (byte) 0xfe)) { // UCS-2 with a byte-order marker. (UTF-16) // 0xff 0xfe: UCS-2, little-endian (21) encoding = ENCODING_UCS_2_21; is.read (); is.read (); } else if (tryEncoding (signature, (byte) 0x00, (byte) 0x3c, (byte) 0x00, (byte) 0x3f)) { // UTF-16BE (otherwise, malformed UTF-16) // 0x00 0x3c 0x00 0x3f: UCS-2, big-endian, no byte-order mark encoding = ENCODING_UCS_2_12; error ("no byte-order mark for UCS-2 entity"); } else if (tryEncoding (signature, (byte) 0x3c, (byte) 0x00, (byte) 0x3f, (byte) 0x00)) { // UTF-16LE (otherwise, malformed UTF-16) // 0x3c 0x00 0x3f 0x00: UCS-2, little-endian, no byte-order mark encoding = ENCODING_UCS_2_21; error ("no byte-order mark for UCS-2 entity"); } // // THIRD: ASCII-derived encodings, fixed and variable lengths // else if (tryEncoding (signature, (byte) 0x3c, (byte) 0x3f, (byte) 0x78, (byte) 0x6d)) { // ASCII derived // 0x3c 0x3f 0x78 0x6d: UTF-8 or other 8-bit markup (read ENCODING) encoding = ENCODING_UTF_8; prefetchASCIIEncodingDecl (); } else if (signature [0] == (byte) 0xef && signature [1] == (byte) 0xbb && signature [2] == (byte) 0xbf) { // 0xef 0xbb 0xbf: UTF-8 BOM (not part of document text) // this un-needed notion slipped into XML 2nd ed through a // "non-normative" erratum; now required by MSFT and UDDI, // and E22 made it normative. encoding = ENCODING_UTF_8; is.read (); is.read (); is.read (); } else { // 4c 6f a7 94 ... we don't understand EBCDIC flavors // ... but we COULD at least kick in some fixed code page // (default) UTF-8 without encoding/XML declaration encoding = ENCODING_UTF_8; } }
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/buggy/libjava/gnu/xml/aelfred2/XmlParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5966, 4705, 1832, 565, 1216, 14366, 16, 1860, 565, 288, 202, 7229, 3372, 8526, 273, 394, 1160, 306, 24, 15533, 202, 759, 2720, 326, 1122, 12792, 1731, 364, 202, 759, 2059, 369, 278, 794, 18, 202, 291, 18, 3355, 261, 24, 1769, 202, 291, 18, 896, 261, 8195, 1769, 202, 291, 18, 6208, 261, 1769, 202, 759, 202, 759, 21786, 30, 225, 12792, 1160, 24118, 261, 3350, 83, 4692, 4259, 8535, 202, 759, 202, 430, 261, 698, 4705, 261, 8195, 16, 261, 7229, 13, 374, 92, 713, 16, 261, 7229, 13, 374, 92, 713, 16, 9506, 225, 261, 7229, 13, 374, 92, 713, 16, 261, 7229, 13, 374, 92, 23, 71, 3719, 288, 202, 565, 368, 587, 4596, 17, 24, 1297, 2376, 598, 20410, 2902, 6, 202, 565, 368, 374, 92, 713, 374, 92, 713, 374, 92, 713, 374, 92, 23, 71, 30, 587, 4596, 17, 24, 16, 5446, 17, 22910, 261, 28462, 13, 202, 565, 368, 315, 5159, 17, 1578, 5948, 6, 202, 565, 2688, 273, 22810, 67, 57, 4596, 67, 24, 67, 28462, 31, 202, 97, 469, 309, 261, 698, 4705, 261, 8195, 16, 261, 7229, 13, 374, 92, 23, 71, 16, 261, 7229, 13, 374, 92, 713, 16, 6862, 261, 7229, 13, 374, 92, 713, 16, 261, 7229, 13, 374, 92, 713, 3719, 288, 202, 565, 368, 374, 92, 23, 71, 374, 92, 713, 374, 92, 713, 374, 92, 713, 30, 587, 4596, 17, 24, 16, 12720, 17, 22910, 261, 24, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5966, 4705, 1832, 565, 1216, 14366, 16, 1860, 565, 288, 202, 7229, 3372, 8526, 273, 394, 1160, 306, 24, 15533, 202, 759, 2720, 326, 1122, 12792, 1731, 364, 202, 759, 2059, 369, 278, 794, 18, 202, 291, 18, 3355, 261, 24, 1769, 202, 291, 18, 896, 261, 8195, 1769, 202, 291, 18, 6208, 261, 1769, 202, 759, 202, 759, 21786, 30, 225, 12792, 1160, 24118, 261, 3350, 83, 4692, 4259, 8535, 202, 759, 202, 430, 261, 698, 4705, 261, 8195, 16, 261, 7229, 13, 374, 92, 713, 16, 261, 7229, 13, 374, 92, 713, 16, 9506, 225, 261, 7229, 13, 374, 92, 713, 16, 261, 7229, 13, 374, 92, 23, 71, 3719, 288, 202, 565, 368, 2 ]
public org.quickfix.field.PegMoveType getPegMoveType() throws FieldNotFound { org.quickfix.field.PegMoveType value = new org.quickfix.field.PegMoveType();
public quickfix.field.PegMoveType getPegMoveType() throws FieldNotFound { quickfix.field.PegMoveType value = new quickfix.field.PegMoveType();
public org.quickfix.field.PegMoveType getPegMoveType() throws FieldNotFound { org.quickfix.field.PegMoveType value = new org.quickfix.field.PegMoveType(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/clean/src/java/src/quickfix/fix44/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 52, 1332, 7607, 559, 1689, 1332, 7607, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 52, 1332, 7607, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 52, 1332, 7607, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 52, 1332, 7607, 559, 1689, 1332, 7607, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 52, 1332, 7607, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 52, 1332, 7607, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL); entity [3] = value; entityInfo.put (eName, entity); } if (handler.getFeature (SAXDriver.FEATURE + "string-interning")) { if ("lt" == eName || "gt" == eName || "quot" == eName || "apos" == eName || "amp" == eName) return; } else { if ("lt".equals(eName) || "gt".equals(eName) || "quot".equals(eName) || "apos".equals(eName) || "amp".equals(eName)) return;
if (entityInfo.get(eName) == null) { EntityInfo entity = new EntityInfo(); entity.type = ENTITY_INTERNAL; entity.value = value; entityInfo.put(eName, entity); } if (handler.stringInterning) { if ("lt" == eName || "gt" == eName || "quot" == eName || "apos" == eName || "amp" == eName) { return; } } else { if ("lt".equals(eName) || "gt".equals(eName) || "quot".equals(eName) || "apos".equals(eName) || "amp".equals(eName)) { return; } } handler.getDeclHandler().internalEntityDecl(eName, value);
private void setInternalEntity (String eName, String value) throws SAXException { if (skippedPE) return; if (entityInfo.get (eName) == null) { Object entity[] = new Object [5]; entity [0] = new Integer (ENTITY_INTERNAL);// FIXME: shrink!! [2] useless entity [3] = value; entityInfo.put (eName, entity); } if (handler.getFeature (SAXDriver.FEATURE + "string-interning")) { if ("lt" == eName || "gt" == eName || "quot" == eName || "apos" == eName || "amp" == eName) return; } else { if ("lt".equals(eName) || "gt".equals(eName) || "quot".equals(eName) || "apos".equals(eName) || "amp".equals(eName)) return; } handler.getDeclHandler () .internalEntityDecl (eName, value); }
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/buggy/libjava/gnu/xml/aelfred2/XmlParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 3061, 1943, 261, 780, 425, 461, 16, 514, 460, 13, 565, 1216, 14366, 565, 288, 202, 430, 261, 25346, 1423, 13, 202, 565, 327, 31, 202, 430, 261, 1096, 966, 18, 588, 261, 73, 461, 13, 422, 446, 13, 288, 202, 565, 1033, 1522, 8526, 273, 394, 1033, 306, 25, 15533, 202, 565, 1522, 306, 20, 65, 273, 394, 2144, 261, 11101, 67, 14005, 1769, 759, 9852, 30, 17697, 8548, 225, 306, 22, 65, 26967, 202, 565, 1522, 306, 23, 65, 273, 460, 31, 202, 565, 1522, 966, 18, 458, 261, 73, 461, 16, 1522, 1769, 202, 97, 225, 309, 261, 4176, 18, 588, 4595, 261, 55, 2501, 4668, 18, 18257, 397, 315, 1080, 17, 267, 798, 310, 6, 3719, 288, 565, 309, 7566, 5618, 6, 422, 425, 461, 747, 315, 4521, 6, 422, 425, 461, 747, 315, 9270, 6, 422, 425, 461, 3639, 747, 315, 438, 538, 6, 422, 425, 461, 747, 315, 931, 6, 422, 425, 461, 13, 202, 565, 327, 31, 225, 289, 469, 288, 565, 309, 7566, 5618, 9654, 14963, 12, 73, 461, 13, 747, 315, 4521, 9654, 14963, 12, 73, 461, 13, 747, 315, 9270, 9654, 14963, 12, 73, 461, 13, 3639, 747, 315, 438, 538, 9654, 14963, 12, 73, 461, 13, 747, 315, 931, 9654, 14963, 12, 73, 461, 3719, 202, 565, 327, 31, 225, 289, 202, 4176, 18, 588, 3456, 1503, 1832, 202, 565, 263, 7236, 1943, 3456, 261, 73, 461, 16, 460, 1769, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 3061, 1943, 261, 780, 425, 461, 16, 514, 460, 13, 565, 1216, 14366, 565, 288, 202, 430, 261, 25346, 1423, 13, 202, 565, 327, 31, 202, 430, 261, 1096, 966, 18, 588, 261, 73, 461, 13, 422, 446, 13, 288, 202, 565, 1033, 1522, 8526, 273, 394, 1033, 306, 25, 15533, 202, 565, 1522, 306, 20, 65, 273, 394, 2144, 261, 11101, 67, 14005, 1769, 759, 9852, 30, 17697, 8548, 225, 306, 22, 65, 26967, 202, 565, 1522, 306, 23, 65, 273, 460, 31, 202, 565, 1522, 966, 18, 458, 261, 73, 461, 16, 1522, 1769, 202, 97, 225, 309, 261, 4176, 18, 588, 4595, 261, 55, 2501, 4668, 18, 18257, 397, 315, 1080, 17, 2 ]
} synchronized(this) { if(isClosed) return; ClientGet cg = new ClientGet(this, message);
} else { cg.start();
public void startClientGet(ClientGetMessage message) { String id = message.identifier; if(requestsByIdentifier.containsKey(id)) { Logger.normal(this, "Identifier collision on "+this); FCPMessage msg = new IdentifierCollisionMessage(id); outputHandler.queue(msg); return; } synchronized(this) { if(isClosed) return; ClientGet cg = new ClientGet(this, message); } }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/481df1c90fc522b90fc4e4db1c2e75b5f20a16e6/FCPConnectionHandler.java/clean/src/freenet/node/fcp/FCPConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1227, 967, 12, 1227, 967, 1079, 883, 13, 288, 202, 202, 780, 612, 273, 883, 18, 5644, 31, 202, 202, 430, 12, 11420, 27498, 18, 12298, 653, 12, 350, 3719, 288, 1082, 202, 3328, 18, 6130, 12, 2211, 16, 315, 3004, 17740, 603, 13773, 2211, 1769, 1082, 202, 42, 4258, 1079, 1234, 273, 394, 10333, 13535, 1951, 1079, 12, 350, 1769, 1082, 202, 2844, 1503, 18, 4000, 12, 3576, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 291, 7395, 13, 327, 31, 1082, 202, 1227, 967, 14947, 273, 394, 2445, 967, 12, 2211, 16, 883, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1227, 967, 12, 1227, 967, 1079, 883, 13, 288, 202, 202, 780, 612, 273, 883, 18, 5644, 31, 202, 202, 430, 12, 11420, 27498, 18, 12298, 653, 12, 350, 3719, 288, 1082, 202, 3328, 18, 6130, 12, 2211, 16, 315, 3004, 17740, 603, 13773, 2211, 1769, 1082, 202, 42, 4258, 1079, 1234, 273, 394, 10333, 13535, 1951, 1079, 12, 350, 1769, 1082, 202, 2844, 1503, 18, 4000, 12, 3576, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 291, 7395, 13, 327, 31, 1082, 202, 1227, 967, 14947, 273, 394, 2445, 967, 12, 2211, 16, 883, 1769, 202, 202, 97, 202, 97, 2, -100, -100 ]
public void presentationSettingsChanged(UpdateKind kind) { // TODO Auto-generated method stub }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c3626f7c72eeecb6e746907ff070fd1548cf9f52/MylarEditorManager.java/buggy/org.eclipse.mylyn.ide.ui/src/org/eclipse/mylyn/ide/MylarEditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22525, 2628, 5033, 12, 1891, 5677, 3846, 13, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22525, 2628, 5033, 12, 1891, 5677, 3846, 13, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
w.write ("else"); printSubStmt(alternative, w, tr);
if (alternative instanceof Block) { w.write ("else "); print(alternative, w, tr); } else { w.begin(4); w.write("else"); printSubStmt(alternative, w, tr); w.end(); }
public void prettyPrint(CodeWriter w, PrettyPrinter tr) { w.write("if ("); printBlock(cond, w, tr); w.write(")"); printSubStmt(consequent, w, tr); if (alternative != null) { if (consequent instanceof Block) { // allow the "} else {" formatting w.write(" "); } else { w.allowBreak(0, " "); } w.write ("else"); printSubStmt(alternative, w, tr); } }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/700ba8af5430ead0c391d0358b1c3b8a1a993619/If_c.java/clean/src/polyglot/ast/If_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 30410, 12, 1085, 2289, 341, 16, 22328, 12149, 433, 13, 288, 377, 202, 91, 18, 2626, 2932, 430, 7566, 1769, 202, 1188, 1768, 12, 10013, 16, 341, 16, 433, 1769, 202, 91, 18, 2626, 2932, 2225, 1769, 3639, 202, 1188, 1676, 8952, 12, 591, 9116, 16, 341, 16, 433, 1769, 202, 430, 261, 27071, 480, 446, 13, 288, 202, 565, 309, 261, 591, 9116, 1276, 3914, 13, 288, 202, 202, 759, 1699, 326, 27342, 469, 12528, 10407, 202, 202, 91, 18, 2626, 2932, 315, 1769, 202, 565, 289, 202, 565, 469, 288, 202, 202, 91, 18, 5965, 7634, 12, 20, 16, 315, 315, 1769, 202, 565, 289, 202, 565, 341, 18, 2626, 7566, 12107, 8863, 202, 565, 1172, 1676, 8952, 12, 27071, 16, 341, 16, 433, 1769, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 30410, 12, 1085, 2289, 341, 16, 22328, 12149, 433, 13, 288, 377, 202, 91, 18, 2626, 2932, 430, 7566, 1769, 202, 1188, 1768, 12, 10013, 16, 341, 16, 433, 1769, 202, 91, 18, 2626, 2932, 2225, 1769, 3639, 202, 1188, 1676, 8952, 12, 591, 9116, 16, 341, 16, 433, 1769, 202, 430, 261, 27071, 480, 446, 13, 288, 202, 565, 309, 261, 591, 9116, 1276, 3914, 13, 288, 202, 202, 759, 1699, 326, 27342, 469, 12528, 10407, 202, 202, 91, 18, 2626, 2932, 315, 1769, 202, 565, 289, 202, 565, 469, 288, 202, 202, 91, 18, 5965, 7634, 12, 20, 16, 315, 315, 1769, 202, 565, 289, 202, 565, 341, 18, 2626, 7566, 12107, 8863, 202, 2 ]
AST __t1463 = _t;
AST __t1464 = _t;
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1401 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1401; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t1402 = _t; AST tmp345_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1402; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t1403 = _t; AST tmp346_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1403; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t1404 = _t; AST tmp347_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1404; _t = _t.getNextSibling(); break; } case ASC: { AST __t1405 = _t; AST tmp348_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1405; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t1406 = _t; AST tmp349_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1406; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t1407 = _t; AST tmp350_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1407; _t = _t.getNextSibling(); break; } case CANDO: { AST __t1408 = _t; AST tmp351_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1408; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t1409 = _t; AST tmp352_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1409; _t = _t.getNextSibling(); break; } case CANSET: { AST __t1410 = _t; AST tmp353_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1410; _t = _t.getNextSibling(); break; } case CAPS: { AST __t1411 = _t; AST tmp354_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case CHR: { AST __t1412 = _t; AST tmp355_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t1413 = _t; AST tmp356_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t1414 = _t; AST tmp357_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1414; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t1415 = _t; AST tmp358_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1415; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t1416 = _t; AST tmp359_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t1417 = _t; AST tmp360_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t1418 = _t; AST tmp361_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case DATE: { AST __t1419 = _t; AST tmp362_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1419; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t1420 = _t; AST tmp363_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1420; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t1421 = _t; AST tmp364_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1421; _t = _t.getNextSibling(); break; } case DAY: { AST __t1422 = _t; AST tmp365_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1422; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t1423 = _t; AST tmp366_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1423; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t1424 = _t; AST tmp367_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1424; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t1425 = _t; AST tmp368_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1425; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t1426 = _t; AST tmp369_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1426; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t1427 = _t; AST tmp370_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1427; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t1428 = _t; AST tmp371_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1428; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t1429 = _t; AST tmp372_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1429; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t1430 = _t; AST tmp373_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1430; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t1431 = _t; AST tmp374_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1431; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t1432 = _t; AST tmp375_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1432; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t1433 = _t; AST tmp376_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1433; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t1434 = _t; AST tmp377_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1434; _t = _t.getNextSibling(); break; } case EXP: { AST __t1435 = _t; AST tmp378_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1435; _t = _t.getNextSibling(); break; } case FILL: { AST __t1436 = _t; AST tmp379_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1436; _t = _t.getNextSibling(); break; } case FIRST: { AST __t1437 = _t; AST tmp380_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1437; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t1438 = _t; AST tmp381_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1438; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t1439 = _t; AST tmp382_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1439; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t1440 = _t; AST tmp383_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1440; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t1441 = _t; AST tmp384_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1441; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t1442 = _t; AST tmp385_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1442; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t1443 = _t; AST tmp386_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1443; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t1444 = _t; AST tmp387_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1444; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t1445 = _t; AST tmp388_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1445; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t1446 = _t; AST tmp389_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1446; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t1447 = _t; AST tmp390_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1447; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t1448 = _t; AST tmp391_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1448; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t1449 = _t; AST tmp392_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1449; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t1450 = _t; AST tmp393_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1450; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t1451 = _t; AST tmp394_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1451; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t1452 = _t; AST tmp395_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1452; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t1453 = _t; AST tmp396_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1453; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t1454 = _t; AST tmp397_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1454; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t1455 = _t; AST tmp398_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1455; _t = _t.getNextSibling(); break; } case INDEX: { AST __t1456 = _t; AST tmp399_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1456; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t1457 = _t; AST tmp400_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1457; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t1458 = _t; AST tmp401_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1458; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t1459 = _t; AST tmp402_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1459; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t1460 = _t; AST tmp403_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1460; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t1461 = _t; AST tmp404_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1461; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t1462 = _t; AST tmp405_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1462; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t1463 = _t; AST tmp406_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1463; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t1464 = _t; AST tmp407_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1464; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t1465 = _t; AST tmp408_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1465; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t1466 = _t; AST tmp409_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1466; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t1467 = _t; AST tmp410_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1467; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t1468 = _t; AST tmp411_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1468; _t = _t.getNextSibling(); break; } case LAST: { AST __t1469 = _t; AST tmp412_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1469; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t1470 = _t; AST tmp413_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1470; _t = _t.getNextSibling(); break; } case LC: { AST __t1471 = _t; AST tmp414_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1471; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t1472 = _t; AST tmp415_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1472; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t1473 = _t; AST tmp416_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1473; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t1474 = _t; AST tmp417_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1474; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t1475 = _t; AST tmp418_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1475; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t1476 = _t; AST tmp419_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1476; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t1477 = _t; AST tmp420_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1477; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t1478 = _t; AST tmp421_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1478; _t = _t.getNextSibling(); break; } case LOG: { AST __t1479 = _t; AST tmp422_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1479; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t1480 = _t; AST tmp423_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1480; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t1481 = _t; AST tmp424_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1481; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t1482 = _t; AST tmp425_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1482; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t1483 = _t; AST tmp426_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1483; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t1484 = _t; AST tmp427_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1484; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t1485 = _t; AST tmp428_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1485; _t = _t.getNextSibling(); break; } case MONTH: { AST __t1486 = _t; AST tmp429_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1486; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t1487 = _t; AST tmp430_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1487; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t1488 = _t; AST tmp431_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1488; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t1489 = _t; AST tmp432_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1489; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t1490 = _t; AST tmp433_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1490; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t1491 = _t; AST tmp434_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1491; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t1492 = _t; AST tmp435_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1492; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t1493 = _t; AST tmp436_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1493; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t1494 = _t; AST tmp437_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1494; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t1495 = _t; AST tmp438_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1495; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t1496 = _t; AST tmp439_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1496; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t1497 = _t; AST tmp440_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1497; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t1498 = _t; AST tmp441_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1498; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t1499 = _t; AST tmp442_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1499; _t = _t.getNextSibling(); break; } case ROUND: { AST __t1500 = _t; AST tmp443_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1500; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t1501 = _t; AST tmp444_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1501; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t1502 = _t; AST tmp445_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1502; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t1503 = _t; AST tmp446_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1503; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t1504 = _t; AST tmp447_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1504; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t1505 = _t; AST tmp448_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1505; _t = _t.getNextSibling(); break; } case SQRT: { AST __t1506 = _t; AST tmp449_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1506; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t1507 = _t; AST tmp450_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1507; _t = _t.getNextSibling(); break; } case STRING: { AST __t1508 = _t; AST tmp451_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1508; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t1509 = _t; AST tmp452_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1509; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t1510 = _t; AST tmp453_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1510; _t = _t.getNextSibling(); break; } case TRIM: { AST __t1511 = _t; AST tmp454_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1511; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t1512 = _t; AST tmp455_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1512; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t1513 = _t; AST tmp456_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1513; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t1514 = _t; AST tmp457_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1514; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t1515 = _t; AST tmp458_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1515; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t1516 = _t; AST tmp459_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1516; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t1517 = _t; AST tmp460_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1517; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t1518 = _t; AST tmp461_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1518; _t = _t.getNextSibling(); break; } case YEAR: { AST __t1519 = _t; AST tmp462_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1519; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1501, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1501, 644, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 432, 2226, 15650, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3461, 1611, 273, 389, 88, 31, 1082, 202, 9053, 1853, 5026, 24, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 37, 2226, 15650, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 12125, 1968, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 3461, 1611, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 432, 2192, 30820, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3461, 3103, 273, 389, 88, 31, 1082, 202, 9053, 1853, 25574, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 37, 2192, 30820, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 12125, 1968, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1501, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1501, 644, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 432, 2226, 15650, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3461, 1611, 273, 389, 88, 31, 1082, 202, 9053, 1853, 5026, 24, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 37, 2226, 15650, 1769, 1082, 202, 67, 88, 2 ]
log.info("Got results: " +
log.debug("Got results: " +
private static void logInfo(BrowseInfo info) { if (! log.isInfoEnabled()) return; log.info("Number of Results: " + info.getResultCount() + " Overall position: " + info.getOverallPosition() + " Total " + info.getTotal() + " Offset " + info.getOffset()); int lastIndex = (info.getOverallPosition() + info.getResultCount()); boolean noresults = (info.getTotal() == 0) || (info.getResultCount() == 0); if (noresults) log.info("Got no results"); log.info("Got results: " + info.getOverallPosition() + " to " + lastIndex + " out of " + info.getTotal()); }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/7b0a3266e37747f5c7dcc5ec6ca43ec81ada3bf9/Browse.java/clean/dspace/src/org/dspace/browse/Browse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 613, 966, 12, 27304, 966, 1123, 13, 565, 288, 3639, 309, 16051, 613, 18, 291, 966, 1526, 10756, 5411, 327, 31, 3639, 613, 18, 1376, 2932, 1854, 434, 10351, 30, 315, 397, 1123, 18, 588, 1253, 1380, 1435, 397, 1171, 315, 10752, 454, 1754, 30, 315, 397, 1123, 18, 588, 4851, 454, 2555, 1435, 397, 1171, 315, 10710, 315, 397, 1123, 18, 588, 5269, 1435, 397, 1171, 315, 9874, 315, 397, 1123, 18, 588, 2335, 10663, 3639, 509, 7536, 273, 261, 1376, 18, 588, 4851, 454, 2555, 1435, 397, 1123, 18, 588, 1253, 1380, 10663, 3639, 1250, 1158, 4717, 273, 261, 1376, 18, 588, 5269, 1435, 422, 374, 13, 747, 261, 1376, 18, 588, 1253, 1380, 1435, 422, 374, 1769, 3639, 309, 261, 2135, 4717, 13, 5411, 613, 18, 1376, 2932, 15617, 1158, 1686, 8863, 3639, 613, 18, 4148, 2932, 15617, 1686, 30, 315, 397, 1171, 1123, 18, 588, 4851, 454, 2555, 1435, 397, 1171, 315, 358, 315, 397, 1171, 7536, 397, 1171, 315, 596, 434, 315, 397, 1123, 18, 588, 5269, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 613, 966, 12, 27304, 966, 1123, 13, 565, 288, 3639, 309, 16051, 613, 18, 291, 966, 1526, 10756, 5411, 327, 31, 3639, 613, 18, 1376, 2932, 1854, 434, 10351, 30, 315, 397, 1123, 18, 588, 1253, 1380, 1435, 397, 1171, 315, 10752, 454, 1754, 30, 315, 397, 1123, 18, 588, 4851, 454, 2555, 1435, 397, 1171, 315, 10710, 315, 397, 1123, 18, 588, 5269, 1435, 397, 1171, 315, 9874, 315, 397, 1123, 18, 588, 2335, 10663, 3639, 509, 7536, 273, 261, 1376, 18, 588, 4851, 454, 2555, 1435, 397, 1123, 18, 588, 1253, 1380, 10663, 3639, 1250, 1158, 4717, 273, 261, 1376, 18, 588, 5269, 1435, 422, 374, 13, 747, 261, 1376, 18, 588, 1253, 2 ]
10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 340, -1, -1, -1,
private static final short[] yyCheck2() { return new short[] { -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 41, -1, -1, 44, -1, -1, -1, 41, -1, -1, -1, -1, 0, -1, 61, -1, -1, -1, -1, -1, 61, -1, 10, -1, -1, 59, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, 91, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 0, -1, 302, 303, 304, 305, 306, 307, 308, 309, 10, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, 262, 263, 264, -1, 279, 280, 268, 269, 331, 271, 279, -1, -1, -1, -1, 338, 339, -1, 41, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, 58, 59, 360, -1, -1, 363, 364, 365, 366, 367, 368, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 331, -1, -1, -1, -1, -1, 331, 338, 280, 281, 282, -1, 343, 338, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 359, 0, -1, 362, -1, -1, 359, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 125, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 0, -1, 336, 337, 338, -1, -1, 341, 41, -1, 10, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 41, -1, -1, 44, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, 125, 93, -1, -1, -1, -1, -1, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 125, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, 61, -1, 63, -1, -1, 280, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 262, 263, 264, 91, -1, 93, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 362, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, -1, 340, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, 0, 353, 354, 355, 356, 357, 358, 359, -1, 361, 10, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 41, 281, 282, 44, -1, -1, -1, -1, 125, -1, 290, 291, 41, 293, 294, 295, 296, 297, 59, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 59, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, 125, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 41, -1, -1, 44, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 262, 263, 264, -1, -1, 0, 268, 269, -1, 271, -1, -1, -1, -1, -1, 10, 125, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 0, 361, 58, 59, -1, -1, -1, 63, -1, -1, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, 59, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, -1, -1, -1, 41, 349, 0, 351, -1, 353, 354, 355, 356, 357, 358, 359, 10, 361, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 125, 271, -1, -1, -1, -1, -1, -1, -1, 91, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, -1, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, 125, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 125, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, 125, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 41, 271, -1, 44, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 293, 294, 295, 296, 297, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, -1, 341, 0, -1, -1, -1, -1, 347, -1, 349, -1, 351, 10, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, 93, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 91, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, -1, 61, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, 0, 341, -1, -1, -1, -1, -1, 347, -1, 349, 10, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, 340, -1, 41, -1, -1, 44, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, }; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 30616, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 6969, 27, 16, 225, 6969, 28, 16, 225, 576, 6162, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 2 ]
director.enterLoop(propertiesBundle.getStringProperty("statement_name.do_while"), h);
director.enterLoop(propertiesBundle .getStringProperty("statement_name.do_while"), h);
protected void handleCodeDO(long expressionReference, String value, long round, Highlight h) { Value result = (Value) values.remove(new Long(expressionReference)); if (round == 0) { director.enterLoop(propertiesBundle.getStringProperty("statement_name.do_while"), h); } else { if (value.equals(Boolean.TRUE.toString())) { director.continueLoop( propertiesBundle.getStringProperty("statement_name.do_while"), result, h); } else { director.exitLoop(propertiesBundle.getStringProperty("statement_name.do_while"), result); } } director.closeScratch(); director.openScratch(); }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/4f8e3bd480c250109c4e88a15fb468e8d6463729/TheaterMCodeInterpreter.java/buggy/src/jeliot/mcode/TheaterMCodeInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 1085, 3191, 12, 5748, 2652, 2404, 16, 514, 460, 16, 1525, 3643, 16, 31386, 366, 13, 288, 3639, 1445, 563, 273, 261, 620, 13, 924, 18, 4479, 12, 2704, 3407, 12, 8692, 2404, 10019, 3639, 309, 261, 2260, 422, 374, 13, 288, 5411, 2657, 280, 18, 2328, 6452, 12, 4738, 3405, 263, 588, 780, 1396, 2932, 11516, 67, 529, 18, 2896, 67, 17523, 6, 3631, 366, 1769, 3639, 289, 469, 288, 5411, 309, 261, 1132, 18, 14963, 12, 5507, 18, 18724, 18, 10492, 1435, 3719, 288, 7734, 2657, 280, 18, 17143, 6452, 12, 13491, 1790, 3405, 18, 588, 780, 1396, 2932, 11516, 67, 529, 18, 2896, 67, 17523, 6, 3631, 563, 16, 366, 1769, 5411, 289, 469, 288, 7734, 2657, 280, 18, 8593, 6452, 12, 4738, 3405, 18, 588, 780, 1396, 2932, 11516, 67, 529, 18, 2896, 67, 17523, 6, 3631, 13491, 563, 1769, 5411, 289, 3639, 289, 3639, 2657, 280, 18, 4412, 1541, 86, 505, 5621, 3639, 2657, 280, 18, 3190, 1541, 86, 505, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 1085, 3191, 12, 5748, 2652, 2404, 16, 514, 460, 16, 1525, 3643, 16, 31386, 366, 13, 288, 3639, 1445, 563, 273, 261, 620, 13, 924, 18, 4479, 12, 2704, 3407, 12, 8692, 2404, 10019, 3639, 309, 261, 2260, 422, 374, 13, 288, 5411, 2657, 280, 18, 2328, 6452, 12, 4738, 3405, 263, 588, 780, 1396, 2932, 11516, 67, 529, 18, 2896, 67, 17523, 6, 3631, 366, 1769, 3639, 289, 469, 288, 5411, 309, 261, 1132, 18, 14963, 12, 5507, 18, 18724, 18, 10492, 1435, 3719, 288, 7734, 2657, 280, 18, 17143, 6452, 12, 13491, 1790, 3405, 18, 588, 780, 1396, 2932, 11516, 67, 529, 18, 2896, 67, 17523, 6, 3631, 563, 16, 366, 1769, 5411, 2 ]
private ChartDescriptor createChartDescriptor(String userID, String appName, String resource, String type, org.jfree.data.Dataset inDataset) throws IOException, Exception { writeDataset(userID, appName, resource, inDataset); Image image = new Image(); image.setAppName(appName); image.setFilename(resource); image.setTimestamp(0); Dataset dataset = new Dataset(); dataset.setAppName(appName); dataset.setFilename(resource); dataset.setType(inDataset.getClass().getName()); dataset.setTimestamp(new Date().getTime()); FileInfo fileInfo = new FileInfo(); fileInfo.setImage(image); fileInfo.setDataset(dataset); NoDataMessage noDataMessage = new NoDataMessage(); Color color = new Color(); color.setRed(255); Paint paint = new Paint(); paint.setColor(color); noDataMessage.setFont(new Font()); noDataMessage.setPaint(paint); Plot plot = new Plot(); plot.setNoDataMessage(noDataMessage); Settings settings = new Settings(); if (type.equals("Pie") || type.equals("Pie3D")) settings.setPie(new Pie()); else settings.setCategory(new Category()); plot.setSettings(settings); ChartInfo chartInfo = new ChartInfo(); chartInfo.setType(type); chartInfo.setPlot(plot); Color backgroundColor = new Color(); backgroundColor.setRed(238); backgroundColor.setGreen(238); backgroundColor.setBlue(238); BackgroundPaint backgroundPaint = new BackgroundPaint(); backgroundPaint.setColor(backgroundColor); chartInfo.setBackgroundPaint(backgroundPaint); ChartDescriptor chartDescriptor = new ChartDescriptor(); chartDescriptor.setFileInfo(fileInfo); chartDescriptor.setChartInfo(chartInfo); return chartDescriptor; }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/5e93cdcd9166e095a59c74bc50c00d9e8e2313f7/ChartServiceImpl.java/buggy/src/org/gridlab/gridsphere/services/core/charts/impl/ChartServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 7984, 3187, 2640, 7984, 3187, 12, 780, 1355, 734, 16, 780, 2910, 461, 16, 780, 3146, 16, 780, 723, 16, 3341, 18, 78, 9156, 18, 892, 18, 10656, 267, 10656, 13, 15069, 14106, 16, 503, 95, 2626, 10656, 12, 1355, 734, 16, 2910, 461, 16, 3146, 16, 267, 10656, 1769, 2040, 2730, 33, 2704, 2040, 5621, 2730, 18, 542, 3371, 461, 12, 2910, 461, 1769, 2730, 18, 542, 5359, 12, 3146, 1769, 2730, 18, 542, 4921, 12, 20, 1769, 10656, 8682, 33, 2704, 10656, 5621, 8682, 18, 542, 3371, 461, 12, 2910, 461, 1769, 8682, 18, 542, 5359, 12, 3146, 1769, 8682, 18, 542, 559, 12, 267, 10656, 18, 588, 797, 7675, 17994, 10663, 8682, 18, 542, 4921, 12, 2704, 1626, 7675, 588, 950, 10663, 11995, 768, 966, 33, 2704, 11995, 5621, 768, 966, 18, 542, 2040, 12, 2730, 1769, 768, 966, 18, 542, 10656, 12, 8682, 1769, 2279, 751, 49, 403, 346, 5764, 751, 1079, 33, 2704, 2279, 751, 1079, 5621, 2957, 3266, 33, 2704, 2957, 5621, 3266, 18, 542, 3715, 12, 10395, 1769, 12699, 84, 1598, 33, 2704, 12699, 5621, 84, 1598, 18, 542, 2957, 12, 3266, 1769, 2135, 751, 1079, 18, 542, 5711, 12, 2704, 5711, 10663, 2135, 751, 1079, 18, 542, 12699, 12, 84, 1598, 1769, 11532, 4032, 33, 2704, 11532, 5621, 4032, 18, 542, 2279, 751, 1079, 12, 2135, 751, 1079, 1769, 2628, 4272, 33, 2704, 2628, 5621, 430, 12, 723, 18, 14963, 2932, 52, 1385, 7923, 20081, 723, 18, 14963, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 7984, 3187, 2640, 7984, 3187, 12, 780, 1355, 734, 16, 780, 2910, 461, 16, 780, 3146, 16, 780, 723, 16, 3341, 18, 78, 9156, 18, 892, 18, 10656, 267, 10656, 13, 15069, 14106, 16, 503, 95, 2626, 10656, 12, 1355, 734, 16, 2910, 461, 16, 3146, 16, 267, 10656, 1769, 2040, 2730, 33, 2704, 2040, 5621, 2730, 18, 542, 3371, 461, 12, 2910, 461, 1769, 2730, 18, 542, 5359, 12, 3146, 1769, 2730, 18, 542, 4921, 12, 20, 1769, 10656, 8682, 33, 2704, 10656, 5621, 8682, 18, 542, 3371, 461, 12, 2910, 461, 1769, 8682, 18, 542, 5359, 12, 3146, 1769, 8682, 18, 542, 559, 12, 267, 10656, 18, 588, 797, 7675, 17994, 10663, 8682, 18, 542, 4921, 2 ]
public void setSeconds(int seconds) { this.sec = seconds; invalidate(); }
public void setSeconds(int seconds) { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(time); cal.set(Calendar.SECOND, seconds); time = cal.getTimeInMillis(); }
public void setSeconds(int seconds) { this.sec = seconds; invalidate(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Date.java/buggy/core/src/classpath/java/java/util/Date.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 6762, 12, 474, 3974, 13, 288, 202, 202, 2211, 18, 3321, 273, 3974, 31, 202, 202, 5387, 340, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 6762, 12, 474, 3974, 13, 288, 202, 202, 2211, 18, 3321, 273, 3974, 31, 202, 202, 5387, 340, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public int getResultSetHoldability() throws java.sql.SQLException
public int getResultSetHoldability() throws SQLException
public int getResultSetHoldability() throws java.sql.SQLException { throw new UnsupportedOperationException(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/d7ced2b0c605263f7dfa189541246bf6492c8785/DatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8601, 694, 20586, 2967, 1435, 1216, 6483, 565, 288, 3639, 604, 394, 13172, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8601, 694, 20586, 2967, 1435, 1216, 6483, 565, 288, 3639, 604, 394, 13172, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.MARKER__TYPE : unsetType( ); return; case AttributePackage.MARKER__SIZE : unsetSize( ); return; case AttributePackage.MARKER__VISIBLE : unsetVisible( ); return; case AttributePackage.MARKER__ICON_PALETTE : setIconPalette( (Palette) null ); return; } eDynamicUnset( eFeature ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/MarkerImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/MarkerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 2399, 294, 9506, 202, 18579, 559, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 4574, 294, 9506, 202, 18579, 1225, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 29588, 294, 9506, 202, 18579, 6207, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 21745, 67, 4066, 15146, 1448, 294, 9506, 202, 542, 5554, 25863, 12, 261, 25863, 13, 446, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 13250, 12, 425, 4595, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 2399, 294, 9506, 202, 18579, 559, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 4574, 294, 9506, 202, 18579, 1225, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 29588, 294, 9506, 202, 18579, 6207, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 25989, 972, 21745, 67, 4066, 15146, 1448, 294, 9506, 202, 542, 5554, 25863, 12, 261, 25863, 13, 446, 11272, 9506, 202, 2463, 2 ]
System.out.println("Cluster Backend SIRGlobal: "+global);
if (debugPrint) System.out.println("Cluster Backend SIRGlobal: "+global);
public static void run(SIRStream str, JInterfaceDeclaration[] interfaces, SIRInterfaceTable[] interfaceTables, SIRStructure[] structs, SIRHelper[] helpers, SIRGlobal global) { HashMap[] exec_counts1; HashMap[] exec_counts2; boolean doCacheOptimization = KjcOptions.cacheopt; int code_cache = 16000; int data_cache = 16000; System.out.println("Cluster Backend SIRGlobal: "+global); System.out.println("Entry to Cluster Backend"); System.out.println(" --cluster parameter is: "+KjcOptions.cluster); System.out.println(" peekratio is: "+KjcOptions.peekratio);// System.out.println(" rename1 is: "+KjcOptions.rename1);// System.out.println(" rename2 is: "+KjcOptions.rename2); if (debugPrint) { SIRGlobal[] globals; if (global != null) { globals = new SIRGlobal[1]; globals[0] = global; } else globals = new SIRGlobal[0]; System.err.println("// str on entry to Cluster backend"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs,globals); System.err.println("// END str on entry to Cluster backend"); } structures = structs; // set number of columns/rows //RawBackend.rawRows = KjcOptions.raw; //if(KjcOptions.rawcol>-1) // RawBackend.rawColumns = KjcOptions.rawcol; //else // RawBackend.rawColumns = KjcOptions.raw; //simulator = new FineGrainSimulator(); //this must be run now, FlatIRToC relies on it!!! RenameAll.renameAllFilters(str); // Introduce Multiple Pops where programmer // didn't take advantage of them IntroduceMultiPops.doit(str); // Perform propagation on fields from 'static' sections. Set<SIRGlobal> statics = new HashSet<SIRGlobal>(); if (global != null) statics.add(global); Map associatedGlobals = StaticsProp.propagate(str, statics); if (debugPrint) { System.err.println("// str after RenameAll and StaticsProp"); SIRGlobal[] globals; if (global != null) { globals = new SIRGlobal[1]; globals[0] = global; } else { globals = new SIRGlobal[0]; } SIRToStreamIt.run(str, interfaces, interfaceTables, structs, globals); System.err.println("// END str after RenameAll and StaticsProp"); } // propagate constants and unroll loop System.err.print("Running Constant Prop and Unroll..."); // Constant propagate and unroll. // Set unrolling factor to <= 4 for loops that don't involve // any tape operations. Unroller.setLimitNoTapeLoops(true, 4); ConstantProp.propagateAndUnroll(str); // do constant propagation on fields System.err.print("Running Constant Field Propagation..."); ConstantProp.propagateAndUnroll(str, true); if (debugPrint) { System.err.println("// str after ConstantProp"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs); System.err.println("// END str after ConstantProp"); } // convert round(x) to floor(0.5+x) to avoid obscure errors RoundToFloor.doit(str); // add initPath functions EnqueueToInitPath.doInitPath(str); // construct stream hierarchy from SIRInitStatements ConstructSIRTree.doit(str); //SIRPrinter printer1 = new SIRPrinter(); //str.accept(printer1); //printer1.close(); //VarDecl Raise to move array assignments up new VarDeclRaiser().raiseVars(str); // expand array initializers loaded from a file ArrayInitExpander.doit(str); System.err.println(" done."); //System.err.println("Analyzing Branches.."); //new BlockFlattener().flattenBlocks(str); //new BranchAnalyzer().analyzeBranches(str); SIRPortal.findMessageStatements(str); // optimize so that IncreaseFilterMult has accurate estimates // of code size Optimizer.optimize(str); if (debugPrint) { System.err.println("// str after Optimizer"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs); System.err.println("// END str after Optimizer"); } Estimator.estimate(str); Lifter.liftAggressiveSync(str); //StreamItDot.printGraph(str, "before-partition.dot"); // gather application-characterization statistics if (KjcOptions.stats) { StatisticsGathering.doit(str); } str = Flattener.doLinearAnalysis(str); str = Flattener.doStateSpaceAnalysis(str); // for scheduler, interpret dynamic rates as a constant. // TODO: // eventually make a policy that changes dynamic rates <r> to // to <r.max> or 1000 if <r.max> is dynamic. // for now: // to push MPEG through cluster need size of // apps/benchmarks/mpeg2/input/momessage.m2v in bits rounded // up to a multiple of 32. SIRDynamicRateManager.pushConstantPolicy(1000000); //SIRDynamicRateManager.pushIdentityPolicy(); // Calculate SIRSchedule before increasing multiplicity StreamItDot.printGraph(str, "before-peekmult.dot"); exec_counts1 = SIRScheduler.getExecutionCounts(str); // sets filter steady counts, which are needed by cache partitioner filter_steady_counts = exec_counts1[1]; // Increasing filter Multiplicity //if ( doCacheOptimization && KjcOptions.peekratio < 1024) { if (!(KjcOptions.peekratio >= 256)) { IncreaseFilterMult.inc(str, 1, code_cache); } //} Optimizer.optimize(str); Estimator.estimate(str); int threads = KjcOptions.cluster; HashMap partitionMap = new HashMap(); if ( doCacheOptimization ) { //boolean decreased; str = new CachePartitioner(str, WorkEstimate.getWorkEstimate(str), 0, code_cache, data_cache).calcPartitions(partitionMap); //decreased = IncreaseFilterMult.decreaseMult(partitionMap); /* if (decreased) { // Repartition second time str = new CachePartitioner(str, WorkEstimate.getWorkEstimate(str), 0, code_cache, data_cache).calcPartitions(partitionMap); decreased = IncreaseFilterMult.decreaseMult(partitionMap); } */ } // Calculate SIRSchedule after increasing multiplicity StreamItDot.printGraph(str, "after-peekmult.dot"); exec_counts2 = SIRScheduler.getExecutionCounts(str); // sets filter steady counts, which are needed by cache partitioner filter_steady_counts = exec_counts2[1]; //exec_counts2 = SIRScheduler.getExecutionCounts(str); //find out how what is the schedule multiplicity due to //peek scaling HashMap steady1 = exec_counts1[1]; HashMap steady2 = exec_counts2[1]; int implicit_mult = IncreaseFilterMult.scheduleMultAfterScaling(steady1, steady2); MarkFilterBoundaries.doit(str); System.err.println("Implicit schedule mult increase due to peek scaling is: "+implicit_mult); if (KjcOptions.optfile != null) { System.err.println("Running User-Defined Transformations..."); str = ManualPartition.doit(str); System.err.println("User-Defined Transformations End."); RemoveMultiPops.doit(str); } System.err.println("Running Partitioning... target number of threads: "+threads); StreamItDot.printGraph(str, "before-partition.dot"); // actually fuse components if fusion flag is enabled if (KjcOptions.fusion) { // turn on dynamic programming if no other partitioning is turned on if (!KjcOptions.partition_greedy && !KjcOptions.partition_greedier) { KjcOptions.partition_dp = true; } if ( doCacheOptimization ) { str = CachePartitioner.doit(str, code_cache, data_cache); } else { str = Partitioner.doit(str, 0, threads, false, false); // from now on, target however many threads were // produced by the partitioner KjcOptions.cluster = Partitioner.countFilters(str); } /* if (str instanceof SIRContainer) { ((SIRContainer)str).reclaimChildren(); } str.setParent(null); */ } //HashMap partitionMap = new HashMap(); partitionMap.clear(); if ( doCacheOptimization ) { str = new CachePartitioner(str, WorkEstimate.getWorkEstimate(str), 0, code_cache, data_cache).calcPartitions(partitionMap); str.setParent(null); str = new DynamicProgPartitioner(str, WorkEstimate.getWorkEstimate(str), threads, false, false).calcPartitions(partitionMap); } else { // if mapping to 1 machine, then just map everyone to // partition 0 as an optimization (the partitioner would // do the same thing, but would take longer) if (threads==1) { mapToPartitionZero(str, partitionMap); } else { // Fix up a bug that might be caused by previous // pass of partitioner str.setParent(null); str = new DynamicProgPartitioner(str, WorkEstimate.getWorkEstimate(str), threads, false, false).calcPartitions(partitionMap); } } System.err.println("Done Partitioning..."); Unroller.setLimitNoTapeLoops(false, 0); if (KjcOptions.sjtopipe) { SJToPipe.doit(str); } StreamItDot.printGraph(str, "after-partition.dot"); //VarDecl Raise to move array assignments up new VarDeclRaiser().raiseVars(str); //VarDecl Raise to move peek index up so //constant prop propagates the peek buffer index new VarDeclRaiser().raiseVars(str); // optionally print a version of the source code that we're // sending to the scheduler if (KjcOptions.print_partitioned_source) { new streamit.scheduler2.print.PrintProgram().printProgram(IterFactory.createFactory().createIter(str)); } //run constrained scheduler System.err.print("Constrained Scheduler Begin..."); topStreamIter = IterFactory.createFactory().createIter(str); //topStreamIter = IterFactory.createFineGrainedFactory().createIter(str); //new streamit.scheduler2.print.PrintGraph().printProgram(topStreamIter); //new streamit.scheduler2.print.PrintProgram().printProgram(topStreamIter); if (KjcOptions.debug) { debugOutput(str); } System.err.println(" done."); // end constrained scheduler System.err.println("Flattener Begin..."); executionCounts = SIRScheduler.getExecutionCounts(str); PartitionDot.printScheduleGraph(str, "schedule.dot", executionCounts); GraphFlattener graphFlattener = new GraphFlattener(str); //graphFlattener.dumpGraph("flatgraph.dot"); System.err.println("Flattener End."); //create the execution counts for other passes createExecutionCounts(str, graphFlattener); if (debugPrint) { SIRGlobal[] globals; if (global != null) { globals = new SIRGlobal[1]; globals[0] = global; } else globals = new SIRGlobal[0]; System.err.println("// str before Cluster-specific code"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs,globals); System.err.println("// END str before Cluster-specific code"); } // if going to standalone without fusion, expand the main // method names to include the filter name, so we can identify them if (KjcOptions.standalone && !KjcOptions.fusion) { RenameAll.expandFunctionNames(str); } //////////////////////////////////////////////// // the cluster specific code begins here NodeEnumerator.reset(); graphFlattener.top.accept(new NodeEnumerator(), new HashSet(), true); graphFlattener.top.accept(new RegisterStreams(), new HashSet(), true); DiscoverSchedule d_sched = new DiscoverSchedule(); d_sched.findPhases(graphFlattener.top.contents); /* // Remove globals pass is broken in cluster !!! if (KjcOptions.removeglobals) { RemoveGlobals.doit(graphFlattener.top); } */ StructureIncludeFile.doit(structures, graphFlattener.top); /// start output portals SIRPortal portals[] = SIRPortal.getPortals(); LatencyConstraints.detectConstraints(topStreamIter, portals); /// end output portals //VarDecl Raise to move array assignments down? new VarDeclRaiser().raiseVars(str); // creating filter2Node filter2Node = new HashMap(); graphFlattener.top.accept(new ClusterBackend(), null, true); //generating code for partitioned nodes //ClusterExecutionCode.doit(graphFlattener.top); System.err.println("Cluster Code begin..."); ClusterFusion.setPartitionMap(partitionMap); if (KjcOptions.fusion) { graphFlattener.top.accept(new ClusterFusion(), new HashSet(), true); } //ClusterCode.setPartitionMap(partitionMap); // legacy code now no-op ClusterCode.generateCode(graphFlattener.top); FusionCode.generateFusionHeader(str, doCacheOptimization); FusionCode.generateFusionFile(d_sched, implicit_mult); GenerateGlobal.generateGlobal(global, helpers); // global.h, global.cpp GenerateMasterDotCpp.generateMasterDotCpp(); // master.cpp GenerateClusterDotH.generateClusterDotH(); // master.h GenerateMakefile.generateMakefile(helpers); // Makefile.cluster GenerateConfigFile.generateConfigFile(); // cluster-config.txt GenerateSetupFile.generateSetupFile(); // cluster-setup.txt GenerateWorkEst.generateWorkEst(); // work-estimate.txt System.err.println("Cluster Code End."); /* //generate the makefiles System.out.println("Creating Makefile."); MakefileGenerator.createMakefile(); */ /* // attempt to find constrained schedule! Greedy g = new Greedy(d_sched); for (int w = 0; w < 20; w++) { int res = g.nextPhase(); // find a constrained phase if (res > 0) break; } for (int w = 0; w < 20; w++) { g.combineInit(); } */ System.out.println("Exiting"); System.exit(0); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/85a2d9c2cd848f3b87a60e697e065d77f3bcef3a/ClusterBackend.java/clean/streams/src/at/dms/kjc/cluster/ClusterBackend.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1086, 12, 2320, 54, 1228, 609, 16, 21821, 804, 1358, 6094, 8526, 7349, 16, 21821, 5705, 54, 1358, 1388, 8526, 1560, 6905, 16, 21821, 5705, 54, 6999, 8526, 8179, 16, 21821, 5705, 54, 2276, 8526, 9246, 16, 21821, 5705, 54, 5160, 2552, 13, 288, 3639, 4317, 8526, 1196, 67, 8008, 21, 31, 3639, 4317, 8526, 1196, 67, 8008, 22, 31, 3639, 1250, 741, 1649, 13930, 1588, 273, 1475, 78, 71, 1320, 18, 2493, 3838, 31, 3639, 509, 981, 67, 2493, 273, 2872, 3784, 31, 3639, 509, 501, 67, 2493, 273, 2872, 3784, 31, 3639, 309, 261, 4148, 5108, 13, 2332, 18, 659, 18, 8222, 2932, 3629, 11736, 5705, 54, 5160, 30, 13773, 6347, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 1622, 358, 5584, 11736, 8863, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 1493, 7967, 1569, 353, 30, 13773, 47, 78, 71, 1320, 18, 7967, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 8032, 9847, 353, 30, 13773, 47, 78, 71, 1320, 18, 347, 3839, 9847, 1769, 759, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 6472, 21, 353, 30, 13773, 47, 78, 71, 1320, 18, 18539, 21, 1769, 759, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 6472, 22, 353, 30, 13773, 47, 78, 71, 1320, 18, 18539, 22, 1769, 3639, 309, 261, 4148, 5108, 13, 288, 5411, 5705, 54, 5160, 8526, 10941, 31, 5411, 309, 261, 6347, 480, 446, 13, 288, 7734, 10941, 273, 394, 5705, 54, 5160, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1086, 12, 2320, 54, 1228, 609, 16, 21821, 804, 1358, 6094, 8526, 7349, 16, 21821, 5705, 54, 1358, 1388, 8526, 1560, 6905, 16, 21821, 5705, 54, 6999, 8526, 8179, 16, 21821, 5705, 54, 2276, 8526, 9246, 16, 21821, 5705, 54, 5160, 2552, 13, 288, 3639, 4317, 8526, 1196, 67, 8008, 21, 31, 3639, 4317, 8526, 1196, 67, 8008, 22, 31, 3639, 1250, 741, 1649, 13930, 1588, 273, 1475, 78, 71, 1320, 18, 2493, 3838, 31, 3639, 509, 981, 67, 2493, 273, 2872, 3784, 31, 3639, 509, 501, 67, 2493, 273, 2872, 3784, 31, 3639, 309, 261, 4148, 5108, 13, 2332, 18, 659, 18, 8222, 2932, 3629, 11736, 5705, 54, 5160, 30, 13773, 6347, 1769, 3639, 2 ]
sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = orientation; changeListener = createChangeListener(); changeListenerList = new EventListenerList(); sliderModel.addChangeListener(changeListener); updateUI();
this(HORIZONTAL, 0, 100, 50);
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = orientation; changeListener = createChangeListener(); changeListenerList = new EventListenerList(); sliderModel.addChangeListener(changeListener); updateUI(); }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JSlider.java/buggy/libjava/javax/swing/JSlider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 21824, 12, 474, 9820, 16, 509, 5224, 16, 509, 4207, 16, 509, 460, 13, 225, 288, 565, 18442, 1488, 273, 394, 2989, 38, 12002, 2655, 1488, 12, 1132, 16, 374, 16, 5224, 16, 4207, 1769, 565, 309, 261, 19235, 480, 24606, 597, 9820, 480, 29109, 13, 1377, 604, 394, 2754, 12, 19235, 397, 315, 353, 486, 279, 19286, 9820, 8863, 565, 333, 18, 19235, 273, 9820, 31, 565, 2549, 2223, 273, 752, 15744, 5621, 565, 2549, 2223, 682, 273, 394, 22090, 682, 5621, 565, 18442, 1488, 18, 1289, 15744, 12, 3427, 2223, 1769, 565, 1089, 5370, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 21824, 12, 474, 9820, 16, 509, 5224, 16, 509, 4207, 16, 509, 460, 13, 225, 288, 565, 18442, 1488, 273, 394, 2989, 38, 12002, 2655, 1488, 12, 1132, 16, 374, 16, 5224, 16, 4207, 1769, 565, 309, 261, 19235, 480, 24606, 597, 9820, 480, 29109, 13, 1377, 604, 394, 2754, 12, 19235, 397, 315, 353, 486, 279, 19286, 9820, 8863, 565, 333, 18, 19235, 273, 9820, 31, 565, 2549, 2223, 273, 752, 15744, 5621, 565, 2549, 2223, 682, 273, 394, 22090, 682, 5621, 565, 18442, 1488, 18, 1289, 15744, 12, 3427, 2223, 1769, 565, 1089, 5370, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
virtualNodesMap.put(nodeName, vnName);
virtualNodesMapNodes.put(nodeName, vnName);
public String createLocalNode(String nodeName, boolean replacePreviousBinding, PolicyServer ps, String vnName, String jobId) throws NodeException { //Node node = new NodeImpl(this,nodeName); //System.out.println("node created with name "+nodeName+"on proActiveruntime "+this); if (replacePreviousBinding) { if (nodeMap.get(nodeName) != null) { nodeMap.remove(nodeName); nodeJobIdMap.remove(nodeName); } } if (!replacePreviousBinding && (nodeMap.get(nodeName) != null)) { throw new NodeException("Node " + nodeName + " already created on this ProActiveRuntime. To overwrite this node, use true for replacePreviousBinding"); } nodeMap.put(nodeName, new java.util.ArrayList()); nodeJobIdMap.put(nodeName, jobId); if (ps != null) { System.out.println("Node Certificate : " + ps.getCertificate().getPublicKey()); System.out.println("Node Certificate : " + ps.getCertificate().getIssuerDN()); } if ((vnName != null) && (vnName.equals("currentJVM"))) { // if Jvm has been started using the currentJVM tag // vnName = defaultNodeVirtualNode; logger.debug( "++++++++++++++++++++++++++++++++++++++++++++CurrentJVM Tag ! Local Node : " + nodeName + " VN name : " + vnName + " policyserver " + ps); } else { logger.debug( "----------------------------------------Local Node : " + nodeName + " VN name : " + vnName + " policyserver " + ps); } if (ps != null) { logger.debug("generating node certificate"); // ps.generateEntityCertificate(vnName + " " + nodeName, vmInformation); policyServerMap.put(nodeName, ps); } if (vnName != null) { virtualNodesMap.put(nodeName, vnName); } return nodeName; }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/5a5961f66a75bfc9d40771c289dd038e118e50a7/ProActiveRuntimeImpl.java/clean/src/org/objectweb/proactive/core/runtime/ProActiveRuntimeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 752, 2042, 907, 12, 780, 7553, 16, 3639, 1250, 1453, 8351, 5250, 16, 7436, 2081, 4250, 16, 514, 21732, 461, 16, 3639, 514, 13845, 13, 1216, 2029, 503, 288, 3639, 368, 907, 756, 273, 394, 2029, 2828, 12, 2211, 16, 2159, 461, 1769, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 2159, 2522, 598, 508, 13773, 2159, 461, 9078, 265, 450, 2459, 1667, 29332, 13773, 2211, 1769, 3639, 309, 261, 2079, 8351, 5250, 13, 288, 5411, 309, 261, 2159, 863, 18, 588, 12, 2159, 461, 13, 480, 446, 13, 288, 7734, 756, 863, 18, 4479, 12, 2159, 461, 1769, 7734, 756, 23378, 863, 18, 4479, 12, 2159, 461, 1769, 5411, 289, 3639, 289, 3639, 309, 16051, 2079, 8351, 5250, 597, 261, 2159, 863, 18, 588, 12, 2159, 461, 13, 480, 446, 3719, 288, 5411, 604, 394, 2029, 503, 2932, 907, 315, 397, 7553, 397, 7734, 315, 1818, 2522, 603, 333, 1186, 3896, 5576, 18, 2974, 6156, 333, 756, 16, 999, 638, 364, 1453, 8351, 5250, 8863, 3639, 289, 3639, 756, 863, 18, 458, 12, 2159, 461, 16, 394, 2252, 18, 1367, 18, 19558, 10663, 3639, 756, 23378, 863, 18, 458, 12, 2159, 461, 16, 13845, 1769, 3639, 309, 261, 1121, 480, 446, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 907, 6660, 294, 315, 397, 7734, 4250, 18, 588, 4719, 7675, 588, 9632, 10663, 5411, 2332, 18, 659, 18, 8222, 2932, 907, 6660, 294, 315, 397, 7734, 4250, 18, 588, 4719, 7675, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 752, 2042, 907, 12, 780, 7553, 16, 3639, 1250, 1453, 8351, 5250, 16, 7436, 2081, 4250, 16, 514, 21732, 461, 16, 3639, 514, 13845, 13, 1216, 2029, 503, 288, 3639, 368, 907, 756, 273, 394, 2029, 2828, 12, 2211, 16, 2159, 461, 1769, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 2159, 2522, 598, 508, 13773, 2159, 461, 9078, 265, 450, 2459, 1667, 29332, 13773, 2211, 1769, 3639, 309, 261, 2079, 8351, 5250, 13, 288, 5411, 309, 261, 2159, 863, 18, 588, 12, 2159, 461, 13, 480, 446, 13, 288, 7734, 756, 863, 18, 4479, 12, 2159, 461, 1769, 7734, 756, 23378, 863, 18, 4479, 12, 2159, 461, 1769, 5411, 289, 3639, 289, 3639, 309, 16051, 2 ]
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 100: ResultType ::= void // case 100: { //#line 675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 101: FormalParameterList ::= LastFormalParameter // case 101: { //#line 695 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 102: FormalParameterList ::= FormalParameters , LastFormalParameter // case 102: { //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 103: FormalParameters ::= FormalParameter // case 103: { //#line 709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 711 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 104: FormalParameters ::= FormalParameters , FormalParameter // case 104: { //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 105: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 105: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 107: VariableModifiers ::= VariableModifiers VariableModifier // case 107: { //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 735 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 108: VariableModifier ::= final // case 108: { //#line 741 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 109: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 109: { //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 749 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 111: MethodModifiers ::= MethodModifiers MethodModifier // case 111: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 112: MethodModifier ::= public // case 112: { //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 113: MethodModifier ::= protected // case 113: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 114: MethodModifier ::= private // case 114: { //#line 781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 115: MethodModifier ::= abstract // case 115: { //#line 786 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 116: MethodModifier ::= static // case 116: { //#line 791 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 117: MethodModifier ::= final // case 117: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 118: MethodModifier ::= native // case 118: { //#line 806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 119: MethodModifier ::= strictfp // case 119: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 120: Throws ::= throws ExceptionTypeList // case 120: { //#line 815 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 817 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 121: ExceptionTypeList ::= ExceptionType // case 121: { //#line 821 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 823 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 122: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 122: { //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 830 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 125: MethodBody ::= ; // case 125: setResult(null); break; // // Rule 127: StaticInitializer ::= static Block // case 127: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 128: SimpleTypeName ::= identifier // case 128: { //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 869 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 130: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 130: { //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 876 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 131: ConstructorModifier ::= public // case 131: { //#line 884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 132: ConstructorModifier ::= protected // case 132: { //#line 889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 133: ConstructorModifier ::= private // case 133: { //#line 894 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 134: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 134: { //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 900 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; l = new TypedList(new LinkedList(), Stmt.class, false); if (ExplicitConstructorInvocationopt == null) { l.add(nf.SuperCall(pos(), Collections.EMPTY_LIST)); } else { l.add(ExplicitConstructorInvocationopt); } l.addAll(BlockStatementsopt); setResult(nf.Block(pos(), l)); break; } // // Rule 135: Arguments ::= ( ArgumentListopt ) // case 135: { //#line 933 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 935 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 138: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 138: { //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 139: InterfaceModifier ::= public // case 139: { //#line 961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 140: InterfaceModifier ::= protected // case 140: { //#line 966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 141: InterfaceModifier ::= private // case 141: { //#line 971 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 142: InterfaceModifier ::= abstract // case 142: { //#line 976 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 143: InterfaceModifier ::= static // case 143: { //#line 981 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 144: InterfaceModifier ::= strictfp // case 144: { //#line 986 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 145: ExtendsInterfaces ::= extends InterfaceType // case 145: { //#line 990 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 146: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 146: { //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 999 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 147: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 147: { //#line 1009 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 149: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 149: { //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1018 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 151: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 151: { //#line 1024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1026 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= ClassDeclaration // case 152: { //#line 1031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1033 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 153: { //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= ; // case 154: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 155: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 155: { //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 157: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 157: { //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1073 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 158: ConstantModifier ::= public // case 158: { //#line 1081 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 159: ConstantModifier ::= static // case 159: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 160: ConstantModifier ::= final // case 160: { //#line 1091 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 162: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 162: { //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 163: AbstractMethodModifier ::= public // case 163: { //#line 1108 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 164: AbstractMethodModifier ::= abstract // case 164: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 165: SimpleName ::= identifier // case 165: { //#line 1169 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 166: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 166: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 167: VariableInitializers ::= VariableInitializer // case 167: { //#line 1206 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 168: VariableInitializers ::= VariableInitializers , VariableInitializer // case 168: { //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 169: Block ::= { BlockStatementsopt } // case 169: { //#line 1234 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 170: BlockStatements ::= BlockStatement // case 170: { //#line 1240 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1242 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 171: BlockStatements ::= BlockStatements BlockStatement // case 171: { //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1249 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 173: BlockStatement ::= ClassDeclaration // case 173: { //#line 1255 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 174: BlockStatement ::= Statement // case 174: { //#line 1262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 176: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 176: { //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1274 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 200: IfThenStatement ::= if ( Expression ) Statement // case 200: { //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 201: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 201: { //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1343 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 202: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 202: { //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 203: EmptyStatement ::= ; // case 203: { //#line 1355 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 204: LabeledStatement ::= identifier : Statement // case 204: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1361 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 205: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 205: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 206: ExpressionStatement ::= StatementExpression ; // case 206: { //#line 1370 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1372 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 214: AssertStatement ::= assert Expression ; // case 214: { //#line 1393 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1395 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 215: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 215: { //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1400 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 216: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 216: { //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 217: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 217: { //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 219: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 219: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 220: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 220: { //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1427 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 221: SwitchLabels ::= SwitchLabel // case 221: { //#line 1434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1436 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabels SwitchLabel // case 222: { //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1443 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 223: SwitchLabel ::= case ConstantExpression : // case 223: { //#line 1448 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1450 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 224: SwitchLabel ::= default : // case 224: { //#line 1457 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 225: WhileStatement ::= while ( Expression ) Statement // case 225: { //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 226: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 226: { //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1472 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 227: DoStatement ::= do Statement while ( Expression ) ; // case 227: { //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1478 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 230: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 230: { //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1487 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 231: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 231: { //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1493 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 233: ForInit ::= LocalVariableDeclaration // case 233: { //#line 1498 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 235: StatementExpressionList ::= StatementExpression // case 235: { //#line 1508 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1510 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 236: { //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 237: BreakStatement ::= break identifieropt ; // case 237: { //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1527 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 238: ContinueStatement ::= continue identifieropt ; // case 238: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 239: ReturnStatement ::= return Expressionopt ; // case 239: { //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1543 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 240: ThrowStatement ::= throw Expression ; // case 240: { //#line 1547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 241: TryStatement ::= try Block Catches // case 241: { //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1561 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 242: TryStatement ::= try Block Catchesopt Finally // case 242: { //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1566 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 243: Catches ::= CatchClause // case 243: { //#line 1570 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1572 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 244: Catches ::= Catches CatchClause // case 244: { //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1579 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 245: CatchClause ::= catch ( FormalParameter ) Block // case 245: { //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 246: Finally ::= finally Block // case 246: { //#line 1590 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1592 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 250: PrimaryNoNewArray ::= Type . class // case 250: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 251: PrimaryNoNewArray ::= void . class // case 251: { //#line 1631 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 252: PrimaryNoNewArray ::= this // case 252: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 253: PrimaryNoNewArray ::= ClassName . this // case 253: { //#line 1640 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1642 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 254: PrimaryNoNewArray ::= ( Expression ) // case 254: { //#line 1645 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1647 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 259: Literal ::= IntegerLiteral$IntegerLiteral // case 259: { //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1657 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 260: Literal ::= LongLiteral$LongLiteral // case 260: { //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1663 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 261: Literal ::= FloatingPointLiteral$FloatLiteral // case 261: { //#line 1667 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1669 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 262: Literal ::= DoubleLiteral$DoubleLiteral // case 262: { //#line 1673 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 263: Literal ::= BooleanLiteral // case 263: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 264: Literal ::= CharacterLiteral$CharacterLiteral // case 264: { //#line 1684 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 265: Literal ::= StringLiteral$str // case 265: { //#line 1690 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1692 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 266: Literal ::= null // case 266: { //#line 1698 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 267: BooleanLiteral ::= true$trueLiteral // case 267: { //#line 1702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 268: BooleanLiteral ::= false$falseLiteral // case 268: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: ArgumentList ::= Expression // case 269: { //#line 1722 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1724 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 270: ArgumentList ::= ArgumentList , Expression // case 270: { //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1731 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 271: DimExprs ::= DimExpr // case 271: { //#line 1765 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1767 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 272: DimExprs ::= DimExprs DimExpr // case 272: { //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1774 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 273: DimExpr ::= [ Expression ] // case 273: { //#line 1779 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 274: Dims ::= [ ] // case 274: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 275: Dims ::= Dims [ ] // case 275: { //#line 1790 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1792 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 276: FieldAccess ::= Primary . identifier // case 276: { //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 277: FieldAccess ::= super . identifier // case 277: { //#line 1801 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= ClassName . super$sup . identifier // case 278: { //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1808 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 279: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 279: { //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1814 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 281: PostfixExpression ::= ExpressionName // case 281: { //#line 1837 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1839 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 284: PostIncrementExpression ::= PostfixExpression ++ // case 284: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 285: PostDecrementExpression ::= PostfixExpression -- // case 285: { //#line 1851 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1853 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 288: UnaryExpression ::= + UnaryExpression // case 288: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 289: UnaryExpression ::= - UnaryExpression // case 289: { //#line 1864 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1866 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 291: PreIncrementExpression ::= ++ UnaryExpression // case 291: { //#line 1871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 292: PreDecrementExpression ::= -- UnaryExpression // case 292: { //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1879 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 294: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 294: { //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1886 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 295: { //#line 1889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1891 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 298: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 298: { //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1905 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 299: { //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1910 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 300: { //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 302: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 302: { //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 303: { //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1927 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 305: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 305: { //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1934 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 306: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 307: { //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1945 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 309: RelationalExpression ::= RelationalExpression < ShiftExpression // case 309: { //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression > ShiftExpression // case 310: { //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1958 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 311: { //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1963 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 312: { //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1968 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 314: EqualityExpression ::= EqualityExpression == RelationalExpression // case 314: { //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1984 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression != RelationalExpression // case 315: { //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1989 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 317: AndExpression ::= AndExpression & EqualityExpression // case 317: { //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1996 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 319: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 319: { //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 321: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 321: { //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2010 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 323: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 323: { //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 325: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 325: { //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 327: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 327: { //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 330: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 330: { //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 331: LeftHandSide ::= ExpressionName // case 331: { //#line 2044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2046 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 334: AssignmentOperator ::= = // case 334: { //#line 2054 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 335: AssignmentOperator ::= *= // case 335: { //#line 2059 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 336: AssignmentOperator ::= /= // case 336: { //#line 2064 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= %= // case 337: { //#line 2069 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= += // case 338: { //#line 2074 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= -= // case 339: { //#line 2079 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= <<= // case 340: { //#line 2084 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= > > = // case 341: { //#line 2089 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > > = // case 342: { //#line 2095 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= &= // case 343: { //#line 2101 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= ^= // case 344: { //#line 2106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= |= // case 345: { //#line 2111 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 348: Dimsopt ::= $Empty // case 348: { //#line 2124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 350: Catchesopt ::= $Empty // case 350: { //#line 2131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 352: identifieropt ::= $Empty // case 352: setResult(null); break; // // Rule 353: identifieropt ::= identifier // case 353: { //#line 2138 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2140 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 354: ForUpdateopt ::= $Empty // case 354: { //#line 2146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 356: Expressionopt ::= $Empty // case 356: setResult(null); break; // // Rule 358: ForInitopt ::= $Empty // case 358: { //#line 2157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 360: SwitchLabelsopt ::= $Empty // case 360: { //#line 2164 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 362: SwitchBlockStatementGroupsopt ::= $Empty // case 362: { //#line 2171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 364: VariableModifiersopt ::= $Empty // case 364: { //#line 2178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 366: VariableInitializersopt ::= $Empty // case 366: setResult(null); break; // // Rule 368: AbstractMethodModifiersopt ::= $Empty // case 368: { //#line 2208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 370: ConstantModifiersopt ::= $Empty // case 370: { //#line 2215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 372: InterfaceMemberDeclarationsopt ::= $Empty // case 372: { //#line 2222 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 374: ExtendsInterfacesopt ::= $Empty // case 374: { //#line 2229 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 376: InterfaceModifiersopt ::= $Empty // case 376: { //#line 2236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 378: ClassBodyopt ::= $Empty // case 378: setResult(null); break; // // Rule 380: Argumentsopt ::= $Empty // case 380: setResult(null); break; // // Rule 381: Argumentsopt ::= Arguments // case 381: throw new Error("No action specified for rule " + 381); // // Rule 382: ,opt ::= $Empty // case 382: setResult(null); break; // // Rule 384: ArgumentListopt ::= $Empty // case 384: { //#line 2266 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 386: BlockStatementsopt ::= $Empty // case 386: { //#line 2273 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 388: ExplicitConstructorInvocationopt ::= $Empty // case 388: setResult(null); break; // // Rule 390: ConstructorModifiersopt ::= $Empty // case 390: { //#line 2284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 392: ...opt ::= $Empty // case 392: setResult(null); break; // // Rule 394: FormalParameterListopt ::= $Empty // case 394: { //#line 2295 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 396: Throwsopt ::= $Empty // case 396: { //#line 2302 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 398: MethodModifiersopt ::= $Empty // case 398: { //#line 2309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 400: FieldModifiersopt ::= $Empty // case 400: { //#line 2316 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 402: ClassBodyDeclarationsopt ::= $Empty // case 402: { //#line 2323 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 404: Interfacesopt ::= $Empty // case 404: { //#line 2330 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 406: Superopt ::= $Empty // case 406: { //#line 2337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 408: ClassModifiersopt ::= $Empty // case 408: { //#line 2348 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 410: TypeDeclarationsopt ::= $Empty // case 410: { //#line 2360 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 412: ImportDeclarationsopt ::= $Empty // case 412: { //#line 2367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 414: PackageDeclarationopt ::= $Empty // case 414: setResult(null); break; // // Rule 416: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 416: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 417: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 734 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: PackageDeclaration ::= package PackageName ; // case 418: { //#line 740 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 742 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 419: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 419: { //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 748 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 421: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 421: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 422: X10ClassModifier ::= ClassModifier // case 422: { //#line 769 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 423: X10ClassModifier ::= safe // case 423: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 424: PropertyList ::= ( Properties WhereClauseopt ) // case 424: { //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 782 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 425: PropertyList ::= ( WhereClause ) // case 425: { //#line 787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 426: Properties ::= Property // case 426: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 427: Properties ::= Properties , Property // case 427: { //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 805 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 428: Property ::= Type identifier // case 428: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 813 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 429: MethodDeclaration ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt MethodBody // case 429: { //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(6); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, MethodBody)); break; } // // Rule 430: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 430: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 431: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 431: { //#line 855 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 857 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 432: { //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 862 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 433: { //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 434: { //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 435: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 435: { //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 890 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 436: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 436: { //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 437: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 930 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 439: { //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 440: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 440: { //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 441: { //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 949 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 443: AssignPropertyCall ::= property ( ArgumentList ) // case 443: { //#line 954 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 444: Type ::= DataType // case 444: { //#line 965 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 967 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 445: Type ::= nullable < Type > DepParametersopt // case 445: { //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 972 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 446: Type ::= future < Type > // case 446: { //#line 978 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 980 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 450: PrimitiveType ::= NumericType DepParametersopt // case 450: { //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 451: PrimitiveType ::= boolean DepParametersopt // case 451: { //#line 1003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1005 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 456: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 456: { //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 457: DepParameters ::= ( DepParameterExpr ) // case 457: { //#line 1036 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 458: DepParameterExpr ::= ArgumentList WhereClauseopt // case 458: { //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 459: DepParameterExpr ::= WhereClause // case 459: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1049 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 460: WhereClause ::= : ConstExpression // case 460: { //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1055 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 461: ConstPrimary ::= Literal // case 461: { //#line 1060 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1062 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 462: ConstPrimary ::= Type . class // case 462: { //#line 1065 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1067 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 463: ConstPrimary ::= void . class // case 463: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 464: ConstPrimary ::= this // case 464: { //#line 1092 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 465: ConstPrimary ::= here // case 465: { //#line 1097 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 466: ConstPrimary ::= ClassName . this // case 466: { //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1102 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 467: ConstPrimary ::= ( ConstExpression ) // case 467: { //#line 1105 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1107 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 469: ConstPrimary ::= self // case 469: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 470: ConstPostfixExpression ::= ConstPrimary // case 470: { //#line 1119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 471: ConstPostfixExpression ::= ExpressionName // case 471: { //#line 1124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 472: ConstUnaryExpression ::= ConstPostfixExpression // case 472: { //#line 1129 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 473: ConstUnaryExpression ::= + ConstUnaryExpression // case 473: { //#line 1134 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 474: ConstUnaryExpression ::= - ConstUnaryExpression // case 474: { //#line 1139 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= ! ConstUnaryExpression // case 475: { //#line 1144 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 476: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 476: { //#line 1150 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 477: { //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 478: { //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1162 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 479: { //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1167 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 480: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 480: { //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1173 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 481: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 481: { //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 482: { //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1183 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstRelationalExpression ::= ConstAdditiveExpression // case 483: { //#line 1188 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1190 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 484: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 484: { //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1195 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 485: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 486: { //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1205 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 487: { //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1210 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 488: ConstEqualityExpression ::= ConstRelationalExpression // case 488: { //#line 1214 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1216 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 489: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 489: { //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1221 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 490: { //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1226 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 491: ConstAndExpression ::= ConstEqualityExpression // case 491: { //#line 1230 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1232 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 492: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 492: { //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1237 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 493: ConstExclusiveOrExpression ::= ConstAndExpression // case 493: { //#line 1241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 494: { //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 495: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 495: { //#line 1252 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1254 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 496: { //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1259 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 497: ConstExpression ::= ConstInclusiveOrExpression // case 497: { //#line 1263 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1265 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 498: { //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1270 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 499: ConstFieldAccess ::= ConstPrimary . identifier // case 499: { //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 500: ConstFieldAccess ::= super . identifier // case 500: { //#line 1280 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= ClassName . super$sup . identifier // case 501: { //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1287 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 503: X10ArrayType ::= Type [ . ] // case 503: { //#line 1303 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1305 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 504: X10ArrayType ::= Type value [ . ] // case 504: { //#line 1308 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1310 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 505: X10ArrayType ::= Type [ DepParameterExpr ] // case 505: { //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1315 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 506: X10ArrayType ::= Type value [ DepParameterExpr ] // case 506: { //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1320 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 507: ObjectKind ::= value // case 507: throw new Error("No action specified for rule " + 507); // // Rule 508: ObjectKind ::= reference // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: MethodModifier ::= atomic // case 509: { //#line 1334 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 510: MethodModifier ::= extern // case 510: { //#line 1339 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 511: MethodModifier ::= safe // case 511: { //#line 1344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 512: MethodModifier ::= sequential // case 512: { //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 513: MethodModifier ::= local // case 513: { //#line 1354 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 514: MethodModifier ::= nonblocking // case 514: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 516: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 516: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1377 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 518: { //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 519: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 519: { //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 520: ThisClause ::= this DepParameters // case 520: { //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1408 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 521: Super ::= extends DataType // case 521: { //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 522: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 522: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 523: MethodDeclarator ::= MethodDeclarator [ ] // case 523: { //#line 1430 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1432 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 524: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 524: { //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1440 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 525: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 525: { //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 526: { //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1482 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 527: { //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1488 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 528: { //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1497 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 529: { //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 530: { //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1507 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 531: Valueopt ::= $Empty // case 531: setResult(null); break; // // Rule 532: Valueopt ::= value // case 532: { //#line 1516 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 535: ArrayBaseType ::= nullable < Type > // case 535: { //#line 1523 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 536: ArrayBaseType ::= future < Type > // case 536: { //#line 1528 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1530 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= ( Type ) // case 537: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 538: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 538: { //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 539: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 539: { //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1548 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 556: NowStatement ::= now ( Clock ) Statement // case 556: { //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1576 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 557: ClockedClause ::= clocked ( ClockList ) // case 557: { //#line 1580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1582 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 558: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 558: { //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 559: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 559: { //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1598 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 560: WhenStatement ::= when ( Expression ) Statement // case 560: { //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1607 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 561: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 561: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 562: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 562: { //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1619 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 563: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1629 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 564: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1639 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 565: FinishStatement ::= finish Statement // case 565: { //#line 1646 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 566: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 566: { //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 567: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 567: { //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 568: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 568: { //#line 1668 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1670 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 569: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 569: { //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1676 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 570: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 571: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 571: { //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1688 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 572: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1699 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 573: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 574: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 574: { //#line 1716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 575: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 575: { //#line 1723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 577: NextStatement ::= next ; // case 577: { //#line 1733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 578: AwaitStatement ::= await Expression ; // case 578: { //#line 1737 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1739 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 579: ClockList ::= Clock // case 579: { //#line 1743 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1745 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 580: ClockList ::= ClockList , Clock // case 580: { //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1752 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 581: Clock ::= Expression // case 581: { //#line 1758 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1760 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 582: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 582: { //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 583: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 583: { //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1777 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: RelationalExpression ::= RelationalExpression instanceof Type // case 584: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 585: IdentifierList ::= identifier // case 585: { //#line 1795 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1797 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 586: IdentifierList ::= IdentifierList , identifier // case 586: { //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1804 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 587: Primary ::= here // case 587: { //#line 1811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 590: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 590: { //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1829 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 591: RegionExpressionList ::= RegionExpression // case 591: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 592: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 592: { //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1854 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 593: Primary ::= [ RegionExpressionList ] // case 593: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 594: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 594: { //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 595: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 595: { //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 596: FieldModifier ::= mutable // case 596: { //#line 1892 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 597: FieldModifier ::= const // case 597: { //#line 1897 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 598: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 598: throw new Error("No action specified for rule " + 598); // // Rule 599: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: MethodModifier ::= synchronized // case 607: { //#line 1928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"synchronized\" is an invalid X10 Method Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.SYNCHRONIZED); break; } // // Rule 608: FieldModifier ::= volatile // case 608: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"volatile\" is an invalid X10 Field Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.VOLATILE); break; } // // Rule 609: SynchronizedStatement ::= synchronized ( Expression ) Block // case 609: { //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1946 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "Synchronized Statement is invalid in X10", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 610: ThisClauseopt ::= $Empty // case 610: setResult(null); break; // // Rule 612: PlaceTypeSpecifieropt ::= $Empty // case 612: setResult(null); break; // // Rule 614: DepParametersopt ::= $Empty // case 614: setResult(null); break; // // Rule 616: PropertyListopt ::= $Empty // case 616: setResult(null); break; // // Rule 618: WhereClauseopt ::= $Empty // case 618: setResult(null); break; // // Rule 620: ObjectKindopt ::= $Empty // case 620: setResult(null); break; // // Rule 622: ArrayInitializeropt ::= $Empty // case 622: setResult(null); break; // // Rule 624: PlaceExpressionSingleListopt ::= $Empty // case 624: setResult(null); break; // // Rule 626: ArgumentListopt ::= $Empty // case 626: setResult(null); break; // // Rule 628: X10ClassModifiersopt ::= $Empty // case 628: { //#line 1992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 630: DepParametersopt ::= $Empty // case 630: setResult(null); break; // // Rule 632: Unsafeopt ::= $Empty // case 632: setResult(null); break; // // Rule 633: Unsafeopt ::= unsafe // case 633: { //#line 2004 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 634: ParamIdopt ::= $Empty // case 634: setResult(null); break; // // Rule 635: ParamIdopt ::= identifier // case 635: { //#line 2011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2013 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 636: ClockedClauseopt ::= $Empty // case 636: { //#line 2019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 1770, 12, 82, 74, 16, 4766, 1377, 3742, 16, 4766, 1377, 949, 12, 588, 3910, 6952, 9334, 16609, 6952, 1435, 3631, 4766, 1377, 21036, 16, 4766, 1377, 10971, 10019, 10792, 898, 31, 5411, 289, 5397, 368, 5411, 368, 6781, 576, 30, 225, 7508, 461, 493, 33, 7508, 461, 263, 1068, 548, 5411, 368, 5411, 648, 576, 30, 288, 7734, 368, 7, 1369, 2872, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 2 ]
additive.setBounds(500,0,300,25);
public ParticleEditor() throws LWJGLException { super("Pedigree"); chooser.setFileFilter(new FileFilter() { public boolean accept(File f) { if (f.isDirectory()) { return true; } if (f.getName().endsWith(".xml")) { return true; } return false; } public String getDescription() { return "XML Files"; } }); try { InputStream in = ParticleEditor.class.getClassLoader().getResourceAsStream("org/newdawn/slick/tools/peditor/data/icon.gif"); setIconImage(ImageIO.read(in)); } catch (IOException e) { e.printStackTrace(); } emitters = new EmitterList(this); emissionControls = new EmissionControls(); positionControls = new PositionControls(); settingsPanel = new SettingsPanel(emitters); colorPanel = new ColorPanel(); JPopupMenu.setDefaultLightWeightPopupEnabled(false); JMenu file = new JMenu("File"); file.add(load); file.add(save); file.addSeparator(); file.add(imp); file.add(exp); file.addSeparator(); file.add(quit); load.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { loadSystem(); } }); save.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { saveSystem(); } }); exp.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { exportEmitter(); } }); imp.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { importEmitter(); } }); quit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { System.exit(0); } }); JMenuBar bar = new JMenuBar(); bar.add(file); setJMenuBar(bar); canvas = new ParticleCanvas(); canvas.setSize(500,600); JPanel controls = new JPanel(); controls.setLayout(null); emitters.setBounds(0,0,300,150); emitters.setBorder(BorderFactory.createTitledBorder("Emitters")); controls.add(emitters); JTabbedPane tabs = new JTabbedPane(); tabs.setBounds(0,150,300,450); controls.add(tabs); tabs.add("Settings", settingsPanel); tabs.add("Emission", emissionControls); tabs.add("Position", positionControls); tabs.add("Color", colorPanel); JPanel panel = new JPanel(); panel.setLayout(null); additive.setBounds(500,0,300,25); canvas.setBounds(0,0,500,600); controls.setBounds(500,20,300,600); panel.add(additive); panel.add(canvas); panel.add(controls); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); additive.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { updateBlendMode(); } }); ConfigurableEmitter test = new ConfigurableEmitter("Default"); emitters.add(test); canvas.addEmitter(test); additive.setSelected(true); setContentPane(panel); setSize(800,600); setResizable(false); setVisible(true); emitters.setSelected(0); }
53247 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53247/bc6d47d48e797fc04c5f4adb7c0c99073419f05f/ParticleEditor.java/buggy/Slick/tools/org/newdawn/slick/tools/peditor/ParticleEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6393, 3711, 6946, 1435, 1216, 511, 59, 46, 11261, 503, 288, 202, 202, 9565, 2932, 52, 329, 360, 992, 8863, 202, 202, 2599, 13164, 18, 542, 29837, 12, 2704, 1387, 1586, 1435, 288, 1082, 202, 482, 1250, 2791, 12, 812, 284, 13, 288, 9506, 202, 430, 261, 74, 18, 291, 2853, 10756, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 6862, 9506, 202, 430, 261, 74, 18, 17994, 7675, 5839, 1190, 2932, 18, 2902, 6, 3719, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 6862, 9506, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 482, 514, 11056, 1435, 288, 9506, 202, 2463, 315, 4201, 6471, 14432, 1082, 202, 97, 202, 202, 22938, 9506, 202, 698, 288, 1082, 202, 4348, 316, 273, 6393, 3711, 6946, 18, 1106, 18, 588, 7805, 7675, 588, 1420, 17052, 2932, 3341, 19, 2704, 72, 9533, 19, 2069, 1200, 19, 6642, 19, 1845, 1811, 19, 892, 19, 3950, 18, 13905, 8863, 25083, 202, 542, 5554, 2040, 12, 2040, 4294, 18, 896, 12, 267, 10019, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 202, 202, 97, 9506, 202, 18356, 5432, 273, 394, 16008, 387, 682, 12, 2211, 1769, 202, 202, 351, 19710, 16795, 273, 394, 512, 3951, 16795, 5621, 202, 202, 3276, 16795, 273, 394, 11010, 16795, 5621, 202, 202, 4272, 5537, 273, 394, 8709, 5537, 12, 18356, 5432, 1769, 202, 202, 3266, 5537, 273, 394, 5563, 5537, 5621, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6393, 3711, 6946, 1435, 1216, 511, 59, 46, 11261, 503, 288, 202, 202, 9565, 2932, 52, 329, 360, 992, 8863, 202, 202, 2599, 13164, 18, 542, 29837, 12, 2704, 1387, 1586, 1435, 288, 1082, 202, 482, 1250, 2791, 12, 812, 284, 13, 288, 9506, 202, 430, 261, 74, 18, 291, 2853, 10756, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 6862, 9506, 202, 430, 261, 74, 18, 17994, 7675, 5839, 1190, 2932, 18, 2902, 6, 3719, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 6862, 9506, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 482, 514, 11056, 1435, 288, 9506, 202, 2463, 315, 4201, 6471, 14432, 1082, 202, 97, 202, 202, 22938, 9506, 2 ]
throw new OMBuilderException( elementName + " is not supported here. Envelope can not have elements other than Header and Body.");
throw new OMBuilderException(elementName + " is not supported here. Envelope can not have elements other than Header and Body.");
private OMElement constructNode(OMElement parent, String elementName, boolean isEnvelope) { OMElement element = null; if (isEnvelope) { if (!elementName.equalsIgnoreCase( OMConstants.SOAPENVELOPE_LOCAL_NAME)) { throw new OMException( "First Element must contain the local name, " + OMConstants.SOAPENVELOPE_LOCAL_NAME); } envelope = (SOAPEnvelopeImpl) ombuilderFactory.createSOAPEnvelope(null, this); element = (OMElementImpl) envelope; processNamespaceData(element, true); } else if (elementLevel == 2) { // this is either a header or a body if (elementName.equals(OMConstants.HEADER_LOCAL_NAME)) { if (headerPresent) { throw new OMBuilderException( "Multiple headers encountered!"); } if (bodyPresent) { throw new OMBuilderException("Header Body wrong order!"); } headerPresent = true; element = ombuilderFactory.createSOAPHeader((SOAPEnvelope) parent, this); // envelope.setHeader((SOAPHeader)element); processNamespaceData(element, true); } else if (elementName.equals(OMConstants.BODY_LOCAL_NAME)) { if (bodyPresent) { throw new OMBuilderException( "Multiple body elements encountered"); } bodyPresent = true; element = ombuilderFactory.createSOAPBody((SOAPEnvelope) parent, this); // envelope.setBody((SOAPBody)element); processNamespaceData(element, true); } else { throw new OMBuilderException( elementName + " is not supported here. Envelope can not have elements other than Header and Body."); } } else if ((elementLevel == 3) && parent.getLocalName().equalsIgnoreCase( OMConstants.HEADER_LOCAL_NAME)) { // this is a headerblock element = ombuilderFactory.createSOAPHeaderBlock(elementName, null, parent, this); processNamespaceData(element, false); } else if ((elementLevel == 3) && parent.getLocalName().equalsIgnoreCase( OMConstants.BODY_LOCAL_NAME) && elementName.equalsIgnoreCase( OMConstants.BODY_FAULT_LOCAL_NAME)) { // this is a headerblock element = ombuilderFactory.createSOAPFault(null, (SOAPBody) parent, this); processNamespaceData(element, false); } else { // this is neither of above. Just create an element element = ombuilderFactory.createOMElement(elementName, null, parent, this); processNamespaceData(element, false); } return element; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/52cbf6dbc9623964fc7a3212308784f534598afe/StAXSOAPModelBuilder.java/clean/modules/om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 531, 12310, 4872, 907, 12, 51, 12310, 982, 16, 514, 14453, 16, 4766, 565, 1250, 353, 10862, 13, 288, 3639, 531, 12310, 930, 273, 446, 31, 3639, 309, 261, 291, 10862, 13, 288, 5411, 309, 16051, 2956, 461, 18, 14963, 5556, 12, 10792, 28839, 2918, 18, 27952, 1157, 24397, 1423, 67, 14922, 67, 1985, 3719, 288, 7734, 604, 394, 28839, 503, 12, 13491, 315, 3759, 3010, 1297, 912, 326, 1191, 508, 16, 315, 27573, 397, 28839, 2918, 18, 27952, 1157, 24397, 1423, 67, 14922, 67, 1985, 1769, 5411, 289, 5411, 9045, 273, 5411, 261, 27952, 10862, 2828, 13, 320, 1627, 953, 1733, 18, 2640, 27952, 10862, 12, 2011, 16, 10792, 333, 1769, 5411, 930, 273, 261, 51, 12310, 2828, 13, 9045, 31, 5411, 1207, 3402, 751, 12, 2956, 16, 638, 1769, 3639, 289, 469, 309, 261, 2956, 2355, 422, 576, 13, 288, 5411, 368, 333, 353, 3344, 279, 1446, 578, 279, 1417, 5411, 309, 261, 2956, 461, 18, 14963, 12, 1872, 2918, 18, 7557, 67, 14922, 67, 1985, 3719, 288, 7734, 309, 261, 3374, 6351, 13, 288, 10792, 604, 394, 28839, 1263, 503, 12, 18701, 315, 8438, 1607, 9919, 4442, 1769, 7734, 289, 7734, 309, 261, 3432, 6351, 13, 288, 10792, 604, 394, 28839, 1263, 503, 2932, 1864, 5652, 7194, 1353, 4442, 1769, 7734, 289, 7734, 1446, 6351, 273, 638, 31, 7734, 930, 273, 7734, 320, 1627, 953, 1733, 18, 2640, 27952, 1864, 12443, 27952, 10862, 13, 982, 16, 13491, 333, 1769, 7734, 368, 9045, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 531, 12310, 4872, 907, 12, 51, 12310, 982, 16, 514, 14453, 16, 4766, 565, 1250, 353, 10862, 13, 288, 3639, 531, 12310, 930, 273, 446, 31, 3639, 309, 261, 291, 10862, 13, 288, 5411, 309, 16051, 2956, 461, 18, 14963, 5556, 12, 10792, 28839, 2918, 18, 27952, 1157, 24397, 1423, 67, 14922, 67, 1985, 3719, 288, 7734, 604, 394, 28839, 503, 12, 13491, 315, 3759, 3010, 1297, 912, 326, 1191, 508, 16, 315, 27573, 397, 28839, 2918, 18, 27952, 1157, 24397, 1423, 67, 14922, 67, 1985, 1769, 5411, 289, 5411, 9045, 273, 5411, 261, 27952, 10862, 2828, 13, 320, 1627, 953, 1733, 18, 2640, 27952, 10862, 12, 2011, 16, 10792, 333, 1769, 5411, 930, 273, 261, 51, 2 ]
public boolean isRuntimeVisible() { return isRuntimeVisible;
protected void isRuntimeVisible(boolean b) { isRuntimeVisible = b;
public boolean isRuntimeVisible() { return isRuntimeVisible; }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/1b111328220bc522194ecc7361f282d169d781f3/Annotation.java/buggy/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/Annotation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 5576, 6207, 1435, 288, 202, 202, 2463, 353, 5576, 6207, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 5576, 6207, 1435, 288, 202, 202, 2463, 353, 5576, 6207, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
printIdentifier(getConstraintName("gen", table, columns[idx].getName(), null));
printIdentifier(getGeneratorName(table, columns[idx]));
public void dropTable(Table table) throws IOException { super.dropTable(table); // dropping generators for auto-increment Column[] columns = table.getAutoIncrementColumns(); for (int idx = 0; idx < columns.length; idx++) { print("DROP GENERATOR "); printIdentifier(getConstraintName("gen", table, columns[idx].getName(), null)); printEndOfStatement(); } }
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/dce054cdae6428ee360780c0fb2643a0a4b835a0/FirebirdBuilder.java/buggy/src/java/org/apache/ddlutils/platform/firebird/FirebirdBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3640, 1388, 12, 1388, 1014, 13, 1216, 1860, 565, 288, 3639, 2240, 18, 7285, 1388, 12, 2121, 1769, 3639, 368, 3640, 1382, 13327, 364, 3656, 17, 15016, 3639, 4753, 8526, 2168, 273, 1014, 18, 588, 4965, 10798, 3380, 5621, 3639, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 2168, 18, 2469, 31, 2067, 27245, 3639, 288, 5411, 1172, 2932, 18768, 13679, 3575, 315, 1769, 5411, 1172, 3004, 12, 588, 3908, 461, 12, 2121, 16, 2168, 63, 3465, 5717, 1769, 5411, 1172, 23358, 3406, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3640, 1388, 12, 1388, 1014, 13, 1216, 1860, 565, 288, 3639, 2240, 18, 7285, 1388, 12, 2121, 1769, 3639, 368, 3640, 1382, 13327, 364, 3656, 17, 15016, 3639, 4753, 8526, 2168, 273, 1014, 18, 588, 4965, 10798, 3380, 5621, 3639, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 2168, 18, 2469, 31, 2067, 27245, 3639, 288, 5411, 1172, 2932, 18768, 13679, 3575, 315, 1769, 5411, 1172, 3004, 12, 588, 3908, 461, 12, 2121, 16, 2168, 63, 3465, 5717, 1769, 5411, 1172, 23358, 3406, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addDaaViolation(rc, lastSimpleNode, "DU", va.getVariableName(), startLine, endLine);
addDaaViolation(rc, lastSimpleNode, "DU", va.getVariableName(), startLine, endLine);
public void execute(CurrentPath path) { Hashtable hash = new Hashtable(); counter++; if (counter == 5000) { System.out.print("|"); counter = 0; } for (Iterator d = path.iterator(); d.hasNext();) { IDataFlowNode inode = (IDataFlowNode) d.next(); if (inode.getVariableAccess() != null) { for (int g = 0; g < inode.getVariableAccess().size(); g++) { VariableAccess va = (VariableAccess) inode.getVariableAccess().get(g); Object o = hash.get(va.getVariableName()); if (o != null) { List array = (List) o; // get the last access type int lastAccessType = ((Integer) array.get(0)).intValue(); // get the start and end line int startLine = ((Integer) array.get(2)).intValue(); int endLine = inode.getLine(); if (va.accessTypeMatches(lastAccessType) && va.isDefinition()) { // DD if (inode.getSimpleNode() != null) { // preventing NullpointerException addDaaViolation(rc, inode.getSimpleNode(), "DD", va.getVariableName(), startLine, endLine); } } else if (lastAccessType == VariableAccess.UNDEFINITION && va.isReference()) { // UR if (inode.getSimpleNode() != null) { // preventing NullpointerException addDaaViolation(rc, inode.getSimpleNode(), "UR", va.getVariableName(), startLine, endLine); } } else if (lastAccessType == VariableAccess.DEFINITION && va.isUndefinition()) { // DU if (inode.getSimpleNode() != null) { addDaaViolation(rc, inode.getSimpleNode(), "DU", va.getVariableName(), startLine, endLine); } else { // undefinition outside, get the node of the definition SimpleNode lastSimpleNode = (SimpleNode)array.get(1); if (lastSimpleNode != null) { addDaaViolation(rc, lastSimpleNode, "DU", va.getVariableName(), startLine, endLine); } } } } List array = new ArrayList(); array.add(new Integer(va.getAccessType())); array.add(inode.getSimpleNode()); array.add(new Integer(inode.getLine())); hash.put(va.getVariableName(), array); } } } }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/bfca01c305e3ade2bfb41f1b18b81c7e16a37787/DaaRule.java/clean/pmd/src/net/sourceforge/pmd/dfa/DaaRule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 3935, 743, 589, 13, 288, 3639, 18559, 1651, 273, 394, 18559, 5621, 3639, 3895, 9904, 31, 3639, 309, 261, 7476, 422, 20190, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 96, 8863, 5411, 3895, 273, 374, 31, 3639, 289, 3639, 364, 261, 3198, 302, 273, 589, 18, 9838, 5621, 302, 18, 5332, 2134, 5621, 13, 288, 5411, 467, 751, 5249, 907, 17870, 273, 261, 734, 396, 5249, 907, 13, 302, 18, 4285, 5621, 5411, 309, 261, 267, 390, 18, 588, 3092, 1862, 1435, 480, 446, 13, 288, 7734, 364, 261, 474, 314, 273, 374, 31, 314, 411, 17870, 18, 588, 3092, 1862, 7675, 1467, 5621, 314, 27245, 288, 10792, 7110, 1862, 14162, 273, 261, 3092, 1862, 13, 17870, 18, 588, 3092, 1862, 7675, 588, 12, 75, 1769, 10792, 1033, 320, 273, 1651, 18, 588, 12, 15304, 18, 588, 21519, 10663, 10792, 309, 261, 83, 480, 446, 13, 288, 13491, 987, 526, 273, 261, 682, 13, 320, 31, 13491, 368, 336, 326, 1142, 2006, 618, 13491, 509, 1142, 1862, 559, 273, 14015, 4522, 13, 526, 18, 588, 12, 20, 13, 2934, 474, 620, 5621, 13491, 368, 336, 326, 787, 471, 679, 980, 13491, 509, 24636, 273, 14015, 4522, 13, 526, 18, 588, 12, 22, 13, 2934, 474, 620, 5621, 13491, 509, 31763, 273, 17870, 18, 588, 1670, 5621, 4766, 7734, 309, 261, 15304, 18, 3860, 559, 6869, 12, 2722, 1862, 559, 13, 597, 14162, 18, 291, 1852, 10756, 288, 368, 25177, 18701, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 3935, 743, 589, 13, 288, 3639, 18559, 1651, 273, 394, 18559, 5621, 3639, 3895, 9904, 31, 3639, 309, 261, 7476, 422, 20190, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 96, 8863, 5411, 3895, 273, 374, 31, 3639, 289, 3639, 364, 261, 3198, 302, 273, 589, 18, 9838, 5621, 302, 18, 5332, 2134, 5621, 13, 288, 5411, 467, 751, 5249, 907, 17870, 273, 261, 734, 396, 5249, 907, 13, 302, 18, 4285, 5621, 5411, 309, 261, 267, 390, 18, 588, 3092, 1862, 1435, 480, 446, 13, 288, 7734, 364, 261, 474, 314, 273, 374, 31, 314, 411, 17870, 18, 588, 3092, 1862, 7675, 1467, 5621, 314, 27245, 288, 10792, 7110, 1862, 14162, 273, 2 ]
oout = new WriterOutputStream(sout, encoding);
outputStream = new WriterOutputStream(sout, characterEncoding);
public SwallowingHttpServletResponse(HttpServletResponse response, Writer sout, String encoding) { super(response); pout = new PrintWriter(sout); oout = new WriterOutputStream(sout, encoding); this.encoding = encoding; }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/689fd359078093718c0de7721bf2ae399aa1abcf/SwallowingHttpServletResponse.java/clean/java/org/directwebremoting/util/SwallowingHttpServletResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5434, 5965, 310, 2940, 29910, 12, 2940, 29910, 766, 16, 5497, 272, 659, 16, 514, 2688, 13, 565, 288, 3639, 2240, 12, 2740, 1769, 3639, 293, 659, 273, 394, 14071, 12, 87, 659, 1769, 3639, 14956, 273, 394, 5497, 4632, 12, 87, 659, 16, 3351, 4705, 1769, 3639, 333, 18, 5999, 273, 2688, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5434, 5965, 310, 2940, 29910, 12, 2940, 29910, 766, 16, 5497, 272, 659, 16, 514, 2688, 13, 565, 288, 3639, 2240, 12, 2740, 1769, 3639, 293, 659, 273, 394, 14071, 12, 87, 659, 1769, 3639, 14956, 273, 394, 5497, 4632, 12, 87, 659, 16, 3351, 4705, 1769, 3639, 333, 18, 5999, 273, 2688, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void execute(IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException {
protected void execute(IProgressMonitor monitor) throws InvocationTargetException {
protected void execute(IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException { String projectName = this.project.getName(); String path = this.project.getLocation().toOSString(); NullProgressMonitor nullProgressMonitor = new NullProgressMonitor(); try { File mainwo = new File(path + File.separator + "Main.wo"); mainwo.mkdirs(); File src = new File(path + File.separator + "src"); src.mkdirs(); File bin = new File(path + File.separator + "bin"); bin.mkdirs(); // File xcode = new File(path + File.separator + projectName // + ".xcode"); // xcode.mkdirs(); // File xcodeproj = new File(path + File.separator + projectName // + ".xcodeproj"); // xcodeproj.mkdirs(); File ant = new File(path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME); ant.mkdirs(); // project.close(nullProgressMonitor); TemplateEngine templateEngine = new TemplateEngine(); try { templateEngine.init(); } catch (Exception e) { WizardsPlugin.getDefault().log(e); throw new InvocationTargetException(e); } templateEngine.getWolipsContext().setProjectName(projectName); templateEngine.getWolipsContext().setAntFolderName( ProjectPatternsets.ANT_FOLDER_NAME); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Main.html.vm", path + File.separator + "Main.wo", "Main.html", "Main.html")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Main.wod.vm", path + File.separator + "Main.wo", "Main.wod", "Main.wod")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Main.woo.vm", path + File.separator + "Main.wo", "Main.woo", "Main.woo")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Application.java.vm", path + File.separator + "src", "Application.java", "Application.java")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/DirectAction.java.vm", path + File.separator + "src", "DirectAction.java", "DirectAction.java")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Main.java.vm", path + File.separator + "src", "Main.java", "Main.java")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Session.java.vm", path + File.separator + "src", "Session.java", "Session.java")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/.classpath.vm", path, ".classpath", ".classpath")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/.project.vm", path, ".project", ".project")); templateEngine .addTemplate(new TemplateDefinition( "woapplication/ant.classpaths.user.home.vm", path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME, "ant.classpaths.user.home", "ant.classpaths.user.home")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/ant.classpaths.wo.wolocalroot.vm", path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME, "ant.classpaths.wo.wolocalroot", "ant.classpaths.wo.wolocalroot")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/ant.classpaths.wo.wosystemroot.vm", path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME, "ant.classpaths.wo.wosystemroot", "ant.classpaths.wo.wosystemroot")); templateEngine .addTemplate(new TemplateDefinition( "woapplication/ant.frameworks.user.home.vm", path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME, "ant.frameworks.user.home", "ant.frameworks.user.home")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/ant.frameworks.wo.wolocalroot.vm", path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME, "ant.frameworks.wo.wolocalroot", "ant.frameworks.wo.wolocalroot")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/ant.frameworks.wo.wosystemroot.vm", path + File.separator + ProjectPatternsets.ANT_FOLDER_NAME, "ant.frameworks.wo.wosystemroot", "ant.frameworks.wo.wosystemroot")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/build.xml.vm", path, "build.xml", "build.xml")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/build.properties.vm", path, "build.properties", "build.properties")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/CustomInfo.plist.vm", path, "CustomInfo.plist", "CustomInfo.plist")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Main.api.vm", path, "Main.api", "Main.api")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Makefile.vm", path, "Makefile.postamble", "Makefile.postamble")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Makefile.postamble.vm", path, "Makefile.postamble", "Makefile.postamble")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Makefile.preamble.vm", path, "Makefile.preamble", "Makefile.preamble")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/PB.project.vm", path, "PB.project", "PB.project")); templateEngine.addTemplate(new TemplateDefinition( "woapplication/Properties.vm", path, "Properties", "Properties")); // templateEngine.addTemplate(new TemplateDefinition( // "woapplication/project.pbxproj.vm", path // + File.separator + projectName + ".xcode", // "project.pbxproj", "project.pbxproj")); templateEngine.run(nullProgressMonitor); // project.open(nullProgressMonitor); // RunAnt runAnt = new RunAnt(); // runAnt.asAnt(path + File.separator // + IWOLipsModel.DEFAULT_BUILD_FILENAME, null, null); this.project.refreshLocal(IResource.DEPTH_INFINITE, nullProgressMonitor); } catch (Exception e) { throw new InvocationTargetException(e); } }
50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/0e8ef941f88bcab3370bfc93fb7a76df27c71bd2/WOApplicationWizard.java/clean/projects/wolips/plugins/org.objectstyle.wolips.wizards/java/org/objectstyle/wolips/wizards/WOApplicationWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 16, 9506, 202, 9267, 14950, 16, 7558, 288, 1082, 202, 780, 17234, 273, 333, 18, 4406, 18, 17994, 5621, 1082, 202, 780, 589, 273, 333, 18, 4406, 18, 588, 2735, 7675, 869, 4618, 780, 5621, 1082, 202, 2041, 5491, 7187, 446, 5491, 7187, 273, 394, 4112, 5491, 7187, 5621, 1082, 202, 698, 288, 9506, 202, 812, 2774, 6933, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 315, 6376, 18, 6933, 8863, 9506, 202, 5254, 6933, 18, 24816, 8291, 5621, 9506, 202, 812, 1705, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 315, 4816, 8863, 9506, 202, 4816, 18, 24816, 8291, 5621, 9506, 202, 812, 4158, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 315, 4757, 8863, 9506, 202, 4757, 18, 24816, 8291, 5621, 9506, 202, 759, 1387, 619, 710, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 17234, 9506, 202, 759, 397, 3552, 92, 710, 8863, 9506, 202, 759, 619, 710, 18, 24816, 8291, 5621, 9506, 202, 759, 1387, 619, 710, 17995, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 17234, 9506, 202, 759, 397, 3552, 92, 710, 17995, 8863, 9506, 202, 759, 619, 710, 17995, 18, 24816, 8291, 5621, 9506, 202, 812, 17841, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 25083, 202, 15, 5420, 3234, 4424, 18, 6856, 67, 17357, 67, 1985, 1769, 9506, 202, 970, 18, 24816, 8291, 5621, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 16, 9506, 202, 9267, 14950, 16, 7558, 288, 1082, 202, 780, 17234, 273, 333, 18, 4406, 18, 17994, 5621, 1082, 202, 780, 589, 273, 333, 18, 4406, 18, 588, 2735, 7675, 869, 4618, 780, 5621, 1082, 202, 2041, 5491, 7187, 446, 5491, 7187, 273, 394, 4112, 5491, 7187, 5621, 1082, 202, 698, 288, 9506, 202, 812, 2774, 6933, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 315, 6376, 18, 6933, 8863, 9506, 202, 5254, 6933, 18, 24816, 8291, 5621, 9506, 202, 812, 1705, 273, 394, 1387, 12, 803, 397, 1387, 18, 11287, 397, 315, 4816, 8863, 9506, 202, 4816, 18, 24816, 8291, 5621, 9506, 2 ]
if (jj_3R_86()) return true;
if (jj_3R_287()) return true;
final private boolean jj_3R_274() { if (jj_3R_86()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_288()) { jj_scanpos = xsp; break; } } return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/ac9207dcb7a8bbf54f85da7f1bdae7d7162b86b3/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5324, 24, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6030, 27, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 22, 5482, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5324, 24, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6030, 27, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 22, 5482, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return function.call(cx, function.getParentScope(), thisArg, args);
return function.call(cx, scope, thisArg, args);
public static Object callSimple(Context cx, String id, Scriptable scope, Object[] args) throws JavaScriptException { Scriptable obj = scope; Object prop = null; Scriptable thisArg = null; search: while (obj != null) { Scriptable m = obj; do { prop = m.get(id, obj); if (prop != Scriptable.NOT_FOUND) { thisArg = obj; break search; } m = m.getPrototype(); } while (m != null); obj = obj.getParentScope(); } if ((prop == null) || (prop == Scriptable.NOT_FOUND)) { Object[] errorArgs = { id }; throw NativeGlobal.constructError( cx, "ReferenceError", ScriptRuntime.getMessage("msg.is.not.defined", errorArgs), scope); } while (thisArg instanceof NativeWith) thisArg = thisArg.getPrototype(); if (thisArg instanceof NativeCall) thisArg = ScriptableObject.getTopLevelScope(thisArg); Function function; try { function = (Function) prop; } catch (ClassCastException e) { Object[] errorArgs = { toString(prop) }; throw cx.reportRuntimeError( getMessage("msg.isnt.function", errorArgs)); } return function.call(cx, function.getParentScope(), thisArg, args); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/b73bd41b86435c2fb3c5c78774fc8c4871dafd62/OptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/OptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 745, 5784, 12, 1042, 9494, 16, 514, 612, 16, 22780, 2146, 16, 4766, 565, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 22780, 1081, 273, 2146, 31, 3639, 1033, 2270, 273, 446, 31, 3639, 22780, 20134, 273, 446, 31, 1623, 30, 3639, 1323, 261, 2603, 480, 446, 13, 288, 5411, 22780, 312, 273, 1081, 31, 5411, 741, 288, 7734, 2270, 273, 312, 18, 588, 12, 350, 16, 1081, 1769, 7734, 309, 261, 5986, 480, 22780, 18, 4400, 67, 9294, 13, 288, 10792, 20134, 273, 1081, 31, 4766, 3639, 898, 1623, 31, 7734, 289, 7734, 312, 273, 312, 18, 588, 15846, 5621, 5411, 289, 1323, 261, 81, 480, 446, 1769, 5411, 1081, 273, 1081, 18, 588, 3054, 3876, 5621, 3639, 289, 3639, 309, 14015, 5986, 422, 446, 13, 747, 261, 5986, 422, 22780, 18, 4400, 67, 9294, 3719, 288, 5411, 1033, 8526, 555, 2615, 273, 288, 612, 289, 31, 5411, 604, 16717, 5160, 18, 10062, 668, 12, 13491, 9494, 16, 315, 2404, 668, 3113, 13491, 7739, 5576, 18, 24906, 2932, 3576, 18, 291, 18, 902, 18, 2178, 3113, 555, 2615, 3631, 13491, 2146, 1769, 3639, 289, 7734, 1323, 261, 2211, 4117, 1276, 16717, 1190, 13, 5411, 20134, 273, 20134, 18, 588, 15846, 5621, 3639, 309, 261, 2211, 4117, 1276, 16717, 1477, 13, 5411, 20134, 273, 22780, 921, 18, 588, 27046, 3876, 12, 2211, 4117, 1769, 7734, 4284, 445, 31, 3639, 775, 288, 5411, 445, 273, 261, 2083, 13, 2270, 31, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 745, 5784, 12, 1042, 9494, 16, 514, 612, 16, 22780, 2146, 16, 4766, 565, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 22780, 1081, 273, 2146, 31, 3639, 1033, 2270, 273, 446, 31, 3639, 22780, 20134, 273, 446, 31, 1623, 30, 3639, 1323, 261, 2603, 480, 446, 13, 288, 5411, 22780, 312, 273, 1081, 31, 5411, 741, 288, 7734, 2270, 273, 312, 18, 588, 12, 350, 16, 1081, 1769, 7734, 309, 261, 5986, 480, 22780, 18, 4400, 67, 9294, 13, 288, 10792, 20134, 273, 1081, 31, 4766, 3639, 898, 1623, 31, 7734, 289, 7734, 312, 273, 312, 18, 588, 15846, 5621, 5411, 289, 1323, 261, 81, 480, 446, 1769, 5411, 1081, 273, 2 ]
throw new UnsupportedOperationException("Cannot remove root node!");
throw new UnsupportedOperationException(Messages.getString("prefs.A"));
public void removeNode() throws BackingStoreException { if (root == this) { throw new UnsupportedOperationException("Cannot remove root node!"); //$NON-NLS-1$ } synchronized (parentPref.lock) { removeNodeImpl(); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/399aa824fb39c644041c20b00359a67c91162f55/AbstractPreferences.java/clean/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 907, 1435, 1216, 4297, 310, 21151, 288, 3639, 309, 261, 3085, 422, 333, 13, 288, 2398, 604, 394, 13172, 12, 5058, 18, 588, 780, 2932, 1484, 2556, 18, 37, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 3852, 261, 2938, 23218, 18, 739, 13, 288, 5411, 1206, 907, 2828, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 907, 1435, 1216, 4297, 310, 21151, 288, 3639, 309, 261, 3085, 422, 333, 13, 288, 2398, 604, 394, 13172, 12, 5058, 18, 588, 780, 2932, 1484, 2556, 18, 37, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 3852, 261, 2938, 23218, 18, 739, 13, 288, 5411, 1206, 907, 2828, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean isAdvancedDarknetEnabled() {
public synchronized boolean isAdvancedDarknetEnabled() {
public boolean isAdvancedDarknetEnabled() { return this.advancedDarknetEnabled; }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/6183394dbb83d13031edd2f8599c8b0826910817/SimpleToadletServer.java/clean/src/freenet/clients/http/SimpleToadletServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 23618, 40, 1313, 2758, 1526, 1435, 288, 202, 202, 2463, 333, 18, 27080, 40, 1313, 2758, 1526, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 23618, 40, 1313, 2758, 1526, 1435, 288, 202, 202, 2463, 333, 18, 27080, 40, 1313, 2758, 1526, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public WarningWindow(Core core, String warning)
public WarningWindow(final Core core, final String warning)
public WarningWindow(Core core, String warning) { if(core != null && core.getMainWindow() != null) { JOptionPane.showMessageDialog(core.getMainWindow().getMainFrame(), warning, "Thaw - "+I18n.getMessage("thaw.warning.title"), JOptionPane.WARNING_MESSAGE); } else { JOptionPane.showMessageDialog(null, warning, "Thaw - "+I18n.getMessage("thaw.warning.title"), JOptionPane.WARNING_MESSAGE); } }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/WarningWindow.java/buggy/src/thaw/core/WarningWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9728, 3829, 12, 4670, 2922, 16, 9506, 377, 514, 3436, 13, 202, 95, 202, 202, 430, 12, 3644, 480, 446, 597, 2922, 18, 588, 6376, 3829, 1435, 480, 446, 13, 288, 1082, 202, 46, 1895, 8485, 18, 4500, 1079, 6353, 12, 3644, 18, 588, 6376, 3829, 7675, 588, 6376, 3219, 9334, 6862, 1082, 1377, 3436, 16, 6862, 1082, 1377, 315, 1315, 2219, 300, 13773, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 8551, 18, 2649, 6, 3631, 6862, 1082, 1377, 804, 1895, 8485, 18, 9511, 67, 8723, 1769, 202, 202, 97, 469, 288, 1082, 202, 46, 1895, 8485, 18, 4500, 1079, 6353, 12, 2011, 16, 6862, 1082, 1377, 3436, 16, 6862, 1082, 1377, 315, 1315, 2219, 300, 13773, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 8551, 18, 2649, 6, 3631, 6862, 1082, 1377, 804, 1895, 8485, 18, 9511, 67, 8723, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9728, 3829, 12, 4670, 2922, 16, 9506, 377, 514, 3436, 13, 202, 95, 202, 202, 430, 12, 3644, 480, 446, 597, 2922, 18, 588, 6376, 3829, 1435, 480, 446, 13, 288, 1082, 202, 46, 1895, 8485, 18, 4500, 1079, 6353, 12, 3644, 18, 588, 6376, 3829, 7675, 588, 6376, 3219, 9334, 6862, 1082, 1377, 3436, 16, 6862, 1082, 1377, 315, 1315, 2219, 300, 13773, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 8551, 18, 2649, 6, 3631, 6862, 1082, 1377, 804, 1895, 8485, 18, 9511, 67, 8723, 1769, 202, 202, 97, 469, 288, 1082, 202, 46, 1895, 8485, 18, 4500, 1079, 6353, 12, 2011, 16, 6862, 1082, 1377, 3436, 16, 6862, 1082, 1377, 315, 1315, 2 ]
assertEquals( null, labelHandle.getStringProperty( Style.WIDOWS_PROP ) );
assertEquals( null, labelHandle.getStringProperty( Style.HIGHLIGHT_RULES_PROP ) );
public void testParser( ) throws Exception { LabelHandle labelHandle = getLabel( ); assertEquals( "6mm", labelHandle.getStringProperty( Label.X_PROP ) ); //$NON-NLS-1$ assertEquals( "0.5mm", labelHandle.getStringProperty( Label.Y_PROP ) ); //$NON-NLS-1$ assertEquals( "0.25mm", labelHandle.getStringProperty( Label.HEIGHT_PROP ) ); //$NON-NLS-1$ assertEquals( "1mm", labelHandle.getStringProperty( Label.WIDTH_PROP ) ); //$NON-NLS-1$ assertEquals( "Today's Date", labelHandle.getStringProperty( Label.TEXT_PROP ) ); //$NON-NLS-1$ OdaDataSet dataSet = (OdaDataSet) design.findDataSet( "firstDataSet" ); //$NON-NLS-1$ assertNotNull( dataSet ); assertEquals( dataSet.getName( ), labelHandle .getProperty( Label.DATA_SET_PROP ) ); // test the sytle property in label assertEquals( "red", labelHandle.getStringProperty( Style.COLOR_PROP ) ); //$NON-NLS-1$ assertEquals( "labelFace", labelHandle.getStringProperty( Style.FONT_FAMILY_PROP ) ); //$NON-NLS-1$ assertEquals( "4mm", labelHandle.getStringProperty( Style.FONT_SIZE_PROP ) ); //$NON-NLS-1$ assertEquals( "bold", labelHandle.getStringProperty( Style.FONT_WEIGHT_PROP ) ); //$NON-NLS-1$ // test the style property whcih was not defined on the label itself assertEquals( "none", labelHandle.getStringProperty( Style.TEXT_UNDERLINE_PROP ) ); //$NON-NLS-1$ // test the style property which does not belong to label assertEquals( null, labelHandle.getStringProperty( Style.WIDOWS_PROP ) ); ActionHandle action = labelHandle.getActionHandle( ); assertNotNull( action ); assertEquals( DesignChoiceConstants.ACTION_LINK_TYPE_HYPERLINK, action .getLinkType( ) ); assertEquals( "http://localhost:8080/", action.getURI() ); //$NON-NLS-1$ // reads in a lable that exists in the body. labelHandle = (LabelHandle) designHandle.findElement( "bodyLabel" ); //$NON-NLS-1$ assertEquals( "<hello></hello><test><test1></test1></test>", //$NON-NLS-1$ labelHandle.getCustomXml( ) ); assertEquals( "yellow", labelHandle.getStringProperty( Style.COLOR_PROP ) ); //$NON-NLS-1$ assertEquals( "Body's slot", labelHandle.getText( ) ); //$NON-NLS-1$ assertEquals( "label help text", labelHandle.getHelpText( ) ); //$NON-NLS-1$ assertEquals( "help key", labelHandle.getHelpTextKey( ) ); //$NON-NLS-1$ assertEquals( "text key", labelHandle.getTextKey( ) ); //$NON-NLS-1$ // make sure that this label exists in the body slot. assertEquals( ReportDesign.BODY_SLOT, labelHandle.getContainer( ) .findContentSlot( labelHandle ) ); // reads in a label that exists in the component. labelHandle = (LabelHandle) designHandle.findElement( "child1" ); //$NON-NLS-1$ assertEquals( "Today's Date", labelHandle.getText( ) ); //$NON-NLS-1$ assertEquals( "label help text", labelHandle.getHelpText( ) ); //$NON-NLS-1$ assertEquals( "help key", labelHandle.getHelpTextKey( ) ); //$NON-NLS-1$ // reads in a label that exists in the freeform. labelHandle = (LabelHandle) designHandle.findElement( "label3" ); //$NON-NLS-1$ assertEquals( "Customer Name", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the list header. labelHandle = (LabelHandle) designHandle .findElement( "listHeaderLabel" ); //$NON-NLS-1$ assertEquals( "list header", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the list detail. labelHandle = (LabelHandle) designHandle .findElement( "listDetailLabel" ); //$NON-NLS-1$ assertEquals( "list detail", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the list footer. labelHandle = (LabelHandle) designHandle .findElement( "listFooterLabel" ); //$NON-NLS-1$ assertEquals( "list footer", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the table header. labelHandle = (LabelHandle) designHandle.findElement( "headerLabel" ); //$NON-NLS-1$ assertEquals( "Customer Name", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the table detail. labelHandle = (LabelHandle) designHandle.findElement( "detailLabel" ); //$NON-NLS-1$ assertEquals( "Address", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the table footer. labelHandle = (LabelHandle) designHandle.findElement( "footerLabel" ); //$NON-NLS-1$ assertEquals( "Address4", labelHandle.getText( ) ); //$NON-NLS-1$ // reads in a label that exists in the scratchpad. labelHandle = (LabelHandle) designHandle .findElement( "scratchpadLabel" ); //$NON-NLS-1$ assertEquals( "scratch", labelHandle.getText( ) ); //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/5e591421f16e98e99407362050913b21f25a5c85/LabelItemParserTest.java/buggy/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/LabelItemParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2678, 12, 262, 1216, 1185, 202, 95, 202, 202, 2224, 3259, 1433, 3259, 273, 11237, 12, 11272, 202, 202, 11231, 8867, 12, 315, 26, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 60, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 8867, 12, 315, 20, 18, 25, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 61, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 8867, 12, 315, 20, 18, 2947, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 14595, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 8867, 12, 315, 21, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 10023, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 8867, 12, 9506, 202, 6, 56, 20136, 1807, 2167, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 5151, 67, 15811, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 51, 2414, 13676, 14837, 273, 261, 51, 2414, 13676, 13, 8281, 18, 4720, 13676, 12, 315, 3645, 13676, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5962, 12, 14837, 11272, 202, 202, 11231, 8867, 12, 14837, 18, 17994, 12, 262, 16, 1433, 3259, 9506, 202, 18, 588, 1396, 12, 5287, 18, 4883, 67, 4043, 67, 15811, 262, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2678, 12, 262, 1216, 1185, 202, 95, 202, 202, 2224, 3259, 1433, 3259, 273, 11237, 12, 11272, 202, 202, 11231, 8867, 12, 315, 26, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 60, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 8867, 12, 315, 20, 18, 25, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 61, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 8867, 12, 315, 20, 18, 2947, 7020, 3113, 1433, 3259, 18, 588, 780, 1396, 12, 5287, 18, 14595, 67, 15811, 262, 11272, 225, 4329, 3993, 17, 5106, 17, 21, 8, 2 ]
public long getNextUrgentTime() {
public synchronized long getNextUrgentTime() {
public long getNextUrgentTime() { long t = Long.MAX_VALUE; KeyTracker kt = currentTracker; if(kt != null) t = Math.min(t, kt.getNextUrgentTime()); kt = previousTracker; if(kt != null) t = Math.min(t, kt.getNextUrgentTime()); return t; }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/d69dceaa72feee5ece14b8de951841aa9b614188/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1525, 6927, 57, 26876, 319, 950, 1435, 288, 3639, 1525, 268, 273, 3407, 18, 6694, 67, 4051, 31, 3639, 1929, 8135, 417, 88, 273, 783, 8135, 31, 3639, 309, 12, 8629, 480, 446, 13, 5411, 268, 273, 2361, 18, 1154, 12, 88, 16, 417, 88, 18, 588, 2134, 57, 26876, 319, 950, 10663, 3639, 417, 88, 273, 2416, 8135, 31, 3639, 309, 12, 8629, 480, 446, 13, 5411, 268, 273, 2361, 18, 1154, 12, 88, 16, 417, 88, 18, 588, 2134, 57, 26876, 319, 950, 10663, 3639, 327, 268, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1525, 6927, 57, 26876, 319, 950, 1435, 288, 3639, 1525, 268, 273, 3407, 18, 6694, 67, 4051, 31, 3639, 1929, 8135, 417, 88, 273, 783, 8135, 31, 3639, 309, 12, 8629, 480, 446, 13, 5411, 268, 273, 2361, 18, 1154, 12, 88, 16, 417, 88, 18, 588, 2134, 57, 26876, 319, 950, 10663, 3639, 417, 88, 273, 2416, 8135, 31, 3639, 309, 12, 8629, 480, 446, 13, 5411, 268, 273, 2361, 18, 1154, 12, 88, 16, 417, 88, 18, 588, 2134, 57, 26876, 319, 950, 10663, 3639, 327, 268, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result = ( ( Number ) obj ).longValue();
result = ((Number)obj).longValue();
public long getLong( int columnIndex ) throws SQLException { long result = 0; Object obj = getObject( columnIndex ); if ( obj == null ) { result = 0; } else { try { switch ( getColumnType( columnIndex ) ) { case java.sql.Types.TINYINT: case java.sql.Types.SMALLINT: case java.sql.Types.INTEGER: { result = ( ( Number ) obj ).longValue(); break; } case java.sql.Types.BIGINT: { result = ( ( Number ) obj ).longValue(); break; } case java.sql.Types.REAL: case java.sql.Types.FLOAT: case java.sql.Types.DOUBLE: { result = ( ( Number ) obj ).longValue(); break; } case java.sql.Types.CHAR: case java.sql.Types.VARCHAR: case java.sql.Types.LONGVARCHAR: { try { Long i = new Long( ( String ) obj ); result = i.longValue(); } catch ( NumberFormatException e ) { throw new SQLException( e.getMessage() ); } break; } case java.sql.Types.NUMERIC: { result = ( ( Number ) obj ).longValue(); break; } case java.sql.Types.DECIMAL: { result = ( ( Number ) obj ).longValue(); break; } case java.sql.Types.BIT: { // XXX according to JDBC spec we need to handle these // for now just fall through } default: { throw new SQLException( "Internal error. " + "Don't know how to convert from " + "java.sql.Types " + TdsUtil.javaSqlTypeToString( getColumnType( columnIndex ) ) + " to an long" ); } } } catch ( ClassCastException e ) { throw new SQLException( "Couldn't convert column " + columnIndex + " to an long. " + e.getMessage() ); } } return result; }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/b37dd297238df8f121a81692dcec67885161e550/PacketRowResult.java/buggy/trunk/jtds/src.old/main/com/internetcds/jdbc/tds/PacketRowResult.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 11105, 12, 509, 14882, 262, 1216, 6483, 565, 288, 3639, 1525, 563, 273, 374, 31, 3639, 1033, 1081, 273, 6455, 12, 14882, 11272, 3639, 309, 261, 1081, 422, 446, 262, 288, 5411, 563, 273, 374, 31, 3639, 289, 3639, 469, 288, 5411, 775, 288, 7734, 1620, 261, 6716, 559, 12, 14882, 262, 262, 288, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 56, 31853, 3217, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 23882, 3217, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 14217, 30, 10792, 288, 13491, 563, 273, 14015, 1854, 13, 2603, 2934, 5748, 620, 5621, 13491, 898, 31, 10792, 289, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 19044, 3217, 30, 10792, 288, 13491, 563, 273, 14015, 1854, 13, 2603, 2934, 5748, 620, 5621, 13491, 898, 31, 10792, 289, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 31052, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 15640, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 17088, 30, 10792, 288, 13491, 563, 273, 14015, 1854, 13, 2603, 2934, 5748, 620, 5621, 13491, 898, 31, 10792, 289, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 7305, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 7716, 7305, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 14639, 7716, 7305, 30, 10792, 288, 13491, 775, 288, 18701, 3407, 277, 273, 394, 3407, 12, 261, 514, 262, 1081, 11272, 18701, 563, 273, 277, 18, 5748, 620, 5621, 13491, 289, 13491, 1044, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 11105, 12, 509, 14882, 262, 1216, 6483, 565, 288, 3639, 1525, 563, 273, 374, 31, 3639, 1033, 1081, 273, 6455, 12, 14882, 11272, 3639, 309, 261, 1081, 422, 446, 262, 288, 5411, 563, 273, 374, 31, 3639, 289, 3639, 469, 288, 5411, 775, 288, 7734, 1620, 261, 6716, 559, 12, 14882, 262, 262, 288, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 56, 31853, 3217, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 23882, 3217, 30, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 14217, 30, 10792, 288, 13491, 563, 273, 14015, 1854, 13, 2603, 2934, 5748, 620, 5621, 13491, 898, 31, 10792, 289, 10792, 648, 2252, 18, 4669, 18, 2016, 18, 19044, 3217, 30, 2 ]
return null;
return getMessageFrom(getPart());
public Message getMessage() { // TODO Review how to get this, if possible return null; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/cf483c82aa3d52c5c424ab8cd6deae6c55e62928/MessageContext.java/buggy/specs/javamail/src/java/javax/mail/MessageContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2350, 2381, 1435, 288, 3639, 368, 2660, 21354, 3661, 358, 336, 333, 16, 309, 3323, 4202, 327, 2381, 1265, 12, 588, 1988, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2350, 2381, 1435, 288, 3639, 368, 2660, 21354, 3661, 358, 336, 333, 16, 309, 3323, 4202, 327, 2381, 1265, 12, 588, 1988, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void RunSinks () { ListIterator iter; iter = allSinks.listIterator (); // go over all the sinks while (iter.hasNext ()) { Operator sink; sink = (Operator) iter.next (); ASSERT (sink != null); // do bunch of work int i; for (i = 0; i < 10; i++) { sink.Work (); } } }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/d66463caa8d0ffd50e8726f30ee2e1e00163ca21/Operator.java/clean/streams/src/streamit/library/Operator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1939, 11326, 87, 1832, 565, 288, 3639, 987, 3198, 1400, 31, 3639, 1400, 273, 777, 11326, 87, 18, 1098, 3198, 261, 1769, 7734, 368, 1960, 1879, 777, 326, 28618, 3639, 1323, 261, 2165, 18, 5332, 2134, 1832, 13, 3639, 288, 5411, 11097, 9049, 31, 5411, 9049, 273, 261, 5592, 13, 1400, 18, 4285, 261, 1769, 5411, 17289, 11539, 261, 17074, 480, 446, 1769, 13491, 368, 741, 25606, 434, 1440, 5411, 509, 277, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 1728, 31, 277, 27245, 5411, 288, 18701, 9049, 18, 2421, 261, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1939, 11326, 87, 1832, 565, 288, 3639, 987, 3198, 1400, 31, 3639, 1400, 273, 777, 11326, 87, 18, 1098, 3198, 261, 1769, 7734, 368, 1960, 1879, 777, 326, 28618, 3639, 1323, 261, 2165, 18, 5332, 2134, 1832, 13, 3639, 288, 5411, 11097, 9049, 31, 5411, 9049, 273, 261, 5592, 13, 1400, 18, 4285, 261, 1769, 5411, 17289, 11539, 261, 17074, 480, 446, 1769, 13491, 368, 741, 25606, 434, 1440, 5411, 509, 277, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 1728, 31, 277, 27245, 5411, 288, 18701, 9049, 18, 2421, 261, 1769, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
accessObjectMember = (PsiMember)PsiUtil.getAccessObjectMember(qualifier).getElement();
accessObjectClass = (PsiClass)PsiUtil.getAccessObjectClass(qualifier).getElement();
private void addInaccessibilityDescriptions(Set<UsageInfo> usages, Set<String> conflictDescriptions) throws IncorrectOperationException { PsiMethod method = myChangeInfo.getMethod(); PsiModifierList modifierList = (PsiModifierList)method.getModifierList().copy(); RefactoringUtil.setVisibility(modifierList, myNewVisibility); for (Iterator<UsageInfo> iterator = usages.iterator(); iterator.hasNext();) { UsageInfo usageInfo = iterator.next(); PsiElement element = usageInfo.getElement(); if (element != null) { PsiMember accessObjectMember = null; if (element instanceof PsiReferenceExpression) { PsiExpression qualifier = ((PsiReferenceExpression)element).getQualifierExpression(); if (qualifier != null) { accessObjectMember = (PsiMember)PsiUtil.getAccessObjectMember(qualifier).getElement(); } if (!element.getManager().getResolveHelper().isAccessible(method, modifierList, element, accessObjectMember, null)) { String message = RefactoringBundle.message("0.with.1.visibility.is.not.accesible.from.2", ConflictsUtil.getDescription(method, true), myNewVisibility, ConflictsUtil.getDescription(ConflictsUtil.getContainer(element), true)); conflictDescriptions.add(message); if (!needToChangeCalls()) { iterator.remove(); } } } } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/2fc84525e6f01b3a0b9a8c8b34462404b4aeb85c/ChangeSignatureProcessor.java/buggy/refactoring/impl/com/intellij/refactoring/changeSignature/ChangeSignatureProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 527, 382, 3860, 3628, 16844, 12, 694, 32, 5357, 966, 34, 584, 1023, 16, 1000, 32, 780, 34, 7546, 16844, 13, 1216, 657, 6746, 10602, 288, 565, 453, 7722, 1305, 707, 273, 3399, 3043, 966, 18, 588, 1305, 5621, 565, 453, 7722, 9829, 682, 9606, 682, 273, 261, 52, 7722, 9829, 682, 13, 2039, 18, 588, 9829, 682, 7675, 3530, 5621, 565, 868, 3493, 6053, 1304, 18, 542, 10135, 12, 20597, 682, 16, 3399, 1908, 10135, 1769, 565, 364, 261, 3198, 32, 5357, 966, 34, 2775, 273, 584, 1023, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1377, 10858, 966, 4084, 966, 273, 2775, 18, 4285, 5621, 1377, 453, 7722, 1046, 930, 273, 4084, 966, 18, 21336, 5621, 1377, 309, 261, 2956, 480, 446, 13, 288, 3639, 453, 7722, 4419, 2006, 921, 4419, 273, 446, 31, 3639, 309, 261, 2956, 1276, 453, 7722, 2404, 2300, 13, 288, 1850, 453, 7722, 2300, 12327, 273, 14015, 52, 7722, 2404, 2300, 13, 2956, 2934, 588, 16185, 2300, 5621, 1850, 309, 261, 28157, 480, 446, 13, 288, 5411, 2006, 921, 797, 273, 261, 52, 7722, 797, 13, 52, 7722, 1304, 18, 588, 1862, 921, 797, 12, 28157, 2934, 21336, 5621, 1850, 289, 1850, 309, 16051, 2956, 18, 588, 1318, 7675, 588, 8460, 2276, 7675, 291, 10451, 12, 2039, 16, 9606, 682, 16, 930, 16, 2006, 921, 4419, 16, 446, 3719, 288, 5411, 514, 883, 273, 2868, 868, 3493, 6053, 3405, 18, 2150, 2932, 20, 18, 1918, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 527, 382, 3860, 3628, 16844, 12, 694, 32, 5357, 966, 34, 584, 1023, 16, 1000, 32, 780, 34, 7546, 16844, 13, 1216, 657, 6746, 10602, 288, 565, 453, 7722, 1305, 707, 273, 3399, 3043, 966, 18, 588, 1305, 5621, 565, 453, 7722, 9829, 682, 9606, 682, 273, 261, 52, 7722, 9829, 682, 13, 2039, 18, 588, 9829, 682, 7675, 3530, 5621, 565, 868, 3493, 6053, 1304, 18, 542, 10135, 12, 20597, 682, 16, 3399, 1908, 10135, 1769, 565, 364, 261, 3198, 32, 5357, 966, 34, 2775, 273, 584, 1023, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1377, 10858, 966, 4084, 966, 273, 2775, 18, 4285, 5621, 1377, 453, 7722, 1046, 930, 273, 4084, 2 ]
throws Throwable { int intResult = -1;
throws Throwable { int intResult = -1;
public void testReturnsProxyOfNewMockObjectWithSameDefaultResultStubForInterfaceTypes() throws Throwable { int intResult = -1; stub.addResult(int.class, new Integer(intResult)); InterfaceType result = (InterfaceType)stub.invoke(invocationReturning(InterfaceType.class)); assertEquals("int result from 'null' interface implementation", intResult, result.returnInt()); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/DefaultResultStubTest.java/buggy/jmock/core/src/test/jmock/core/stub/DefaultResultStubTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1356, 3886, 951, 1908, 9865, 921, 1190, 8650, 1868, 1253, 11974, 1290, 1358, 2016, 1435, 202, 3639, 1216, 4206, 288, 202, 202, 474, 509, 1253, 273, 300, 21, 31, 202, 202, 12847, 18, 1289, 1253, 12, 474, 18, 1106, 16, 394, 2144, 12, 474, 1253, 10019, 202, 202, 1358, 559, 563, 273, 261, 1358, 559, 13, 12847, 18, 14407, 12, 5768, 4431, 28365, 12, 1358, 559, 18, 1106, 10019, 202, 202, 11231, 8867, 2932, 474, 563, 628, 296, 2011, 11, 1560, 4471, 3113, 1082, 2398, 509, 1253, 16, 563, 18, 2463, 1702, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1356, 3886, 951, 1908, 9865, 921, 1190, 8650, 1868, 1253, 11974, 1290, 1358, 2016, 1435, 202, 3639, 1216, 4206, 288, 202, 202, 474, 509, 1253, 273, 300, 21, 31, 202, 202, 12847, 18, 1289, 1253, 12, 474, 18, 1106, 16, 394, 2144, 12, 474, 1253, 10019, 202, 202, 1358, 559, 563, 273, 261, 1358, 559, 13, 12847, 18, 14407, 12, 5768, 4431, 28365, 12, 1358, 559, 18, 1106, 10019, 202, 202, 11231, 8867, 2932, 474, 563, 628, 296, 2011, 11, 1560, 4471, 3113, 1082, 2398, 509, 1253, 16, 563, 18, 2463, 1702, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
VM_Scheduler.trace("\nVM_Handshake:initiateCollection","collectorQueue:");
VM_Scheduler.trace("VM_Handshake:initiateCollection","collectorQueue:");
private void initiateCollection() throws VM_PragmaUninterruptible { int maxCollectorThreads; // check that scheduler initialization is complete // if (!VM_Scheduler.allProcessorsInitialized) { VM.sysWrite(" Garbage collection required before system fully initialized\n"); VM.sysWrite(" Specify larger than default heapsize on command line\n"); VM_Scheduler.dumpStack(); VM.shutdown(-1); } if (debug_native) { // VM_Scheduler.trace("VM_Handshake:initiateCollection","dumping machine..."); // VM_Scheduler.dumpVirtualMachine(); VM_Scheduler.trace("\nVM_Handshake:initiateCollection","collectorQueue:"); VM_Scheduler.writeString("before waiting:"); VM_Scheduler.collectorQueue.dump(); } // wait for all gc threads to finish preceeding collection cycle // include NativeDaemonProcessor collector thread in the count - if it exists // check for null to allow builds without a NativeDaemon (see VM_Scheduler) if (!VM.BuildForSingleVirtualProcessor && VM_Scheduler.processors[VM_Scheduler.nativeDPndx] != null ) maxCollectorThreads = VM_Scheduler.numProcessors + 1; else maxCollectorThreads = VM_Scheduler.numProcessors; VM_Scheduler.collectorMutex.lock(); while (VM_Scheduler.collectorQueue.length() < maxCollectorThreads) { VM_Scheduler.collectorMutex.unlock(); if (trace) VM_Scheduler.trace("VM_Handshake", "mutator: waiting for previous collection to finish"); VM_Thread.getCurrentThread().yield(); VM_Scheduler.collectorMutex.lock(); } VM_Scheduler.collectorMutex.unlock(); if (debug_native) { VM_Scheduler.writeString("after waiting:"); VM_Scheduler.collectorQueue.dump(); } // Acquire global lockout field (at fixed address in the boot record). // This field will be released when gc completes while (true) { int lockoutVal = VM_Magic.prepare(VM_BootRecord.the_boot_record, VM_Entrypoints.lockoutProcessorField.offset); if ( lockoutVal == 0) { if(VM_Magic.attempt(VM_BootRecord.the_boot_record, VM_Entrypoints.lockoutProcessorField.offset, 0, LOCKOUT_GC_WORD)) break; } else { if (debug_native) VM_Scheduler.traceHex("VM_Handshake:initiateCollection", "lockoutLock contains",lockoutVal); } } // reset counter for collector threads arriving to participate in the collection VM_CollectorThread.participantCount[0] = 0; // reset rendezvous counters to 0, the decision about which collector threads // will participate has moved to the run method of CollectorThread // VM_CollectorThread.gcBarrier.resetRendezvous(); // scan all the native Virtual Processors and attempt to block those executing // native C, to prevent returning to java during collection. the first collector // thread will wait for those not blocked to reach the SIGWAIT state. // (see VM_CollectorThread.run) // for (int i = 1; i <= VM_Processor.numberNativeProcessors; i++) { if (VM.VerifyAssertions) VM._assert(VM_Processor.nativeProcessors[i] != null); VM_Processor.nativeProcessors[i].lockInCIfInC(); if (trace) { int newStatus = VM_Processor.vpStatus[VM_Processor.nativeProcessors[i].vpStatusIndex]; VM_Scheduler.trace("VM_Handshake.initiateCollection:", "Native Processor", i); VM_Scheduler.trace(" ", "new vpStatus ", newStatus); } } // Dequeue and schedule collector threads on ALL RVM Processors, // including those running system daemon threads (ex. NativeDaemonProcessor) // VM_Scheduler.collectorMutex.lock(); while (VM_Scheduler.collectorQueue.length() > 0) { VM_Thread t = VM_Scheduler.collectorQueue.dequeue(); t.scheduleHighPriority(); VM_Processor p = t.processorAffinity; // set thread switch requested condition in VP p.threadSwitchRequested = -1; } VM_Scheduler.collectorMutex.unlock(); } // initiateCollection
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/5197f3ebdc091af56f836b3c57de9b78552f30ff/VM_Handshake.java/clean/rvm/src/vm/memoryManagers/JMTk/vmInterface/VM_Handshake.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 18711, 2532, 1435, 1216, 8251, 67, 2050, 9454, 984, 31847, 1523, 288, 565, 509, 943, 7134, 13233, 31, 565, 368, 866, 716, 8129, 10313, 353, 3912, 565, 368, 202, 565, 309, 16051, 7397, 67, 11870, 18, 454, 18155, 11459, 13, 288, 1377, 8251, 18, 9499, 3067, 2932, 611, 12332, 1849, 1931, 1865, 2619, 7418, 6454, 64, 82, 8863, 1377, 8251, 18, 9499, 3067, 2932, 21664, 10974, 2353, 805, 10500, 1467, 603, 1296, 980, 64, 82, 8863, 1377, 8251, 67, 11870, 18, 8481, 2624, 5621, 1377, 8251, 18, 15132, 19236, 21, 1769, 565, 289, 565, 309, 261, 4148, 67, 13635, 13, 288, 1377, 368, 1377, 8251, 67, 11870, 18, 5129, 2932, 7397, 67, 14545, 30, 2738, 3840, 2532, 15937, 13302, 1382, 5228, 7070, 1769, 1377, 368, 1377, 8251, 67, 11870, 18, 8481, 27454, 5621, 1377, 8251, 67, 11870, 18, 5129, 2932, 7397, 67, 14545, 30, 2738, 3840, 2532, 15937, 21356, 3183, 2773, 1769, 1377, 8251, 67, 11870, 18, 2626, 780, 2932, 5771, 7336, 2773, 1769, 8251, 67, 11870, 18, 21356, 3183, 18, 8481, 5621, 565, 289, 565, 368, 2529, 364, 777, 8859, 7403, 358, 4076, 675, 5288, 310, 1849, 8589, 565, 368, 2341, 16717, 12858, 5164, 8543, 2650, 316, 326, 1056, 300, 309, 518, 1704, 565, 368, 866, 364, 446, 358, 1699, 10736, 2887, 279, 16717, 12858, 261, 5946, 8251, 67, 11870, 13, 565, 309, 16051, 7397, 18, 3116, 1290, 5281, 6466, 5164, 597, 8251, 67, 11870, 18, 22962, 63, 7397, 67, 11870, 18, 13635, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 18711, 2532, 1435, 1216, 8251, 67, 2050, 9454, 984, 31847, 1523, 288, 565, 509, 943, 7134, 13233, 31, 565, 368, 866, 716, 8129, 10313, 353, 3912, 565, 368, 202, 565, 309, 16051, 7397, 67, 11870, 18, 454, 18155, 11459, 13, 288, 1377, 8251, 18, 9499, 3067, 2932, 611, 12332, 1849, 1931, 1865, 2619, 7418, 6454, 64, 82, 8863, 1377, 8251, 18, 9499, 3067, 2932, 21664, 10974, 2353, 805, 10500, 1467, 603, 1296, 980, 64, 82, 8863, 1377, 8251, 67, 11870, 18, 8481, 2624, 5621, 1377, 8251, 18, 15132, 19236, 21, 1769, 565, 289, 565, 309, 261, 4148, 67, 13635, 13, 288, 1377, 368, 1377, 8251, 67, 11870, 18, 5129, 2932, 7397, 67, 14545, 30, 2738, 3840, 2 ]
});
} );
private void createTableSelectionComposite( Composite parent ) { Composite tablescomposite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); tablescomposite.setLayout(layout); { GridData data = new GridData(GridData.FILL_BOTH); data.grabExcessVerticalSpace = true; tablescomposite.setLayoutData(data); } // Available Items Label dataSourceLabel = new Label( tablescomposite, SWT.LEFT ); dataSourceLabel.setText( JdbcPlugin.getResourceString( "tablepage.label.availableItems" ) );//$NON-NLS-1$ { GridData data = new GridData(); dataSourceLabel.setLayoutData(data); } availableDbObjectsTree = new Tree(tablescomposite, SWT.BORDER|SWT.MULTI ); { GridData data = new GridData(GridData.FILL_BOTH); data.grabExcessHorizontalSpace = true; data.grabExcessVerticalSpace = true; data.heightHint = 150; availableDbObjectsTree.setLayoutData(data); } availableDbObjectsTree.addMouseListener(new MouseAdapter() { public void mouseDoubleClick(MouseEvent e) { populateEventData( e ); insertText( (String) e.data ); } }); availableDbObjectsTree.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { if ( event.widget.getClass() != null ) handleAvailabeTreeSelection(); } private void handleAvailabeTreeSelection() { TreeItem items[] = availableDbObjectsTree.getSelection(); for ( int i = 0; i <items.length; i++ ) { if ( items[i].getGrayed() ) { availableDbObjectsTree.setRedraw(false); availableDbObjectsTree.deselectAll(); availableDbObjectsTree.setRedraw(true); availableDbObjectsTree.redraw(); } } } }); // Group for selecting the Tables etc // Searching the Tables and Views Group selectTableGroup = new Group(tablescomposite, SWT.FILL); { GridLayout groupLayout = new GridLayout(); groupLayout.numColumns = 3; //groupLayout.horizontalSpacing = 10; groupLayout.verticalSpacing = 10; selectTableGroup.setLayout(groupLayout); GridData data = new GridData(GridData.FILL_HORIZONTAL); selectTableGroup.setLayoutData(data); } schemaLabel = new Label( selectTableGroup, SWT.LEFT ); schemaLabel.setText( JdbcPlugin.getResourceString("tablepage.label.schema") ); schemaCombo = new Combo( selectTableGroup, SWT.READ_ONLY ); GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalSpan = 2; schemaCombo.setLayoutData( gd ); enableSchemaComponent( isSchemaSupported ); Label FilterLabel = new Label(selectTableGroup, SWT.LEFT); FilterLabel.setText(JdbcPlugin.getResourceString("tablepage.label.filter")); searchTxt = new Text(selectTableGroup, SWT.BORDER) ; { GridData data = new GridData(GridData.FILL_HORIZONTAL); data.horizontalSpan = 2; searchTxt.setLayoutData(data); } // Select Type Label selectTypeLabel = new Label(selectTableGroup, SWT.NONE); selectTypeLabel.setText(JdbcPlugin.getResourceString("tablepage.label.selecttype")); // Filter Combo filterComboViewer = new ComboViewer(selectTableGroup, SWT.READ_ONLY); setFilterComboContents(filterComboViewer); filterComboViewer.getControl().setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // Find Button Button findButton = new Button(selectTableGroup, SWT.NONE); findButton.setText(JdbcPlugin.getResourceString("tablepage.button.filter"));//$NON-NLS-1$ // Add listener to the find button findButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent event ) { PlatformUI.getWorkbench( ) .getDisplay( ) .asyncExec( new Runnable( ) { public void run( ) { populateAvailableDbObjects( ); } } ); } } ); setupIdentifierQuoteStringCheckBox( selectTableGroup ); setRootElement(); // Create the drag source on the tree addDragSupportToTree(); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/a1d63df7ad61ba2dd517aea885b14083b21a8b5b/SQLDataSetEditorPage.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 19565, 6233, 9400, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 3246, 80, 742, 362, 4974, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 9506, 202, 7032, 80, 742, 362, 4974, 18, 542, 3744, 12, 6741, 1769, 202, 202, 95, 1082, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 1082, 202, 892, 18, 2752, 70, 424, 614, 15704, 3819, 273, 638, 31, 1082, 202, 7032, 80, 742, 362, 4974, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 97, 9506, 202, 759, 15633, 10240, 3196, 202, 2224, 10233, 2224, 273, 394, 5287, 12, 3246, 80, 742, 362, 4974, 16, 348, 8588, 18, 10066, 11272, 202, 202, 892, 1830, 2224, 18, 542, 1528, 12, 24209, 3773, 18, 588, 1420, 780, 12, 315, 2121, 2433, 18, 1925, 18, 5699, 3126, 6, 262, 11272, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 6313, 751, 501, 273, 394, 7145, 751, 5621, 1082, 202, 892, 1830, 2224, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 97, 9506, 202, 5699, 4331, 4710, 2471, 273, 394, 4902, 12, 7032, 80, 742, 362, 4974, 16, 348, 8588, 18, 38, 7954, 96, 55, 8588, 18, 26588, 11272, 9506, 202, 95, 1082, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 1082, 202, 892, 18, 2752, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 19565, 6233, 9400, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 3246, 80, 742, 362, 4974, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 9506, 202, 7032, 80, 742, 362, 4974, 18, 542, 3744, 12, 6741, 1769, 202, 202, 95, 1082, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 1082, 202, 892, 18, 2752, 70, 424, 614, 15704, 3819, 273, 638, 31, 1082, 202, 7032, 80, 742, 362, 4974, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 97, 9506, 202, 759, 15633, 10240, 3196, 202, 2224, 10233, 2224, 273, 394, 5287, 2 ]
* BeanShell context for each JellyContext.
* BeanShell context for each JellyContext.
public static JellyInterpreter getInterpreter(JellyContext context) throws EvalError { /** * @todo when we can unify the BeanShell and Jelly variable scopes we can share a single * BeanShell context for each JellyContext. * For now lets create a new one each time, which is slower. */ JellyInterpreter interpreter = new JellyInterpreter(); interpreter.setJellyContext(context); return interpreter;/* JellyInterpreter interpreter = (JellyInterpreter) context.getVariable( "org.apache.commons.jelly.beanshell.JellyInterpreter" ); if ( interpreter == null ) { interpreter = new JellyInterpreter(); interpreter.setJellyContext(context); context.setVariable( "org.apache.commons.jelly.beanshell.JellyInterpreter", interpreter ); } return interpreter;*/ }
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/cbaa8d2430c2bf467e589a423fee7c83e3f0eb2f/BeanShellExpressionFactory.java/clean/jelly-tags/beanshell/src/java/org/apache/commons/jelly/tags/beanshell/BeanShellExpressionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 804, 292, 715, 30010, 336, 30010, 12, 46, 292, 715, 1042, 819, 13, 1216, 13163, 668, 288, 1850, 1783, 1850, 380, 632, 9012, 1347, 732, 848, 640, 1164, 326, 7704, 13220, 471, 804, 292, 715, 2190, 8124, 732, 848, 7433, 279, 2202, 540, 380, 7704, 13220, 819, 364, 1517, 804, 292, 715, 1042, 18, 1850, 380, 2457, 2037, 14557, 752, 279, 394, 1245, 1517, 813, 16, 1492, 353, 27926, 18, 540, 1195, 3639, 804, 292, 715, 30010, 16048, 273, 394, 804, 292, 715, 30010, 5621, 3639, 16048, 18, 542, 46, 292, 715, 1042, 12, 2472, 1769, 3639, 327, 16048, 31, 20308, 7734, 804, 292, 715, 30010, 16048, 2398, 273, 261, 46, 292, 715, 30010, 13, 819, 18, 588, 3092, 12, 315, 3341, 18, 19211, 18, 6054, 87, 18, 78, 292, 715, 18, 2196, 634, 76, 1165, 18, 46, 292, 715, 30010, 6, 11272, 3639, 309, 261, 16048, 422, 446, 262, 288, 5411, 16048, 273, 394, 804, 292, 715, 30010, 5621, 5411, 16048, 18, 542, 46, 292, 715, 1042, 12, 2472, 1769, 5411, 819, 18, 542, 3092, 12, 315, 3341, 18, 19211, 18, 6054, 87, 18, 78, 292, 715, 18, 2196, 634, 76, 1165, 18, 46, 292, 715, 30010, 3113, 16048, 11272, 3639, 289, 10792, 327, 16048, 31, 5549, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 804, 292, 715, 30010, 336, 30010, 12, 46, 292, 715, 1042, 819, 13, 1216, 13163, 668, 288, 1850, 1783, 1850, 380, 632, 9012, 1347, 732, 848, 640, 1164, 326, 7704, 13220, 471, 804, 292, 715, 2190, 8124, 732, 848, 7433, 279, 2202, 540, 380, 7704, 13220, 819, 364, 1517, 804, 292, 715, 1042, 18, 1850, 380, 2457, 2037, 14557, 752, 279, 394, 1245, 1517, 813, 16, 1492, 353, 27926, 18, 540, 1195, 3639, 804, 292, 715, 30010, 16048, 273, 394, 804, 292, 715, 30010, 5621, 3639, 16048, 18, 542, 46, 292, 715, 1042, 12, 2472, 1769, 3639, 327, 16048, 31, 20308, 7734, 804, 292, 715, 30010, 16048, 2398, 273, 261, 46, 292, 715, 30010, 13, 819, 2 ]
if (printICode) dumpICode(itsData);
if (Context.printICode) dumpICode(itsData);
private InterpretedScript generateScriptICode(Context cx, Scriptable scope, Node tree, Object securityDomain) { itsSourceFile = (String) tree.getProp(Node.SOURCENAME_PROP); itsData.itsSourceFile = itsSourceFile; itsFunctionList = (Vector) tree.getProp(Node.FUNCTION_PROP); debugSource = (StringBuffer) tree.getProp(Node.DEBUGSOURCE_PROP); if (itsFunctionList != null) generateNestedFunctions(scope, cx, securityDomain); Object[] regExpLiterals = null; Vector regexps = (Vector)tree.getProp(Node.REGEXP_PROP); if (regexps != null) regExpLiterals = generateRegExpLiterals(cx, scope, regexps); VariableTable varTable = (VariableTable)tree.getProp(Node.VARS_PROP); // The default is not to generate debug information boolean activationNeeded = cx.isGeneratingDebugChanged() && cx.isGeneratingDebug(); generateICodeFromTree(tree, varTable, activationNeeded, securityDomain); itsData.itsNestedFunctions = itsNestedFunctions; itsData.itsRegExpLiterals = regExpLiterals; if (printICode) dumpICode(itsData); String[] argNames = itsVariableTable.getAllNames(); short argCount = (short)itsVariableTable.getParameterCount(); InterpretedScript result = new InterpretedScript(cx, itsData, argNames, argCount); if (cx.debugger != null) { cx.debugger.handleCompilationDone(cx, result, debugSource); } return result; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/712ea8149cc85ff91bb3720f30e9192d232d5c14/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5294, 15089, 329, 3651, 2103, 3651, 45, 1085, 12, 1042, 9494, 16, 4766, 5375, 22780, 2146, 16, 4766, 5375, 2029, 2151, 16, 4766, 5375, 1033, 4373, 3748, 13, 565, 288, 3639, 2097, 31150, 273, 261, 780, 13, 2151, 18, 588, 4658, 12, 907, 18, 3584, 1099, 39, 21150, 67, 15811, 1769, 3639, 2097, 751, 18, 1282, 31150, 273, 2097, 31150, 31, 3639, 2097, 2083, 682, 273, 261, 5018, 13, 2151, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 3639, 1198, 1830, 273, 261, 780, 1892, 13, 2151, 18, 588, 4658, 12, 907, 18, 9394, 6537, 67, 15811, 1769, 3639, 309, 261, 1282, 2083, 682, 480, 446, 13, 5411, 2103, 8649, 7503, 12, 4887, 16, 9494, 16, 4373, 3748, 1769, 3639, 1033, 8526, 31223, 48, 11235, 273, 446, 31, 3639, 5589, 3936, 1121, 273, 261, 5018, 13, 3413, 18, 588, 4658, 12, 907, 18, 28225, 67, 15811, 1769, 3639, 309, 261, 7584, 1121, 480, 446, 13, 5411, 31223, 48, 11235, 273, 2103, 13673, 48, 11235, 12, 71, 92, 16, 2146, 16, 3936, 1121, 1769, 3639, 7110, 1388, 569, 1388, 273, 261, 3092, 1388, 13, 3413, 18, 588, 4658, 12, 907, 18, 26088, 67, 15811, 1769, 3639, 368, 1021, 805, 353, 486, 358, 2103, 1198, 1779, 3639, 1250, 10027, 11449, 273, 9494, 18, 291, 21755, 2829, 5033, 1435, 597, 4766, 282, 9494, 18, 291, 21755, 2829, 5621, 3639, 2103, 45, 1085, 1265, 2471, 12, 3413, 16, 569, 1388, 16, 10027, 11449, 16, 4373, 3748, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5294, 15089, 329, 3651, 2103, 3651, 45, 1085, 12, 1042, 9494, 16, 4766, 5375, 22780, 2146, 16, 4766, 5375, 2029, 2151, 16, 4766, 5375, 1033, 4373, 3748, 13, 565, 288, 3639, 2097, 31150, 273, 261, 780, 13, 2151, 18, 588, 4658, 12, 907, 18, 3584, 1099, 39, 21150, 67, 15811, 1769, 3639, 2097, 751, 18, 1282, 31150, 273, 2097, 31150, 31, 3639, 2097, 2083, 682, 273, 261, 5018, 13, 2151, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 3639, 1198, 1830, 273, 261, 780, 1892, 13, 2151, 18, 588, 4658, 12, 907, 18, 9394, 6537, 67, 15811, 1769, 3639, 309, 261, 1282, 2083, 682, 480, 446, 13, 5411, 2103, 8649, 7503, 12, 4887, 16, 9494, 2 ]
try { Path filename = conf.getLocalPath(reduceId + "/map_" + loc.getMapId() + ".out"); long bytes = loc.getFile(localFileSys, filename, reduceTask.getPartition(), pingee); LOG.info(reduceTask.getTaskId() + " done copying " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); return bytes;
Path finalFilename = conf.getLocalPath(reduceId + "/map_" + loc.getMapId() + ".out"); Path tmpFilename = new Path(finalFilename + "-" + id); long bytes = loc.getFile(localFileSys, tmpFilename, reduceTask.getPartition(), pingee, STALLED_COPY_TIMEOUT); synchronized (ReduceTaskRunner.this) { if (!(new File(tmpFilename.toString()). renameTo(new File(finalFilename.toString())))) { localFileSys.delete(tmpFilename); throw new IOException("failure to rename map output " + tmpFilename); }
private long copyOutput(MapOutputLocation loc, Progressable pingee) throws IOException { String reduceId = reduceTask.getTaskId(); LOG.info(reduceId + " Copying " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); try { // this copies the map output file Path filename = conf.getLocalPath(reduceId + "/map_" + loc.getMapId() + ".out"); long bytes = loc.getFile(localFileSys, filename, reduceTask.getPartition(), pingee); LOG.info(reduceTask.getTaskId() + " done copying " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); return bytes; } catch (IOException e) { LOG.warn(reduceTask.getTaskId() + " failed to copy " + loc.getMapTaskId() + " output from " + loc.getHost() + "."); throw e; } }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/68bc787be3d35fb0628d5185b88a6cc2f0576a87/ReduceTaskRunner.java/buggy/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1525, 1610, 1447, 12, 863, 1447, 2735, 1515, 16, 11794, 10980, 429, 10087, 1340, 13, 565, 1216, 1860, 288, 1377, 514, 5459, 548, 273, 5459, 2174, 18, 588, 30182, 5621, 1377, 2018, 18, 1376, 12, 12498, 548, 397, 315, 5631, 310, 315, 397, 1515, 18, 588, 863, 30182, 1435, 397, 9079, 315, 876, 628, 315, 397, 1515, 18, 588, 2594, 1435, 397, 4585, 1769, 1377, 775, 288, 3639, 368, 333, 13200, 326, 852, 876, 585, 3639, 2666, 1544, 273, 2195, 18, 588, 2042, 743, 12, 12498, 548, 397, 2206, 1458, 9548, 397, 4766, 1850, 1515, 18, 588, 863, 548, 1435, 397, 3552, 659, 8863, 3639, 1525, 1731, 273, 1515, 18, 29925, 12, 3729, 812, 12712, 16, 1544, 16, 4766, 5459, 2174, 18, 588, 7003, 9334, 10087, 1340, 1769, 3639, 2018, 18, 1376, 12, 12498, 2174, 18, 588, 30182, 1435, 397, 315, 2731, 8933, 315, 397, 1515, 18, 588, 863, 30182, 1435, 397, 1171, 315, 876, 628, 315, 397, 1515, 18, 588, 2594, 1435, 397, 4585, 1769, 3639, 327, 1731, 31, 1377, 289, 1377, 1044, 261, 14106, 425, 13, 288, 3639, 2018, 18, 8935, 12, 12498, 2174, 18, 588, 30182, 1435, 397, 315, 2535, 358, 1610, 315, 397, 1515, 18, 588, 863, 30182, 1435, 397, 10792, 315, 876, 628, 315, 397, 1515, 18, 588, 2594, 1435, 397, 4585, 1769, 3639, 604, 425, 31, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1525, 1610, 1447, 12, 863, 1447, 2735, 1515, 16, 11794, 10980, 429, 10087, 1340, 13, 565, 1216, 1860, 288, 1377, 514, 5459, 548, 273, 5459, 2174, 18, 588, 30182, 5621, 1377, 2018, 18, 1376, 12, 12498, 548, 397, 315, 5631, 310, 315, 397, 1515, 18, 588, 863, 30182, 1435, 397, 9079, 315, 876, 628, 315, 397, 1515, 18, 588, 2594, 1435, 397, 4585, 1769, 1377, 775, 288, 3639, 368, 333, 13200, 326, 852, 876, 585, 3639, 2666, 1544, 273, 2195, 18, 588, 2042, 743, 12, 12498, 548, 397, 2206, 1458, 9548, 397, 4766, 1850, 1515, 18, 588, 863, 548, 1435, 397, 3552, 659, 8863, 3639, 1525, 1731, 273, 1515, 18, 29925, 12, 3729, 812, 12712, 16, 1544, 2 ]
catch( CDIException e ) {
catch( CoreException e ) {
private void removeAllBreakpoints() { ICDIBreakpoint[] cdiBreakpoints = getBreakpointMap().getAllCDIBreakpoints(); ICDITarget cdiTarget = getCDITarget(); if ( cdiBreakpoints.length > 0 ) { try { cdiTarget.deleteBreakpoints( cdiBreakpoints ); } catch( CDIException e ) { CDebugCorePlugin.log( e.getMessage() ); } ICBreakpoint[] breakpoints = getBreakpointMap().getAllCBreakpoints(); for( int i = 0; i < breakpoints.length; ++i ) { try { ((CBreakpoint)breakpoints[i]).decrementInstallCount(); } catch( CoreException e ) { CDebugCorePlugin.log( e.getMessage() ); } } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/317776f4139513f5949f9077bdcf2af19330f8e4/CBreakpointManager.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12787, 7634, 4139, 1435, 288, 202, 202, 2871, 2565, 20552, 8526, 276, 3211, 7634, 4139, 273, 2882, 870, 1153, 863, 7675, 588, 1595, 39, 2565, 7634, 4139, 5621, 202, 202, 2871, 40, 1285, 826, 276, 3211, 2326, 273, 1927, 40, 1285, 826, 5621, 202, 202, 430, 261, 276, 3211, 7634, 4139, 18, 2469, 405, 374, 262, 288, 1082, 202, 698, 288, 9506, 202, 71, 3211, 2326, 18, 3733, 7634, 4139, 12, 276, 3211, 7634, 4139, 11272, 1082, 202, 97, 1082, 202, 14683, 12, 385, 2565, 503, 425, 262, 288, 9506, 202, 39, 2829, 4670, 3773, 18, 1330, 12, 425, 18, 24906, 1435, 11272, 1082, 202, 97, 1082, 202, 2871, 20552, 8526, 23416, 273, 2882, 870, 1153, 863, 7675, 588, 1595, 39, 7634, 4139, 5621, 1082, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 23416, 18, 2469, 31, 965, 77, 262, 288, 9506, 202, 698, 288, 6862, 202, 12443, 39, 20552, 13, 8820, 4139, 63, 77, 65, 2934, 323, 3702, 6410, 1380, 5621, 9506, 202, 97, 9506, 202, 14683, 12, 30015, 425, 262, 288, 6862, 202, 39, 2829, 4670, 3773, 18, 1330, 12, 425, 18, 24906, 1435, 11272, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12787, 7634, 4139, 1435, 288, 202, 202, 2871, 2565, 20552, 8526, 276, 3211, 7634, 4139, 273, 2882, 870, 1153, 863, 7675, 588, 1595, 39, 2565, 7634, 4139, 5621, 202, 202, 2871, 40, 1285, 826, 276, 3211, 2326, 273, 1927, 40, 1285, 826, 5621, 202, 202, 430, 261, 276, 3211, 7634, 4139, 18, 2469, 405, 374, 262, 288, 1082, 202, 698, 288, 9506, 202, 71, 3211, 2326, 18, 3733, 7634, 4139, 12, 276, 3211, 7634, 4139, 11272, 1082, 202, 97, 1082, 202, 14683, 12, 385, 2565, 503, 425, 262, 288, 9506, 202, 39, 2829, 4670, 3773, 18, 1330, 12, 425, 18, 24906, 1435, 11272, 1082, 202, 97, 1082, 202, 2871, 20552, 8526, 23416, 273, 2882, 870, 2 ]
public static void threadSwitch(int whereFrom) throws VM_PragmaNoInline { VM_Processor.getCurrentProcessor().threadSwitchRequested = 0; //-#if RVM_FOR_POWERPC /* give a chance to check the sync request */ if (VM_Processor.getCurrentProcessor().needsSync) { VM_Processor.getCurrentProcessor().needsSync = false; // make sure not get stale data VM_Magic.isync(); VM_Synchronization.fetchAndDecrement(VM_Magic.getJTOC(), VM_Entrypoints.toSyncProcessorsField.getOffset(), 1); } //-#endif if (!VM_Processor.getCurrentProcessor().threadSwitchingEnabled()) { // thread in critical section: can't switch right now, defer 'till later VM_Processor.getCurrentProcessor().threadSwitchPending = true; return; } /* * Thread switch only when interruptQuantumCounter == schedulingMultiplier. * Otherwise sample HPM counter values and return. * This code must go after checking for thread switch enabled to ensure that we don't * interrupt thread switch disabled code! In particular, the VM.write(String) method. */ VM_Processor.getCurrentProcessor().interruptQuantumCounter++; boolean threadSwitch = ! (VM_Processor.getCurrentProcessor().interruptQuantumCounter < VM.schedulingMultiplier); //-#if RVM_WITH_HPM if (VM_HardwarePerformanceMonitors.sample || threadSwitch) { // sample HPM counter values at every interrupt or a thread switch. if (VM.BuildForHPM && VM_HardwarePerformanceMonitors.safe && ! VM_HardwarePerformanceMonitors.hpm_thread_group) { VM_Thread myThread = getCurrentThread(); VM_Processor.getCurrentProcessor().hpm.updateHPMcounters(myThread, myThread, true, threadSwitch); } } //-#endif if (! threadSwitch) return; VM_Processor.getCurrentProcessor().interruptQuantumCounter = 0; if (VM_Scheduler.debugRequested && VM_Scheduler.allProcessorsInitialized) { // service "debug request" generated by external signal VM_Scheduler.debuggerMutex.lock(); if (VM_Scheduler.debuggerQueue.isEmpty()) { // debugger already running VM_Scheduler.debuggerMutex.unlock(); } else { // awaken debugger VM_Thread t = VM_Scheduler.debuggerQueue.dequeue(); VM_Scheduler.debuggerMutex.unlock(); t.schedule(); } } if (!VM_Scheduler.attachThreadRequested.isZero()) { // service AttachCurrentThread request from an external pthread VM_Scheduler.attachThreadMutex.lock(); if (VM_Scheduler.attachThreadQueue.isEmpty()) { // JNIServiceThread already running VM_Scheduler.attachThreadMutex.unlock(); } else { // awaken JNIServiceThread VM_Thread t = VM_Scheduler.attachThreadQueue.dequeue(); VM_Scheduler.attachThreadMutex.unlock(); t.schedule(); } } if (VM_Scheduler.wakeupQueue.isReady()) { VM_Scheduler.wakeupMutex.lock(); VM_Thread t = VM_Scheduler.wakeupQueue.dequeue(); VM_Scheduler.wakeupMutex.unlock(); if (t != null) { // VM_Scheduler.trace("VM_Thread", // "threadSwitch: awaken ", t.getIndex()); t.schedule(); } } // Reset thread switch count for deterministic thread switching if(VM.BuildForDeterministicThreadSwitching) VM_Processor.getCurrentProcessor().deterministicThreadSwitchCount = VM.deterministicThreadSwitchInterval; //-#if RVM_WITH_ADAPTIVE_SYSTEM // We use threadswitches as a rough approximation of time. // Every threadswitch is a clock tick. VM_Controller.controllerClock++; // // "The idle thread is boring, and does not deserve to be sampled" // -- AOS Commandment Number 1 if (!VM_Thread.getCurrentThread().isIdleThread) { // First, get the cmid for the method in which the yieldpoint was taken. // Get pointer to my caller's frame VM_Address fp = VM_Magic.getCallerFramePointer(VM_Magic.getFramePointer()); // Skip over wrapper to "real" method fp = VM_Magic.getCallerFramePointer(fp); int ypTakenInCMID = VM_Magic.getCompiledMethodID(fp); // Next, get the cmid for that method's caller. fp = VM_Magic.getCallerFramePointer(fp); int ypTakenInCallerCMID = VM_Magic.getCompiledMethodID(fp); // Determine if ypTakenInCallerCMID actually corresponds to a real // Java stackframe. boolean ypTakenInCallerCMIDValid = true; VM_CompiledMethod ypTakenInCM = VM_CompiledMethods.getCompiledMethod(ypTakenInCMID); // Check for one of the following: // Caller is top-of-stack psuedo-frame // Caller is out-of-line assembly (no VM_Method object) // Caller is a native method if (ypTakenInCallerCMID == STACKFRAME_SENTINEL_FP.toInt() || ypTakenInCallerCMID == INVISIBLE_METHOD_ID || ypTakenInCM.getMethod().getDeclaringClass().isBridgeFromNative()) { ypTakenInCallerCMIDValid = false; } //-#if RVM_WITH_OSR // check if there are pending osr request if ((VM_Controller.osrOrganizer != null) && (VM_Controller.osrOrganizer.osr_flag)) { VM_Controller.osrOrganizer.activate(); } if (!VM_Thread.getCurrentThread().isSystemThread) { boolean baseToOptOSR = false; if (whereFrom == VM_Thread.BACKEDGE) { if (ypTakenInCM.isOutdated()) { baseToOptOSR = true; } } if (baseToOptOSR || (whereFrom == VM_Thread.OSROPT)) { // get this fram pointer VM_Address tsFP = VM_Magic.getFramePointer(); // Get pointer to my caller's frame VM_Address tsFromFP = VM_Magic.getCallerFramePointer(tsFP); // Skip over wrapper to "real" method VM_Address realFP = VM_Magic.getCallerFramePointer(tsFromFP); VM_Address stackbeg = VM_Magic.objectAsAddress(VM_Thread.getCurrentThread().stack); VM_Offset tsFromFPoff = tsFromFP.diff(stackbeg); VM_Offset realFPoff = realFP.diff(stackbeg); OSR_OnStackReplacementTrigger.trigger(ypTakenInCMID, tsFromFPoff, realFPoff, whereFrom); } } //-#endif // Now that we have the basic information we need, // notify all currently registered listeners if (VM_RuntimeMeasurements.hasMethodListener()){ // set the Caller CMID to -1 if invalid if (!ypTakenInCallerCMIDValid) ypTakenInCallerCMID = -1; VM_RuntimeMeasurements.activateMethodListeners(ypTakenInCMID, ypTakenInCallerCMID, whereFrom); } if (ypTakenInCallerCMIDValid && VM_RuntimeMeasurements.hasContextListener()) { // Have to start over again in case an intervening GC has moved fp // since the last time we did this. // Get pointer to my caller's frame fp = VM_Magic.getCallerFramePointer(VM_Magic.getFramePointer()); // Skip over wrapper to "real" method fp = VM_Magic.getCallerFramePointer(fp); VM_RuntimeMeasurements.activateContextListeners(fp, whereFrom); } if (VM_RuntimeMeasurements.hasNullListener()){ VM_RuntimeMeasurements.activateNullListeners(whereFrom); } } //-#endif // VM_Scheduler.trace("VM_Thread", "threadSwitch"); timerTickYield(whereFrom); //-#if RVM_WITH_OSR VM_Thread myThread = getCurrentThread(); if (myThread.isWaitingForOsr) { OSR_PostThreadSwitch.postProcess(myThread); } //-#endif }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/e6559639b50b5928bba8b9fd7dd99641b4364b25/VM_Thread.java/buggy/rvm/src/vm/scheduler/VM_Thread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 760, 918, 2650, 10200, 12, 474, 1625, 1265, 13, 1216, 8251, 67, 2050, 9454, 2279, 10870, 225, 288, 225, 8251, 67, 5164, 18, 588, 3935, 5164, 7675, 5930, 10200, 11244, 225, 273, 374, 31, 225, 368, 17, 7, 430, 534, 7397, 67, 7473, 67, 2419, 18839, 3513, 225, 1748, 8492, 279, 17920, 358, 866, 326, 3792, 590, 282, 1195, 225, 309, 261, 7397, 67, 5164, 18, 588, 3935, 5164, 7675, 20600, 4047, 13, 288, 282, 8251, 67, 5164, 18, 588, 3935, 5164, 7675, 20600, 4047, 273, 629, 31, 282, 368, 1221, 3071, 486, 336, 14067, 501, 282, 8251, 67, 19289, 18, 291, 1209, 5621, 282, 8251, 67, 30196, 18, 5754, 1876, 23326, 475, 12, 7397, 67, 19289, 18, 588, 46, 4296, 39, 9334, 8251, 67, 1622, 4139, 18, 869, 4047, 18155, 974, 18, 588, 2335, 9334, 404, 1769, 225, 289, 225, 368, 17, 7, 409, 430, 225, 309, 16051, 7397, 67, 5164, 18, 588, 3935, 5164, 7675, 5930, 10200, 310, 1526, 10756, 288, 565, 368, 2650, 316, 11239, 2442, 30, 848, 1404, 1620, 2145, 2037, 16, 2220, 296, 88, 737, 5137, 282, 8251, 67, 5164, 18, 588, 3935, 5164, 7675, 5930, 10200, 8579, 273, 638, 31, 282, 327, 31, 225, 289, 225, 1748, 282, 380, 4884, 1620, 1338, 1347, 13123, 19471, 379, 4789, 422, 21895, 23365, 18, 282, 380, 5272, 3296, 670, 12728, 3895, 924, 471, 327, 18, 282, 380, 1220, 981, 1297, 1960, 1839, 6728, 364, 2650, 1620, 3696, 358, 3387, 716, 732, 2727, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 760, 918, 2650, 10200, 12, 474, 1625, 1265, 13, 1216, 8251, 67, 2050, 9454, 2279, 10870, 225, 288, 225, 8251, 67, 5164, 18, 588, 3935, 5164, 7675, 5930, 10200, 11244, 225, 273, 374, 31, 225, 368, 17, 7, 430, 534, 7397, 67, 7473, 67, 2419, 18839, 3513, 225, 1748, 8492, 279, 17920, 358, 866, 326, 3792, 590, 282, 1195, 225, 309, 261, 7397, 67, 5164, 18, 588, 3935, 5164, 7675, 20600, 4047, 13, 288, 282, 8251, 67, 5164, 18, 588, 3935, 5164, 7675, 20600, 4047, 273, 629, 31, 282, 368, 1221, 3071, 486, 336, 14067, 501, 282, 8251, 67, 19289, 18, 291, 1209, 5621, 282, 8251, 67, 30196, 18, 5754, 1876, 23326, 475, 12, 7397, 67, 19289, 2 ]
private void parseMixed (char saved [])
private void parseMixed(char[] saved)
private void parseMixed (char saved []) throws Exception { // Check for PCDATA alone. skipWhitespace (); if (tryRead (')')) { // VC: Proper Group/PE Nesting if (readBuffer != saved) handler.verror ("Illegal Group/PE nesting"); dataBufferAppend (")*"); tryRead ('*'); return; } // Parse mixed content. skipWhitespace (); while (!tryRead (")")) { require ('|'); dataBufferAppend ('|'); skipWhitespace (); dataBufferAppend (readNmtoken (true)); skipWhitespace (); } // VC: Proper Group/PE Nesting if (readBuffer != saved) handler.verror ("Illegal Group/PE nesting"); require ('*'); dataBufferAppend (")*"); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 19846, 12, 3001, 8526, 5198, 13, 565, 1216, 1185, 565, 288, 202, 759, 2073, 364, 453, 18375, 24068, 18, 202, 7457, 9431, 261, 1769, 202, 430, 261, 698, 1994, 7707, 2506, 3719, 288, 202, 565, 368, 776, 39, 30, 1186, 457, 3756, 19, 1423, 423, 10100, 202, 565, 309, 261, 896, 1892, 480, 5198, 13, 202, 202, 4176, 18, 1107, 280, 7566, 12195, 3756, 19, 1423, 17174, 8863, 202, 565, 501, 1892, 5736, 7566, 13, 7388, 1769, 202, 565, 775, 1994, 7707, 4035, 1769, 202, 565, 327, 31, 202, 97, 202, 759, 2884, 7826, 913, 18, 202, 7457, 9431, 261, 1769, 202, 17523, 16051, 698, 1994, 7566, 2225, 3719, 288, 202, 565, 2583, 7707, 96, 8284, 202, 565, 501, 1892, 5736, 7707, 96, 8284, 202, 565, 2488, 9431, 261, 1769, 202, 565, 501, 1892, 5736, 261, 896, 50, 1010, 969, 261, 3767, 10019, 202, 565, 2488, 9431, 261, 1769, 202, 97, 202, 759, 776, 39, 30, 1186, 457, 3756, 19, 1423, 423, 10100, 202, 430, 261, 896, 1892, 480, 5198, 13, 202, 565, 1838, 18, 1107, 280, 7566, 12195, 3756, 19, 1423, 17174, 8863, 202, 6528, 7707, 4035, 1769, 202, 892, 1892, 5736, 7566, 13, 7388, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 19846, 12, 3001, 8526, 5198, 13, 565, 1216, 1185, 565, 288, 202, 759, 2073, 364, 453, 18375, 24068, 18, 202, 7457, 9431, 261, 1769, 202, 430, 261, 698, 1994, 7707, 2506, 3719, 288, 202, 565, 368, 776, 39, 30, 1186, 457, 3756, 19, 1423, 423, 10100, 202, 565, 309, 261, 896, 1892, 480, 5198, 13, 202, 202, 4176, 18, 1107, 280, 7566, 12195, 3756, 19, 1423, 17174, 8863, 202, 565, 501, 1892, 5736, 7566, 13, 7388, 1769, 202, 565, 775, 1994, 7707, 4035, 1769, 202, 565, 327, 31, 202, 97, 202, 759, 2884, 7826, 913, 18, 202, 7457, 9431, 261, 1769, 202, 17523, 16051, 698, 1994, 7566, 2225, 3719, 288, 202, 565, 2583, 7707, 96, 2 ]
backupEst = (double [])estParams.clone();
public void estimateParameters(Tree originalTree, CategoricalDistribution observedStates1, CategoricalDistribution observedStates2, CommandRecord commandRec) { // if (observedStates1==null || observedStates2==null) // return; this.observedStates1 = observedStates1; this.observedStates2 = observedStates2; // Special treatment for constant states just isn't working out here if (observedStates1.getMaxState()>= 1) maxState[0] = observedStates1.getMaxState(); else maxState[0] = 1; if (observedStates2.getMaxState()>= 1) maxState[1] = observedStates2.getMaxState(); else maxState[1] = 1; allStates[0] = CategoricalState.span(0,maxState[0]); allStates[1] = CategoricalState.span(0,maxState[1]); double height = 0; double invHeight = MesquiteDouble.unassigned; if (scaleRescale){ //rescales tree to 1.0 height to help optimization, which takes longer with larger numbers MesquiteTree mTree = originalTree.cloneTree(); mTree.setAllUnassignedBranchLengths(1.0, false); height = mTree.tallestPathAboveNode(mTree.getRoot(), 1.0); // to adjust start point depending on how tall is tree if (height != 0){ invHeight = 1.0/height; mTree.scaleAllBranchLengths(invHeight, false); rescaleFixedParameters(height); } workingTree= mTree; } else workingTree = originalTree; Optimizer opt = new Optimizer(this); double best = Double.MAX_VALUE; // **** estParams is the matrix of trial values double [] b = null; double next; try { switch (modelType) { case MODEL8PARAM:{ // first try two versions of a 6-parameter model PagelMatrixModel model6_1 = new PagelMatrixModel("",CategoricalState.class,MODEL6PARAMCONTINGENTCHANGEY); PagelMatrixModel model6_2 = new PagelMatrixModel("",CategoricalState.class,MODEL6PARAMCONTINGENTCHANGEX); double estParams[] = new double[8]; // first a model with changes in Y contingent on changes in X if (parametersFromSimplerModel == null || simplerModelType != MODEL6PARAMCONTINGENTCHANGEY){ model6_1.setParametersFromSimplerModel(parametersFromSimplerModel,simplerModelType); model6_1.estimateParameters(workingTree,observedStates1, observedStates2, commandRec); double[] m6_1Params = model6_1.getParams(); for(int i=0;i<4;i++) estParams[i]=m6_1Params[i]; estParams[4]=m6_1Params[4]; estParams[5]=m6_1Params[0]; estParams[6]=m6_1Params[5]; estParams[7]=m6_1Params[2]; } else { for(int i=0;i<4;i++) estParams[i]=parametersFromSimplerModel[i]; estParams[4]=parametersFromSimplerModel[4]; estParams[5]=parametersFromSimplerModel[0]; estParams[6]=parametersFromSimplerModel[5]; estParams[7]=parametersFromSimplerModel[2]; } allowedEdgeHits = beginningAllowed; double [] backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); // try optimizing from the contingentchangeY best parameters if (!acceptableResults(next, estParams)) { MesquiteMessage.println("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); } else { //shouldn't need to compare best with next here best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int i=0; i< estParams.length; i++) b[i] = estParams[i]; } // now the other 6-parameter model (changes in X contingent on Y) if (parametersFromSimplerModel == null || simplerModelType != MODEL6PARAMCONTINGENTCHANGEX){ model6_2.setParametersFromSimplerModel(parametersFromSimplerModel,simplerModelType); model6_2.estimateParameters(workingTree,observedStates1, observedStates2, commandRec); double[] m6_2Params = model6_2.getParams(); for(int i=0;i<4;i++) estParams[i]=m6_2Params[i]; estParams[4]=m6_2Params[1]; estParams[5]=m6_2Params[4]; estParams[6]=m6_2Params[3]; estParams[7]=m6_2Params[5]; } else { for(int i=0;i<4;i++) estParams[i]=parametersFromSimplerModel[i]; estParams[4]=parametersFromSimplerModel[1]; estParams[5]=parametersFromSimplerModel[4]; estParams[6]=parametersFromSimplerModel[3]; estParams[7]=parametersFromSimplerModel[5]; } allowedEdgeHits = beginningAllowed; backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); // try optimizing from the contingentchangeX best parameters if (!acceptableResults(next, estParams)) { MesquiteMessage.println("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); } else if (next<best) { best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int i=0; i< estParams.length; i++) b[i] = estParams[i]; } //PETER: added these tick notifications to keep user informed of progress of search if (commandRec != null) commandRec.tick("8 parameter model preliminary -ln likelihood: " + MesquiteDouble.toString(best)); if (eightParameterExtraSearch.getValue() > 0) { double [] m6_1Params = model6_1.getParams(); double [] m6_2Params = model6_2.getParams(); for (int i = 0; i< eightParameterExtraSearch.getValue();i++){ for(int j=0;j<4;j++) estParams[j]=Math.abs(m6_1Params[j] + (2*rng.nextDouble()-1)*(m6_2Params[j]+m6_1Params[j])); estParams[4]=(1+0.2*rng.nextGaussian())*m6_1Params[4]; estParams[5]=(1+0.2*rng.nextGaussian())*m6_2Params[4]; estParams[6]=(1+0.2*rng.nextGaussian())*m6_1Params[5]; estParams[7]=(1+0.2*rng.nextGaussian())*m6_2Params[5]; allowedEdgeHits = beginningAllowed; backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); // try optimizing from the contingentchangeX best parameters if (!acceptableResults(next, estParams)) { MesquiteMessage.warnProgrammer("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); } else if (next<best) { best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int m=0; m< estParams.length; m++) b[m] = estParams[m]; } if (commandRec != null) commandRec.tick("8 parameter model -ln likelihood after " + (i+1) + " searches: " + MesquiteDouble.toString(best)); } } break; } case MODEL6PARAMCONTINGENTCHANGEX: case MODEL6PARAMCONTINGENTCHANGEY: { double[] estParams = new double[6]; if (parametersFromSimplerModel == null || simplerModelType != MODEL4PARAM) { PagelMatrixModel model4 = new PagelMatrixModel("",CategoricalState.class,MODEL4PARAM); model4.estimateParameters(workingTree,observedStates1, observedStates2, commandRec); double [] m4Params = model4.getParams(); for(int i=0;i<4;i++) estParams[i]=m4Params[i]; if (modelType == MODEL6PARAMCONTINGENTCHANGEX){ //this really needs to be checked estParams[4]=m4Params[2]; estParams[5]=m4Params[3]; } else { estParams[4]=m4Params[0]; estParams[5]=m4Params[1]; } } else { // TODO need to get the parameters from the previous model for(int i=0;i<4;i++) estParams[i]=parametersFromSimplerModel[i]; if (modelType == MODEL6PARAMCONTINGENTCHANGEX){ //this really needs to be checked estParams[4]=parametersFromSimplerModel[2]; estParams[5]=parametersFromSimplerModel[3]; } else { estParams[4]=parametersFromSimplerModel[0]; estParams[5]=parametersFromSimplerModel[1]; } } allowedEdgeHits = beginningAllowed; double [] backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); // try optimizing from the contingentchangeX best parameters if (!acceptableResults(next, estParams)) { MesquiteMessage.println("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); //if (b == null) // b = DoubleArray.clone(estParams); //only do this to get b set to something... } else if (next<best) { best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int i=0; i< estParams.length; i++) b[i] = estParams[i]; } break; } case MODEL4PARAM: { // for now, just use flip/flop, though we might try getting estimates from MODEL2PARAM in the future double[] estParams = new double[4]; estParams[2] = FLIP_FLOP_HIGH; estParams[3] = FLIP_FLOP_HIGH; estParams[0] = FLIP_FLOP_HIGH; estParams[1] = FLIP_FLOP_HIGH; if (b == null) b = DoubleArray.clone(estParams); double [] backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); //bundle); if (!acceptableResults(next, estParams)) { MesquiteMessage.warnProgrammer("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); } else if (next<best) { best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int i=0; i< estParams.length; i++) b[i] = estParams[i]; } estParams[0] = FLIP_FLOP_LOW; estParams[2] = FLIP_FLOP_LOW; // estParams[1] = FLIP_FLOP_HIGH; //forward estParams[3] = FLIP_FLOP_HIGH; params = DoubleArray.clone(estParams); allowedEdgeHits = beginningAllowed; backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); //bundle); if (!acceptableResults(next, estParams)) { MesquiteMessage.println("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); } else if (next<best) { best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int i=0; i< estParams.length; i++) b[i] = estParams[i]; } estParams[0] = FLIP_FLOP_HIGH; estParams[2] = FLIP_FLOP_HIGH; // estParams[1] = FLIP_FLOP_LOW; //forward estParams[3] = FLIP_FLOP_LOW; params = DoubleArray.clone(estParams); allowedEdgeHits = beginningAllowed; backupEst = (double [])estParams.clone(); next = opt.optimize(estParams, null); //bundle); if (!acceptableResults(next, estParams)) { MesquiteMessage.println("Warning: NaN encountered in PagelMatrixModel optimization"); reportUnacceptableValues(next, estParams,backupEst); } else if (next<best) { best = next; if (b == null) b = DoubleArray.clone(estParams); else for (int i=0; i< estParams.length; i++) b[i] = estParams[i]; } if (commandRec != null) commandRec.tick("4 parameter model -ln likelihood: " + MesquiteDouble.toString(best)); break; } case MODEL2PARAM: { // NO-OP FOR NOW, the model exists, the framework for using it doesn't MkModel model2 = new MkModel("asymm helper", CategoricalState.class); //used to provide preliminary guess at rate MesquiteMessage.warnUser("The 2 parameter model isn't currently supported here"); break; } } // end switch (??) } catch (StuckSearchException e){ return; } params = DoubleArray.clone(b); if (scaleRescale && height != 0){ //UNDO the scaling of the tree rescaleAllParameters(invHeight); workingTree = originalTree; // faster, less error prone than rescaling from mTree?? } //prepareMatrices(); }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/6b851d6552b6f3d5f999eeb504d2e4524f44dce0/PagelMatrixModel.java/buggy/Source/mesquite/correl/lib/PagelMatrixModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 11108, 2402, 12, 2471, 2282, 2471, 16, 385, 14341, 9003, 12117, 7629, 21, 16, 385, 14341, 9003, 12117, 7629, 22, 16, 3498, 2115, 1296, 5650, 13, 288, 368, 565, 202, 430, 261, 30701, 7629, 21, 631, 2011, 747, 12117, 7629, 22, 631, 2011, 13, 368, 565, 202, 202, 2463, 31, 3639, 333, 18, 30701, 7629, 21, 273, 12117, 7629, 21, 31, 3639, 333, 18, 30701, 7629, 22, 273, 12117, 7629, 22, 31, 377, 202, 202, 759, 13409, 24266, 364, 5381, 5493, 2537, 5177, 1404, 5960, 596, 2674, 377, 202, 202, 430, 261, 30701, 7629, 21, 18, 588, 2747, 1119, 1435, 34, 33, 404, 13, 377, 1082, 202, 1896, 1119, 63, 20, 65, 273, 12117, 7629, 21, 18, 588, 2747, 1119, 5621, 377, 202, 202, 12107, 377, 1082, 202, 1896, 1119, 63, 20, 65, 273, 404, 31, 377, 202, 202, 430, 261, 30701, 7629, 22, 18, 588, 2747, 1119, 1435, 34, 33, 404, 13, 540, 202, 202, 1896, 1119, 63, 21, 65, 273, 12117, 7629, 22, 18, 588, 2747, 1119, 5621, 377, 202, 202, 12107, 377, 1082, 202, 1896, 1119, 63, 21, 65, 273, 404, 31, 202, 202, 454, 7629, 63, 20, 65, 273, 385, 14341, 1119, 18, 3969, 12, 20, 16, 1896, 1119, 63, 20, 19226, 202, 202, 454, 7629, 63, 21, 65, 273, 385, 14341, 1119, 18, 3969, 12, 20, 16, 1896, 1119, 63, 21, 19226, 202, 202, 9056, 2072, 273, 374, 31, 202, 202, 9056, 2198, 2686, 273, 490, 281, 372, 1137, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 11108, 2402, 12, 2471, 2282, 2471, 16, 385, 14341, 9003, 12117, 7629, 21, 16, 385, 14341, 9003, 12117, 7629, 22, 16, 3498, 2115, 1296, 5650, 13, 288, 368, 565, 202, 430, 261, 30701, 7629, 21, 631, 2011, 747, 12117, 7629, 22, 631, 2011, 13, 368, 565, 202, 202, 2463, 31, 3639, 333, 18, 30701, 7629, 21, 273, 12117, 7629, 21, 31, 3639, 333, 18, 30701, 7629, 22, 273, 12117, 7629, 22, 31, 377, 202, 202, 759, 13409, 24266, 364, 5381, 5493, 2537, 5177, 1404, 5960, 596, 2674, 377, 202, 202, 430, 261, 30701, 7629, 21, 18, 588, 2747, 1119, 1435, 34, 33, 404, 13, 377, 1082, 202, 1896, 1119, 63, 20, 65, 273, 12117, 7629, 21, 2 ]
_cnt306++;
_cnt334++;
protected final void mATTRIBUTE_CONTENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = ATTRIBUTE_CONTENT; int _saveIndex; { int _cnt306=0; _loop306: do { switch ( LA(1)) { case '\t': { match('\t'); break; } case '\r': { match('\r'); break; } case '\n': { match('\n'); break; } case ' ': { match('\u0020'); break; } case '!': { match('\u0021'); break; } case '#': case '$': case '%': { matchRange('\u0023','\u0025'); break; } case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case ';': { matchRange('\'','\u003b'); break; } case '=': case '>': case '?': case '@': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '[': case '\\': case ']': case '^': case '_': case '`': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': { matchRange('\u003d','\u007a'); break; } case '|': { match('\u007c'); break; } default: if (((LA(1) >= '~' && LA(1) <= '\ufffd'))) { matchRange('\u007e','\uFFFD'); } else { if ( _cnt306>=1 ) { break _loop306; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } } _cnt306++; } while (true); } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/991914fac6d8ec32704e1e021ab6bf8707ee56ec/XPathLexer2.java/buggy/src/org/exist/parser/XPathLexer2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 11616, 67, 9689, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 15941, 67, 9689, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 29490, 33, 20, 31, 202, 202, 67, 6498, 29490, 30, 202, 202, 2896, 288, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 2337, 88, 4278, 1082, 202, 95, 9506, 202, 1916, 2668, 64, 88, 8284, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 2337, 86, 4278, 1082, 202, 95, 9506, 202, 1916, 2668, 64, 86, 8284, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 2337, 82, 4278, 1082, 202, 95, 9506, 202, 1916, 2668, 64, 82, 8284, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 296, 4290, 1082, 202, 95, 9506, 202, 1916, 2668, 64, 89, 713, 3462, 8284, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 11817, 4278, 1082, 202, 95, 9506, 202, 1916, 2668, 64, 89, 713, 5340, 8284, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 2946, 4278, 225, 648, 3365, 4278, 225, 648, 1995, 4278, 1082, 202, 95, 9506, 202, 1916, 2655, 2668, 64, 89, 713, 4366, 2187, 8314, 89, 713, 2947, 8284, 9506, 202, 8820, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 11616, 67, 9689, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 15941, 67, 9689, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 29490, 33, 20, 31, 202, 202, 67, 6498, 29490, 30, 202, 202, 2896, 288, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 2337, 88, 4278, 1082, 202, 95, 9506, 202, 1916, 2668, 64, 88, 8284, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 2 ]
this.grailsApplication = new DefaultGrailsApplication(this.groovyFiles);
if(injectionOperation != null) { this.grailsApplication = new DefaultGrailsApplication(this.groovyFiles,injectionOperation); } else { this.grailsApplication = new DefaultGrailsApplication(this.groovyFiles); }
public void afterPropertiesSet() throws Exception { if (this.groovyFiles == null || groovyFiles.length == 0) { throw new IllegalStateException("Groovy files are not defined!"); } this.grailsApplication = new DefaultGrailsApplication(this.groovyFiles); }
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/b6ef9ddec7862d8efa8e6b63db67dfa714830c8a/GrailsApplicationFactoryBean.java/buggy/src/commons/org/codehaus/groovy/grails/commons/GrailsApplicationFactoryBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1839, 2297, 694, 1435, 1216, 1185, 288, 202, 202, 430, 261, 2211, 18, 75, 12859, 2697, 422, 446, 747, 24955, 2697, 18, 2469, 422, 374, 13, 288, 1082, 202, 12849, 394, 5477, 2932, 43, 12859, 1390, 854, 486, 2553, 4442, 1769, 202, 202, 97, 202, 202, 2211, 18, 2752, 14573, 3208, 273, 394, 2989, 14571, 14573, 3208, 12, 2211, 18, 75, 12859, 2697, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1839, 2297, 694, 1435, 1216, 1185, 288, 202, 202, 430, 261, 2211, 18, 75, 12859, 2697, 422, 446, 747, 24955, 2697, 18, 2469, 422, 374, 13, 288, 1082, 202, 12849, 394, 5477, 2932, 43, 12859, 1390, 854, 486, 2553, 4442, 1769, 202, 202, 97, 202, 202, 2211, 18, 2752, 14573, 3208, 273, 394, 2989, 14571, 14573, 3208, 12, 2211, 18, 75, 12859, 2697, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
styleInlineBox(c, cs, box);
styleInlineBox(c, style, box);
public static InlineBox generateFirstLetterInlineBox(Context c, int start, String text, InlineBox prev_align, TextContent content, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); int end = start + 1; // u.p("text = " + text); // u.p("prev = " + prev); // u.p("prev align = " + prev_align); // u.p("avail = " + avail); CalculatedStyle style = content.getStyle(); Font font = FontUtil.getFont(c, style); //TODO: refactor styleBox, far too overloaded. Temporary hack here. Does box already have content set? InlineBox box = newBox(c, content, start, end, text, prev_align, font, firstLineStyle); //not used: int len = FontUtil.len(c, text.substring(start, end), font); CalculatedStyle cs = null; if (firstLetterStyle != null) { cs = c.css.getDerivedStyle(style, firstLetterStyle); } else { cs = style; } // u.p("style = " + cs); styleInlineBox(c, cs, box); box.break_after = false; //u.p("generated a first letter inline: " + box); return box; }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/e65470765b9501b251ba6faf1734b383bb9b1578/LineBreaker.java/clean/src/java/org/xhtmlrenderer/layout/LineBreaker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 16355, 3514, 2103, 3759, 13938, 10870, 3514, 12, 1042, 276, 16, 509, 787, 16, 514, 977, 16, 4766, 7682, 16355, 3514, 2807, 67, 7989, 16, 3867, 1350, 913, 16, 385, 3691, 2435, 2885, 1122, 13938, 2885, 16, 385, 3691, 2435, 2885, 24415, 2885, 13, 288, 3639, 368, 582, 18, 84, 2932, 4507, 1122, 9471, 3919, 8863, 3639, 368, 582, 18, 84, 2932, 2159, 273, 315, 397, 756, 1769, 3639, 368, 582, 18, 84, 2932, 1937, 273, 315, 397, 787, 1769, 3639, 509, 679, 273, 787, 397, 404, 31, 3639, 368, 582, 18, 84, 2932, 955, 273, 315, 397, 977, 1769, 3639, 368, 582, 18, 84, 2932, 10001, 273, 315, 397, 2807, 1769, 3639, 368, 582, 18, 84, 2932, 10001, 5689, 273, 315, 397, 2807, 67, 7989, 1769, 3639, 368, 582, 18, 84, 2932, 842, 671, 273, 315, 397, 15783, 1769, 7734, 15994, 690, 2885, 2154, 273, 913, 18, 588, 2885, 5621, 3639, 10063, 3512, 273, 10063, 1304, 18, 588, 5711, 12, 71, 16, 2154, 1769, 3639, 368, 6241, 30, 26627, 2154, 3514, 16, 10247, 4885, 1879, 4230, 18, 22791, 11769, 2674, 18, 9637, 3919, 1818, 1240, 913, 444, 35, 3639, 16355, 3514, 3919, 273, 394, 3514, 12, 71, 16, 913, 16, 787, 16, 679, 16, 977, 16, 2807, 67, 7989, 16, 3512, 16, 24415, 2885, 1769, 3639, 368, 902, 1399, 30, 509, 562, 273, 10063, 1304, 18, 1897, 12, 71, 16, 977, 18, 28023, 12, 1937, 16, 679, 3631, 3512, 1769, 3639, 15994, 690, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 16355, 3514, 2103, 3759, 13938, 10870, 3514, 12, 1042, 276, 16, 509, 787, 16, 514, 977, 16, 4766, 7682, 16355, 3514, 2807, 67, 7989, 16, 3867, 1350, 913, 16, 385, 3691, 2435, 2885, 1122, 13938, 2885, 16, 385, 3691, 2435, 2885, 24415, 2885, 13, 288, 3639, 368, 582, 18, 84, 2932, 4507, 1122, 9471, 3919, 8863, 3639, 368, 582, 18, 84, 2932, 2159, 273, 315, 397, 756, 1769, 3639, 368, 582, 18, 84, 2932, 1937, 273, 315, 397, 787, 1769, 3639, 509, 679, 273, 787, 397, 404, 31, 3639, 368, 582, 18, 84, 2932, 955, 273, 315, 397, 977, 1769, 3639, 368, 582, 18, 84, 2932, 10001, 273, 315, 397, 2807, 1769, 3639, 368, 582, 18, 2 ]
if(!exp.exp1.isEpsilonReducible()) { continuation = pool.createSequence( continuation, exp.exp2 );
if(!exp.exp1.isEpsilonReducible())
public void onSequence( SequenceExp exp ) { exp.exp1.visit(this); if(!exp.exp1.isEpsilonReducible()) { continuation = pool.createSequence( continuation, exp.exp2 ); return; } Expression content1 = content; Expression continuation1 = continuation; exp.exp2.visit(this); if( content==Expression.nullSet ) { content = content1; continuation = pool.createSequence( continuation1, exp.exp2 ); return; } if( content1==Expression.nullSet ) { // exp1 is epsilon reducible but didn't accept this token. // so continuation will be that of exp2. return; } // now, we have candidates in both left and right. // say, // exp = (A,X)?,(A,Y) // continuation will be X?,Y content = pool.createChoice( content, content1 ); continuation = pool.createSequence( pool.createOptional(continuation1), continuation ); }
45720 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45720/e71ce1e357f4d3ab4d5bf5dbb44427b0fc2a7c40/CombinedChildContentExpCreator.java/buggy/msv/src/com/sun/msv/verifier/regexp/CombinedChildContentExpCreator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 4021, 12, 8370, 2966, 1329, 262, 202, 95, 202, 202, 2749, 18, 2749, 21, 18, 11658, 12, 2211, 1769, 9506, 202, 430, 12, 5, 2749, 18, 2749, 21, 18, 291, 29889, 10327, 3715, 5286, 1523, 10756, 288, 1082, 202, 1213, 23946, 273, 2845, 18, 2640, 4021, 12, 17378, 16, 1329, 18, 2749, 22, 11272, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 2300, 913, 21, 273, 913, 31, 202, 202, 2300, 17378, 21, 273, 17378, 31, 9506, 202, 2749, 18, 2749, 22, 18, 11658, 12, 2211, 1769, 9506, 202, 430, 12, 913, 631, 2300, 18, 2011, 694, 262, 288, 1082, 202, 1745, 273, 913, 21, 31, 1082, 202, 1213, 23946, 273, 2845, 18, 2640, 4021, 12, 17378, 21, 16, 1329, 18, 2749, 22, 11272, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 430, 12, 913, 21, 631, 2300, 18, 2011, 694, 262, 288, 1082, 202, 759, 1329, 21, 353, 12263, 1755, 5286, 1523, 1496, 10242, 1404, 2791, 333, 1147, 18, 1082, 202, 759, 1427, 17378, 903, 506, 716, 434, 1329, 22, 18, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 759, 2037, 16, 732, 1240, 7965, 316, 3937, 2002, 471, 2145, 18, 202, 202, 759, 12532, 16, 202, 202, 759, 1329, 273, 261, 37, 16, 60, 9945, 16, 12, 37, 16, 61, 13, 202, 202, 759, 17378, 903, 506, 1139, 35, 16, 61, 202, 202, 1745, 273, 2845, 18, 2640, 10538, 12, 913, 16, 913, 21, 11272, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 4021, 12, 8370, 2966, 1329, 262, 202, 95, 202, 202, 2749, 18, 2749, 21, 18, 11658, 12, 2211, 1769, 9506, 202, 430, 12, 5, 2749, 18, 2749, 21, 18, 291, 29889, 10327, 3715, 5286, 1523, 10756, 288, 1082, 202, 1213, 23946, 273, 2845, 18, 2640, 4021, 12, 17378, 16, 1329, 18, 2749, 22, 11272, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 2300, 913, 21, 273, 913, 31, 202, 202, 2300, 17378, 21, 273, 17378, 31, 9506, 202, 2749, 18, 2749, 22, 18, 11658, 12, 2211, 1769, 9506, 202, 430, 12, 913, 631, 2300, 18, 2011, 694, 262, 288, 1082, 202, 1745, 273, 913, 21, 31, 1082, 202, 1213, 23946, 273, 2845, 18, 2 ]
return bf.decompile(this, indent, Decompiler.ONLY_BODY_FLAG);
return bf.decompile(indent, Decompiler.ONLY_BODY_FLAG);
public final String decompileFunctionBody(Function fun, int indent) { if (fun instanceof BaseFunction) { BaseFunction bf = (BaseFunction)fun; return bf.decompile(this, indent, Decompiler.ONLY_BODY_FLAG); } // ALERT: not sure what the right response here is. return "[native code]\n"; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/f4ff06f911a8e5be2e3bc270a9d7fa7fd39f1ced/Context.java/buggy/js/rhino/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 443, 11100, 2083, 2250, 12, 2083, 9831, 16, 509, 3504, 13, 565, 288, 3639, 309, 261, 12125, 1276, 3360, 2083, 13, 288, 5411, 3360, 2083, 16222, 273, 261, 2171, 2083, 13, 12125, 31, 5411, 327, 16222, 18, 323, 11100, 12, 9355, 16, 3416, 20667, 2895, 18, 10857, 67, 16691, 67, 9651, 1769, 3639, 289, 3639, 368, 7981, 11539, 30, 486, 3071, 4121, 326, 2145, 766, 2674, 353, 18, 3639, 327, 5158, 13635, 981, 13944, 82, 14432, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 443, 11100, 2083, 2250, 12, 2083, 9831, 16, 509, 3504, 13, 565, 288, 3639, 309, 261, 12125, 1276, 3360, 2083, 13, 288, 5411, 3360, 2083, 16222, 273, 261, 2171, 2083, 13, 12125, 31, 5411, 327, 16222, 18, 323, 11100, 12, 9355, 16, 3416, 20667, 2895, 18, 10857, 67, 16691, 67, 9651, 1769, 3639, 289, 3639, 368, 7981, 11539, 30, 486, 3071, 4121, 326, 2145, 766, 2674, 353, 18, 3639, 327, 5158, 13635, 981, 13944, 82, 14432, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM);
Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM);
public static int exec(String args[]) { for (int i=0; i < args.length; i++) { String arg = args[i]; if (arg.equals("-sealedlib")) { sealedStdLib = true; break; } } Context cx = enterContext(); // Create the top-level scope object. global = getGlobal(); errorReporter = new ToolErrorReporter(false, global.getErr()); cx.setErrorReporter(errorReporter); args = processOptions(cx, args); if (processStdin) fileList.addElement(null); // define "arguments" array in the top-level object: // need to allocate new array since newArray requires instances // of exactly Object[], not ObjectSubclass[] Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); for (int i=0; i < fileList.size(); i++) { processSource(cx, (String) fileList.elementAt(i)); } cx.exit(); return exitCode; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/daf6b75edbd23fda1750716a43bd235c561fef2b/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 1196, 12, 780, 833, 63, 5717, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 307, 18931, 2941, 6, 3719, 288, 7734, 695, 18931, 10436, 5664, 273, 638, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 1772, 9494, 273, 6103, 1042, 5621, 3639, 368, 1788, 326, 1760, 17, 2815, 2146, 733, 18, 3639, 2552, 273, 20591, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 2552, 18, 588, 2524, 10663, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 309, 261, 2567, 10436, 267, 13, 5411, 18645, 18, 1289, 1046, 12, 2011, 1769, 3639, 368, 4426, 315, 7099, 6, 526, 316, 326, 1760, 17, 2815, 733, 30, 3639, 368, 1608, 358, 10101, 394, 526, 3241, 11653, 4991, 3884, 3639, 368, 434, 8950, 1033, 63, 6487, 486, 1033, 1676, 1106, 8526, 3639, 1033, 8526, 526, 273, 394, 1033, 63, 1968, 18, 2469, 15533, 3639, 2332, 18, 1126, 3530, 12, 1968, 16, 374, 16, 526, 16, 374, 16, 833, 18, 2469, 1769, 3639, 22780, 833, 2675, 273, 9494, 18, 2704, 1076, 12, 6347, 16, 526, 1769, 3639, 2552, 18, 11255, 1396, 2932, 7099, 3113, 833, 2675, 16, 17311, 22780, 921, 18, 40, 10079, 16509, 1769, 3639, 364, 261, 474, 277, 33, 20, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 1196, 12, 780, 833, 63, 5717, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 307, 18931, 2941, 6, 3719, 288, 7734, 695, 18931, 10436, 5664, 273, 638, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 1772, 9494, 273, 6103, 1042, 5621, 3639, 368, 1788, 326, 1760, 17, 2815, 2146, 733, 18, 3639, 2552, 273, 20591, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 2552, 18, 588, 2524, 10663, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 833, 273, 1207, 1320, 12, 2 ]
if (transaction instanceof SIPClientTransaction ) { this.transaction.close(); } else if (transaction instanceof ServerTransaction ) {
SIPTransactionStack sipStack = transaction.getSIPStack(); if (sipStack.logWriter.isLoggingEnabled()) { sipStack.logWriter.logDebug("LingerTimer: run() : " + getTransactionId()); } if (transaction instanceof SIPClientTransaction) { sipStack.removeTransaction(transaction); transaction.close(); } else if (transaction instanceof ServerTransaction) {
public void run() { // release the connection associated with this transaction. if (transaction instanceof SIPClientTransaction ) { this.transaction.close(); } else if (transaction instanceof ServerTransaction ) { // Remove it from the set if (LogWriter.needsLogging) sipStack.logWriter.logMessage( "removing" + transaction); sipStack.removeTransaction(this.transaction); if ( ( ! this.sipStack.cacheServerConnections ) && transaction.encapsulatedChannel instanceof TCPMessageChannel && -- ((TCPMessageChannel) transaction.encapsulatedChannel).useCount == 0 ) { // Close the encapsulated socket if stack is configured transaction.close(); } else if ( ( ! this.sipStack.cacheServerConnections ) && transaction.encapsulatedChannel instanceof TLSMessageChannel && -- ((TLSMessageChannel) transaction.encapsulatedChannel).useCount == 0 ) { // Close the encapsulated socket if stack is configured transaction.close(); } else { if (LogWriter.needsLogging && ( ! this.sipStack.cacheServerConnections ) && transaction.isReliable()) { int UseCount; if(transaction.encapsulatedChannel instanceof TCPMessageChannel) UseCount = ((TCPMessageChannel) transaction.encapsulatedChannel).useCount; else UseCount = ((TLSMessageChannel) transaction.encapsulatedChannel).useCount; sipStack.logWriter.logMessage( "Use Count = " + UseCount); } } } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/SIPTransaction.java/buggy/trunk/src/gov/nist/javax/sip/stack/SIPTransaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 1082, 202, 759, 3992, 326, 1459, 3627, 598, 333, 2492, 18, 1082, 202, 430, 261, 7958, 1276, 348, 2579, 1227, 3342, 262, 202, 288, 9506, 202, 2211, 18, 7958, 18, 4412, 5621, 1082, 202, 97, 469, 309, 261, 7958, 1276, 3224, 3342, 262, 288, 9506, 202, 759, 3581, 518, 628, 326, 444, 9506, 202, 430, 261, 1343, 2289, 18, 20600, 7735, 13, 6862, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 1079, 12, 6862, 1082, 202, 6, 2764, 13767, 6, 397, 2492, 1769, 6862, 202, 28477, 2624, 18, 4479, 3342, 12, 2211, 18, 7958, 1769, 9506, 202, 430, 261, 225, 261, 401, 333, 18, 28477, 2624, 18, 2493, 2081, 9314, 262, 6862, 282, 597, 2492, 18, 1331, 6679, 11799, 2909, 1276, 9911, 1079, 2909, 9506, 565, 202, 282, 597, 1493, 14015, 13891, 1079, 2909, 13, 2492, 18, 1331, 6679, 11799, 2909, 2934, 1202, 1380, 422, 374, 262, 288, 6862, 225, 368, 3527, 326, 22106, 11799, 2987, 309, 2110, 353, 4351, 4405, 565, 2492, 18, 4412, 5621, 9506, 202, 97, 469, 9506, 202, 430, 261, 225, 261, 401, 333, 18, 28477, 2624, 18, 2493, 2081, 9314, 262, 6862, 282, 597, 2492, 18, 1331, 6679, 11799, 2909, 1276, 8098, 1079, 2909, 9506, 565, 202, 282, 597, 1493, 14015, 9905, 1079, 2909, 13, 2492, 18, 1331, 6679, 11799, 2909, 2934, 1202, 1380, 422, 374, 262, 288, 6862, 225, 368, 3527, 326, 22106, 11799, 2987, 309, 2110, 353, 4351, 4405, 565, 2492, 18, 4412, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 1082, 202, 759, 3992, 326, 1459, 3627, 598, 333, 2492, 18, 1082, 202, 430, 261, 7958, 1276, 348, 2579, 1227, 3342, 262, 202, 288, 9506, 202, 2211, 18, 7958, 18, 4412, 5621, 1082, 202, 97, 469, 309, 261, 7958, 1276, 3224, 3342, 262, 288, 9506, 202, 759, 3581, 518, 628, 326, 444, 9506, 202, 430, 261, 1343, 2289, 18, 20600, 7735, 13, 6862, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 1079, 12, 6862, 1082, 202, 6, 2764, 13767, 6, 397, 2492, 1769, 6862, 202, 28477, 2624, 18, 4479, 3342, 12, 2211, 18, 7958, 1769, 9506, 202, 430, 261, 225, 261, 401, 333, 18, 28477, 2624, 18, 2493, 2081, 9314, 262, 6862, 2 ]
if ( rawName == null || rawName.length() == 0 ) { if ( localName == null )
if (rawName == null || rawName.length() == 0) { if (localName == null)
public void startElement( String namespaceURI, String localName, String rawName, Attributes attrs ) throws SAXException { int i; boolean preserveSpace; ElementState state; String name; String value; boolean addNSAttr = false; try { if ( _printer == null ) throw new IllegalStateException( "SER002 No writer supplied for serializer" ); state = getElementState(); if ( isDocumentState() ) { // If this is the root element handle it differently. // If the first root element in the document, serialize // the document's DOCTYPE. Space preserving defaults // to that of the output format. if ( ! _started ) startDocument( ( localName == null || localName.length() == 0 ) ? rawName : localName ); } else { // For any other element, if first in parent, then // close parent's opening tag and use the parnet's // space preserving. if ( state.empty ) _printer.printText( '>' ); // Must leave CData section first if ( state.inCData ) { _printer.printText( "]]>" ); state.inCData = false; } // Indent this element on a new line if the first // content of the parent element or immediately // following an element or a comment if ( _indenting && ! state.preserveSpace && ( state.empty || state.afterElement || state.afterComment) ) _printer.breakLine(); } preserveSpace = state.preserveSpace; //We remove the namespaces from the attributes list so that they will //be in _prefixes attrs = extractNamespaces(attrs); // Do not change the current element state yet. // This only happens in endElement(). if ( rawName == null || rawName.length() == 0 ) { if ( localName == null ) throw new SAXException( "No rawName and localName is null" ); if ( namespaceURI != null && ! namespaceURI.equals( "" ) ) { String prefix; prefix = getPrefix( namespaceURI ); if ( prefix != null && prefix.length() > 0 ) rawName = prefix + ":" + localName; else rawName = localName; } else rawName = localName; addNSAttr = true; } _printer.printText( '<' ); _printer.printText( rawName ); _printer.indent(); // For each attribute print it's name and value as one part, // separated with a space so the element can be broken on // multiple lines. if ( attrs != null ) { for ( i = 0 ; i < attrs.getLength() ; ++i ) { _printer.printSpace(); name = attrs.getQName( i ); if ( name != null && name.length() == 0 ) { String prefix; String attrURI; name = attrs.getLocalName( i ); attrURI = attrs.getURI( i ); if ( ( attrURI != null && attrURI.length() != 0 ) && ( namespaceURI == null || namespaceURI.length() == 0 || ! attrURI.equals( namespaceURI ) ) ) { prefix = getPrefix( attrURI ); if ( prefix != null && prefix.length() > 0 ) name = prefix + ":" + name; } } value = attrs.getValue( i ); if ( value == null ) value = ""; _printer.printText( name ); _printer.printText( "=\"" ); printEscaped( value ); _printer.printText( '"' ); // If the attribute xml:space exists, determine whether // to preserve spaces in this and child nodes based on // its value. if ( name.equals( "xml:space" ) ) { if ( value.equals( "preserve" ) ) preserveSpace = true; else preserveSpace = _format.getPreserveSpace(); } } } if ( _prefixes != null ) { Enumeration enum; enum = _prefixes.keys(); while ( enum.hasMoreElements() ) { _printer.printSpace(); value = (String) enum.nextElement(); name = (String) _prefixes.get( value ); if ( name.length() == 0 ) { _printer.printText( "xmlns=\"" ); printEscaped( value ); _printer.printText( '"' ); } else { _printer.printText( "xmlns:" ); _printer.printText( name ); _printer.printText( "=\"" ); printEscaped( value ); _printer.printText( '"' ); } } } // Now it's time to enter a new element state // with the tag name and space preserving. // We still do not change the curent element state. state = enterElementState( namespaceURI, localName, rawName, preserveSpace ); name = ( localName == null || localName.length() == 0 ) ? rawName : namespaceURI + "^" + localName; state.doCData = _format.isCDataElement( name ); state.unescaped = _format.isNonEscapingElement( name ); } catch ( IOException except ) {
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/75df449ca03dcc93450a7a436a211467b704d347/XMLSerializer.java/clean/src/org/apache/xml/serialize/XMLSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 514, 19421, 16, 514, 11927, 16, 17311, 514, 1831, 461, 16, 9055, 3422, 262, 3639, 1216, 14366, 565, 288, 3639, 509, 1850, 277, 31, 3639, 1250, 1377, 9420, 3819, 31, 3639, 3010, 1119, 919, 31, 3639, 514, 4202, 508, 31, 3639, 514, 4202, 460, 31, 3639, 1250, 1377, 527, 3156, 3843, 273, 629, 31, 3639, 775, 288, 3639, 309, 261, 389, 30439, 422, 446, 262, 5411, 604, 394, 5477, 12, 315, 2123, 24908, 2631, 2633, 4580, 364, 6340, 6, 11272, 3639, 919, 273, 7426, 1119, 5621, 3639, 309, 261, 353, 2519, 1119, 1435, 262, 288, 5411, 368, 971, 333, 353, 326, 1365, 930, 1640, 518, 23621, 18, 5411, 368, 971, 326, 1122, 1365, 930, 316, 326, 1668, 16, 4472, 5411, 368, 326, 1668, 1807, 5467, 17331, 18, 14059, 27995, 3467, 5411, 368, 358, 716, 434, 326, 876, 740, 18, 5411, 309, 261, 401, 389, 14561, 262, 10792, 787, 2519, 12, 261, 11927, 422, 446, 747, 11927, 18, 2469, 1435, 422, 374, 262, 692, 1831, 461, 294, 11927, 11272, 3639, 289, 469, 288, 5411, 368, 2457, 1281, 1308, 930, 16, 309, 1122, 316, 982, 16, 1508, 5411, 368, 1746, 982, 1807, 10890, 1047, 471, 999, 326, 779, 2758, 1807, 5411, 368, 3476, 27995, 18, 5411, 309, 261, 919, 18, 5531, 262, 7734, 389, 30439, 18, 1188, 1528, 12, 7481, 11272, 5411, 368, 6753, 8851, 385, 751, 2442, 1122, 5411, 309, 261, 919, 18, 267, 39, 751, 262, 5411, 288, 7734, 389, 30439, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 514, 19421, 16, 514, 11927, 16, 17311, 514, 1831, 461, 16, 9055, 3422, 262, 3639, 1216, 14366, 565, 288, 3639, 509, 1850, 277, 31, 3639, 1250, 1377, 9420, 3819, 31, 3639, 3010, 1119, 919, 31, 3639, 514, 4202, 508, 31, 3639, 514, 4202, 460, 31, 3639, 1250, 1377, 527, 3156, 3843, 273, 629, 31, 3639, 775, 288, 3639, 309, 261, 389, 30439, 422, 446, 262, 5411, 604, 394, 5477, 12, 315, 2123, 24908, 2631, 2633, 4580, 364, 6340, 6, 11272, 3639, 919, 273, 7426, 1119, 5621, 3639, 309, 261, 353, 2519, 1119, 1435, 262, 288, 5411, 368, 971, 333, 353, 326, 1365, 930, 1640, 518, 23621, 18, 5411, 368, 971, 326, 1122, 1365, 930, 2 ]
P4.setChecked(!MylarUiPlugin.getDefault().isP4FilterMode());
P4.setChecked(MylarTasksPlugin.getPriorityLevel(MylarTasksPlugin.Priority_Level.P4));
public void addActionsToMenu() { Action P1 = new Action(PRIORITY_LEVELS[0], AS_CHECK_BOX) { @Override public void run() { MylarUiPlugin.getDefault().setP1FilterMode(!isChecked()); if (isChecked()) { priorityFilter.displayPriority(PRIORITY_LEVELS[0]); } else { priorityFilter.hidePriority(PRIORITY_LEVELS[0]); } viewer.refresh(); } }; P1.setEnabled(true); P1.setChecked(!MylarUiPlugin.getDefault().isP1FilterMode()); P1.setToolTipText(PRIORITY_LEVELS[0]); ActionContributionItem item= new ActionContributionItem(P1); item.fill(dropDownMenu, -1); Action P2 = new Action(PRIORITY_LEVELS[1], AS_CHECK_BOX) { @Override public void run() { MylarUiPlugin.getDefault().setP2FilterMode(!isChecked()); if (isChecked()) { priorityFilter.displayPriority(PRIORITY_LEVELS[1]); } else { priorityFilter.hidePriority(PRIORITY_LEVELS[1]); } viewer.refresh(); } }; P2.setEnabled(true); P2.setChecked(!MylarUiPlugin.getDefault().isP2FilterMode()); P2.setToolTipText(PRIORITY_LEVELS[1]); item= new ActionContributionItem(P2); item.fill(dropDownMenu, -1); Action P3 = new Action(PRIORITY_LEVELS[2], AS_CHECK_BOX) { @Override public void run() { MylarUiPlugin.getDefault().setP3FilterMode(!isChecked()); if (isChecked()) { priorityFilter.displayPriority(PRIORITY_LEVELS[2]); } else { priorityFilter.hidePriority(PRIORITY_LEVELS[2]); } viewer.refresh(); } }; P3.setEnabled(true); P3.setChecked(!MylarUiPlugin.getDefault().isP3FilterMode()); P3.setToolTipText(PRIORITY_LEVELS[2]); item= new ActionContributionItem(P3); item.fill(dropDownMenu, -1); Action P4 = new Action(PRIORITY_LEVELS[3], AS_CHECK_BOX) { @Override public void run() { MylarUiPlugin.getDefault().setP4FilterMode(!isChecked()); if (isChecked()) { priorityFilter.displayPriority(PRIORITY_LEVELS[3]); } else { priorityFilter.hidePriority(PRIORITY_LEVELS[3]); } viewer.refresh(); } }; P4.setEnabled(true); P4.setChecked(!MylarUiPlugin.getDefault().isP4FilterMode()); P4.setToolTipText(PRIORITY_LEVELS[3]); item= new ActionContributionItem(P4); item.fill(dropDownMenu, -1); Action P5 = new Action(PRIORITY_LEVELS[4], AS_CHECK_BOX) { @Override public void run() { MylarUiPlugin.getDefault().setP5FilterMode(!isChecked()); if (isChecked()) { priorityFilter.displayPriority(PRIORITY_LEVELS[4]); } else { priorityFilter.hidePriority(PRIORITY_LEVELS[4]); } viewer.refresh(); } }; P5.setEnabled(true); P5.setChecked(!MylarUiPlugin.getDefault().isP5FilterMode()); P5.setToolTipText(PRIORITY_LEVELS[4]); item= new ActionContributionItem(P5); item.fill(dropDownMenu, -1); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/3415e7ae9ff6b937908892d4c5c1adc8fa68882b/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 6100, 774, 4599, 1435, 288, 1082, 202, 1803, 453, 21, 273, 394, 4382, 12, 19804, 67, 10398, 55, 63, 20, 6487, 5355, 67, 10687, 67, 16876, 13, 288, 202, 377, 9506, 377, 202, 202, 36, 6618, 9506, 202, 482, 918, 1086, 1435, 288, 202, 377, 1082, 202, 12062, 7901, 13943, 3773, 18, 588, 1868, 7675, 542, 52, 21, 1586, 2309, 12, 5, 291, 11454, 10663, 202, 377, 1082, 202, 430, 261, 291, 11454, 10756, 288, 202, 377, 9506, 202, 8457, 1586, 18, 5417, 8183, 12, 19804, 67, 10398, 55, 63, 20, 19226, 202, 377, 1082, 202, 97, 469, 288, 202, 377, 9506, 202, 8457, 1586, 18, 11248, 8183, 12, 19804, 67, 10398, 55, 63, 20, 19226, 202, 377, 1082, 202, 97, 202, 377, 1082, 202, 25256, 18, 9144, 5621, 9506, 202, 97, 1082, 202, 20451, 26924, 202, 52, 21, 18, 542, 1526, 12, 3767, 1769, 1082, 202, 52, 21, 18, 542, 11454, 12, 5, 12062, 7901, 13943, 3773, 18, 588, 1868, 7675, 291, 52, 21, 1586, 2309, 10663, 1082, 202, 52, 21, 18, 542, 29250, 1528, 12, 19804, 67, 10398, 55, 63, 20, 19226, 1082, 202, 1803, 442, 4027, 1180, 761, 33, 394, 4382, 442, 4027, 1180, 12, 52, 21, 1769, 1082, 202, 1726, 18, 5935, 12, 7285, 4164, 4599, 16, 300, 21, 1769, 25083, 202, 1803, 453, 22, 273, 394, 4382, 12, 19804, 67, 10398, 55, 63, 21, 6487, 5355, 67, 10687, 67, 16876, 13, 288, 202, 377, 9506, 377, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 6100, 774, 4599, 1435, 288, 1082, 202, 1803, 453, 21, 273, 394, 4382, 12, 19804, 67, 10398, 55, 63, 20, 6487, 5355, 67, 10687, 67, 16876, 13, 288, 202, 377, 9506, 377, 202, 202, 36, 6618, 9506, 202, 482, 918, 1086, 1435, 288, 202, 377, 1082, 202, 12062, 7901, 13943, 3773, 18, 588, 1868, 7675, 542, 52, 21, 1586, 2309, 12, 5, 291, 11454, 10663, 202, 377, 1082, 202, 430, 261, 291, 11454, 10756, 288, 202, 377, 9506, 202, 8457, 1586, 18, 5417, 8183, 12, 19804, 67, 10398, 55, 63, 20, 19226, 202, 377, 1082, 202, 97, 469, 288, 202, 377, 9506, 202, 8457, 1586, 18, 11248, 8183, 12, 19804, 67, 10398, 55, 63, 2 ]
CompletionProposalCollector collector= new CompletionProposalCollector(cu);
CompletionProposalCollector collector= createCollector(cu, offset);
public void testNormalAllMethodCompletion() throws Exception { IPackageFragmentRoot sourceFolder= JavaProjectHelper.addSourceContainer(fJProject1, "src"); IPackageFragment pack1= sourceFolder.createPackageFragment("test1", false, null); String contents= "package test1;\n" + "\n" + "public class Completion {\n" + " \n" + " void foomethod() {\n" + " Runnable run;\n" + " run.//here\n" + " }\n" + "}\n"; ICompilationUnit cu= pack1.createCompilationUnit("Completion.java", contents, false, null); String str= "//here"; int offset= contents.indexOf(str); CompletionProposalCollector collector= new CompletionProposalCollector(cu); collector.setReplacementLength(0); codeComplete(cu, offset, collector); IJavaCompletionProposal[] proposals= collector.getJavaCompletionProposals(); assertEquals(12, proposals.length); CompletionProposalComparator comparator= new CompletionProposalComparator(); comparator.setOrderAlphabetically(true); Arrays.sort(proposals, comparator); int i= 0; assertAppliedProposal(contents, proposals[i++], "clone()"); assertAppliedProposal(contents, proposals[i++], "equals()"); assertAppliedProposal(contents, proposals[i++], "finalize()"); assertAppliedProposal(contents, proposals[i++], "getClass()"); assertAppliedProposal(contents, proposals[i++], "hashCode()"); assertAppliedProposal(contents, proposals[i++], "notify()"); assertAppliedProposal(contents, proposals[i++], "notifyAll()"); assertAppliedProposal(contents, proposals[i++], "run()"); assertAppliedProposal(contents, proposals[i++], "toString()"); assertAppliedProposal(contents, proposals[i++], "wait()"); assertAppliedProposal(contents, proposals[i++], "wait()"); assertAppliedProposal(contents, proposals[i++], "wait()"); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/6a90d513b5301590512b7c36a96c4def7435a482/CodeCompletionTest.java/buggy/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeCompletionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5506, 1595, 1305, 11238, 1435, 1216, 1185, 288, 202, 202, 45, 2261, 7456, 2375, 1084, 3899, 33, 5110, 4109, 2276, 18, 1289, 1830, 2170, 12, 74, 46, 4109, 21, 16, 315, 4816, 8863, 202, 202, 45, 2261, 7456, 2298, 21, 33, 1084, 3899, 18, 2640, 2261, 7456, 2932, 3813, 21, 3113, 629, 16, 446, 1769, 202, 202, 780, 2939, 33, 315, 5610, 1842, 21, 9747, 82, 6, 397, 4697, 202, 12691, 82, 6, 397, 9506, 202, 6, 482, 667, 20735, 18890, 82, 6, 397, 9506, 202, 6, 565, 521, 82, 6, 397, 9506, 202, 6, 565, 918, 284, 4252, 572, 1435, 18890, 82, 6, 397, 9506, 202, 6, 3639, 10254, 1086, 9747, 82, 6, 397, 9506, 202, 6, 3639, 1086, 18, 759, 14852, 64, 82, 6, 397, 9506, 202, 6, 565, 289, 64, 82, 6, 397, 9506, 202, 6, 6280, 82, 14432, 202, 202, 45, 19184, 2802, 15985, 33, 2298, 21, 18, 2640, 19184, 2802, 2932, 11238, 18, 6290, 3113, 2939, 16, 629, 16, 446, 1769, 202, 202, 780, 609, 33, 16177, 14852, 14432, 202, 202, 474, 1384, 33, 2939, 18, 31806, 12, 701, 1769, 202, 202, 11238, 14592, 7134, 8543, 33, 394, 20735, 14592, 7134, 12, 6319, 1769, 202, 202, 21356, 18, 542, 15201, 1782, 12, 20, 1769, 202, 202, 710, 6322, 12, 6319, 16, 1384, 16, 8543, 1769, 202, 202, 45, 5852, 11238, 14592, 8526, 450, 22536, 33, 8543, 18, 588, 5852, 11238, 626, 22536, 5621, 202, 202, 11231, 8867, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5506, 1595, 1305, 11238, 1435, 1216, 1185, 288, 202, 202, 45, 2261, 7456, 2375, 1084, 3899, 33, 5110, 4109, 2276, 18, 1289, 1830, 2170, 12, 74, 46, 4109, 21, 16, 315, 4816, 8863, 202, 202, 45, 2261, 7456, 2298, 21, 33, 1084, 3899, 18, 2640, 2261, 7456, 2932, 3813, 21, 3113, 629, 16, 446, 1769, 202, 202, 780, 2939, 33, 315, 5610, 1842, 21, 9747, 82, 6, 397, 4697, 202, 12691, 82, 6, 397, 9506, 202, 6, 482, 667, 20735, 18890, 82, 6, 397, 9506, 202, 6, 565, 521, 82, 6, 397, 9506, 202, 6, 565, 918, 284, 4252, 572, 1435, 18890, 82, 6, 397, 9506, 202, 6, 3639, 10254, 1086, 9747, 82, 6, 2 ]
IBinding [] bindings = pdom.findBindings(Pattern.compile("spinlock_t"));
IBinding [] bindings = pdom.findBindings(Pattern.compile("spinlock_t"), new NullProgressMonitor());
public void test145351() throws Exception { PDOM pdom = (PDOM)CCorePlugin.getPDOMManager().getPDOM(project); IBinding [] bindings = pdom.findBindings(Pattern.compile("spinlock_t")); assertEquals(1, bindings.length); ITypedef spinlock_t = (ITypedef)bindings[0]; IASTName [] refs = pdom.getReferences(spinlock_t); assertEquals(1, refs.length); IASTFileLocation loc = refs[0].getFileLocation(); assertEquals(offset(44, 40), loc.getNodeOffset()); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/eac22a6a7b2b193bd4c0ad4650c9ae961bf29e5f/TypesTests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/TypesTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 30379, 4763, 21, 1435, 1216, 1185, 288, 202, 202, 52, 8168, 4863, 362, 273, 261, 52, 8168, 13, 39, 4670, 3773, 18, 588, 52, 8168, 1318, 7675, 588, 52, 8168, 12, 4406, 1769, 202, 202, 45, 5250, 5378, 7394, 273, 4863, 362, 18, 4720, 10497, 12, 3234, 18, 11100, 2932, 22876, 739, 67, 88, 7923, 1769, 202, 202, 11231, 8867, 12, 21, 16, 7394, 18, 2469, 1769, 202, 202, 45, 559, 536, 12490, 739, 67, 88, 273, 261, 45, 559, 536, 13, 15863, 63, 20, 15533, 202, 202, 45, 9053, 461, 5378, 9047, 273, 4863, 362, 18, 588, 8221, 12, 22876, 739, 67, 88, 1769, 202, 202, 11231, 8867, 12, 21, 16, 9047, 18, 2469, 1769, 202, 202, 45, 9053, 812, 2735, 1515, 273, 9047, 63, 20, 8009, 29925, 2735, 5621, 202, 202, 11231, 8867, 12, 3348, 12, 6334, 16, 8063, 3631, 1515, 18, 588, 907, 2335, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 30379, 4763, 21, 1435, 1216, 1185, 288, 202, 202, 52, 8168, 4863, 362, 273, 261, 52, 8168, 13, 39, 4670, 3773, 18, 588, 52, 8168, 1318, 7675, 588, 52, 8168, 12, 4406, 1769, 202, 202, 45, 5250, 5378, 7394, 273, 4863, 362, 18, 4720, 10497, 12, 3234, 18, 11100, 2932, 22876, 739, 67, 88, 7923, 1769, 202, 202, 11231, 8867, 12, 21, 16, 7394, 18, 2469, 1769, 202, 202, 45, 559, 536, 12490, 739, 67, 88, 273, 261, 45, 559, 536, 13, 15863, 63, 20, 15533, 202, 202, 45, 9053, 461, 5378, 9047, 273, 4863, 362, 18, 588, 8221, 12, 22876, 739, 67, 88, 1769, 202, 202, 11231, 8867, 12, 21, 16, 9047, 18, 2 ]
public void insertMessage( Message msg, long seq ) { synchronized( messages ) { int size = messages.size(); int index = 0; long this_seq = -1;
public void insertMessage(Message msg, long seq) { synchronized(messages) { int size=messages.size(); int index=0; long this_seq=-1;
public void insertMessage( Message msg, long seq ) { synchronized( messages ) { int size = messages.size(); int index = 0; long this_seq = -1; // used to prevent duplicate messages being stored // find the index where this message should be inserted try { while( (index < size) && ((this_seq = ((Entry) (messages.elementAt(index))).getSeq()) < seq) ) { index++; } } catch ( java.lang.ClassCastException e ) { log.error( "Error: (TOTAL_OLD) SavedMessages.insertMessage() - ClassCastException: could not cast element of \"messages\" to an Entry (index " + index + ')' ); return; } // check that the sequences aren't the same (don't want duplicates) if ( this_seq == seq ) { log.error( "SavedMessages.insertMessage() - sequence " + seq + " already exists in saved messages. Message NOT saved." ); return; } messages.insertElementAt( new Entry( msg, seq ), index ); } // synchronized( messages ) }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 1079, 12, 2350, 1234, 16, 1525, 3833, 262, 288, 202, 22043, 12, 2743, 262, 288, 202, 565, 509, 963, 273, 2743, 18, 1467, 5621, 202, 565, 509, 770, 273, 374, 31, 202, 565, 1525, 333, 67, 5436, 273, 300, 21, 31, 225, 368, 1399, 358, 5309, 6751, 2743, 3832, 4041, 202, 565, 368, 1104, 326, 770, 1625, 333, 883, 1410, 506, 9564, 202, 565, 775, 288, 202, 202, 17523, 12, 261, 1615, 411, 963, 13, 597, 1082, 4202, 14015, 2211, 67, 5436, 273, 14015, 1622, 13, 261, 6833, 18, 2956, 861, 12, 1615, 3719, 2934, 588, 6926, 10756, 411, 3833, 13, 262, 288, 1082, 565, 770, 9904, 31, 202, 202, 97, 202, 565, 289, 1044, 261, 2252, 18, 4936, 18, 797, 22768, 425, 262, 288, 202, 202, 1330, 18, 1636, 12, 315, 668, 30, 261, 28624, 67, 11846, 13, 348, 8158, 5058, 18, 6387, 1079, 1435, 300, 24034, 30, 3377, 486, 4812, 930, 434, 1239, 6833, 2412, 358, 392, 3841, 261, 1615, 315, 397, 770, 397, 5777, 11272, 202, 202, 2463, 31, 202, 565, 289, 202, 565, 368, 866, 716, 326, 8463, 11526, 1404, 326, 1967, 261, 19752, 1404, 2545, 11211, 13, 202, 565, 309, 261, 333, 67, 5436, 422, 3833, 262, 288, 202, 202, 1330, 18, 1636, 12, 315, 16776, 5058, 18, 6387, 1079, 1435, 300, 3102, 315, 397, 3833, 397, 315, 1818, 1704, 316, 5198, 2743, 18, 2350, 4269, 5198, 1199, 11272, 202, 202, 2463, 31, 202, 565, 289, 202, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 1079, 12, 2350, 1234, 16, 1525, 3833, 262, 288, 202, 22043, 12, 2743, 262, 288, 202, 565, 509, 963, 273, 2743, 18, 1467, 5621, 202, 565, 509, 770, 273, 374, 31, 202, 565, 1525, 333, 67, 5436, 273, 300, 21, 31, 225, 368, 1399, 358, 5309, 6751, 2743, 3832, 4041, 202, 565, 368, 1104, 326, 770, 1625, 333, 883, 1410, 506, 9564, 202, 565, 775, 288, 202, 202, 17523, 12, 261, 1615, 411, 963, 13, 597, 1082, 4202, 14015, 2211, 67, 5436, 273, 14015, 1622, 13, 261, 6833, 18, 2956, 861, 12, 1615, 3719, 2934, 588, 6926, 10756, 411, 3833, 13, 262, 288, 1082, 565, 770, 9904, 31, 202, 202, 97, 202, 565, 289, 1044, 2 ]
public boolean isSet(org.quickfix.field.UnderlyingSymbol field)
public boolean isSet(quickfix.field.UnderlyingSymbol field)
public boolean isSet(org.quickfix.field.UnderlyingSymbol field) { return isSetField(field); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
otherEncodingButton = new Button(group, SWT.RADIO); otherEncodingButton.setText(IDEWorkbenchMessages .getString("WorkbenchPreference.otherEncoding")); otherEncodingButton.addSelectionListener(buttonListener); otherEncodingButton.setFont(font);
otherEncodingButton = new Button(group, SWT.RADIO); otherEncodingButton.setText(IDEWorkbenchMessages .getString("WorkbenchPreference.otherEncoding")); otherEncodingButton.addSelectionListener(buttonListener); otherEncodingButton.setFont(font);
private void createEncodingGroup(Composite parent, IResource resource) { Font font = parent.getFont(); Group group = new Group(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.numColumns = 2; group.setLayout(layout); if (resource instanceof IContainer) group.setText(CONTAINER_ENCODING_TITLE); else group.setText(FILE_ENCODING_TITLE); group.setFont(font); SelectionAdapter buttonListener = new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { updateEncodingState(defaultEncodingButton.getSelection()); updateValidState(); } }; defaultEncodingButton = new Button(group, SWT.RADIO); String encoding = getEncoding(resource); String format = CONTAINER_ENCODING_FORMAT; String defaultEnc = null; if (resource instanceof IFile) { defaultEnc = getEncodingFromContent((IFile) resource); format = (defaultEnc != null) ? FILE_CONTENT_ENCODING_FORMAT : FILE_CONTAINER_ENCODING_FORMAT; } if (defaultEnc == null) defaultEnc = getEncoding(resource.getParent()); defaultEncodingButton.setText(MessageFormat.format(format, new String[] { defaultEnc })); GridData data = new GridData(); data.horizontalSpan = 2; defaultEncodingButton.setLayoutData(data); defaultEncodingButton.addSelectionListener(buttonListener); defaultEncodingButton.setFont(font); otherEncodingButton = new Button(group, SWT.RADIO); otherEncodingButton.setText(IDEWorkbenchMessages .getString("WorkbenchPreference.otherEncoding")); //$NON-NLS-1$ otherEncodingButton.addSelectionListener(buttonListener); otherEncodingButton.setFont(font); encodingCombo = new Combo(group, SWT.NONE); data = new GridData(); data.widthHint = convertWidthInCharsToPixels(15); encodingCombo.setFont(font); encodingCombo.setLayoutData(data); encodingCombo.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { updateValidState(); } }); ArrayList encodings = new ArrayList(); int n = 0; try { n = Integer.parseInt(IDEWorkbenchMessages .getString("WorkbenchPreference.numDefaultEncodings")); //$NON-NLS-1$ } catch (NumberFormatException e1) { // Ignore; } for (int i = 0; i < n; ++i) { String enc = IDEWorkbenchMessages.getString( "WorkbenchPreference.defaultEncoding" + (i + 1), null); //$NON-NLS-1$ if (enc != null) encodings.add(enc); } String defaultEnc1 = System.getProperty("file.encoding", "UTF-8"); //$NON-NLS-1$ //$NON-NLS-2$ if (!encodings.contains(defaultEnc1)) encodings.add(defaultEnc1); String enc = ResourcesPlugin.getPlugin().getPluginPreferences() .getString(ResourcesPlugin.PREF_ENCODING); if (!encodings.contains(enc)) encodings.add(enc); Collections.sort(encodings); for (int i = 0; i < encodings.size(); ++i) encodingCombo.add((String) encodings.get(i)); encodingCombo.setText(encoding); updateEncodingState(usesDefaultEncoding(resource)); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/8153b6982200744c6558b44ef21acece72d0fe50/ResourceInfoPage.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4705, 1114, 12, 9400, 982, 16, 467, 1420, 1058, 13, 288, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 3756, 1041, 273, 394, 3756, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 3744, 3511, 273, 394, 7145, 3744, 5621, 3639, 3511, 18, 2107, 3380, 273, 576, 31, 3639, 1041, 18, 542, 3744, 12, 6741, 1769, 3639, 309, 261, 3146, 1276, 467, 2170, 13, 5411, 1041, 18, 542, 1528, 12, 21395, 67, 14672, 67, 14123, 1769, 3639, 469, 5411, 1041, 18, 542, 1528, 12, 3776, 67, 14672, 67, 14123, 1769, 3639, 1041, 18, 542, 5711, 12, 5776, 1769, 3639, 12977, 4216, 3568, 2223, 273, 394, 12977, 4216, 1435, 288, 5411, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 7734, 1089, 4705, 1119, 12, 1886, 4705, 3616, 18, 588, 6233, 10663, 7734, 1089, 1556, 1119, 5621, 5411, 289, 3639, 289, 31, 3639, 805, 4705, 3616, 273, 394, 12569, 12, 1655, 16, 348, 8588, 18, 28829, 4294, 1769, 3639, 514, 2688, 273, 29505, 12, 3146, 1769, 3639, 514, 740, 273, 8020, 16843, 67, 14672, 67, 7254, 31, 3639, 514, 805, 4280, 273, 446, 31, 3639, 309, 261, 3146, 1276, 467, 812, 13, 288, 5411, 805, 4280, 273, 29505, 1265, 1350, 12443, 45, 812, 13, 1058, 1769, 5411, 740, 273, 261, 1886, 4280, 480, 446, 13, 692, 7527, 67, 9689, 67, 14672, 67, 7254, 10792, 294, 7527, 67, 21395, 67, 14672, 67, 7254, 31, 3639, 289, 3639, 309, 261, 1886, 4280, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4705, 1114, 12, 9400, 982, 16, 467, 1420, 1058, 13, 288, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 3756, 1041, 273, 394, 3756, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 3744, 3511, 273, 394, 7145, 3744, 5621, 3639, 3511, 18, 2107, 3380, 273, 576, 31, 3639, 1041, 18, 542, 3744, 12, 6741, 1769, 3639, 309, 261, 3146, 1276, 467, 2170, 13, 5411, 1041, 18, 542, 1528, 12, 21395, 67, 14672, 67, 14123, 1769, 3639, 469, 5411, 1041, 18, 542, 1528, 12, 3776, 67, 14672, 67, 14123, 1769, 3639, 1041, 18, 542, 5711, 12, 5776, 1769, 3639, 12977, 4216, 3568, 2223, 273, 394, 12977, 4216, 1435, 288, 5411, 1071, 918, 2 ]
private void processComplexContent(Element complexContentChild, XSComplexTypeDecl typeInfo, boolean isMixed, XSDocumentInfo schemaDoc, SchemaGrammar grammar) throws ComplexTypeRecoverableError { Element attrNode = null; XSParticleDecl particle = null; String typeName = typeInfo.fName; if (complexContentChild != null) { // ------------------------------------------------------------- // GROUP, ALL, SEQUENCE or CHOICE, followed by attributes, if specified. // Note that it's possible that only attributes are specified. // ------------------------------------------------------------- String childName = DOMUtil.getLocalName(complexContentChild); if (childName.equals(SchemaSymbols.ELT_GROUP)) { particle = fSchemaHandler.fGroupTraverser.traverseLocal(complexContentChild, schemaDoc, grammar); attrNode = DOMUtil.getNextSiblingElement(complexContentChild); } else if (childName.equals(SchemaSymbols.ELT_SEQUENCE)) { particle = traverseSequence(complexContentChild,schemaDoc,grammar, NOT_ALL_CONTEXT); attrNode = DOMUtil.getNextSiblingElement(complexContentChild); } else if (childName.equals(SchemaSymbols.ELT_CHOICE)) { particle = traverseChoice(complexContentChild,schemaDoc,grammar, NOT_ALL_CONTEXT); attrNode = DOMUtil.getNextSiblingElement(complexContentChild); } else if (childName.equals(SchemaSymbols.ELT_ALL)) { particle = traverseAll(complexContentChild,schemaDoc,grammar, PROCESSING_ALL_GP); attrNode = DOMUtil.getNextSiblingElement(complexContentChild); } else { // Should be attributes here - will check below... attrNode = complexContentChild; } } typeInfo.fParticle = particle; // ----------------------------------------------------------------------- // Set the content type // ----------------------------------------------------------------------- if (isMixed) { typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_MIXED; } else if (typeInfo.fParticle == null) typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_EMPTY; else typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_ELEMENT; // ------------------------------------------------------------- // Now, process attributes // ------------------------------------------------------------- if (attrNode != null) { if (!isAttrOrAttrGroup(attrNode)) { throw new ComplexTypeRecoverableError("src-ct", new Object[]{typeInfo.fName}); } traverseAttrsAndAttrGrps(attrNode,typeInfo.fAttrGrp,schemaDoc,grammar); } // ------------------------------------------------------------- // REVISIT - do we need to add a template element for the type? // ------------------------------------------------------------- } // end processComplexContent
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/4b0def86a1a96df8c8cbd5bf50c757023d94325b/XSDComplexTypeTraverser.java/clean/src/org/apache/xerces/impl/v2/XSDComplexTypeTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 12795, 1350, 12, 1046, 7233, 1350, 1763, 16, 4766, 1139, 55, 12795, 559, 3456, 23112, 16, 21394, 1250, 15707, 3960, 16, 4766, 1139, 55, 2519, 966, 1963, 1759, 16, 4611, 18576, 6473, 13, 4766, 1216, 16060, 559, 426, 17399, 668, 288, 4202, 3010, 1604, 907, 273, 446, 31, 4202, 1139, 55, 1988, 3711, 3456, 20036, 273, 446, 31, 4202, 514, 8173, 273, 23112, 18, 74, 461, 31, 4202, 309, 261, 14259, 1350, 1763, 480, 446, 13, 288, 6647, 368, 13420, 7620, 6647, 368, 13839, 16, 8061, 16, 27118, 578, 6469, 51, 11774, 16, 10860, 635, 1677, 16, 309, 1269, 18, 6647, 368, 3609, 716, 518, 1807, 3323, 716, 1338, 1677, 854, 1269, 18, 6647, 368, 13420, 7620, 1850, 514, 27440, 273, 4703, 1304, 18, 588, 29583, 12, 14259, 1350, 1763, 1769, 1850, 309, 261, 3624, 461, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 8468, 3719, 288, 9079, 20036, 273, 284, 3078, 1503, 18, 74, 1114, 15844, 264, 18, 2033, 2476, 2042, 12, 14259, 1350, 1763, 16, 29159, 1963, 1759, 16, 6473, 1769, 9079, 1604, 907, 273, 4703, 1304, 18, 588, 2134, 10291, 1046, 12, 14259, 1350, 1763, 1769, 6647, 289, 6647, 469, 309, 261, 3624, 461, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 25330, 3719, 288, 9079, 20036, 273, 10080, 4021, 12, 14259, 1350, 1763, 16, 4821, 1759, 16, 31628, 16, 21394, 4269, 67, 4685, 67, 13181, 1769, 9079, 1604, 907, 273, 4703, 1304, 18, 588, 2134, 10291, 1046, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 12795, 1350, 12, 1046, 7233, 1350, 1763, 16, 4766, 1139, 55, 12795, 559, 3456, 23112, 16, 21394, 1250, 15707, 3960, 16, 4766, 1139, 55, 2519, 966, 1963, 1759, 16, 4611, 18576, 6473, 13, 4766, 1216, 16060, 559, 426, 17399, 668, 288, 4202, 3010, 1604, 907, 273, 446, 31, 4202, 1139, 55, 1988, 3711, 3456, 20036, 273, 446, 31, 4202, 514, 8173, 273, 23112, 18, 74, 461, 31, 4202, 309, 261, 14259, 1350, 1763, 480, 446, 13, 288, 6647, 368, 13420, 7620, 6647, 368, 13839, 16, 8061, 16, 27118, 578, 6469, 51, 11774, 16, 10860, 635, 1677, 16, 309, 1269, 18, 6647, 368, 3609, 716, 518, 1807, 3323, 716, 1338, 1677, 854, 1269, 18, 6647, 368, 2 ]
btnSeriesAdd = new Button( cmpTop, SWT.NONE );
btnSeriesDelete = new Button( cmpTop, SWT.NONE );
public Composite createArea( Composite parent ) { cmpTop = null; { if ( axisIndex > 0 ) { cmpTop = new Group( parent, SWT.NONE ); ( (Group) cmpTop ).setText( Messages.getString( "DataDefinitionSelector.Label.YAxis" ) + axisIndex ); //$NON-NLS-1$ } else { cmpTop = new Composite( parent, SWT.NONE ); } GridLayout layout = new GridLayout( ); layout.numColumns = 4 / numberRows; layout.marginHeight = 0; layout.marginWidth = 0; cmpTop.setLayout( layout ); GridData gd = new GridData( GridData.FILL_HORIZONTAL ); cmpTop.setLayoutData( gd ); } cmbSeriesSelect = new Combo( cmpTop, SWT.DROP_DOWN | SWT.READ_ONLY ); { cmbSeriesSelect.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); cmbSeriesSelect.addSelectionListener( this ); refreshCombo( ); } btnSeriesAdd = new Button( cmpTop, SWT.NONE ); { refreshButton( ); btnSeriesAdd.addSelectionListener( this ); } createDataDefinition( ); return cmpTop; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ac26365eb54b9a10e69498a213cb6f605f15760b/DataDefinitionSelector.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/DataDefinitionSelector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14728, 752, 5484, 12, 14728, 982, 262, 202, 95, 202, 202, 9625, 3401, 273, 446, 31, 202, 202, 95, 1082, 202, 430, 261, 2654, 1016, 405, 374, 262, 1082, 202, 95, 9506, 202, 9625, 3401, 273, 394, 3756, 12, 982, 16, 348, 8588, 18, 9826, 11272, 9506, 202, 12, 261, 1114, 13, 9411, 3401, 262, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 751, 1852, 4320, 18, 2224, 18, 61, 6558, 6, 262, 397, 2654, 1016, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 9625, 3401, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 1082, 202, 97, 1082, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 11272, 1082, 202, 6741, 18, 2107, 3380, 273, 1059, 342, 1300, 4300, 31, 1082, 202, 6741, 18, 10107, 2686, 273, 374, 31, 1082, 202, 6741, 18, 10107, 2384, 273, 374, 31, 1082, 202, 9625, 3401, 18, 542, 3744, 12, 3511, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 11272, 1082, 202, 9625, 3401, 18, 542, 3744, 751, 12, 15551, 11272, 202, 202, 97, 202, 202, 71, 1627, 6485, 3391, 273, 394, 1286, 1075, 12, 9411, 3401, 16, 348, 8588, 18, 18768, 67, 12711, 571, 348, 8588, 18, 6949, 67, 10857, 11272, 202, 202, 95, 1082, 202, 71, 1627, 6485, 3391, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14728, 752, 5484, 12, 14728, 982, 262, 202, 95, 202, 202, 9625, 3401, 273, 446, 31, 202, 202, 95, 1082, 202, 430, 261, 2654, 1016, 405, 374, 262, 1082, 202, 95, 9506, 202, 9625, 3401, 273, 394, 3756, 12, 982, 16, 348, 8588, 18, 9826, 11272, 9506, 202, 12, 261, 1114, 13, 9411, 3401, 262, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 751, 1852, 4320, 18, 2224, 18, 61, 6558, 6, 262, 397, 2654, 1016, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 9625, 3401, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 1082, 202, 97, 1082, 202, 6313, 2 ]
action= new DeletePreviousSubWordAction();
action = new DeletePreviousSubWordAction();
protected void createNavigationActions() { super.createNavigationActions(); final StyledText textWidget = getSourceViewer().getTextWidget(); IAction action = new NavigatePreviousSubWordAction(); action.setActionDefinitionId(ITextEditorActionDefinitionIds.WORD_PREVIOUS); setAction(ITextEditorActionDefinitionIds.WORD_PREVIOUS, action); textWidget.setKeyBinding(SWT.CTRL | SWT.ARROW_LEFT, SWT.NULL); action = new NavigateNextSubWordAction(); action.setActionDefinitionId(ITextEditorActionDefinitionIds.WORD_NEXT); setAction(ITextEditorActionDefinitionIds.WORD_NEXT, action); textWidget.setKeyBinding(SWT.CTRL | SWT.ARROW_RIGHT, SWT.NULL); action = new SelectPreviousSubWordAction(); action.setActionDefinitionId(ITextEditorActionDefinitionIds.SELECT_WORD_PREVIOUS); setAction(ITextEditorActionDefinitionIds.SELECT_WORD_PREVIOUS, action); textWidget.setKeyBinding(SWT.CTRL | SWT.SHIFT | SWT.ARROW_LEFT, SWT.NULL); action = new SelectNextSubWordAction(); action.setActionDefinitionId(ITextEditorActionDefinitionIds.SELECT_WORD_NEXT); setAction(ITextEditorActionDefinitionIds.SELECT_WORD_NEXT, action); textWidget.setKeyBinding(SWT.CTRL | SWT.SHIFT | SWT.ARROW_RIGHT, SWT.NULL); action= new DeletePreviousSubWordAction(); action.setActionDefinitionId(ITextEditorActionDefinitionIds.DELETE_PREVIOUS_WORD); setAction(ITextEditorActionDefinitionIds.DELETE_PREVIOUS_WORD, action); textWidget.setKeyBinding(SWT.CTRL | SWT.BS, SWT.NULL); markAsStateDependentAction(ITextEditorActionDefinitionIds.DELETE_PREVIOUS_WORD, true); action= new DeleteNextSubWordAction(); action.setActionDefinitionId(ITextEditorActionDefinitionIds.DELETE_NEXT_WORD); setAction(ITextEditorActionDefinitionIds.DELETE_NEXT_WORD, action); textWidget.setKeyBinding(SWT.CTRL | SWT.DEL, SWT.NULL); markAsStateDependentAction(ITextEditorActionDefinitionIds.DELETE_NEXT_WORD, true); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0482b3954404fd528d629e737114a70d018a10db/CEditor.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 14301, 6100, 1435, 288, 202, 202, 9565, 18, 2640, 14301, 6100, 5621, 202, 202, 6385, 934, 93, 1259, 1528, 977, 4609, 273, 7889, 18415, 7675, 588, 1528, 4609, 5621, 202, 202, 45, 1803, 1301, 273, 394, 423, 20698, 8351, 1676, 3944, 1803, 5621, 202, 202, 1128, 18, 542, 1803, 21768, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 7952, 67, 3670, 4136, 21667, 1769, 202, 202, 542, 1803, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 7952, 67, 3670, 4136, 21667, 16, 1301, 1769, 202, 202, 955, 4609, 18, 542, 653, 5250, 12, 55, 8588, 18, 23876, 48, 571, 348, 8588, 18, 985, 11226, 67, 10066, 16, 348, 8588, 18, 8560, 1769, 202, 202, 1128, 273, 394, 423, 20698, 2134, 1676, 3944, 1803, 5621, 202, 202, 1128, 18, 542, 1803, 21768, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 7952, 67, 25539, 1769, 202, 202, 542, 1803, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 7952, 67, 25539, 16, 1301, 1769, 202, 202, 955, 4609, 18, 542, 653, 5250, 12, 55, 8588, 18, 23876, 48, 571, 348, 8588, 18, 985, 11226, 67, 11847, 16, 348, 8588, 18, 8560, 1769, 202, 202, 1128, 273, 394, 6766, 8351, 1676, 3944, 1803, 5621, 202, 202, 1128, 18, 542, 1803, 21768, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 4803, 67, 7952, 67, 3670, 4136, 21667, 1769, 202, 202, 542, 1803, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 4803, 67, 7952, 67, 3670, 4136, 21667, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 14301, 6100, 1435, 288, 202, 202, 9565, 18, 2640, 14301, 6100, 5621, 202, 202, 6385, 934, 93, 1259, 1528, 977, 4609, 273, 7889, 18415, 7675, 588, 1528, 4609, 5621, 202, 202, 45, 1803, 1301, 273, 394, 423, 20698, 8351, 1676, 3944, 1803, 5621, 202, 202, 1128, 18, 542, 1803, 21768, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 7952, 67, 3670, 4136, 21667, 1769, 202, 202, 542, 1803, 12, 1285, 408, 6946, 1803, 1852, 2673, 18, 7952, 67, 3670, 4136, 21667, 16, 1301, 1769, 202, 202, 955, 4609, 18, 542, 653, 5250, 12, 55, 8588, 18, 23876, 48, 571, 348, 8588, 18, 985, 11226, 67, 10066, 16, 348, 8588, 18, 8560, 1769, 202, 202, 2 ]
public void containerDeleted(ITaskContainer container) {
public void containerDeleted(AbstractTaskContainer container) {
public void containerDeleted(ITaskContainer container) { // ignore }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/41f5ef9fe370f2cae870074ac5c17017be12a1fe/TaskInfoEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/editors/TaskInfoEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1478, 7977, 12, 1285, 835, 2170, 1478, 13, 288, 1082, 202, 759, 2305, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1478, 7977, 12, 1285, 835, 2170, 1478, 13, 288, 1082, 202, 759, 2305, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
following.push(FOLLOW_lhs_and_in_lhs_or2153);
following.push(FOLLOW_lhs_and_in_lhs_or2203);
public PatternDescr lhs_or() throws RecognitionException { PatternDescr d; PatternDescr left = null; PatternDescr right = null; d = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:643:17: (left= lhs_and ( ('or'|'||')right= lhs_and )* ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:643:17: left= lhs_and ( ('or'|'||')right= lhs_and )* { OrDescr or = null; following.push(FOLLOW_lhs_and_in_lhs_or2153); left=lhs_and(); following.pop(); d = left; // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:645:17: ( ('or'|'||')right= lhs_and )* loop54: do { int alt54=2; int LA54_0 = input.LA(1); if ( LA54_0==39||LA54_0==50 ) { alt54=1; } switch (alt54) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:645:25: ('or'|'||')right= lhs_and { if ( input.LA(1)==39||input.LA(1)==50 ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_lhs_or2163); throw mse; } following.push(FOLLOW_lhs_and_in_lhs_or2174); right=lhs_and(); following.pop(); if ( or == null ) { or = new OrDescr(); or.addDescr( left ); d = or; } or.addDescr( right ); } break; default : break loop54; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6830, 16198, 8499, 67, 280, 1435, 1216, 9539, 288, 6647, 6830, 16198, 302, 31, 3639, 6830, 16198, 2002, 273, 446, 31, 3639, 6830, 16198, 2145, 273, 446, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 1105, 23, 30, 4033, 30, 261, 4482, 33, 8499, 67, 464, 261, 7707, 280, 11, 16637, 20081, 6134, 4083, 33, 8499, 67, 464, 8618, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 1105, 23, 30, 4033, 30, 2002, 33, 8499, 67, 464, 261, 7707, 280, 11, 16637, 20081, 6134, 4083, 33, 8499, 67, 464, 8618, 5411, 288, 2398, 2965, 16198, 578, 273, 446, 31, 2398, 3751, 18, 6206, 12, 29890, 67, 80, 4487, 67, 464, 67, 267, 67, 80, 4487, 67, 280, 27246, 23, 1769, 5411, 2002, 33, 80, 4487, 67, 464, 5621, 5411, 3751, 18, 5120, 5621, 5411, 302, 273, 2002, 31, 2398, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 1105, 25, 30, 4033, 30, 261, 7707, 280, 11, 16637, 20081, 6134, 4083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6830, 16198, 8499, 67, 280, 1435, 1216, 9539, 288, 6647, 6830, 16198, 302, 31, 3639, 6830, 16198, 2002, 273, 446, 31, 3639, 6830, 16198, 2145, 273, 446, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 1105, 23, 30, 4033, 30, 261, 4482, 33, 8499, 67, 464, 261, 7707, 280, 11, 16637, 20081, 6134, 4083, 33, 8499, 67, 464, 8618, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 2 ]
if (comboBox.isEditable()) comboBox.getEditor().getEditorComponent().requestFocus(); else comboBox.requestFocus();
protected void delegateFocus(MouseEvent e) { // FIXME: Need to implement }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicComboPopup.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboPopup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 4750, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 918, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 7152, 9233, 12, 9186, 1133, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 425, 13, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 288, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 4750, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 918, 430, 261, 25053, 3514, 18, 291, 15470, 10756, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 2293, 9233, 5621, 469, 16778, 3514, 18, 2293, 9233, 5621, 7152, 9233, 12, 9186, 1133, 2 ]
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
handleExecutionFailure( rm, rootProject, e, task, System.currentTimeMillis() - buildStartTime );
private void executeTaskSegments( List taskSegments, ReactorManager rm, MavenSession session, MavenProject rootProject, EventDispatcher dispatcher, MavenExecutionResponse response ) throws ArtifactNotFoundException, MojoExecutionException, LifecycleExecutionException, MojoFailureException, ArtifactResolutionException { for ( Iterator it = taskSegments.iterator(); it.hasNext(); ) { TaskSegment segment = (TaskSegment) it.next(); if ( segment.aggregate() ) { if ( !rm.isBlackListed( rootProject ) ) { line(); getLogger().info( "Building " + rootProject.getName() ); getLogger().info( " " + segment ); line(); // !! This is ripe for refactoring to an aspect. // Event monitoring. String event = MavenEvents.PROJECT_EXECUTION; long buildStartTime = System.currentTimeMillis(); dispatcher.dispatchStart( event, rootProject.getId() + " ( " + segment + " )" ); try { // only call once, with the top-level project (assumed to be provided as a parameter)... for ( Iterator goalIterator = segment.getTasks().iterator(); goalIterator.hasNext(); ) { String task = (String) goalIterator.next(); try { executeGoal( task, session, rootProject, response ); } catch ( MojoExecutionException e ) { // TODO: should this be removed? handleExecutionFailure( rm, rootProject, e, task, buildStartTime ); } catch ( ArtifactResolutionException e ) { // TODO: should this be removed? handleExecutionFailure( rm, rootProject, e, task, buildStartTime ); } catch ( MojoFailureException e ) { handleExecutionFailure( rm, rootProject, e, task, buildStartTime ); } catch ( ArtifactNotFoundException e ) { handleExecutionFailure( rm, rootProject, e, task, buildStartTime ); } } rm.registerBuildSuccess( rootProject, System.currentTimeMillis() - buildStartTime ); dispatcher.dispatchEnd( event, rootProject.getId() + " ( " + segment + " )" ); } catch ( LifecycleExecutionException e ) { dispatcher.dispatchError( event, rootProject.getId() + " ( " + segment + " )", e ); throw e; } } else { line(); getLogger().info( "SKIPPING " + rootProject.getName() ); getLogger().info( " " + segment ); getLogger().info( "This project has been banned from further executions due to previous failures." ); line(); } } else { List sortedProjects = session.getSortedProjects(); response.setExecutedMultipleProjects( true ); // iterate over projects, and execute on each... for ( Iterator projectIterator = sortedProjects.iterator(); projectIterator.hasNext(); ) { MavenProject currentProject = (MavenProject) projectIterator.next(); if ( !rm.isBlackListed( currentProject ) ) { line(); getLogger().info( "Building " + currentProject.getName() ); getLogger().info( " " + segment ); line(); // !! This is ripe for refactoring to an aspect. // Event monitoring. String event = MavenEvents.PROJECT_EXECUTION; long buildStartTime = System.currentTimeMillis(); dispatcher.dispatchStart( event, currentProject.getId() + " ( " + segment + " )" ); try { for ( Iterator goalIterator = segment.getTasks().iterator(); goalIterator.hasNext(); ) { String task = (String) goalIterator.next(); try { executeGoal( task, session, currentProject, response ); } catch ( MojoExecutionException e ) { // TODO: should this be removed? handleExecutionFailure( rm, currentProject, e, task, buildStartTime ); } catch ( ArtifactResolutionException e ) { // TODO: should this be removed? handleExecutionFailure( rm, currentProject, e, task, buildStartTime ); } catch ( MojoFailureException e ) { handleExecutionFailure( rm, currentProject, e, task, buildStartTime ); } catch ( ArtifactNotFoundException e ) { handleExecutionFailure( rm, currentProject, e, task, buildStartTime ); } } rm.registerBuildSuccess( currentProject, System.currentTimeMillis() - buildStartTime ); dispatcher.dispatchEnd( event, currentProject.getId() + " ( " + segment + " )" ); } catch ( LifecycleExecutionException e ) { dispatcher.dispatchError( event, currentProject.getId() + " ( " + segment + " )", e ); throw e; } } else { line(); getLogger().info( "SKIPPING " + currentProject.getName() ); getLogger().info( " " + segment ); getLogger().info( "This project has been banned from further executions due to previous failures." ); line(); } } } } }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/ce8f50cc0a6e4cf8320f652fc92a50225625e246/DefaultLifecycleExecutor.java/clean/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1836, 2174, 7946, 12, 987, 1562, 7946, 16, 868, 3362, 1318, 6692, 16, 17176, 2157, 1339, 16, 4766, 1377, 17176, 4109, 1365, 4109, 16, 31153, 7393, 16, 4766, 1377, 17176, 3210, 1064, 766, 262, 3639, 1216, 14022, 3990, 16, 18780, 16, 14283, 14576, 16, 15931, 14389, 16, 3639, 14022, 11098, 503, 565, 288, 3639, 364, 261, 4498, 518, 273, 1562, 7946, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 3837, 4131, 3267, 273, 261, 2174, 4131, 13, 518, 18, 4285, 5621, 5411, 309, 261, 3267, 18, 18573, 1435, 262, 5411, 288, 7734, 309, 261, 401, 8864, 18, 291, 13155, 682, 329, 12, 1365, 4109, 262, 262, 7734, 288, 10792, 980, 5621, 10792, 7156, 7675, 1376, 12, 315, 16713, 315, 397, 1365, 4109, 18, 17994, 1435, 11272, 10792, 7156, 7675, 1376, 12, 315, 225, 315, 397, 3267, 11272, 10792, 980, 5621, 10792, 368, 401, 5, 1220, 353, 436, 3151, 364, 283, 3493, 6053, 358, 392, 9648, 18, 10792, 368, 2587, 16309, 18, 10792, 514, 871, 273, 17176, 3783, 18, 17147, 67, 15271, 13269, 31, 10792, 1525, 1361, 13649, 273, 2332, 18, 2972, 28512, 5621, 10792, 7393, 18, 10739, 1685, 12, 871, 16, 1365, 4109, 18, 26321, 1435, 397, 315, 261, 315, 397, 3267, 397, 315, 28796, 11272, 10792, 775, 10792, 288, 13491, 368, 1338, 745, 3647, 16, 598, 326, 1760, 17, 2815, 1984, 261, 428, 379, 329, 358, 506, 2112, 487, 279, 1569, 13, 2777, 13491, 364, 261, 4498, 17683, 3198, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1836, 2174, 7946, 12, 987, 1562, 7946, 16, 868, 3362, 1318, 6692, 16, 17176, 2157, 1339, 16, 4766, 1377, 17176, 4109, 1365, 4109, 16, 31153, 7393, 16, 4766, 1377, 17176, 3210, 1064, 766, 262, 3639, 1216, 14022, 3990, 16, 18780, 16, 14283, 14576, 16, 15931, 14389, 16, 3639, 14022, 11098, 503, 565, 288, 3639, 364, 261, 4498, 518, 273, 1562, 7946, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 3837, 4131, 3267, 273, 261, 2174, 4131, 13, 518, 18, 4285, 5621, 5411, 309, 261, 3267, 18, 18573, 1435, 262, 5411, 288, 7734, 309, 261, 401, 8864, 18, 291, 13155, 682, 329, 12, 1365, 4109, 262, 262, 7734, 288, 10792, 980, 5621, 10792, 2 ]