rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
IMessage message = MessageUtility.getUtility().getMessage(vc, IMessagePrefixEjb20Constants.CHKJ2801, IEJBValidationContext.ERROR, bean, this);
IMessage message = MessageUtility.getUtility().getMessage(vc, IEJBValidatorMessageConstants.CHKJ2801, IEJBValidationContext.ERROR, bean, this);
public void validateEJBNameElement(IEJBValidationContext vc, EJBJar ejbJar, EnterpriseBean bean) { if (bean == null) { return; } String name = bean.getName(); if ((name == null) || (name.equals(""))) { //$NON-NLS-1$ IMessage message = MessageUtility.getUtility().getMessage(vc, IMessagePrefixEjb20Constants.CHKJ2801, IEJBValidationContext.ERROR, bean, this); vc.addMessage(message); } if(bean.isContainerManagedEntity() && bean.getVersionID() >= J2EEVersionConstants.EJB_2_0_ID) { if(!ValidationRuleUtility.isValidJavaIdentifier(name)) { IMessage message = MessageUtility.getUtility().getMessage(vc, IMessagePrefixEjb20Constants.CHKJ2813, IEJBValidationContext.WARNING, bean, this); vc.addMessage(message); } // p. 466 // "The name for an entity bean with cmp-version 2.x must conform // to the lexical rules for an NMTOKEN. The name for an entity bean with // cmp-version 2.x must not be a reserved literal in EJB QL. if(ValidationRuleUtility.isReservedWord(name)) { IMessage message = MessageUtility.getUtility().getMessage(vc, IMessagePrefixEjb20Constants.CHKJ2859, IEJBValidationContext.INFO, bean, this); vc.addMessage(message); } } }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/18a2a3b489fef7cefb688b690beaeaf64c4480fd/EnterpriseBean20VRule.java/buggy/plugins/org.eclipse.jst.j2ee.core/j2ee-validation/org/eclipse/jst/j2ee/model/internal/validation/EnterpriseBean20VRule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1954, 22719, 461, 1046, 12, 8732, 8877, 4354, 1042, 12802, 16, 12157, 10813, 18024, 10813, 16, 26919, 3381, 3931, 13, 288, 202, 202, 430, 261, 14496, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 508, 273, 3931, 18, 17994, 5621, 202, 202, 430, 14015, 529, 422, 446, 13, 747, 261, 529, 18, 14963, 2932, 6, 20349, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 45, 1079, 883, 273, 2350, 6497, 18, 588, 6497, 7675, 24906, 12, 4227, 16, 467, 1079, 2244, 41, 10649, 3462, 2918, 18, 1792, 47, 46, 6030, 1611, 16, 10897, 8877, 4354, 1042, 18, 3589, 16, 3931, 16, 333, 1769, 1082, 202, 4227, 18, 1289, 1079, 12, 2150, 1769, 202, 202, 97, 9506, 202, 430, 12, 14496, 18, 291, 2170, 10055, 1943, 1435, 597, 3931, 18, 588, 1444, 734, 1435, 1545, 804, 22, 9383, 1444, 2918, 18, 22719, 67, 22, 67, 20, 67, 734, 13, 288, 6862, 202, 430, 12, 5, 4354, 2175, 6497, 18, 26810, 5852, 3004, 12, 529, 3719, 288, 9506, 202, 45, 1079, 883, 273, 2350, 6497, 18, 588, 6497, 7675, 24906, 12, 4227, 16, 467, 1079, 2244, 41, 10649, 3462, 2918, 18, 1792, 47, 46, 6030, 3437, 16, 10897, 8877, 4354, 1042, 18, 9511, 16, 3931, 16, 333, 1769, 9506, 202, 4227, 18, 1289, 1079, 12, 2150, 1769, 1082, 202, 97, 9506, 202, 759, 293, 18, 1059, 6028, 1082, 202, 759, 315, 1986, 508, 364, 392, 1522, 3931, 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, 1954, 22719, 461, 1046, 12, 8732, 8877, 4354, 1042, 12802, 16, 12157, 10813, 18024, 10813, 16, 26919, 3381, 3931, 13, 288, 202, 202, 430, 261, 14496, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 508, 273, 3931, 18, 17994, 5621, 202, 202, 430, 14015, 529, 422, 446, 13, 747, 261, 529, 18, 14963, 2932, 6, 20349, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 45, 1079, 883, 273, 2350, 6497, 18, 588, 6497, 7675, 24906, 12, 4227, 16, 467, 1079, 2244, 41, 10649, 3462, 2918, 18, 1792, 47, 46, 6030, 1611, 16, 10897, 8877, 4354, 1042, 18, 3589, 16, 3931, 16, 333, 1769, 1082, 202, 4227, 18, 2 ]
super.write(b, off, len); written = written+len;
out.write(b, off, len); written += len;
public synchronized void write(byte b[], int off, int len) throws IOException { super.write(b, off, len); written = written+len;}
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/95d260b512472e38ee918e1baed66dc4a74bb560/DataOutputStream.java/clean/libraries/javalib/java/io/DataOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3852, 918, 1045, 12, 7229, 324, 63, 6487, 509, 3397, 16, 509, 562, 13, 1216, 1860, 288, 202, 9565, 18, 2626, 12, 70, 16, 3397, 16, 562, 1769, 202, 9748, 273, 5941, 15, 1897, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3852, 918, 1045, 12, 7229, 324, 63, 6487, 509, 3397, 16, 509, 562, 13, 1216, 1860, 288, 202, 9565, 18, 2626, 12, 70, 16, 3397, 16, 562, 1769, 202, 9748, 273, 5941, 15, 1897, 31, 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 ]
out = new LineWriter(new FileWriter(impliedDotFile));
out = new LineWriter(new FileOutputStream(impliedDotFile));
public static void main(String[] argv) { try { List args = new ArrayList(Arrays.asList(argv)); // can't mod the original if (args.size() == 0 || args.remove("-h") || args.remove("-?") || args.remove("?") || args.remove("/?")) { dumpUsage(null, false, false); System.exit(1); } if (args.remove("-help")) { dumpUsage(null, true, false); System.exit(1); } if (args.remove("-dbhelp")) { dumpUsage(null, true, true); System.exit(1); } long start = System.currentTimeMillis(); long startGraphingDetails = start; long startSummarizing = start; // allow '=' in param specs args = fixupArgs(args); final boolean generateHtml = !args.remove("-nohtml"); final boolean includeImpliedConstraints = !args.remove("-noimplied"); String outputDirName = getParam(args, "-o", true, false); // quoting command-line arguments sometimes leaves the trailing " if (outputDirName.endsWith("\"")) outputDirName = outputDirName.substring(0, outputDirName.length() - 1); File outputDir = new File(outputDirName).getCanonicalFile(); if (!outputDir.isDirectory()) { if (!outputDir.mkdir()) { System.err.println("Failed to create directory '" + outputDir + "'"); System.exit(2); } } if (generateHtml) { new File(outputDir, "tables").mkdir(); new File(outputDir, "graphs/summary").mkdirs(); } String dbType = getParam(args, "-t", false, false); if (dbType == null) dbType = "ora"; StringBuffer propertiesLoadedFrom = new StringBuffer(); Properties properties = getDbProperties(dbType, propertiesLoadedFrom); String user = getParam(args, "-u", true, false); String password = getParam(args, "-p", false, false); String schema = null; try { schema = getParam(args, "-s", false, true); } catch (Exception schemaNotSpecified) { } String classpath = getParam(args, "-cp", false, false); String css = getParam(args, "-css", false, false); if (css == null) css = "schemaSpy.css"; int maxDbThreads = getMaxDbThreads(args, properties); if (!args.remove("-nologo")) { // nasty hack, but passing this info everywhere churns my stomach System.setProperty("sourceforgelogo", "true"); } Pattern exclusions; String exclude = getParam(args, "-i", false, false); if (exclude != null) { exclusions = Pattern.compile(exclude); } else { exclusions = Pattern.compile("[^.]"); // match nothing } ConnectionURLBuilder urlBuilder = null; try { urlBuilder = new ConnectionURLBuilder(dbType, args, properties); } catch (IllegalArgumentException badParam) { System.err.println(badParam.getMessage()); System.exit(1); } String dbName = urlBuilder.getDbName(); if (args.size() != 0) { System.out.print("Warning: Unrecognized option(s):"); for (Iterator iter = args.iterator(); iter.hasNext(); ) { System.out.print(" " + iter.next()); } System.out.println(); } if (generateHtml) StyleSheet.init(new BufferedReader(getStyleSheet(css))); String driverClass = properties.getProperty("driver"); String driverPath = properties.getProperty("driverPath"); if (classpath != null) driverPath = classpath + File.pathSeparator + driverPath; Connection connection = getConnection(user, password, urlBuilder.getConnectionURL(), driverClass, driverPath, propertiesLoadedFrom.toString()); DatabaseMetaData meta = connection.getMetaData(); if (schema == null && meta.supportsSchemasInTableDefinitions()) { schema = user; } if (generateHtml) { System.out.println("Connected to " + meta.getDatabaseProductName() + " - " + meta.getDatabaseProductVersion()); System.out.println(); System.out.print("Gathering schema details"); } // // create the spy // SchemaSpy spy = new SchemaSpy(connection, meta, dbName, schema, properties, maxDbThreads); Database db = spy.getDatabase(); LineWriter out; Collection tables = new ArrayList(db.getTables()); tables.addAll(db.getViews()); if (tables.isEmpty()) { dumpNoTablesMessage(schema, user, meta); System.exit(2); }// DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();// DocumentBuilder builder = factory.newDocumentBuilder();// Document document = builder.newDocument();// Element schemaNode = document.createElement("schema");// document.appendChild(schemaNode);// if (schema != null)// DOMUtil.appendAttribute(schemaNode, "name", schema);// DOMUtil.appendAttribute(schemaNode, "databaseType", db.getDatabaseProduct()); if (generateHtml) { startSummarizing = System.currentTimeMillis(); System.out.println("(" + (startSummarizing - start) / 1000 + "sec)"); System.out.print("Writing/graphing summary"); System.out.print("."); File graphsDir = new File(outputDir, "graphs/summary"); String dotBaseFilespec = "relationships"; out = new LineWriter(new FileWriter(new File(graphsDir, dotBaseFilespec + ".real.compact.dot"))); WriteStats stats = new WriteStats(exclusions, includeImpliedConstraints); DotFormatter.getInstance().writeRealRelationships(tables, true, stats, out); boolean hasRelationships = stats.getNumTablesWritten() > 0 || stats.getNumViewsWritten() > 0; stats = new WriteStats(stats); out.close(); if (hasRelationships) { System.out.print("."); out = new LineWriter(new FileWriter(new File(graphsDir, dotBaseFilespec + ".real.large.dot"))); DotFormatter.getInstance().writeRealRelationships(tables, false, stats, out); stats = new WriteStats(stats); out.close(); } // getting implied constraints has a side-effect of associating the parent/child tables, so don't do it // here unless they want that behavior List impliedConstraints = null; if (includeImpliedConstraints) impliedConstraints = DBAnalyzer.getImpliedConstraints(tables); else impliedConstraints = new ArrayList(); List orphans = DBAnalyzer.getOrphans(tables); boolean hasOrphans = !orphans.isEmpty() && Dot.getInstance().isValid(); if (hasRelationships) { System.out.print("."); File impliedDotFile = new File(graphsDir, dotBaseFilespec + ".implied.compact.dot"); out = new LineWriter(new FileWriter(impliedDotFile)); stats = new WriteStats(exclusions, includeImpliedConstraints); DotFormatter.getInstance().writeAllRelationships(tables, true, stats, out); boolean hasImplied = stats.wroteImplied(); Set excludedColumns = stats.getExcludedColumns(); stats = new WriteStats(stats); out.close(); if (hasImplied) { impliedDotFile = new File(graphsDir, dotBaseFilespec + ".implied.large.dot"); out = new LineWriter(new FileWriter(impliedDotFile)); DotFormatter.getInstance().writeAllRelationships(tables, false, stats, out); stats = new WriteStats(stats); out.close(); } else { impliedDotFile.delete(); } out = new LineWriter(new FileWriter(new File(outputDir, dotBaseFilespec + ".html"))); hasRelationships = HtmlGraphFormatter.getInstance().write(db, graphsDir, dotBaseFilespec, hasOrphans, hasImplied, excludedColumns, out); out.close(); } System.out.print("."); dotBaseFilespec = "utilities"; out = new LineWriter(new FileWriter(new File(outputDir, dotBaseFilespec + ".html"))); HtmlGraphFormatter.getInstance().writeOrphans(db, orphans, hasRelationships, graphsDir, out); stats = new WriteStats(stats); out.close(); System.out.print("."); out = new LineWriter(new FileWriter(new File(outputDir, "index.html")), 64 * 1024); HtmlMainIndexFormatter.getInstance().write(db, tables, hasRelationships, hasOrphans, out); stats = new WriteStats(stats); out.close(); System.out.print("."); List constraints = DBAnalyzer.getForeignKeyConstraints(tables); out = new LineWriter(new FileWriter(new File(outputDir, "constraints.html")), 256 * 1024); HtmlConstraintIndexFormatter constraintIndexFormatter = HtmlConstraintIndexFormatter.getInstance(); constraintIndexFormatter.write(db, constraints, tables, hasRelationships, hasOrphans, out); stats = new WriteStats(stats); out.close(); System.out.print("."); out = new LineWriter(new FileWriter(new File(outputDir, "anomalies.html")), 16 * 1024); HtmlAnomaliesFormatter.getInstance().write(db, tables, impliedConstraints, hasRelationships, hasOrphans, out); stats = new WriteStats(stats); out.close(); System.out.print("."); out = new LineWriter(new FileWriter(new File(outputDir, "columns.html")), 16 * 1024); HtmlColumnsFormatter.getInstance().write(db, tables, hasRelationships, hasOrphans, out); stats = new WriteStats(stats); out.close(); startGraphingDetails = System.currentTimeMillis(); System.out.println("(" + (startGraphingDetails - startSummarizing) / 1000 + "sec)"); System.out.print("Writing/graphing results"); HtmlTableFormatter tableFormatter = HtmlTableFormatter.getInstance(); for (Iterator iter = tables.iterator(); iter.hasNext(); ) { System.out.print('.'); Table table = (Table)iter.next(); out = new LineWriter(new FileWriter(new File(outputDir, "tables/" + table.getName() + ".html")), 24 * 1024); tableFormatter.write(db, table, hasRelationships, hasOrphans, outputDir, stats, out); stats = new WriteStats(stats); out.close();// XmlTableFormatter.getInstance().appendTable(schemaNode, table, outputDir); } out = new LineWriter(new FileWriter(new File(outputDir, "schemaSpy.css"))); StyleSheet.getInstance().write(out); out.close(); out = new LineWriter(new FileWriter(new File(outputDir, "schemaSpy.js"))); JavaScriptFormatter.getInstance().write(out); out.close(); }// out = new LineWriter(new FileWriter(new File(outputDir, "schemaSpy.xml")), 24 * 1024);// document.getDocumentElement().normalize();// DOMUtil.printDOM(document, out);// out.close(); List recursiveConstraints = new ArrayList(); // side effect is that the RI relationships get trashed // also populates the recursiveConstraints collection List orderedTables = spy.sortTablesByRI(recursiveConstraints); out = new LineWriter(new FileWriter(new File(outputDir, "insertionOrder.txt")), 16 * 1024); TextFormatter.getInstance().write(db, orderedTables, false, out); out.close(); out = new LineWriter(new FileWriter(new File(outputDir, "deletionOrder.txt")), 16 * 1024); Collections.reverse(orderedTables); TextFormatter.getInstance().write(db, orderedTables, false, out); out.close(); /* we'll eventually want to put this functionality back in with a * database independent implementation File constraintsFile = new File(outputDir, "removeRecursiveConstraints.sql"); constraintsFile.delete(); if (!recursiveConstraints.isEmpty()) { out = new LineWriter(new FileWriter(constraintsFile), 4 * 1024); writeRemoveRecursiveConstraintsSql(recursiveConstraints, schema, out); out.close(); } constraintsFile = new File(outputDir, "restoreRecursiveConstraints.sql"); constraintsFile.delete(); if (!recursiveConstraints.isEmpty()) { out = new LineWriter(new FileWriter(constraintsFile), 4 * 1024); writeRestoreRecursiveConstraintsSql(recursiveConstraints, schema, out); out.close(); } */ if (generateHtml) { long end = System.currentTimeMillis(); System.out.println("(" + (end - startGraphingDetails) / 1000 + "sec)"); System.out.println("Wrote relationship details of " + tables.size() + " tables/views to directory '" + new File(outputDirName) + "' in " + (end - start) / 1000 + " seconds."); System.out.println("Start with " + new File(outputDirName, "index.html")); } } catch (Exception exc) { System.err.println(); exc.printStackTrace(); } }
49072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49072/a75d0134d8ff720e2fd347527018dd7ed7698d92/Main.java/clean/src/net/sourceforge/schemaspy/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 5261, 13, 288, 3639, 775, 288, 5411, 987, 833, 273, 394, 2407, 12, 12726, 18, 345, 682, 12, 19485, 10019, 368, 848, 1404, 681, 326, 2282, 5411, 309, 261, 1968, 18, 1467, 1435, 422, 374, 747, 833, 18, 4479, 2932, 17, 76, 7923, 747, 833, 18, 4479, 2932, 17, 7225, 13, 747, 833, 18, 4479, 2932, 7225, 13, 747, 833, 18, 4479, 2932, 19, 7225, 3719, 288, 7734, 4657, 5357, 12, 2011, 16, 629, 16, 629, 1769, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 5411, 309, 261, 1968, 18, 4479, 2932, 17, 5201, 6, 3719, 288, 7734, 4657, 5357, 12, 2011, 16, 638, 16, 629, 1769, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 5411, 309, 261, 1968, 18, 4479, 2932, 17, 1966, 5201, 6, 3719, 288, 7734, 4657, 5357, 12, 2011, 16, 638, 16, 638, 1769, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 5411, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 5411, 1525, 787, 4137, 310, 3790, 273, 787, 31, 5411, 1525, 787, 3495, 3684, 6894, 273, 787, 31, 5411, 368, 1699, 5214, 316, 579, 10607, 5411, 833, 273, 2917, 416, 2615, 12, 1968, 1769, 5411, 727, 1250, 2103, 4353, 273, 401, 1968, 18, 4479, 2932, 17, 2135, 2620, 8863, 5411, 727, 1250, 2341, 2828, 2092, 4878, 273, 401, 1968, 18, 4479, 2932, 17, 2135, 381, 3110, 8863, 5411, 514, 21412, 461, 273, 9027, 12, 1968, 16, 3701, 83, 3113, 638, 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, 377, 1071, 760, 918, 2774, 12, 780, 8526, 5261, 13, 288, 3639, 775, 288, 5411, 987, 833, 273, 394, 2407, 12, 12726, 18, 345, 682, 12, 19485, 10019, 368, 848, 1404, 681, 326, 2282, 5411, 309, 261, 1968, 18, 1467, 1435, 422, 374, 747, 833, 18, 4479, 2932, 17, 76, 7923, 747, 833, 18, 4479, 2932, 17, 7225, 13, 747, 833, 18, 4479, 2932, 7225, 13, 747, 833, 18, 4479, 2932, 19, 7225, 3719, 288, 7734, 4657, 5357, 12, 2011, 16, 629, 16, 629, 1769, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 5411, 309, 261, 1968, 18, 4479, 2932, 17, 5201, 6, 3719, 288, 7734, 4657, 5357, 12, 2011, 16, 638, 16, 629, 1769, 7734, 2332, 18, 2 ]
protected ObservableSet(Realm realm, Set wrappedSet, Object elementType) { super(realm); this.wrappedSet = wrappedSet; this.elementType = elementType;
protected ObservableSet(Set wrappedSet, Object elementType) { this(Realm.getDefault(), wrappedSet, elementType);
protected ObservableSet(Realm realm, Set wrappedSet, Object elementType) { super(realm); this.wrappedSet = wrappedSet; this.elementType = elementType; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6aecdb31231a8602dbf72944625703c440949c78/ObservableSet.java/buggy/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/set/ObservableSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4310, 694, 12, 22545, 11319, 16, 1000, 5805, 694, 16, 1033, 21427, 13, 288, 202, 202, 9565, 12, 24056, 1769, 202, 202, 2211, 18, 18704, 694, 273, 5805, 694, 31, 202, 202, 2211, 18, 2956, 559, 273, 21427, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4310, 694, 12, 22545, 11319, 16, 1000, 5805, 694, 16, 1033, 21427, 13, 288, 202, 202, 9565, 12, 24056, 1769, 202, 202, 2211, 18, 18704, 694, 273, 5805, 694, 31, 202, 202, 2211, 18, 2956, 559, 273, 21427, 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 ]
RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuby(), getDoubleValue()).op_plus(other); } return bigNorm(getRuby(), getValue().add(bigIntValue(other))); }
RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuby(), getDoubleValue()).op_plus(other); } return bigNorm(getRuby(), getValue().add(bigIntValue(other))); }
public RubyNumeric op_plus(RubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuby(), getDoubleValue()).op_plus(other); } return bigNorm(getRuby(), getValue().add(bigIntValue(other))); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/1cc89bd397c0f049e6fa3045916fd6d9a3cdada8/RubyBignum.java/buggy/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 10103, 12, 54, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 556, 67, 10103, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 54, 10340, 9334, 2366, 7675, 1289, 12, 14002, 1702, 620, 12, 3011, 3719, 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, 19817, 9902, 1061, 67, 10103, 12, 54, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 556, 67, 10103, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 54, 10340, 9334, 2366, 7675, 1289, 12, 14002, 1702, 620, 12, 3011, 3719, 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 ]
servant.removeCodomainMap(mapCtx);
servant.setActive(w, active);
public void doCall() { servant.removeCodomainMap(mapCtx); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/de5b83ecccd54946c2125525e83cea40c4c4dd36/RenderingControlProxy.java/clean/SRC/org/openmicroscopy/shoola/env/rnd/RenderingControlProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 741, 1477, 1435, 288, 4697, 202, 550, 7445, 18, 4479, 29633, 1530, 863, 12, 1458, 6442, 1769, 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, 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, 1875, 202, 482, 918, 741, 1477, 1435, 288, 4697, 202, 550, 7445, 18, 4479, 29633, 1530, 863, 12, 1458, 6442, 1769, 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, -100 ]
bug = BugzillaRepositoryUtil.getBug(hit.getServer(), hit.getId());
bug = BugzillaRepositoryUtil.getBug(hit.getRepository(), hit.getId());
public BugReport getBug() throws MalformedURLException, LoginException, IOException { if (bug == null) { // get the bug report bug = BugzillaRepositoryUtil.getBug(hit.getServer(), hit.getId()); } return bug; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b380ea052e535a9796ce74a73e94c971859b45d0/BugzillaReportNode.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaReportNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 4820, 2882, 637, 1435, 1216, 20710, 16, 11744, 503, 16, 1860, 288, 202, 202, 430, 261, 925, 422, 446, 13, 288, 1082, 202, 759, 336, 326, 7934, 2605, 1082, 202, 925, 273, 16907, 15990, 3305, 1304, 18, 588, 19865, 12, 15989, 18, 588, 2081, 9334, 6800, 18, 26321, 10663, 202, 202, 97, 202, 202, 2463, 7934, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 16907, 4820, 2882, 637, 1435, 1216, 20710, 16, 11744, 503, 16, 1860, 288, 202, 202, 430, 261, 925, 422, 446, 13, 288, 1082, 202, 759, 336, 326, 7934, 2605, 1082, 202, 925, 273, 16907, 15990, 3305, 1304, 18, 588, 19865, 12, 15989, 18, 588, 2081, 9334, 6800, 18, 26321, 10663, 202, 202, 97, 202, 202, 2463, 7934, 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 ]
return Argo.localize("UMLMenu", "dialog.title.add-associated-usecases"); }
return Argo.localize("UMLMenu", "dialog.title.add-associated-usecases"); }
protected String getAddDialogTitle() { return Argo.localize("UMLMenu", "dialog.title.add-associated-usecases"); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLUseCaseAssociationListModel.java/clean/src_new/org/argouml/uml/ui/behavior/use_cases/UMLUseCaseAssociationListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 336, 986, 6353, 4247, 1435, 288, 202, 202, 2463, 1201, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 12730, 18, 2649, 18, 1289, 17, 28441, 17, 1202, 22186, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 336, 986, 6353, 4247, 1435, 288, 202, 202, 2463, 1201, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 12730, 18, 2649, 18, 1289, 17, 28441, 17, 1202, 22186, 8863, 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 ]
Picture p = mAlbum.getPicture( index );
Picture p = getCurrentAlbum().getPicture( index );
public Component getListCellRendererComponent( JList list, Object value, int index, boolean selected, boolean hasFocus ) { super.getListCellRendererComponent( list, value, index, selected, hasFocus ); if (value != null && index != -1) { Picture p = mAlbum.getPicture( index ); File f = p.getSource(); if ( GalleryRemote.getInstance().properties.getShowThumbnails() ) { ImageIcon icon = getThumbnail( p ); setIcon( icon ); setIconTextGap( 4 + GalleryRemote.getInstance().properties.getThumbnailSize().width - icon.getIconWidth() ); } StringBuffer text = new StringBuffer(); text.append("<html><p>"); text.append(f.getName()); if ( GalleryRemote.getInstance().properties.getShowPath() ) { text.append(" [").append(f.getParent()).append("]</p>"); } if (p.getCaption() != null) { text.append("<p><font color=\"gray\">").append(p.getEscapedCaption()).append("</font></p>"); } text.append("</html>"); //Log.log(Log.TRACE, MODULE, text.toString()); setText( text.toString() ); } else { setText("dummy"); } return this; }
9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/d38b36bd8d592825505f09f643524173c9dfac53/MainFrame.java/buggy/com/gallery/GalleryRemote/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 5435, 10033, 4020, 6747, 1841, 12, 9506, 202, 46, 682, 666, 16, 1033, 460, 16, 509, 770, 16, 9506, 202, 6494, 3170, 16, 1250, 711, 9233, 262, 288, 1082, 202, 9565, 18, 588, 682, 4020, 6747, 1841, 12, 666, 16, 460, 16, 770, 16, 3170, 16, 711, 9233, 11272, 1082, 202, 430, 261, 1132, 480, 446, 597, 770, 480, 300, 21, 13, 288, 9506, 202, 24061, 293, 273, 312, 30330, 18, 588, 24061, 12, 770, 11272, 9506, 202, 812, 284, 273, 293, 18, 588, 1830, 5621, 9506, 202, 430, 261, 31398, 5169, 18, 588, 1442, 7675, 4738, 18, 588, 5706, 16270, 87, 1435, 262, 288, 6862, 202, 2040, 5554, 4126, 273, 336, 16270, 12, 293, 11272, 6862, 202, 542, 5554, 12, 4126, 11272, 6862, 202, 542, 5554, 1528, 14001, 12, 1059, 397, 31398, 5169, 18, 588, 1442, 7675, 4738, 18, 588, 16270, 1225, 7675, 2819, 300, 4126, 18, 588, 5554, 2384, 1435, 11272, 9506, 202, 97, 9506, 202, 780, 1892, 977, 273, 394, 6674, 5621, 9506, 202, 955, 18, 6923, 2932, 32, 2620, 4438, 84, 2984, 1769, 9506, 202, 955, 18, 6923, 12, 74, 18, 17994, 10663, 9506, 202, 430, 261, 31398, 5169, 18, 588, 1442, 7675, 4738, 18, 588, 5706, 743, 1435, 262, 288, 6862, 202, 955, 18, 6923, 2932, 8247, 2934, 6923, 12, 74, 18, 588, 3054, 1435, 2934, 6923, 2932, 65, 1757, 84, 2984, 1769, 9506, 202, 97, 9506, 202, 430, 261, 84, 18, 588, 21158, 1435, 480, 446, 13, 288, 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, 5435, 10033, 4020, 6747, 1841, 12, 9506, 202, 46, 682, 666, 16, 1033, 460, 16, 509, 770, 16, 9506, 202, 6494, 3170, 16, 1250, 711, 9233, 262, 288, 1082, 202, 9565, 18, 588, 682, 4020, 6747, 1841, 12, 666, 16, 460, 16, 770, 16, 3170, 16, 711, 9233, 11272, 1082, 202, 430, 261, 1132, 480, 446, 597, 770, 480, 300, 21, 13, 288, 9506, 202, 24061, 293, 273, 312, 30330, 18, 588, 24061, 12, 770, 11272, 9506, 202, 812, 284, 273, 293, 18, 588, 1830, 5621, 9506, 202, 430, 261, 31398, 5169, 18, 588, 1442, 7675, 4738, 18, 588, 5706, 16270, 87, 1435, 262, 288, 6862, 202, 2040, 5554, 4126, 273, 336, 16270, 12, 293, 11272, 2 ]
Rectangle2D glyphBounds = tempLogicalBounds[i].getBounds2D();
Rectangle2D glyphBounds = tempLogicalBounds[i].getBounds2D();
private void computeGlyphLogicalBounds() { GVTLineMetrics lineMetrics = gvtFont.getLineMetrics("By", awtGlyphVector.getFontRenderContext()); float ascent = lineMetrics.getAscent() * scaleFactor; float descent = lineMetrics.getDescent() * scaleFactor; Shape[] tempLogicalBounds = new Shape[getNumGlyphs()]; boolean[] rotated = new boolean[getNumGlyphs()]; double maxWidth = -1; double maxHeight = -1; for (int i = 0; i < getNumGlyphs(); i++) { if (glyphVisible[i]) { AffineTransform glyphTransform = getGlyphTransform(i); if (glyphTransform == null) { GVTGlyphMetrics glyphMetrics = getGlyphMetrics(i); float glyphX = (float)(getGlyphPosition(i).getX()); float glyphY = (float)getGlyphPosition(i).getY() - ascent; float glyphWidth = glyphMetrics.getHorizontalAdvance(); float glyphHeight = glyphMetrics.getVerticalAdvance(); tempLogicalBounds[i] = new Rectangle2D.Double(glyphX, glyphY, glyphWidth, glyphHeight); if (glyphWidth > maxWidth) maxWidth = glyphWidth; if (glyphHeight > maxHeight) maxHeight = glyphHeight; rotated[i] = false; } else { // the glyph is transformed Shape glyphOutline = awtGlyphVector.getGlyphOutline(i); Rectangle2D glyphBounds = glyphOutline.getBounds2D(); // store three corner points so we can determine whether the glyph is rotated Point2D p1 = new Point2D.Double(glyphBounds.getMinX(), glyphBounds.getMinY()); Point2D p2 = new Point2D.Double(glyphBounds.getMaxX(), glyphBounds.getMinY()); Point2D p3 = new Point2D.Double(glyphBounds.getMinX(), glyphBounds.getMaxY()); AffineTransform tr = AffineTransform.getTranslateInstance(getGlyphPosition(i).getX(), getGlyphPosition(i).getY()); tr.concatenate(glyphTransform); tr.scale(scaleFactor, scaleFactor); tempLogicalBounds[i] = tr.createTransformedShape(glyphBounds); Point2D tp1 = new Point2D.Double(); Point2D tp2 = new Point2D.Double(); Point2D tp3 = new Point2D.Double(); tr.transform(p1, tp1); tr.transform(p2, tp2); tr.transform(p3, tp3); if ((Math.abs(tp1.getX() - tp2.getX()) < 0.001 || Math.abs(tp1.getX() - tp3.getX()) < 0.001) && (Math.abs(tp1.getY() - tp2.getY()) < 0.001 || Math.abs(tp1.getY() - tp3.getY()) < 0.001)) { rotated[i] = false; } else { rotated[i] = true; } if (glyphBounds.isEmpty()) { if (i > 0) { // can't tell if rotated or not, make it the same as the // previous glyph rotated[i] = rotated[i-1]; } else { rotated[i] = true; } } Rectangle2D rectBounds = tempLogicalBounds[i].getBounds2D(); if (rectBounds.getWidth() > maxWidth) maxWidth = rectBounds.getWidth(); if (rectBounds.getHeight() > maxHeight) maxHeight = rectBounds.getHeight(); } } else { // the glyph is not drawn tempLogicalBounds[i] = null; } } // if appropriate, join adjacent glyph logical bounds GeneralPath logicalBoundsPath = new GeneralPath(); for (int i = 0; i < getNumGlyphs(); i++) { if (tempLogicalBounds[i] != null) { logicalBoundsPath.append(tempLogicalBounds[i], false); } } Rectangle2D fullBounds = logicalBoundsPath.getBounds2D(); if (fullBounds.getHeight() < maxHeight*1.5) { // make all glyphs tops and bottoms the same as the full bounds for (int i = 0; i < getNumGlyphs(); i++) { // first make sure that the glyph logical bounds are not rotated if (!rotated[i] && tempLogicalBounds[i] != null) { Rectangle2D glyphBounds = tempLogicalBounds[i].getBounds2D(); double x = glyphBounds.getMinX(); double width = glyphBounds.getWidth(); if (i < getNumGlyphs()-1 && tempLogicalBounds[i+1] != null) { // make this glyph extend to the start of the next one Rectangle2D nextGlyphBounds = tempLogicalBounds[i+1].getBounds2D(); if (nextGlyphBounds.getX() > x) { // going left to right width = nextGlyphBounds.getX() - x; } else { double newGlyphX = nextGlyphBounds.getX() + nextGlyphBounds.getWidth(); width += (x - newGlyphX); x = newGlyphX; } } tempLogicalBounds[i] = new Rectangle2D.Double(x, fullBounds.getMinY(), width, fullBounds.getHeight()); } } } if (fullBounds.getWidth() < maxWidth*1.5) { // make all glyphs left and right edges the same as the full bounds for (int i = 0; i < getNumGlyphs(); i++) { // first make sure that the glyph logical bounds are not rotated if (!rotated[i] && tempLogicalBounds[i] != null) { Rectangle2D glyphBounds = tempLogicalBounds[i].getBounds2D(); double y = glyphBounds.getMinY(); double height = glyphBounds.getHeight(); if (i < getNumGlyphs()-1 && tempLogicalBounds[i+1] != null) { // make this glyph extend to the start of the next one Rectangle2D nextGlyphBounds = tempLogicalBounds[i+1].getBounds2D(); if (nextGlyphBounds.getY() > y) { // going top to bottom height = nextGlyphBounds.getY() - y; } else { double newGlyphY = nextGlyphBounds.getY() + nextGlyphBounds.getHeight(); height += (y - newGlyphY); y = newGlyphY; } } tempLogicalBounds[i] = new Rectangle2D.Double(fullBounds.getMinX(), y, fullBounds.getWidth(), height); } } } for (int i = 0; i < getNumGlyphs(); i++) { glyphLogicalBounds[i] = tempLogicalBounds[i]; } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/32fa5d6f134dbc7519ade5bde79d3c0386deef5e/AWTGVTGlyphVector.java/buggy/sources/org/apache/batik/gvt/font/AWTGVTGlyphVector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3671, 15141, 17955, 5694, 1435, 288, 3639, 611, 58, 56, 1670, 5653, 980, 5653, 273, 11404, 88, 5711, 18, 588, 1670, 5653, 2932, 858, 3113, 8237, 15141, 5018, 18, 588, 5711, 3420, 1042, 10663, 3639, 1431, 487, 2998, 273, 980, 5653, 18, 588, 13665, 319, 1435, 380, 3159, 6837, 31, 3639, 1431, 3044, 319, 273, 980, 5653, 18, 588, 4217, 319, 1435, 380, 3159, 6837, 31, 3639, 12383, 8526, 1906, 17955, 5694, 273, 394, 12383, 63, 588, 2578, 25399, 1435, 15533, 3639, 1250, 8526, 22864, 273, 394, 1250, 63, 588, 2578, 25399, 1435, 15533, 3639, 1645, 17681, 273, 300, 21, 31, 3639, 1645, 23185, 273, 300, 21, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 11187, 25399, 5621, 277, 27245, 288, 5411, 309, 261, 19426, 6207, 63, 77, 5717, 288, 7734, 23906, 558, 4059, 9440, 4059, 273, 7162, 6451, 4059, 12, 77, 1769, 7734, 309, 261, 19426, 4059, 422, 446, 13, 288, 10792, 611, 58, 56, 15141, 5653, 9440, 5653, 273, 7162, 6451, 5653, 12, 77, 1769, 10792, 1431, 9440, 60, 273, 261, 5659, 21433, 588, 15141, 2555, 12, 77, 2934, 588, 60, 10663, 10792, 1431, 9440, 61, 273, 225, 261, 5659, 13, 588, 15141, 2555, 12, 77, 2934, 588, 61, 1435, 300, 487, 2998, 31, 10792, 1431, 9440, 2384, 273, 9440, 5653, 18, 588, 14457, 1871, 5882, 5621, 10792, 1431, 9440, 2686, 273, 9440, 5653, 18, 588, 15704, 1871, 5882, 5621, 10792, 1906, 17955, 5694, 63, 77, 65, 273, 394, 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, 3671, 15141, 17955, 5694, 1435, 288, 3639, 611, 58, 56, 1670, 5653, 980, 5653, 273, 11404, 88, 5711, 18, 588, 1670, 5653, 2932, 858, 3113, 8237, 15141, 5018, 18, 588, 5711, 3420, 1042, 10663, 3639, 1431, 487, 2998, 273, 980, 5653, 18, 588, 13665, 319, 1435, 380, 3159, 6837, 31, 3639, 1431, 3044, 319, 273, 980, 5653, 18, 588, 4217, 319, 1435, 380, 3159, 6837, 31, 3639, 12383, 8526, 1906, 17955, 5694, 273, 394, 12383, 63, 588, 2578, 25399, 1435, 15533, 3639, 1250, 8526, 22864, 273, 394, 1250, 63, 588, 2578, 25399, 1435, 15533, 3639, 1645, 17681, 273, 300, 21, 31, 3639, 1645, 23185, 273, 300, 21, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 2 ]
String[] phoneString = { (String) fieldValues.get(homePhoneFieldName), (String) fieldValues.get(workPhoneFieldName), (String) fieldValues.get(mobilePhoneFieldName), (String) fieldValues.get(faxPhoneFieldName)}; String[] phoneTypeString = { (String) fieldValues.get(homePhoneMenuName), (String) fieldValues.get(workPhoneMenuName), (String) fieldValues.get(mobilePhoneMenuName), (String) fieldValues.get(faxPhoneMenuName)};
String[] phoneString = {(String) fieldValues.get(homePhoneFieldName), (String) fieldValues.get(workPhoneFieldName), (String) fieldValues.get(mobilePhoneFieldName), (String) fieldValues.get(faxPhoneFieldName)}; String[] phoneTypeString = {(String) fieldValues.get(homePhoneMenuName), (String) fieldValues.get(workPhoneMenuName), (String) fieldValues.get(mobilePhoneMenuName), (String) fieldValues.get(faxPhoneMenuName)};
public boolean store(IWContext iwc) { try { GroupBusiness groupBiz = getGroupBusiness(getEventIWContext()); Group group = groupBiz.getGroupByGroupID(getGroupId()); if (getGroupId() > -1) { String[] phoneString = { (String) fieldValues.get(homePhoneFieldName), (String) fieldValues.get(workPhoneFieldName), (String) fieldValues.get(mobilePhoneFieldName), (String) fieldValues.get(faxPhoneFieldName)}; String[] phoneTypeString = { (String) fieldValues.get(homePhoneMenuName), (String) fieldValues.get(workPhoneMenuName), (String) fieldValues.get(mobilePhoneMenuName), (String) fieldValues.get(faxPhoneMenuName)}; for (int i = 0; i < phoneString.length; i++) { if (phoneString[i] != null && phoneString[i].length() > 0) { getGroupBusiness(iwc).updateGroupPhone(group, Integer.parseInt(phoneTypeString[i]), phoneString[i]); } } if ((String) fieldValues.get(emailFieldName) != null && ((String) fieldValues.get(emailFieldName)).length() > 0) { getGroupBusiness(iwc).updateGroupMail(group, (String) fieldValues.get(emailFieldName)); } } if ((String) fieldValues.get(homepageFieldName) != null && ((String) fieldValues.get(homepageFieldName)).length() > 0) { group.setHomePageURL((String) fieldValues.get(homepageFieldName)); } } catch (Exception e) { e.printStackTrace(System.err); throw new RuntimeException("update group exception"); } return true; }
57353 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57353/3d3a9f8444e1b2e2c1c4c7d5e71a685e7f0aa419/GroupOfficeContactTab.java/buggy/src/java/is/idega/idegaweb/member/presentation/GroupOfficeContactTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1707, 12, 45, 59, 1042, 25522, 71, 13, 288, 202, 202, 698, 288, 1082, 202, 1114, 13423, 1041, 38, 452, 273, 11751, 13423, 12, 588, 1133, 45, 59, 1042, 10663, 1082, 202, 1114, 1041, 273, 1041, 38, 452, 18, 588, 26257, 30876, 12, 588, 8722, 10663, 1082, 202, 430, 261, 588, 8722, 1435, 405, 300, 21, 13, 288, 9506, 202, 780, 8526, 7353, 780, 273, 6862, 202, 95, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 8712, 9451, 7287, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 1252, 9451, 7287, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 18386, 9451, 7287, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 507, 92, 9451, 7287, 16869, 31, 9506, 202, 780, 8526, 7353, 559, 780, 273, 6862, 202, 95, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 8712, 9451, 4599, 461, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 1252, 9451, 4599, 461, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 18386, 9451, 4599, 461, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 507, 92, 9451, 4599, 461, 16869, 31, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 7353, 780, 18, 2469, 31, 277, 27245, 288, 6862, 202, 430, 261, 10540, 780, 63, 77, 65, 480, 446, 597, 7353, 780, 63, 77, 8009, 2469, 1435, 405, 374, 13, 288, 25083, 202, 588, 1114, 13423, 12, 22315, 71, 2934, 2725, 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, 1250, 1707, 12, 45, 59, 1042, 25522, 71, 13, 288, 202, 202, 698, 288, 1082, 202, 1114, 13423, 1041, 38, 452, 273, 11751, 13423, 12, 588, 1133, 45, 59, 1042, 10663, 1082, 202, 1114, 1041, 273, 1041, 38, 452, 18, 588, 26257, 30876, 12, 588, 8722, 10663, 1082, 202, 430, 261, 588, 8722, 1435, 405, 300, 21, 13, 288, 9506, 202, 780, 8526, 7353, 780, 273, 6862, 202, 95, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 8712, 9451, 7287, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 1252, 9451, 7287, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 12, 18386, 9451, 7287, 3631, 25083, 202, 12, 780, 13, 24976, 18, 588, 2 ]
set(parameterIndex, Long.toString(x));
bind(parameterIndex, "'"+Long.toString(x)+"'", PG_INT8);
public void setLong(int parameterIndex, long x) throws SQLException { set(parameterIndex, Long.toString(x)); }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/2232172e447db0224c4ececd148ddf6d6e1e5c84/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3708, 12, 474, 25412, 16, 1525, 619, 13, 1216, 6483, 202, 95, 202, 202, 542, 12, 6775, 1016, 16, 3407, 18, 10492, 12, 92, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3708, 12, 474, 25412, 16, 1525, 619, 13, 1216, 6483, 202, 95, 202, 202, 542, 12, 6775, 1016, 16, 3407, 18, 10492, 12, 92, 10019, 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 ]
{ return m_launcherFrame; }
{ return m_launcherFrame; }
public LauncherFrame getLauncherFrame() { return m_launcherFrame; }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/56d6044f3c26ae582283532b1c4dbc9b76c22921/GameTypePanel.java/clean/src/games/strategy/engine/framework/ui/GameTypePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 14643, 264, 3219, 9014, 4760, 264, 3219, 1435, 225, 288, 565, 327, 312, 67, 20738, 264, 3219, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14643, 264, 3219, 9014, 4760, 264, 3219, 1435, 225, 288, 565, 327, 312, 67, 20738, 264, 3219, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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(test.indexOf(":") != -1 && (test.length() == 4 || test.length() == 5))
if (test.indexOf(":") != -1 && (test.length() == 4 || test.length() == 5))
protected void updateTimeButtons() { Object[] keys = mAvailableActions.keySet().toArray(); ArrayList availableTimeActions = new ArrayList(); for(int i = 0; i < keys.length; i++) { Action action = (Action)mAvailableActions.get(keys[i]); String test = action.getValue(Action.NAME).toString(); if(test.indexOf(":") != -1 && (test.length() == 4 || test.length() == 5)) availableTimeActions.add(keys[i].toString()); } String scrollTo = MainFrame.mLocalizer.msg("menuinfo.scrollTo", "Scroll to") + ": "; // create Time Buttons int[] array = Settings.propTimeButtons.getIntArray(); Action timeButtonAction; for (int i = 0; i < array.length; i++) { int hour = array[i] / 60; final int scrollTime = array[i]; String time = String.valueOf(array[i] % 60); if (time.length() == 1) time = hour + ":0" + time; else time = hour + ":" + time; if(availableTimeActions.contains(new String("#scrollTo" + time))) { availableTimeActions.remove(new String("#scrollTo" + time)); continue; } timeButtonAction = createAction(time, "#scrollTo" + time, scrollTo + time, IconLoader.getInstance() .getIconFromTheme("actions", "go-down", 16), IconLoader.getInstance().getIconFromTheme("actions", "go-down", 22), ToolBar.BUTTON_ACTION, new ActionListener() { public void actionPerformed(ActionEvent e) { MainFrame.getInstance().scrollToTime(scrollTime); } }); mAvailableActions.put("#scrollTo" + time, timeButtonAction); } Iterator it = availableTimeActions.iterator(); while(it.hasNext()) { Action action = (Action)mAvailableActions.remove(it.next()); if(mVisibleActions.contains(action)) mVisibleActions.remove(action); } }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/82613e27f32a4b89f61783e56b109e05d99cb088/DefaultToolBarModel.java/clean/tvbrowser/src/tvbrowser/ui/mainframe/toolbar/DefaultToolBarModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1089, 950, 14388, 1435, 288, 565, 1033, 8526, 1311, 273, 312, 5268, 6100, 18, 856, 694, 7675, 31447, 5621, 565, 2407, 2319, 950, 6100, 273, 394, 2407, 5621, 3639, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1311, 18, 2469, 31, 277, 27245, 288, 1377, 4382, 1301, 273, 261, 1803, 13, 81, 5268, 6100, 18, 588, 12, 2452, 63, 77, 19226, 4202, 514, 1842, 273, 1301, 18, 24805, 12, 1803, 18, 1985, 2934, 10492, 5621, 5411, 309, 261, 3813, 18, 31806, 2932, 2773, 13, 480, 300, 21, 597, 261, 3813, 18, 2469, 1435, 422, 1059, 747, 1842, 18, 2469, 1435, 422, 1381, 3719, 3639, 2319, 950, 6100, 18, 1289, 12, 2452, 63, 77, 8009, 10492, 10663, 565, 289, 3639, 514, 5532, 774, 273, 12740, 3219, 18, 81, 2042, 1824, 18, 3576, 2932, 5414, 1376, 18, 12033, 774, 3113, 315, 6806, 358, 7923, 397, 6398, 13636, 565, 368, 752, 2647, 12569, 87, 565, 509, 8526, 526, 273, 8709, 18, 5986, 950, 14388, 18, 588, 1702, 1076, 5621, 565, 4382, 813, 3616, 1803, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 277, 27245, 288, 1377, 509, 6126, 273, 526, 63, 77, 65, 342, 4752, 31, 1377, 727, 509, 5532, 950, 273, 526, 63, 77, 15533, 1377, 514, 813, 273, 514, 18, 1132, 951, 12, 1126, 63, 77, 65, 738, 4752, 1769, 1377, 309, 261, 957, 18, 2469, 1435, 422, 404, 13, 3639, 813, 273, 6126, 397, 6398, 20, 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, 4750, 918, 1089, 950, 14388, 1435, 288, 565, 1033, 8526, 1311, 273, 312, 5268, 6100, 18, 856, 694, 7675, 31447, 5621, 565, 2407, 2319, 950, 6100, 273, 394, 2407, 5621, 3639, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1311, 18, 2469, 31, 277, 27245, 288, 1377, 4382, 1301, 273, 261, 1803, 13, 81, 5268, 6100, 18, 588, 12, 2452, 63, 77, 19226, 4202, 514, 1842, 273, 1301, 18, 24805, 12, 1803, 18, 1985, 2934, 10492, 5621, 5411, 309, 261, 3813, 18, 31806, 2932, 2773, 13, 480, 300, 21, 597, 261, 3813, 18, 2469, 1435, 422, 1059, 747, 1842, 18, 2469, 1435, 422, 1381, 3719, 3639, 2319, 950, 6100, 18, 1289, 12, 2452, 63, 77, 8009, 10492, 2 ]
if (node == NULL) return EMPTYSTRING;
if ((node == NULL) || (node > _treeNodeLimit)) return EMPTYSTRING;
public String getNodeValue(final int node) { if (node == NULL) return EMPTYSTRING; switch(_type[node]) { case ROOT: return getNodeValue(_offsetOrChild[node]); case TEXT: case COMMENT: case PROCESSING_INSTRUCTION: return makeStringValue(node); default: if (node < _firstAttributeNode) return getElementValue(node); // element string value else return makeStringValue(node); // attribute value } }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/9407e2a16f2ba6b2b5350f6d3a28cbeefd2a4f78/DOMImpl.java/buggy/src/org/apache/xalan/xsltc/dom/DOMImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 28587, 12, 6385, 509, 756, 13, 288, 202, 430, 261, 2159, 422, 3206, 13, 327, 8984, 5804, 31, 202, 9610, 24899, 723, 63, 2159, 5717, 288, 202, 3593, 11011, 30, 202, 565, 327, 28587, 24899, 3348, 1162, 1763, 63, 2159, 19226, 202, 3593, 9204, 30, 202, 3593, 19400, 30, 202, 3593, 20647, 1360, 67, 706, 3902, 27035, 30, 202, 565, 327, 1221, 19733, 12, 2159, 1769, 202, 1886, 30, 202, 565, 309, 261, 2159, 411, 389, 3645, 1499, 907, 13, 202, 202, 2463, 7426, 620, 12, 2159, 1769, 368, 930, 533, 460, 202, 565, 469, 202, 202, 2463, 1221, 19733, 12, 2159, 1769, 368, 1566, 460, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 28587, 12, 6385, 509, 756, 13, 288, 202, 430, 261, 2159, 422, 3206, 13, 327, 8984, 5804, 31, 202, 9610, 24899, 723, 63, 2159, 5717, 288, 202, 3593, 11011, 30, 202, 565, 327, 28587, 24899, 3348, 1162, 1763, 63, 2159, 19226, 202, 3593, 9204, 30, 202, 3593, 19400, 30, 202, 3593, 20647, 1360, 67, 706, 3902, 27035, 30, 202, 565, 327, 1221, 19733, 12, 2159, 1769, 202, 1886, 30, 202, 565, 309, 261, 2159, 411, 389, 3645, 1499, 907, 13, 202, 202, 2463, 7426, 620, 12, 2159, 1769, 368, 930, 533, 460, 202, 565, 469, 202, 202, 2463, 1221, 19733, 12, 2159, 1769, 368, 1566, 460, 202, 97, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
/*if (_model.getDebugManager() != null) { try { _debugPanel = new DebugPanel(_model, this); } catch(NoClassDefFoundError e) { _debugPanel = null; } } else { _debugPanel = null; }*/
private void _setUpTabs() { _outputPane = new OutputPane(_model); _errorPanel = new CompilerErrorPanel(_model, this); _interactionsPane = new InteractionsPane(_model); _findReplace = new FindReplaceDialog(this, _model); // Try to create debug panel (see if JSwat is around) /*if (_model.getDebugManager() != null) { try { _debugPanel = new DebugPanel(_model, this); } catch(NoClassDefFoundError e) { // Don't use the debugger _debugPanel = null; } } else { _debugPanel = null; }*/ final JScrollPane outputScroll = new JScrollPane(_outputPane); _junitPanel = new JUnitPanel(_model, this); _tabbedPane = new JTabbedPane(); if (CodeStatus.DEVELOPMENT) { _tabbedPane.addChangeListener(new ChangeListener () { public void stateChanged(ChangeEvent e) { if (_tabbedPane.getSelectedComponent() == outputScroll) { outputScroll.revalidate(); outputScroll.repaint(); } } }); } _tabbedPane.add("Interactions", new BorderlessScrollPane(_interactionsPane)); _tabbedPane.add("Console", outputScroll); _tabs = new LinkedList(); _tabs.addLast(_errorPanel); _tabs.addLast(_junitPanel); _tabs.addLast(_findReplace); // Show compiler output pane by default showTab(_errorPanel); _tabbedPane.setSelectedIndex(0); // Select interactions pane when interactions tab is selected _tabbedPane.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { if (_tabbedPane.getSelectedIndex() == INTERACTIONS_TAB) { _interactionsPane.requestFocus(); } } }); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9252a1853f289706bd8613c5b3a7e1dae6638ae1/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 542, 1211, 17348, 1435, 288, 565, 389, 2844, 8485, 273, 394, 3633, 8485, 24899, 2284, 1769, 565, 389, 1636, 5537, 273, 394, 12972, 668, 5537, 24899, 2284, 16, 333, 1769, 565, 389, 2761, 4905, 8485, 273, 394, 5294, 4905, 8485, 24899, 2284, 1769, 565, 389, 4720, 5729, 273, 394, 4163, 5729, 6353, 12, 2211, 16, 389, 2284, 1769, 565, 368, 6161, 358, 752, 1198, 6594, 261, 5946, 309, 804, 6050, 270, 353, 6740, 13, 565, 1748, 430, 261, 67, 2284, 18, 588, 2829, 1318, 1435, 480, 446, 13, 288, 1377, 775, 288, 3639, 389, 4148, 5537, 273, 394, 4015, 5537, 24899, 2284, 16, 333, 1769, 1377, 289, 1377, 1044, 12, 2279, 797, 3262, 2043, 668, 425, 13, 288, 3639, 368, 7615, 1404, 999, 326, 19977, 3639, 389, 4148, 5537, 273, 446, 31, 1377, 289, 565, 289, 469, 288, 1377, 389, 4148, 5537, 273, 446, 31, 565, 289, 5549, 565, 727, 804, 26360, 876, 6806, 273, 394, 804, 26360, 24899, 2844, 8485, 1769, 565, 389, 78, 4873, 5537, 273, 394, 804, 2802, 5537, 24899, 2284, 16, 333, 1769, 565, 389, 7032, 2992, 8485, 273, 394, 804, 5661, 2992, 8485, 5621, 565, 309, 261, 1085, 1482, 18, 31771, 52, 3212, 13, 288, 1377, 389, 7032, 2992, 8485, 18, 1289, 15744, 12, 2704, 7576, 2223, 1832, 288, 3639, 1071, 918, 919, 5033, 12, 20930, 425, 13, 288, 1850, 309, 261, 67, 7032, 2992, 8485, 18, 588, 7416, 1841, 1435, 422, 876, 6806, 13, 288, 5411, 876, 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, 389, 542, 1211, 17348, 1435, 288, 565, 389, 2844, 8485, 273, 394, 3633, 8485, 24899, 2284, 1769, 565, 389, 1636, 5537, 273, 394, 12972, 668, 5537, 24899, 2284, 16, 333, 1769, 565, 389, 2761, 4905, 8485, 273, 394, 5294, 4905, 8485, 24899, 2284, 1769, 565, 389, 4720, 5729, 273, 394, 4163, 5729, 6353, 12, 2211, 16, 389, 2284, 1769, 565, 368, 6161, 358, 752, 1198, 6594, 261, 5946, 309, 804, 6050, 270, 353, 6740, 13, 565, 1748, 430, 261, 67, 2284, 18, 588, 2829, 1318, 1435, 480, 446, 13, 288, 1377, 775, 288, 3639, 389, 4148, 5537, 273, 394, 4015, 5537, 24899, 2284, 16, 333, 1769, 1377, 289, 1377, 1044, 12, 2279, 797, 3262, 2043, 668, 2 ]
Reference ref;
public void run() { while(true) { Reference ref; try { ref = queue.remove(); // System.err.println("Cleaned: " + ref); } catch (InterruptedException ie) { continue; } if (ref instanceof ReferenceCleared) { ReferenceCleared rc = (ReferenceCleared)ref; rc.cleared(); } } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/555f41e6ae7a83b0c6d2fd5b62c683f132f9e778/CleanerThread.java/buggy/sources/org/apache/batik/util/CleanerThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1323, 12, 3767, 13, 288, 15604, 775, 288, 7734, 1278, 273, 2389, 18, 4479, 5621, 7734, 368, 2332, 18, 370, 18, 8222, 2932, 7605, 329, 30, 315, 397, 1278, 1769, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 288, 7734, 1324, 31, 5411, 289, 5411, 309, 261, 1734, 1276, 6268, 4756, 2258, 13, 288, 7734, 6268, 4756, 2258, 4519, 273, 261, 2404, 4756, 2258, 13, 1734, 31, 7734, 4519, 18, 2131, 2258, 5621, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 1435, 288, 3639, 1323, 12, 3767, 13, 288, 15604, 775, 288, 7734, 1278, 273, 2389, 18, 4479, 5621, 7734, 368, 2332, 18, 370, 18, 8222, 2932, 7605, 329, 30, 315, 397, 1278, 1769, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 288, 7734, 1324, 31, 5411, 289, 5411, 309, 261, 1734, 1276, 6268, 4756, 2258, 13, 288, 7734, 6268, 4756, 2258, 4519, 273, 261, 2404, 4756, 2258, 13, 1734, 31, 7734, 4519, 18, 2131, 2258, 5621, 5411, 289, 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 ]
return -1;
System.err.println("lastModified"); return System.currentTimeMillis();
protected long getLastModified(HttpServletRequest request) { AbstractExternalizeManager extMgr; try { extMgr = getExternalizeManager(request); } catch (Exception e) { return -1; } String pathInfo = request.getPathInfo(); //System.err.println("LAST MODIFIED: " + pathInfo); if (extMgr != null && pathInfo != null && pathInfo.length() > 1) { String identifier = pathInfo.substring(1); ExternalizedResource info = extMgr.getExternalizedResource(identifier); if (info != null) { //System.err.println(" **>" + info.getLastModified()); return info.getLastModified(); } } return -1; }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/219945c939279377792798b2a84b90d4e451cf78/WingServlet.java/clean/wings/src/org/wings/session/WingServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1525, 27068, 12, 2940, 18572, 590, 13, 288, 3639, 4115, 6841, 554, 1318, 1110, 9455, 31, 3639, 775, 288, 5411, 1110, 9455, 273, 22319, 554, 1318, 12, 2293, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 2722, 4575, 8863, 327, 2332, 18, 2972, 28512, 5621, 3639, 289, 3639, 514, 17058, 273, 590, 18, 588, 743, 966, 5621, 3639, 368, 3163, 18, 370, 18, 8222, 2932, 14378, 8663, 13519, 30, 315, 397, 17058, 1769, 3639, 309, 261, 408, 9455, 480, 446, 597, 17058, 480, 446, 597, 17058, 18, 2469, 1435, 405, 404, 13, 288, 5411, 514, 2756, 273, 17058, 18, 28023, 12, 21, 1769, 5411, 11352, 1235, 1420, 1123, 273, 1110, 9455, 18, 588, 6841, 1235, 1420, 12, 5644, 1769, 5411, 309, 261, 1376, 480, 446, 13, 288, 7734, 368, 3163, 18, 370, 18, 8222, 2932, 225, 2826, 2984, 397, 1123, 18, 588, 14747, 10663, 7734, 327, 1123, 18, 588, 14747, 5621, 5411, 289, 3639, 289, 3639, 2332, 18, 370, 18, 8222, 2932, 2722, 4575, 8863, 327, 2332, 18, 2972, 28512, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1525, 27068, 12, 2940, 18572, 590, 13, 288, 3639, 4115, 6841, 554, 1318, 1110, 9455, 31, 3639, 775, 288, 5411, 1110, 9455, 273, 22319, 554, 1318, 12, 2293, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 2722, 4575, 8863, 327, 2332, 18, 2972, 28512, 5621, 3639, 289, 3639, 514, 17058, 273, 590, 18, 588, 743, 966, 5621, 3639, 368, 3163, 18, 370, 18, 8222, 2932, 14378, 8663, 13519, 30, 315, 397, 17058, 1769, 3639, 309, 261, 408, 9455, 480, 446, 597, 17058, 480, 446, 597, 17058, 18, 2469, 1435, 405, 404, 13, 288, 5411, 514, 2756, 273, 17058, 18, 28023, 12, 21, 1769, 5411, 11352, 1235, 1420, 1123, 2 ]
public void setTo(JID to) { setTo(to.toString());
public void setTo(String to) { element.addAttribute("to", to);
public void setTo(JID to) { setTo(to.toString()); }
8076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8076/103f02e5da18a913a9f4fab3518b65ae15b36472/Packet.java/buggy/source/java/org/xmpp/packet/Packet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19892, 12, 46, 734, 358, 13, 288, 3639, 19892, 12, 869, 18, 10492, 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, 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, 918, 19892, 12, 46, 734, 358, 13, 288, 3639, 19892, 12, 869, 18, 10492, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
attachment = new ReportAttachment();
attachment = new RepositoryAttachment(attributeFactory);
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { characters = new StringBuffer(); BugzillaReportElement tag = BugzillaReportElement.UNKNOWN; try { tag = BugzillaReportElement.valueOf(localName.trim().toUpperCase()); } catch (RuntimeException e) { if (e instanceof IllegalArgumentException) { // ignore unrecognized tags return; } throw e; } switch (tag) { case BUGZILLA: // Note: here we can get the bugzilla version if necessary break; case BUG: if (attributes != null && (attributes.getValue("error") != null)) { errorMessage = attributes.getValue("error"); } break; case LONG_DESC: comment = new Comment(report, commentNum++); break; case ATTACHMENT: attachment = new ReportAttachment(); if (attributes != null && (attributes.getValue(BugzillaReportElement.IS_OBSOLETE.getKeyString()) != null)) { attachment.addAttribute(BugzillaReportElement.IS_OBSOLETE, new RepositoryTaskAttribute( BugzillaReportElement.IS_OBSOLETE)); } break; } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d6adf902ecafbef942349464348e4435750dd099/SaxBugReportContentHandler.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxBugReportContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 202, 202, 20558, 273, 394, 6674, 5621, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 62, 2627, 2534, 30, 1082, 202, 759, 3609, 30, 2674, 732, 848, 336, 326, 7934, 15990, 1177, 309, 4573, 1082, 202, 8820, 31, 202, 202, 3593, 10937, 43, 30, 1082, 202, 430, 261, 4350, 480, 446, 597, 261, 4350, 18, 24805, 2932, 1636, 7923, 480, 446, 3719, 288, 9506, 202, 1636, 1079, 273, 1677, 18, 24805, 2932, 1636, 8863, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 3593, 14011, 67, 10964, 30, 1082, 202, 3469, 273, 394, 9821, 12, 6006, 16, 2879, 2578, 9904, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 7907, 18133, 3212, 30, 1082, 202, 11461, 273, 394, 8706, 6803, 5621, 1082, 202, 430, 261, 4350, 480, 446, 597, 261, 4350, 18, 24805, 12, 19865, 15990, 4820, 1046, 18, 5127, 67, 5704, 3584, 4311, 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, 225, 202, 482, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 202, 202, 20558, 273, 394, 6674, 5621, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 62, 2 ]
public static ToHitData toHit(IGame game, int attackerId, Targetable target, Mounted club) { final Entity ae = game.getEntity(attackerId); if (ae == null || target == null) { throw new IllegalArgumentException("Attacker or target not valid"); } if (club == null) { throw new IllegalArgumentException("Club is null"); } if (club.getType() == null) { throw new IllegalArgumentException("Club type is null"); } String impossible = toHitIsImpossible(game, ae, target); if(impossible != null) { return new ToHitData(ToHitData.IMPOSSIBLE, impossible); } if (!(ae instanceof Mech)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Non-mechs can't club"); } if (ae.entityIsQuad()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Attacker is a quad"); } IHex attHex = game.getBoard().getHex(ae.getPosition()); IHex targHex = game.getBoard().getHex(target.getPosition()); final int attackerElevation = ae.getElevation() + attHex.getElevation(); final int attackerHeight = attackerElevation + ae.height(); final int targetElevation = target.getElevation() + targHex.getElevation(); final int targetHeight = targetElevation + target.getHeight(); final boolean bothArms = (club.getType().hasFlag(MiscType.F_CLUB) && ((MiscType)club.getType()).hasSubType(MiscType.S_CLUB)); final boolean hasClaws = ( ((BipedMech)ae).hasClaw(Mech.LOC_RARM) || ((BipedMech)ae).hasClaw(Mech.LOC_LARM) ); final boolean shield = ((MiscType)club.getType()).isShield(); ToHitData toHit; if (bothArms) { if (ae.isLocationBad(Mech.LOC_RARM) || ae.isLocationBad(Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Arm missing"); } if (ae.weaponFiredFrom(Mech.LOC_RARM) || ae.weaponFiredFrom(Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Weapons fired from arm this turn"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_RARM) || !ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Shoulder actuator destroyed"); } if ( (!ae.hasWorkingSystem(Mech.ACTUATOR_HAND, Mech.LOC_RARM) || !ae.hasWorkingSystem(Mech.ACTUATOR_HAND, Mech.LOC_LARM)) && !hasClaws) { return new ToHitData(ToHitData.IMPOSSIBLE, "Hand actuator destroyed"); } } else if (shield) { if (!ae.hasPassiveShield(club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Shield not in passive mode"); } } else { if (ae.isLocationBad(club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Arm missing"); } if (ae.weaponFiredFrom(club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Weapons fired from arm this turn"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Shoulder actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_HAND, club.getLocation()) && !hasClaws) { return new ToHitData(ToHitData.IMPOSSIBLE, "Hand actuator destroyed"); } } if (!shield && ae.getBadCriticals(CriticalSlot.TYPE_EQUIPMENT, ae.getEquipmentNum(club), club.getLocation()) > 0) { return new ToHitData(ToHitData.IMPOSSIBLE, "Club is damaged"); } int targetMaxElevation = attackerHeight; if(target instanceof VTOL) { targetMaxElevation ++; } if (targetHeight < attackerElevation || targetElevation > targetMaxElevation) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target elevation not in range"); } int clubArc = bothArms ? Compute.ARC_FORWARD : (club.getLocation() == Mech.LOC_LARM ? Compute.ARC_LEFTARM : Compute.ARC_RIGHTARM); if ( !Compute.isInArc( ae.getPosition(), ae.getSecondaryFacing(), target.getPosition(), clubArc ) ) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target not in arc"); } if (ae.isProne()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Attacker is prone"); } if ( target.getTargetType() == Targetable.TYPE_BUILDING || target instanceof GunEmplacement ) { return new ToHitData( ToHitData.AUTOMATIC_SUCCESS, "Targeting adjacent building." ); } int base = 4; if ( game.getOptions().booleanOption("maxtech_physical_BTH") ) { base = ae.getCrew().getPiloting() - 1; } if (((MiscType)club.getType()).hasSubType(MiscType.S_SWORD)) { base -= 1; } else if ((((MiscType)club.getType()).hasSubType(MiscType.S_DUAL_SAW)) || (((MiscType)club.getType()).hasSubType(MiscType.S_CHAINSAW))) { base += 1; } else if ((((MiscType)club.getType()).hasSubType(MiscType.S_MACE_THB)) || (((MiscType)club.getType()).hasSubType(MiscType.S_MACE)) || (((MiscType)club.getType()).hasSubType(MiscType.S_BACKHOE))) { base += 2; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_PILE_DRIVER)) { base += 3; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_SHIELD_LARGE)) { base -= 3; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_SHIELD_MEDIUM)) { base -= 2; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_SHIELD_SMALL)) { base -= 1; } toHit = new ToHitData(base, "base"); setCommonModifiers(toHit, game, ae, target); if (bothArms) { if (!ae.hasWorkingSystem(Mech.ACTUATOR_UPPER_ARM, Mech.LOC_RARM)) { toHit.addModifier(2, "Upper arm actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_UPPER_ARM, Mech.LOC_LARM)) { toHit.addModifier(2, "Upper arm actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_LOWER_ARM, Mech.LOC_RARM)) { toHit.addModifier(2, "Lower arm actuator missing or destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_LOWER_ARM, Mech.LOC_LARM)) { toHit.addModifier(2, "Lower arm actuator missing or destroyed"); } if (hasClaws) { toHit.addModifier(2, "Mek has claws"); } } else { if (!ae.hasWorkingSystem(Mech.ACTUATOR_UPPER_ARM, club.getLocation())) { toHit.addModifier(2, "Upper arm actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_LOWER_ARM, club.getLocation())) { toHit.addModifier(2, "Lower arm actuator missing or destroyed"); } if (hasClaws) { toHit.addModifier(2, "Mek has claws"); } } if (attackerElevation == targetElevation) { if (shield) toHit.setHitTable(ToHitData.HIT_PUNCH); else toHit.setHitTable(ToHitData.HIT_NORMAL); } else if (attackerElevation < targetElevation) { if (target.getHeight() == 0) { if (shield ) toHit.setHitTable(ToHitData.HIT_PUNCH); else toHit.setHitTable(ToHitData.HIT_NORMAL); } else { toHit.setHitTable(ToHitData.HIT_KICK); } } else { toHit.setHitTable(ToHitData.HIT_PUNCH); } toHit.setSideTable(Compute.targetSideTable(ae,target)); return toHit;
public ToHitData toHit(IGame game) { return toHit(game, getEntityId(), game.getTarget(getTargetType(), getTargetId()), getClub());
public static ToHitData toHit(IGame game, int attackerId, Targetable target, Mounted club) { final Entity ae = game.getEntity(attackerId); // arguments legal? if (ae == null || target == null) { throw new IllegalArgumentException("Attacker or target not valid"); } if (club == null) { throw new IllegalArgumentException("Club is null"); } if (club.getType() == null) { throw new IllegalArgumentException("Club type is null"); } String impossible = toHitIsImpossible(game, ae, target); if(impossible != null) { return new ToHitData(ToHitData.IMPOSSIBLE, impossible); } // non-mechs can't club if (!(ae instanceof Mech)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Non-mechs can't club"); } //Quads can't club if (ae.entityIsQuad()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Attacker is a quad"); } IHex attHex = game.getBoard().getHex(ae.getPosition()); IHex targHex = game.getBoard().getHex(target.getPosition()); final int attackerElevation = ae.getElevation() + attHex.getElevation(); final int attackerHeight = attackerElevation + ae.height(); final int targetElevation = target.getElevation() + targHex.getElevation(); final int targetHeight = targetElevation + target.getHeight(); final boolean bothArms = (club.getType().hasFlag(MiscType.F_CLUB) && ((MiscType)club.getType()).hasSubType(MiscType.S_CLUB)); final boolean hasClaws = ( ((BipedMech)ae).hasClaw(Mech.LOC_RARM) || ((BipedMech)ae).hasClaw(Mech.LOC_LARM) ); final boolean shield = ((MiscType)club.getType()).isShield(); ToHitData toHit; if (bothArms) { // check if both arms are present & operational if (ae.isLocationBad(Mech.LOC_RARM) || ae.isLocationBad(Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Arm missing"); } // check if attacker has fired arm-mounted weapons if (ae.weaponFiredFrom(Mech.LOC_RARM) || ae.weaponFiredFrom(Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Weapons fired from arm this turn"); } // need shoulder and hand actuators if (!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_RARM) || !ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Shoulder actuator destroyed"); } if ( (!ae.hasWorkingSystem(Mech.ACTUATOR_HAND, Mech.LOC_RARM) || !ae.hasWorkingSystem(Mech.ACTUATOR_HAND, Mech.LOC_LARM)) && !hasClaws) { return new ToHitData(ToHitData.IMPOSSIBLE, "Hand actuator destroyed"); } } else if (shield) { if (!ae.hasPassiveShield(club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Shield not in passive mode"); } } else { // check if arm is present if (ae.isLocationBad(club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Arm missing"); } // check if attacker has fired arm-mounted weapons if (ae.weaponFiredFrom(club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Weapons fired from arm this turn"); } // need shoulder and hand actuators if (!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, club.getLocation())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Shoulder actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_HAND, club.getLocation()) && !hasClaws) { return new ToHitData(ToHitData.IMPOSSIBLE, "Hand actuator destroyed"); } } // club must not be damaged if (!shield && ae.getBadCriticals(CriticalSlot.TYPE_EQUIPMENT, ae.getEquipmentNum(club), club.getLocation()) > 0) { return new ToHitData(ToHitData.IMPOSSIBLE, "Club is damaged"); } // check elevation (target must be within one level, except for VTOL) int targetMaxElevation = attackerHeight; if(target instanceof VTOL) { targetMaxElevation ++; } if (targetHeight < attackerElevation || targetElevation > targetMaxElevation) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target elevation not in range"); } // check facing int clubArc = bothArms ? Compute.ARC_FORWARD : (club.getLocation() == Mech.LOC_LARM ? Compute.ARC_LEFTARM : Compute.ARC_RIGHTARM); if ( !Compute.isInArc( ae.getPosition(), ae.getSecondaryFacing(), target.getPosition(), clubArc ) ) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target not in arc"); } // can't club while prone if (ae.isProne()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Attacker is prone"); } // Attacks against adjacent buildings automatically hit. if ( target.getTargetType() == Targetable.TYPE_BUILDING || target instanceof GunEmplacement ) { return new ToHitData( ToHitData.AUTOMATIC_SUCCESS, "Targeting adjacent building." ); } //Set the base BTH int base = 4; if ( game.getOptions().booleanOption("maxtech_physical_BTH") ) { base = ae.getCrew().getPiloting() - 1; } // Various versions of physical weapons have different base bonuses and penalties. if (((MiscType)club.getType()).hasSubType(MiscType.S_SWORD)) { base -= 1; } else if ((((MiscType)club.getType()).hasSubType(MiscType.S_DUAL_SAW)) || (((MiscType)club.getType()).hasSubType(MiscType.S_CHAINSAW))) { base += 1; } else if ((((MiscType)club.getType()).hasSubType(MiscType.S_MACE_THB)) || (((MiscType)club.getType()).hasSubType(MiscType.S_MACE)) || (((MiscType)club.getType()).hasSubType(MiscType.S_BACKHOE))) { base += 2; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_PILE_DRIVER)) { base += 3; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_SHIELD_LARGE)) { base -= 3; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_SHIELD_MEDIUM)) { base -= 2; } else if (((MiscType)club.getType()).hasSubType(MiscType.S_SHIELD_SMALL)) { base -= 1; } toHit = new ToHitData(base, "base"); setCommonModifiers(toHit, game, ae, target); // damaged or missing actuators if (bothArms) { if (!ae.hasWorkingSystem(Mech.ACTUATOR_UPPER_ARM, Mech.LOC_RARM)) { toHit.addModifier(2, "Upper arm actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_UPPER_ARM, Mech.LOC_LARM)) { toHit.addModifier(2, "Upper arm actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_LOWER_ARM, Mech.LOC_RARM)) { toHit.addModifier(2, "Lower arm actuator missing or destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_LOWER_ARM, Mech.LOC_LARM)) { toHit.addModifier(2, "Lower arm actuator missing or destroyed"); } if (hasClaws) { toHit.addModifier(2, "Mek has claws"); } } else { if (!ae.hasWorkingSystem(Mech.ACTUATOR_UPPER_ARM, club.getLocation())) { toHit.addModifier(2, "Upper arm actuator destroyed"); } if (!ae.hasWorkingSystem(Mech.ACTUATOR_LOWER_ARM, club.getLocation())) { toHit.addModifier(2, "Lower arm actuator missing or destroyed"); } //Rules state +2 bth if your using a club with claws. if (hasClaws) { toHit.addModifier(2, "Mek has claws"); } } // elevation if (attackerElevation == targetElevation) { if (shield) toHit.setHitTable(ToHitData.HIT_PUNCH); else toHit.setHitTable(ToHitData.HIT_NORMAL); } else if (attackerElevation < targetElevation) { if (target.getHeight() == 0) { if (shield ) toHit.setHitTable(ToHitData.HIT_PUNCH); else toHit.setHitTable(ToHitData.HIT_NORMAL); } else { toHit.setHitTable(ToHitData.HIT_KICK); } } else { toHit.setHitTable(ToHitData.HIT_PUNCH); } // factor in target side toHit.setSideTable(Compute.targetSideTable(ae,target)); // done! return toHit; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/9e5c8530da3d1aaa4a48b9b7c6c56bf003fe518b/ClubAttackAction.java/buggy/megamek/src/megamek/common/actions/ClubAttackAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2974, 13616, 751, 358, 13616, 12, 3047, 339, 7920, 16, 509, 13843, 264, 548, 16, 5916, 429, 1018, 16, 13076, 329, 927, 373, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 4558, 484, 264, 548, 1769, 3639, 368, 1775, 19286, 35, 3639, 309, 261, 8906, 422, 446, 747, 1018, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 3075, 484, 264, 578, 1018, 486, 923, 8863, 3639, 289, 3639, 309, 261, 830, 373, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 2009, 373, 353, 446, 8863, 3639, 289, 3639, 309, 261, 830, 373, 18, 588, 559, 1435, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 2009, 373, 618, 353, 446, 8863, 3639, 289, 3639, 514, 23343, 273, 358, 13616, 2520, 1170, 12708, 12, 13957, 16, 14221, 16, 1018, 1769, 3639, 309, 12, 381, 12708, 480, 446, 13, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 23343, 1769, 3639, 289, 3639, 368, 1661, 17, 3501, 343, 87, 848, 1404, 927, 373, 3639, 309, 16051, 12, 8906, 1276, 7499, 343, 3719, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 315, 3989, 17, 3501, 343, 87, 848, 1404, 927, 373, 8863, 3639, 289, 3639, 368, 928, 17318, 848, 1404, 927, 373, 3639, 309, 261, 8906, 18, 1096, 2520, 24483, 10756, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 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, 377, 1071, 760, 2974, 13616, 751, 358, 13616, 12, 3047, 339, 7920, 16, 509, 13843, 264, 548, 16, 5916, 429, 1018, 16, 13076, 329, 927, 373, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 4558, 484, 264, 548, 1769, 3639, 368, 1775, 19286, 35, 3639, 309, 261, 8906, 422, 446, 747, 1018, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 3075, 484, 264, 578, 1018, 486, 923, 8863, 3639, 289, 3639, 309, 261, 830, 373, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 2009, 373, 353, 446, 8863, 3639, 289, 3639, 309, 261, 830, 373, 18, 588, 559, 1435, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 2009, 373, 618, 353, 446, 2 ]
if (fMethod.getDeclaringType().isInterface()){
if (! fMethod.isConstructor() && fMethod.getDeclaringType().isInterface()){
public RefactoringStatus checkActivation(IProgressMonitor pm) throws JavaModelException { IMethod orig= (IMethod)WorkingCopyUtil.getOriginal(fMethod); if (orig == null || ! orig.exists()) return RefactoringStatus.createFatalErrorStatus("The selected method has been deleted from '" + fMethod.getCompilationUnit().getElementName()+ "'."); fMethod= orig; RefactoringStatus result= Checks.checkIfCuBroken(fMethod); if (result.hasFatalError()) return result; if (MethodChecks.isVirtual(fMethod)){ result.merge(MethodChecks.checkIfComesFromInterface(getMethod(), new SubProgressMonitor(pm, 1))); if (result.hasFatalError()) return result; result.merge(MethodChecks.checkIfOverridesAnother(getMethod(), new SubProgressMonitor(pm, 1))); if (result.hasFatalError()) return result; } if (fMethod.getDeclaringType().isInterface()){ result.merge(MethodChecks.checkIfOverridesAnother(getMethod(), new SubProgressMonitor(pm, 1))); if (result.hasFatalError()) return result; } return result; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/60755fb2f4047fdb67f321c49fb537c0abb0b55a/ReorderParametersRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ReorderParametersRefactoring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 868, 3493, 6053, 1482, 866, 14857, 12, 45, 5491, 7187, 7430, 13, 1216, 5110, 1488, 503, 288, 202, 202, 45, 1305, 1647, 33, 261, 45, 1305, 13, 14836, 2951, 1304, 18, 588, 8176, 12, 74, 1305, 1769, 202, 202, 430, 261, 4949, 422, 446, 747, 401, 1647, 18, 1808, 10756, 1082, 202, 2463, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 2932, 1986, 3170, 707, 711, 2118, 4282, 628, 2119, 397, 284, 1305, 18, 588, 19184, 2802, 7675, 21336, 461, 1435, 15, 30156, 1769, 202, 202, 74, 1305, 33, 1647, 31, 25083, 202, 426, 3493, 6053, 1482, 563, 33, 13074, 18, 1893, 2047, 39, 89, 29559, 12, 74, 1305, 1769, 202, 202, 430, 261, 2088, 18, 5332, 19593, 668, 10756, 1082, 202, 2463, 563, 31, 202, 202, 430, 261, 1305, 4081, 18, 291, 6466, 12, 74, 1305, 3719, 95, 1082, 202, 2088, 18, 2702, 12, 1305, 4081, 18, 1893, 2047, 799, 281, 1265, 1358, 12, 588, 1305, 9334, 394, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 430, 261, 2088, 18, 5332, 19593, 668, 10756, 9506, 202, 2463, 563, 31, 6862, 1082, 202, 2088, 18, 2702, 12, 1305, 4081, 18, 1893, 2047, 13084, 37, 24413, 12, 588, 1305, 9334, 394, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 430, 261, 2088, 18, 5332, 19593, 668, 10756, 9506, 202, 2463, 563, 31, 6862, 202, 97, 3196, 202, 430, 261, 74, 1305, 18, 588, 3456, 5968, 559, 7675, 291, 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, 868, 3493, 6053, 1482, 866, 14857, 12, 45, 5491, 7187, 7430, 13, 1216, 5110, 1488, 503, 288, 202, 202, 45, 1305, 1647, 33, 261, 45, 1305, 13, 14836, 2951, 1304, 18, 588, 8176, 12, 74, 1305, 1769, 202, 202, 430, 261, 4949, 422, 446, 747, 401, 1647, 18, 1808, 10756, 1082, 202, 2463, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 2932, 1986, 3170, 707, 711, 2118, 4282, 628, 2119, 397, 284, 1305, 18, 588, 19184, 2802, 7675, 21336, 461, 1435, 15, 30156, 1769, 202, 202, 74, 1305, 33, 1647, 31, 25083, 202, 426, 3493, 6053, 1482, 563, 33, 13074, 18, 1893, 2047, 39, 89, 29559, 12, 74, 1305, 1769, 202, 202, 430, 261, 2088, 2 ]
{ ButtonModel bmodel = null; if (c instanceof AbstractButton) bmodel = ((AbstractButton) c).getModel(); Color darkShadow = MetalLookAndFeel.getControlDarkShadow(); Color shadow = MetalLookAndFeel.getControlShadow(); Color light = MetalLookAndFeel.getControlHighlight(); Color middle = MetalLookAndFeel.getControl(); if (c.isEnabled()) { g.setColor(darkShadow); g.drawRect(x, y, w - 2, h - 2); if (!bmodel.isPressed()) { g.setColor(light); g.drawRect(x + 1, y + 1, w - 2, h - 2); g.setColor(middle); g.drawLine(x + 1, y + h - 2, x + 1, y + h - 2); g.drawLine(x + w - 2, y + 1, x + w - 2, y + 1); } else { g.setColor(light); g.drawLine(x + w - 1, y + 1, x + w - 1, y + h - 1); g.drawLine(x + 1, y + h - 1, x + w - 1, y + h - 1); g.setColor(middle); g.drawLine(x + 1, y + 1, x + w - 2, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 2); g.setColor(shadow); g.drawRect(x + 1, y + h - 2, 0, 0); g.drawRect(x + w - 2, y + 1, 0, 0); } } else { g.setColor(MetalLookAndFeel.getInactiveControlTextColor()); g.drawRect(x, y, w - 2, h - 2); }
paintDefaultButtonBorder(c, g, x, y, w, h);
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { // With the OceanTheme the button border is painted entirely different. // However, I couldn't figure out how this is determined besides checking // for instanceof OceanTheme. The button painting is definitely not // influenced by a UI default property and it is definitely performed // by the same Border class. if (MetalLookAndFeel.getCurrentTheme() instanceof OceanTheme) paintOceanButtonBorder(c, g, x, y, w, h); else { ButtonModel bmodel = null; if (c instanceof AbstractButton) bmodel = ((AbstractButton) c).getModel(); Color darkShadow = MetalLookAndFeel.getControlDarkShadow(); Color shadow = MetalLookAndFeel.getControlShadow(); Color light = MetalLookAndFeel.getControlHighlight(); Color middle = MetalLookAndFeel.getControl(); if (c.isEnabled()) { // draw dark border g.setColor(darkShadow); g.drawRect(x, y, w - 2, h - 2); if (!bmodel.isPressed()) { // draw light border g.setColor(light); g.drawRect(x + 1, y + 1, w - 2, h - 2); // draw crossing pixels of both borders g.setColor(middle); g.drawLine(x + 1, y + h - 2, x + 1, y + h - 2); g.drawLine(x + w - 2, y + 1, x + w - 2, y + 1); } else { // draw light border g.setColor(light); g.drawLine(x + w - 1, y + 1, x + w - 1, y + h - 1); g.drawLine(x + 1, y + h - 1, x + w - 1, y + h - 1); // draw shadow border g.setColor(middle); g.drawLine(x + 1, y + 1, x + w - 2, y + 1); g.drawLine(x + 1, y + 1, x + 1, y + h - 2); // draw crossing pixels of both borders g.setColor(shadow); g.drawRect(x + 1, y + h - 2, 0, 0); g.drawRect(x + w - 2, y + 1, 0, 0); } } else { // draw disabled border g.setColor(MetalLookAndFeel.getInactiveControlTextColor()); g.drawRect(x, y, w - 2, h - 2); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4b6281ed01a542e70503c69a67129ff6df618649/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 8107, 12, 1841, 276, 16, 16830, 314, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 18701, 509, 366, 13, 565, 288, 1377, 368, 3423, 326, 531, 31393, 8335, 326, 3568, 5795, 353, 12574, 329, 21658, 3775, 18, 1377, 368, 10724, 16, 467, 17991, 1404, 7837, 596, 3661, 333, 353, 11383, 324, 281, 4369, 6728, 1377, 368, 364, 1276, 531, 31393, 8335, 18, 1021, 3568, 12574, 310, 353, 2217, 25818, 486, 1377, 368, 13947, 23209, 72, 635, 279, 6484, 805, 1272, 471, 518, 353, 2217, 25818, 9591, 1377, 368, 635, 326, 1967, 13525, 667, 18, 1377, 309, 261, 26365, 9794, 1876, 2954, 292, 18, 588, 3935, 8335, 1435, 1276, 531, 31393, 8335, 13, 3639, 12574, 51, 31393, 3616, 8107, 12, 71, 16, 314, 16, 619, 16, 677, 16, 341, 16, 366, 1769, 1377, 469, 3639, 288, 1377, 12569, 1488, 324, 2284, 273, 446, 31, 5411, 309, 261, 71, 1276, 4115, 3616, 13, 3639, 324, 2284, 273, 14015, 7469, 3616, 13, 276, 2934, 588, 1488, 5621, 1377, 5563, 23433, 12957, 273, 21604, 287, 9794, 1876, 2954, 292, 18, 588, 3367, 40, 1313, 12957, 5621, 1377, 5563, 10510, 273, 21604, 287, 9794, 1876, 2954, 292, 18, 588, 3367, 12957, 5621, 1850, 5563, 9052, 273, 21604, 287, 9794, 1876, 2954, 292, 18, 588, 3367, 16205, 5621, 1377, 5563, 7689, 273, 21604, 287, 9794, 1876, 2954, 292, 18, 588, 3367, 5621, 1377, 309, 261, 71, 18, 291, 1526, 10756, 1377, 288, 3639, 368, 3724, 23433, 5795, 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, 12574, 8107, 12, 1841, 276, 16, 16830, 314, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 18701, 509, 366, 13, 565, 288, 1377, 368, 3423, 326, 531, 31393, 8335, 326, 3568, 5795, 353, 12574, 329, 21658, 3775, 18, 1377, 368, 10724, 16, 467, 17991, 1404, 7837, 596, 3661, 333, 353, 11383, 324, 281, 4369, 6728, 1377, 368, 364, 1276, 531, 31393, 8335, 18, 1021, 3568, 12574, 310, 353, 2217, 25818, 486, 1377, 368, 13947, 23209, 72, 635, 279, 6484, 805, 1272, 471, 518, 353, 2217, 25818, 9591, 1377, 368, 635, 326, 1967, 13525, 667, 18, 1377, 309, 261, 26365, 9794, 1876, 2954, 292, 18, 588, 3935, 8335, 1435, 1276, 531, 31393, 8335, 13, 3639, 2 ]
newArray.append(aref(new IRubyObject[] {args[i]}));
IRubyObject o = aref(new IRubyObject[] {args[i]}); if (args[i] instanceof RubyRange) { if (o instanceof RubyArray) { for (Iterator j = ((RubyArray) o).getList().iterator(); j.hasNext();) { newArray.append((IRubyObject) j.next()); } } } else { newArray.append(o); }
public IRubyObject values_at(IRubyObject[] args) { RubyArray newArray = getRuntime().newArray(); for (int i = 0; i < args.length; i++) { newArray.append(aref(new IRubyObject[] {args[i]})); } return newArray; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/0493e2e7e2224d8d24a2559a6955a926c489fac7/RubyArray.java/clean/src/org/jruby/RubyArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 924, 67, 270, 12, 7937, 10340, 921, 8526, 833, 13, 288, 377, 202, 54, 10340, 1076, 11653, 273, 18814, 7675, 2704, 1076, 5621, 377, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 377, 202, 202, 7937, 10340, 921, 320, 273, 854, 74, 12, 2704, 15908, 10340, 921, 8526, 288, 1968, 63, 77, 18322, 1769, 309, 261, 1968, 63, 77, 65, 1276, 19817, 2655, 13, 288, 309, 261, 83, 1276, 19817, 1076, 13, 288, 364, 261, 3198, 525, 273, 14015, 54, 10340, 1076, 13, 320, 2934, 588, 682, 7675, 9838, 5621, 525, 18, 5332, 2134, 5621, 13, 288, 11653, 18, 6923, 12443, 7937, 10340, 921, 13, 525, 18, 4285, 10663, 289, 289, 289, 469, 288, 11653, 18, 6923, 12, 83, 1769, 289, 377, 202, 97, 377, 202, 377, 202, 2463, 11653, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 924, 67, 270, 12, 7937, 10340, 921, 8526, 833, 13, 288, 377, 202, 54, 10340, 1076, 11653, 273, 18814, 7675, 2704, 1076, 5621, 377, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 377, 202, 202, 7937, 10340, 921, 320, 273, 854, 74, 12, 2704, 15908, 10340, 921, 8526, 288, 1968, 63, 77, 18322, 1769, 309, 261, 1968, 63, 77, 65, 1276, 19817, 2655, 13, 288, 309, 261, 83, 1276, 19817, 1076, 13, 288, 364, 261, 3198, 525, 273, 14015, 54, 10340, 1076, 13, 320, 2934, 588, 682, 7675, 9838, 5621, 525, 18, 5332, 2134, 5621, 13, 288, 11653, 18, 6923, 12443, 7937, 10340, 921, 13, 2 ]
if (varChild_lVal == COM.CHILDID_SELF) event.childID = ACC.CHILDID_SELF; else if (control instanceof Tree) event.childID = varChild_lVal; else event.childID = varChild_lVal - 1;
event.childID = osToChildID(varChild_lVal);
int get_accChild(int varChild_vt, int varChild_reserved1, int varChild_lVal, int varChild_reserved2, int ppdispChild) { if (iaccessible == null) return COM.CO_E_OBJNOTCONNECTED; if ((varChild_vt & 0xFFFF) != COM.VT_I4) return COM.E_INVALIDARG; if (accessibleControlListeners.size() == 0) { int code = iaccessible.get_accChild(varChild_vt, varChild_reserved1, varChild_lVal, varChild_reserved2, ppdispChild); if (code == COM.E_INVALIDARG) code = COM.S_FALSE; // proxy doesn't know about app childID return code; } AccessibleControlEvent event = new AccessibleControlEvent(this); if (varChild_lVal == COM.CHILDID_SELF) event.childID = ACC.CHILDID_SELF; else if (control instanceof Tree) event.childID = varChild_lVal; // Tree item childIDs are pointers else event.childID = varChild_lVal - 1; // All other childIDs are 1-based indices for (int i = 0; i < accessibleControlListeners.size(); i++) { AccessibleControlListener listener = (AccessibleControlListener) accessibleControlListeners.elementAt(i); listener.getChild(event); } Accessible accessible = event.accessible; if (accessible != null) { COM.MoveMemory(ppdispChild, new int[] { accessible.objIAccessible.getAddress() }, 4); return COM.S_OK; } return COM.S_FALSE; }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/a29ead267e20209d48db539a375ce453914d2d9b/Accessible.java/clean/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 474, 336, 67, 8981, 1763, 12, 474, 569, 1763, 67, 11734, 16, 509, 569, 1763, 67, 18898, 21, 16, 509, 569, 1763, 67, 80, 3053, 16, 509, 569, 1763, 67, 18898, 22, 16, 509, 8228, 25453, 1763, 13, 288, 202, 202, 430, 261, 1155, 850, 1523, 422, 446, 13, 327, 5423, 18, 3865, 67, 41, 67, 24547, 4400, 29011, 31, 202, 202, 430, 14015, 1401, 1763, 67, 11734, 473, 374, 21718, 13, 480, 5423, 18, 58, 56, 67, 45, 24, 13, 327, 5423, 18, 41, 67, 9347, 10973, 31, 202, 202, 430, 261, 26037, 3367, 5583, 18, 1467, 1435, 422, 374, 13, 288, 1082, 202, 474, 981, 273, 277, 26037, 18, 588, 67, 8981, 1763, 12, 1401, 1763, 67, 11734, 16, 569, 1763, 67, 18898, 21, 16, 569, 1763, 67, 80, 3053, 16, 569, 1763, 67, 18898, 22, 16, 8228, 25453, 1763, 1769, 1082, 202, 430, 261, 710, 422, 5423, 18, 41, 67, 9347, 10973, 13, 981, 273, 5423, 18, 55, 67, 21053, 31, 368, 2889, 3302, 1404, 5055, 2973, 595, 1151, 734, 1082, 202, 2463, 981, 31, 202, 202, 97, 202, 202, 10451, 3367, 1133, 871, 273, 394, 5016, 1523, 3367, 1133, 12, 2211, 1769, 202, 202, 430, 261, 1401, 1763, 67, 80, 3053, 422, 5423, 18, 27043, 734, 67, 26280, 13, 871, 18, 3624, 734, 273, 18816, 18, 27043, 734, 67, 26280, 31, 202, 202, 12107, 309, 261, 7098, 1276, 4902, 13, 871, 18, 3624, 734, 273, 569, 1763, 67, 80, 3053, 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, 474, 336, 67, 8981, 1763, 12, 474, 569, 1763, 67, 11734, 16, 509, 569, 1763, 67, 18898, 21, 16, 509, 569, 1763, 67, 80, 3053, 16, 509, 569, 1763, 67, 18898, 22, 16, 509, 8228, 25453, 1763, 13, 288, 202, 202, 430, 261, 1155, 850, 1523, 422, 446, 13, 327, 5423, 18, 3865, 67, 41, 67, 24547, 4400, 29011, 31, 202, 202, 430, 14015, 1401, 1763, 67, 11734, 473, 374, 21718, 13, 480, 5423, 18, 58, 56, 67, 45, 24, 13, 327, 5423, 18, 41, 67, 9347, 10973, 31, 202, 202, 430, 261, 26037, 3367, 5583, 18, 1467, 1435, 422, 374, 13, 288, 1082, 202, 474, 981, 273, 277, 26037, 18, 588, 67, 8981, 1763, 12, 1401, 2 ]
break;
return EOL;
public int getToken() throws IOException { int c; tokenno++; // Check for pushed-back token if (this.pushbackToken != EOF) { int result = this.pushbackToken; this.pushbackToken = EOF; return result; } retry: for (;;) { // Eat whitespace, possibly sensitive to newlines. for (;;) { c = getChar(); if (c == EOF_CHAR) { return EOF; } else if (c == '\n') { flags &= ~TSF_DIRTYLINE; if ((flags & TSF_NEWLINES) != 0) { break; } } else if (!isJSSpace(c)) { if (c != '-') { flags |= TSF_DIRTYLINE; } break; } } // identifier/keyword/instanceof? // watch out for starting with a <backslash> boolean identifierStart; boolean isUnicodeEscapeStart = false; if (c == '\\') { c = getChar(); if (c == 'u') { identifierStart = true; isUnicodeEscapeStart = true; stringBufferTop = 0; } else { identifierStart = false; ungetChar(c); c = '\\'; } } else { identifierStart = Character.isJavaIdentifierStart((char)c); if (identifierStart) { stringBufferTop = 0; addToString(c); } } if (identifierStart) { boolean containsEscape = isUnicodeEscapeStart; for (;;) { if (isUnicodeEscapeStart) { // strictly speaking we should probably push-back // all the bad characters if the <backslash>uXXXX // sequence is malformed. But since there isn't a // correct context(is there?) for a bad Unicode // escape sequence in an identifier, we can report // an error here. int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = getChar(); escapeVal = (escapeVal << 4) | xDigitToInt(c); // Next check takes care about c < 0 and bad escape if (escapeVal < 0) { break; } } if (escapeVal < 0) { reportSyntaxError("msg.invalid.escape", null); return ERROR; } addToString(escapeVal); isUnicodeEscapeStart = false; } else { c = getChar(); if (c == '\\') { c = getChar(); if (c == 'u') { isUnicodeEscapeStart = true; containsEscape = true; } else { reportSyntaxError("msg.illegal.character", null); return ERROR; } } else { if (c == EOF_CHAR || !Character.isJavaIdentifierPart((char)c)) { break; } addToString(c); } } } ungetChar(c); String str = getStringFromBuffer(); if (!containsEscape) { // OPT we shouldn't have to make a string (object!) to // check if it's a keyword. // Return the corresponding token if it's a keyword int result = stringToKeyword(str); if (result != EOF) { if (result != RESERVED) { return result; } else if (!Context.getContext().hasFeature( Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER)) { return result; } else { // If implementation permits to use future reserved // keywords in violation with the EcmaScript standard, // treat it as name but issue warning Object[] errArgs = { str }; reportSyntaxWarning("msg.reserved.keyword", errArgs); } } } this.string = (String)allStrings.intern(str); return NAME; } // is it a number? if (isDigit(c) || (c == '.' && isDigit(peekChar()))) { stringBufferTop = 0; int base = 10; if (c == '0') { c = getChar(); if (c == 'x' || c == 'X') { base = 16; c = getChar(); } else if (isDigit(c)) { base = 8; } else { addToString('0'); } } if (base == 16) { while (0 <= xDigitToInt(c)) { addToString(c); c = getChar(); } } else { while ('0' <= c && c <= '9') { /* * We permit 08 and 09 as decimal numbers, which * makes our behavior a superset of the ECMA * numeric grammar. We might not always be so * permissive, so we warn about it. */ if (base == 8 && c >= '8') { Object[] errArgs = { c == '8' ? "8" : "9" }; reportSyntaxWarning("msg.bad.octal.literal", errArgs); base = 10; } addToString(c); c = getChar(); } } boolean isInteger = true; if (base == 10 && (c == '.' || c == 'e' || c == 'E')) { isInteger = false; if (c == '.') { do { addToString(c); c = getChar(); } while (isDigit(c)); } if (c == 'e' || c == 'E') { addToString(c); c = getChar(); if (c == '+' || c == '-') { addToString(c); c = getChar(); } if (!isDigit(c)) { reportSyntaxError("msg.missing.exponent", null); return ERROR; } do { addToString(c); c = getChar(); } while (isDigit(c)); } } ungetChar(c); String numString = getStringFromBuffer(); double dval; if (base == 10 && !isInteger) { try { // Use Java conversion to number from string... dval = (Double.valueOf(numString)).doubleValue(); } catch (NumberFormatException ex) { Object[] errArgs = { ex.getMessage() }; reportSyntaxError("msg.caught.nfe", errArgs); return ERROR; } } else { dval = ScriptRuntime.stringToNumber(numString, 0, base); } this.number = dval; return NUMBER; } // is it a string? if (c == '"' || c == '\'') { // We attempt to accumulate a string the fast way, by // building it directly out of the reader. But if there // are any escaped characters in the string, we revert to // building it out of a StringBuffer. int quoteChar = c; stringBufferTop = 0; c = getChar(); strLoop: while (c != quoteChar) { if (c == '\n' || c == EOF_CHAR) { ungetChar(c); reportSyntaxError("msg.unterminated.string.lit", null); return ERROR; } if (c == '\\') { // We've hit an escaped character int escapeVal; c = getChar(); switch (c) { case 'b': c = '\b'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; case 't': c = '\t'; break; // \v a late addition to the ECMA spec, // it is not in Java, so use 0xb case 'v': c = 0xb; break; case 'u': // Get 4 hex digits; if the u escape is not // followed by 4 hex digits, use 'u' + the // literal character sequence that follows. int escapeStart = stringBufferTop; addToString('u'); escapeVal = 0; for (int i = 0; i != 4; ++i) { c = getChar(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { continue strLoop; } addToString(c); } // prepare for replace of stored 'u' sequence // by escape value stringBufferTop = escapeStart; c = escapeVal; break; case 'x': // Get 2 hex digits, defaulting to 'x'+literal // sequence, as above. c = getChar(); escapeVal = xDigitToInt(c); if (escapeVal < 0) { addToString('x'); continue strLoop; } else { int c1 = c; c = getChar(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { addToString('x'); addToString(c1); continue strLoop; } else { // got 2 hex digits c = escapeVal; } } break; default: if ('0' <= c && c < '8') { int val = c - '0'; c = getChar(); if ('0' <= c && c < '8') { val = 8 * val + c - '0'; c = getChar(); if ('0' <= c && c < '8' && val <= 037) { // c is 3rd char of octal sequence only // if the resulting val <= 0377 val = 8 * val + c - '0'; c = getChar(); } } ungetChar(c); c = val; } } } addToString(c); c = getChar(); } String str = getStringFromBuffer(); this.string = (String)allStrings.intern(str); return STRING; } switch (c) { case '\n': return EOL; case ';': return SEMI; case '[': return LB; case ']': return RB; case '{': return LC; case '}': return RC; case '(': return LP; case ')': return RP; case ',': return COMMA; case '?': return HOOK; case ':': return COLON; case '.': return DOT; case '|': if (matchChar('|')) { return OR; } else if (matchChar('=')) { this.op = BITOR; return ASSIGN; } else { return BITOR; } case '^': if (matchChar('=')) { this.op = BITXOR; return ASSIGN; } else { return BITXOR; } case '&': if (matchChar('&')) { return AND; } else if (matchChar('=')) { this.op = BITAND; return ASSIGN; } else { return BITAND; } case '=': if (matchChar('=')) { if (matchChar('=')) this.op = SHEQ; else this.op = EQ; return EQOP; } else { this.op = NOP; return ASSIGN; } case '!': if (matchChar('=')) { if (matchChar('=')) this.op = SHNE; else this.op = NE; return EQOP; } else { this.op = NOT; return UNARYOP; } case '<': /* NB:treat HTML begin-comment as comment-till-eol */ if (matchChar('!')) { if (matchChar('-')) { if (matchChar('-')) { skipLine(); continue retry; } ungetChar('-'); } ungetChar('!'); } if (matchChar('<')) { if (matchChar('=')) { this.op = LSH; return ASSIGN; } else { this.op = LSH; return SHOP; } } else { if (matchChar('=')) { this.op = LE; return RELOP; } else { this.op = LT; return RELOP; } } case '>': if (matchChar('>')) { if (matchChar('>')) { if (matchChar('=')) { this.op = URSH; return ASSIGN; } else { this.op = URSH; return SHOP; } } else { if (matchChar('=')) { this.op = RSH; return ASSIGN; } else { this.op = RSH; return SHOP; } } } else { if (matchChar('=')) { this.op = GE; return RELOP; } else { this.op = GT; return RELOP; } } case '*': if (matchChar('=')) { this.op = MUL; return ASSIGN; } else { return MUL; } case '/': // is it a // comment? if (matchChar('/')) { skipLine(); continue retry; } if (matchChar('*')) { boolean lookForSlash = false; for (;;) { c = getChar(); if (c == EOF_CHAR) { reportSyntaxError("msg.unterminated.comment", null); return ERROR; } else if (c == '*') { lookForSlash = true; } else if (c == '/') { if (lookForSlash) { continue retry; } } else { lookForSlash = false; } } } // is it a regexp? if ((flags & TSF_REGEXP) != 0) { stringBufferTop = 0; while ((c = getChar()) != '/') { if (c == '\n' || c == EOF_CHAR) { ungetChar(c); reportSyntaxError("msg.unterminated.re.lit", null); return ERROR; } if (c == '\\') { addToString(c); c = getChar(); } addToString(c); } int reEnd = stringBufferTop; while (true) { if (matchChar('g')) addToString('g'); else if (matchChar('i')) addToString('i'); else if (matchChar('m')) addToString('m'); else break; } if (isAlpha(peekChar())) { reportSyntaxError("msg.invalid.re.flag", null); return ERROR; } this.string = new String(stringBuffer, 0, reEnd); this.regExpFlags = new String(stringBuffer, reEnd, stringBufferTop - reEnd); return REGEXP; } if (matchChar('=')) { this.op = DIV; return ASSIGN; } else { return DIV; } case '%': this.op = MOD; if (matchChar('=')) { return ASSIGN; } else { return MOD; } case '~': this.op = BITNOT; return UNARYOP; case '+': if (matchChar('=')) { this.op = ADD; return ASSIGN; } else if (matchChar('+')) { return INC; } else { return ADD; } case '-': if (matchChar('=')) { this.op = SUB; c = ASSIGN; } else if (matchChar('-')) { if (0 == (flags & TSF_DIRTYLINE)) { // treat HTML end-comment after possible whitespace // after line start as comment-utill-eol if (matchChar('>')) { skipLine(); continue retry; } } c = DEC; } else { c = SUB; } flags |= TSF_DIRTYLINE; return c; default: reportSyntaxError("msg.illegal.character", null); return ERROR; } } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/56c3f65ac92dbd3ff9f471a1829280e95bd7ddf4/TokenStream.java/buggy/js/rhino/src/org/mozilla/javascript/TokenStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 565, 3300, 30, 3639, 364, 261, 25708, 13, 288, 5411, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 5411, 364, 261, 25708, 13, 288, 7734, 276, 273, 23577, 5621, 7734, 309, 261, 71, 422, 6431, 67, 7305, 13, 288, 10792, 327, 6431, 31, 7734, 289, 469, 309, 261, 71, 422, 2337, 82, 6134, 288, 10792, 2943, 12058, 4871, 8047, 42, 67, 4537, 5538, 5997, 31, 10792, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 288, 13491, 327, 19995, 31, 10792, 289, 7734, 289, 469, 309, 16051, 291, 46, 1260, 909, 12, 71, 3719, 288, 10792, 309, 261, 71, 480, 4014, 13, 288, 13491, 2943, 5626, 15508, 42, 67, 4537, 5538, 5997, 31, 10792, 289, 10792, 327, 19995, 31, 7734, 289, 5411, 289, 5411, 368, 2756, 19, 11041, 19, 1336, 792, 35, 5411, 368, 4267, 596, 364, 5023, 598, 279, 411, 823, 12877, 34, 5411, 1250, 2756, 1685, 31, 5411, 1250, 353, 16532, 8448, 1685, 273, 629, 31, 5411, 309, 261, 71, 422, 5282, 13, 288, 7734, 276, 273, 23577, 5621, 7734, 309, 261, 71, 422, 296, 89, 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, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 565, 3300, 30, 3639, 364, 261, 25708, 13, 288, 5411, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 5411, 364, 261, 25708, 13, 288, 7734, 276, 273, 23577, 5621, 7734, 309, 261, 71, 422, 6431, 67, 7305, 13, 288, 10792, 327, 6431, 31, 7734, 289, 469, 309, 261, 71, 422, 2337, 82, 6134, 288, 10792, 2 ]
public void expander() throws RecognitionException { String name = null; String config=null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:277:17: ( 'expander' (name= dotted_name )? ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:277:17: 'expander' (name= dotted_name )? ( ';' )? opt_eol { match(input,18,FOLLOW_18_in_expander240); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:277:28: (name= dotted_name )? int alt7=2; int LA7_0 = input.LA(1); if ( LA7_0==ID ) { alt7=1; } else if ( LA7_0==-1||LA7_0==EOL||LA7_0==15||(LA7_0>=17 && LA7_0<=20)||LA7_0==26||LA7_0==28 ) { alt7=2; } else { NoViableAltException nvae = new NoViableAltException("277:28: (name= dotted_name )?", 7, 0, input); throw nvae; } switch (alt7) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:277:29: name= dotted_name { following.push(FOLLOW_dotted_name_in_expander245); name=dotted_name(); following.pop(); } break; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:277:48: ( ';' )? int alt8=2; int LA8_0 = input.LA(1); if ( LA8_0==15 ) { alt8=1; } else if ( LA8_0==-1||LA8_0==EOL||(LA8_0>=17 && LA8_0<=20)||LA8_0==26||LA8_0==28 ) { alt8=2; } else { NoViableAltException nvae = new NoViableAltException("277:48: ( \';\' )?", 8, 0, input); throw nvae; } switch (alt8) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:277:48: ';' { match(input,15,FOLLOW_15_in_expander249); } break; } following.push(FOLLOW_opt_eol_in_expander252); opt_eol(); following.pop(); if (expanderResolver == null) throw new IllegalArgumentException("Unable to use expander. Make sure a expander or dsl config is being passed to the parser. [ExpanderResolver was not set]."); if ( expander != null ) throw new IllegalArgumentException( "Only one 'expander' statement per file is allowed" ); expander = expanderResolver.get( name, config ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/297a1e0ef2967d8b4f7be9c022102a5a56e97489/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4542, 264, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 1171, 202, 202, 780, 642, 33, 2011, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4700, 30, 4033, 30, 261, 296, 12320, 264, 11, 261, 529, 33, 20965, 67, 529, 7851, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4700, 30, 4033, 30, 296, 12320, 264, 11, 261, 529, 33, 20965, 67, 529, 7851, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 845, 12, 2630, 16, 2643, 16, 29890, 67, 2643, 67, 267, 67, 12320, 264, 28784, 1769, 2398, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4700, 30, 6030, 30, 261, 529, 33, 20965, 67, 529, 7851, 5411, 509, 3770, 27, 33, 22, 31, 5411, 509, 2928, 27, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 27, 67, 20, 631, 734, 262, 288, 7734, 3770, 27, 33, 21, 31, 5411, 289, 5411, 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, 4542, 264, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 1171, 202, 202, 780, 642, 33, 2011, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4700, 30, 4033, 30, 261, 296, 12320, 264, 11, 261, 529, 33, 20965, 67, 529, 7851, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 2 ]
double devSX = Math.sqrt(sx*sx + shy*shy); double devSY = Math.sqrt(sy*sy + shx*shx);
public RenderedImage createRendering(RenderContext renderContext){ // Get user space to device space transform AffineTransform usr2dev = renderContext.getTransform(); if(usr2dev == null){ usr2dev = new AffineTransform(); } // As per specification, a value of zero for the // x-axis or y-axis causes the filter to produce // nothing. // The processing is done as follows: // + if the x resolution is zero, this is a no-op // else compute the x scale. // + if the y resolution is zero, this is a no-op // else compute the y resolution from the x scale // and compute the corresponding y scale. // + if the y or x scale is less than one, insert // an AffineRable. // Else, return the source as is. float filterResolutionX = this.filterResolutionX; float filterResolutionY = this.filterResolutionY; // System.out.println("FilterResRable: " + filterResolutionX + "x" + // filterResolutionY); // Find out the renderable area Rectangle2D imageRect = getBounds2D(); Rectangle devRect; devRect = usr2dev.createTransformedShape(imageRect).getBounds(); if(filterResolutionX > 1) { // Now, compare the devRect with the filter // resolution hints float scaleX = 1; float scaleY = 1; if(filterResolutionX < devRect.width){ scaleX = filterResolutionX / (float)devRect.width; } if(filterResolutionY != 0){ if(filterResolutionY < 0){ filterResolutionY = scaleX*(float)devRect.height; } if(filterResolutionY < devRect.height) { scaleY = filterResolutionY / (float)devRect.height; } // Only resample if either scaleX or scaleY is // smaller than 1 RenderableImage localSource = getSource(); RenderContext localRenderContext = renderContext; if((scaleX < 1) || (scaleY < 1)){ // System.out.println("filterRes X " + filterResolutionX + // " Y : " + filterResolutionY); scaleX = scaleX < scaleY ? scaleX : scaleY; scaleY = scaleX; // // Create a rendering that will be less than // or equal to filterResolutionX by filterResolutionY. // AffineTransform newUsr2Dev = AffineTransform.getScaleInstance(scaleX, scaleY); newUsr2Dev.concatenate(usr2dev); // This splits out the scale so we know how much to pad // in user space so we have a pixel surround in device // space for the affine. double sx = newUsr2Dev.getScaleX(); double sy = newUsr2Dev.getScaleY(); double shx = newUsr2Dev.getShearX(); double shy = newUsr2Dev.getShearY(); // The Scale is roughly the "hypotonose" of the // matrix vectors. double devSX = Math.sqrt(sx*sx + shy*shy); double devSY = Math.sqrt(sy*sy + shx*shx); // // Create a new RenderingContext // RenderContext newRenderContext = (RenderContext)renderContext.clone(); newRenderContext.setTransform(newUsr2Dev); Shape aoi = renderContext.getAreaOfInterest(); if (aoi == null) aoi = getBounds2D(); // // We need to grow the area of interest by a few // pixels in device space so the AffineRed can // interpolate at the edges.. // Rectangle2D newAOI = aoi.getBounds2D(); newAOI = new Rectangle2D.Double (newAOI.getX()-1/devSX, newAOI.getY()-1/devSY, newAOI.getWidth()+2/devSX, newAOI.getHeight()+2/devSY); newRenderContext.setAreaOfInterest(newAOI); // // Now, use an AffineRable that will apply the // resampling // AffineTransform resampleTxf = AffineTransform.getScaleInstance(1/scaleX, 1/scaleY); RenderedImage result = null; result = localSource.createRendering(newRenderContext); // org.ImageDisplay.showImage("AT: " + newUsr2Dev, result); if (result != null) result = new AffineRed (GraphicsUtil.wrap(result), resampleTxf, renderContext.getRenderingHints()); return result; } return localSource.createRendering(localRenderContext); } } return null; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/4a4a1ca3f7e19e5a5e3bf63d73ec840e6eff093f/FilterResRable8Bit.java/buggy/sources/org/apache/batik/ext/awt/image/renderable/FilterResRable8Bit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6987, 329, 2040, 752, 14261, 12, 3420, 1042, 28678, 15329, 3639, 368, 968, 729, 3476, 358, 2346, 3476, 2510, 3639, 23906, 558, 4059, 16575, 22, 5206, 273, 28678, 18, 588, 4059, 5621, 3639, 309, 12, 13640, 22, 5206, 422, 446, 15329, 5411, 16575, 22, 5206, 273, 394, 23906, 558, 4059, 5621, 3639, 289, 7734, 368, 2970, 1534, 7490, 16, 279, 460, 434, 3634, 364, 326, 540, 368, 619, 17, 4890, 578, 677, 17, 4890, 14119, 326, 1034, 358, 11402, 3639, 368, 5083, 18, 3639, 368, 1021, 4929, 353, 2731, 487, 13040, 30, 3639, 368, 397, 309, 326, 619, 7861, 353, 3634, 16, 333, 353, 279, 1158, 17, 556, 3639, 368, 282, 469, 3671, 326, 619, 3159, 18, 3639, 368, 397, 309, 326, 677, 7861, 353, 3634, 16, 333, 353, 279, 1158, 17, 556, 3639, 368, 282, 469, 3671, 326, 677, 7861, 628, 326, 619, 3159, 3639, 368, 282, 471, 3671, 326, 4656, 677, 3159, 18, 3639, 368, 397, 309, 326, 677, 578, 619, 3159, 353, 5242, 2353, 1245, 16, 2243, 540, 368, 282, 392, 23906, 558, 54, 429, 18, 3639, 368, 282, 16289, 16, 327, 326, 1084, 487, 353, 18, 3639, 1431, 1034, 11098, 60, 273, 333, 18, 2188, 11098, 60, 31, 3639, 1431, 1034, 11098, 61, 273, 333, 18, 2188, 11098, 61, 31, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 1586, 607, 54, 429, 30, 315, 397, 1034, 11098, 60, 397, 315, 92, 6, 397, 3639, 368, 10792, 1034, 11098, 61, 1769, 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, 6987, 329, 2040, 752, 14261, 12, 3420, 1042, 28678, 15329, 3639, 368, 968, 729, 3476, 358, 2346, 3476, 2510, 3639, 23906, 558, 4059, 16575, 22, 5206, 273, 28678, 18, 588, 4059, 5621, 3639, 309, 12, 13640, 22, 5206, 422, 446, 15329, 5411, 16575, 22, 5206, 273, 394, 23906, 558, 4059, 5621, 3639, 289, 7734, 368, 2970, 1534, 7490, 16, 279, 460, 434, 3634, 364, 326, 540, 368, 619, 17, 4890, 578, 677, 17, 4890, 14119, 326, 1034, 358, 11402, 3639, 368, 5083, 18, 3639, 368, 1021, 4929, 353, 2731, 487, 13040, 30, 3639, 368, 397, 309, 326, 619, 7861, 353, 3634, 16, 333, 353, 279, 1158, 17, 556, 3639, 368, 282, 469, 3671, 326, 619, 3159, 18, 2 ]
new ImageIcon(getClass().getResource("images/biffUnknown.gif"));
new ImageIcon("ui/images/biffUnknown.gif");
public BiffIcon() { if (fIconUnknown == null) { fIconUnknown = new ImageIcon(getClass().getResource("images/biffUnknown.gif")); fIconNew = new ImageIcon(getClass().getResource("images/biffNew.gif")); fIconNone = new ImageIcon(getClass().getResource("images/biffNone.gif")); } setText(null); // Necessary for icon size to be used for preferred size setBiffState(MailDrop.UNKNOWN); fThread = BiffThread.Get(); fThread.addChangeListener(this); setBiffState(fThread.getBiffState()); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3cd6e9d81112e3ab17a910eaef36b9e56b2a8b6a/BiffIcon.java/buggy/grendel/sources/grendel/ui/BiffIcon.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 605, 3048, 5554, 1435, 288, 565, 309, 261, 74, 5554, 4874, 422, 446, 13, 288, 1377, 284, 5554, 4874, 273, 3639, 394, 3421, 5554, 2932, 4881, 19, 7369, 19, 70, 3048, 4874, 18, 13905, 8863, 1377, 284, 5554, 1908, 273, 3639, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 70, 3048, 1908, 18, 13905, 7923, 1769, 1377, 284, 5554, 7036, 273, 3639, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 70, 3048, 7036, 18, 13905, 7923, 1769, 565, 289, 565, 7883, 12, 2011, 1769, 368, 423, 4128, 364, 4126, 963, 358, 506, 1399, 364, 9119, 963, 565, 15268, 3048, 1119, 12, 6759, 7544, 18, 14737, 1769, 565, 284, 3830, 273, 605, 3048, 3830, 18, 967, 5621, 565, 284, 3830, 18, 1289, 15744, 12, 2211, 1769, 565, 15268, 3048, 1119, 12, 74, 3830, 18, 588, 38, 3048, 1119, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 605, 3048, 5554, 1435, 288, 565, 309, 261, 74, 5554, 4874, 422, 446, 13, 288, 1377, 284, 5554, 4874, 273, 3639, 394, 3421, 5554, 2932, 4881, 19, 7369, 19, 70, 3048, 4874, 18, 13905, 8863, 1377, 284, 5554, 1908, 273, 3639, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 70, 3048, 1908, 18, 13905, 7923, 1769, 1377, 284, 5554, 7036, 273, 3639, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 70, 3048, 7036, 18, 13905, 7923, 1769, 565, 289, 565, 7883, 12, 2011, 1769, 368, 423, 4128, 364, 4126, 963, 358, 506, 1399, 364, 9119, 963, 565, 15268, 3048, 1119, 12, 6759, 7544, 18, 14737, 1769, 565, 284, 3830, 2 ]
private static void generateCtor(ClassFileWriter cfw, String adapterName, Class superClass) { cfw.startMethod("<init>", "(Lorg/mozilla/javascript/Scriptable;)V", ClassFileWriter.ACC_PUBLIC); // Invoke base class constructor cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.INVOKESPECIAL, superClass.getName().replace('.', '/'), "<init>", "()", "V"); // Save parameter in instance variable "self" cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.ALOAD_1); // first arg cfw.add(ByteCode.PUTFIELD, adapterName, "self", "Lorg/mozilla/javascript/Scriptable;"); // Set the prototype of the js object to be a LiveConnect // wapper of the generated class's object cfw.add(ByteCode.ALOAD_1); // first arg cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/ScriptRuntime", "setAdapterProto", "(Lorg/mozilla/javascript/Scriptable;" + "Ljava/lang/Object;)", "V"); cfw.add(ByteCode.RETURN); cfw.stopMethod((short)20, null); // TODO: magic number "20" }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/9a0f128be44e151cb511e8f524bcf6e360ad5635/JavaAdapter.java/buggy/js/rhino/org/mozilla/javascript/JavaAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2103, 27425, 12, 797, 812, 2289, 6080, 91, 16, 514, 4516, 461, 16, 4766, 1377, 1659, 18846, 13, 377, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 32, 2738, 2984, 16, 7682, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 30943, 58, 3113, 13491, 30614, 2289, 18, 31414, 67, 14939, 1769, 7734, 368, 14373, 1026, 667, 3885, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 7734, 18846, 18, 17994, 7675, 2079, 2668, 1093, 16, 2023, 3631, 1171, 3532, 2738, 2984, 16, 25605, 3113, 315, 58, 8863, 7734, 368, 7074, 1569, 316, 791, 2190, 315, 2890, 6, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 225, 368, 1122, 1501, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 4762, 6776, 16, 4516, 461, 16, 315, 2890, 3113, 1171, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 3639, 368, 1000, 326, 4409, 434, 326, 3828, 733, 358, 506, 279, 21559, 5215, 540, 368, 341, 438, 457, 434, 326, 4374, 667, 1807, 733, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 225, 368, 1122, 1501, 3639, 6080, 91, 18, 1289, 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, 377, 3238, 760, 918, 2103, 27425, 12, 797, 812, 2289, 6080, 91, 16, 514, 4516, 461, 16, 4766, 1377, 1659, 18846, 13, 377, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 32, 2738, 2984, 16, 7682, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 30943, 58, 3113, 13491, 30614, 2289, 18, 31414, 67, 14939, 1769, 7734, 368, 14373, 1026, 667, 3885, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 7734, 18846, 18, 17994, 7675, 2079, 2668, 1093, 16, 2023, 3631, 1171, 3532, 2738, 2984, 16, 25605, 3113, 315, 58, 8863, 7734, 2 ]
catch(Exception e) { if(myLogger.isLoggable(Logger.WARNING)) myLogger.log(Logger.WARNING,"Link failure!"); return false; } finally { impl.releaseAgentDescriptor(agentID);
else { throw new NotFoundException("Agent agentID not found");
private boolean transferIdentity(AID agentID, Location src, Location dest) throws IMTPException, NotFoundException { //log("Transferring identity of agent "+agentID+" from "+src.getName()+" to "+dest.getName(), 2); if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"Transferring identity of agent "+agentID+" from "+src.getName()+" to "+dest.getName()); MainContainer impl = myContainer.getMain(); if(impl != null) { AgentDescriptor ad = impl.acquireAgentDescriptor(agentID); if (ad != null) { try { AgentMobilitySlice srcSlice = (AgentMobilitySlice)getSlice(src.getName()); AgentMobilitySlice destSlice = (AgentMobilitySlice)getSlice(dest.getName()); boolean srcReady = false; boolean destReady = false; try { srcReady = srcSlice.prepare(); } catch(IMTPException imtpe) { srcSlice = (AgentMobilitySlice)getFreshSlice(src.getName()); srcReady = srcSlice.prepare(); } //log("Source "+src.getName()+" "+srcReady, 2); if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"Source "+src.getName()+" "+srcReady); try { destReady = destSlice.prepare(); } catch(IMTPException imtpe) { destSlice = (AgentMobilitySlice)getFreshSlice(dest.getName()); destReady = destSlice.prepare(); } //log("Destination "+dest.getName()+" "+destReady, 2); if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"Destination "+dest.getName()+" "+destReady); if(srcReady && destReady) { // Commit transaction impl.movedAgent(agentID, (ContainerID)src, (ContainerID)dest); return true; } else { // Problems on a participant slice: abort transaction return false; } } catch(Exception e) { // Link failure: abort transaction //log("Link failure!", 2); if(myLogger.isLoggable(Logger.WARNING)) myLogger.log(Logger.WARNING,"Link failure!"); return false; } finally { impl.releaseAgentDescriptor(agentID); } } else { throw new NotFoundException("Agent agentID not found"); } } else { // Do nothing for now, but could also use another slice as transaction coordinator... //log("Not a main!", 2); if(myLogger.isLoggable(Logger.WARNING)) myLogger.log(Logger.WARNING,"Not a main!"); return false; } }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/46dba8df2358fb752e8d0a7cd2a512d0a633dbd6/AgentMobilityService.java/buggy/src/jade/core/mobility/AgentMobilityService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 7412, 4334, 12, 37, 734, 4040, 734, 16, 7050, 1705, 16, 7050, 1570, 13, 1216, 467, 14636, 503, 16, 12323, 288, 202, 202, 759, 1330, 2932, 1429, 74, 20245, 4215, 434, 4040, 13773, 5629, 734, 9078, 628, 13773, 4816, 18, 17994, 1435, 9078, 358, 13773, 10488, 18, 17994, 9334, 576, 1769, 7734, 309, 12, 4811, 3328, 18, 291, 1343, 8455, 12, 3328, 18, 5923, 3719, 10402, 3399, 3328, 18, 1330, 12, 3328, 18, 5923, 10837, 1429, 74, 20245, 4215, 434, 4040, 13773, 5629, 734, 9078, 628, 13773, 4816, 18, 17994, 1435, 9078, 358, 13773, 10488, 18, 17994, 10663, 565, 12740, 2170, 9380, 273, 3399, 2170, 18, 588, 6376, 5621, 565, 309, 12, 11299, 480, 446, 13, 288, 1082, 202, 3630, 3187, 1261, 273, 9380, 18, 1077, 1039, 3630, 3187, 12, 5629, 734, 1769, 1082, 202, 430, 261, 361, 480, 446, 13, 288, 9506, 202, 698, 288, 9506, 565, 8669, 49, 947, 1889, 5959, 1705, 5959, 273, 261, 3630, 49, 947, 1889, 5959, 13, 588, 5959, 12, 4816, 18, 17994, 10663, 9506, 565, 8669, 49, 947, 1889, 5959, 1570, 5959, 273, 261, 3630, 49, 947, 1889, 5959, 13, 588, 5959, 12, 10488, 18, 17994, 10663, 9506, 565, 1250, 1705, 8367, 273, 629, 31, 9506, 565, 1250, 1570, 8367, 273, 629, 31, 9506, 565, 775, 288, 25083, 202, 4816, 8367, 273, 1705, 5959, 18, 9366, 5621, 9506, 565, 289, 9506, 565, 1044, 12, 3445, 11130, 503, 20384, 347, 13, 288, 25083, 202, 4816, 5959, 273, 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, 1250, 7412, 4334, 12, 37, 734, 4040, 734, 16, 7050, 1705, 16, 7050, 1570, 13, 1216, 467, 14636, 503, 16, 12323, 288, 202, 202, 759, 1330, 2932, 1429, 74, 20245, 4215, 434, 4040, 13773, 5629, 734, 9078, 628, 13773, 4816, 18, 17994, 1435, 9078, 358, 13773, 10488, 18, 17994, 9334, 576, 1769, 7734, 309, 12, 4811, 3328, 18, 291, 1343, 8455, 12, 3328, 18, 5923, 3719, 10402, 3399, 3328, 18, 1330, 12, 3328, 18, 5923, 10837, 1429, 74, 20245, 4215, 434, 4040, 13773, 5629, 734, 9078, 628, 13773, 4816, 18, 17994, 1435, 9078, 358, 13773, 10488, 18, 17994, 10663, 565, 12740, 2170, 9380, 273, 3399, 2170, 18, 588, 6376, 5621, 565, 309, 12, 11299, 480, 446, 2 ]
return (GeronimoMessageListener[])getMessageListener();
return (GeronimoMessageListener[]) getMessageListener();
public GeronimoMessageListener[] getGeronimoMessageListener() { return (GeronimoMessageListener[])getMessageListener(); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/aee780fd2f220ae6864db486839f571cb0932649/GeronimoMessageAdapter.java/buggy/modules/core/src/java/org/apache/geronimo/deployment/model/geronimo/connector/GeronimoMessageAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 611, 264, 265, 381, 83, 1079, 2223, 8526, 7162, 264, 265, 381, 83, 1079, 2223, 1435, 288, 3639, 327, 261, 43, 264, 265, 381, 83, 1079, 2223, 63, 5717, 2381, 2223, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 611, 264, 265, 381, 83, 1079, 2223, 8526, 7162, 264, 265, 381, 83, 1079, 2223, 1435, 288, 3639, 327, 261, 43, 264, 265, 381, 83, 1079, 2223, 63, 5717, 2381, 2223, 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 ]
public void setParentsForAllPushOptionOptions(DatasetView d) throws ConfigurationException {
public void setParentsForAllPushOptionOptions(DatasetView d) throws ConfigurationException {
public void setParentsForAllPushOptionOptions(DatasetView d) throws ConfigurationException { setParentsForAllPushOptionOptions(d, getOptions()); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/16a9b4a2f910dae8967a02428e2bfad83cc46e96/FilterDescription.java/buggy/src/java/org/ensembl/mart/lib/config/FilterDescription.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12548, 28388, 1595, 7621, 1895, 1320, 12, 10656, 1767, 302, 13, 202, 202, 15069, 22196, 288, 202, 202, 542, 13733, 1290, 1595, 7621, 1895, 1320, 12, 72, 16, 9849, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12548, 28388, 1595, 7621, 1895, 1320, 12, 10656, 1767, 302, 13, 202, 202, 15069, 22196, 288, 202, 202, 542, 13733, 1290, 1595, 7621, 1895, 1320, 12, 72, 16, 9849, 10663, 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 ]
NavigatorContentExtension[] resultInstances = findRelevantContentExtensions(anElement);
NavigatorContentExtension[] resultInstances = findContentExtensionsByTriggerPoint(anElement);
public ITreeContentProvider[] findParentContentProviders(Object anElement) { NavigatorContentExtension[] resultInstances = findRelevantContentExtensions(anElement); return extractContentProviders(resultInstances); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1869fb0f66846c5ed765b0677f0e3907b2d6a068/NavigatorContentService.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/internal/NavigatorContentService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2471, 1350, 2249, 8526, 1104, 3054, 1350, 10672, 12, 921, 392, 1046, 13, 288, 202, 202, 22817, 1350, 3625, 8526, 563, 5361, 273, 1104, 17018, 7445, 1350, 7513, 12, 304, 1046, 1769, 202, 202, 2463, 2608, 1350, 10672, 12, 2088, 5361, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 467, 2471, 1350, 2249, 8526, 1104, 3054, 1350, 10672, 12, 921, 392, 1046, 13, 288, 202, 202, 22817, 1350, 3625, 8526, 563, 5361, 273, 1104, 17018, 7445, 1350, 7513, 12, 304, 1046, 1769, 202, 202, 2463, 2608, 1350, 10672, 12, 2088, 5361, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void __delitem__(String key) { __delitem__(new PyString(key));
public void __delitem__(PyObject key) { throw Py.AttributeError("__delitem__");
public void __delitem__(String key) { __delitem__(new PyString(key)); }
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/00be5cae3adac1a66f2dbada82636559618608f7/PyObject.java/buggy/org/python/core/PyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1001, 3771, 1726, 972, 12, 780, 498, 13, 288, 202, 565, 1001, 3771, 1726, 972, 12, 2704, 4707, 780, 12, 856, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1001, 3771, 1726, 972, 12, 780, 498, 13, 288, 202, 565, 1001, 3771, 1726, 972, 12, 2704, 4707, 780, 12, 856, 10019, 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 ]
if(ext.equals("js")) {
if (ext.equals("js")) {
void init() { setJMenuBar(menubar = new Menubar(this)); toolBar = new JToolBar(); JButton button; JButton breakButton, goButton, stepIntoButton, stepOverButton, stepOutButton; String [] toolTips = {"Break (Pause)", "Go (F5)", "Step Into (F11)", "Step Over (F7)", "Step Out (F8)"}; int count = 0; button = breakButton = new JButton("Break"); JButton focusButton = button; button.setToolTipText("Break"); button.setActionCommand("Break"); button.addActionListener(menubar); button.setEnabled(true); button.setToolTipText(toolTips[count++]); button = goButton = new JButton("Go"); button.setToolTipText("Go"); button.setActionCommand("Go"); button.addActionListener(menubar); button.setEnabled(false); button.setToolTipText(toolTips[count++]); button = stepIntoButton = new JButton("Step Into"); button.setToolTipText("Step Into"); button.setActionCommand("Step Into"); button.addActionListener(menubar); button.setEnabled(false); button.setToolTipText(toolTips[count++]); button = stepOverButton = new JButton("Step Over"); button.setToolTipText("Step Over"); button.setActionCommand("Step Over"); button.setEnabled(false); button.addActionListener(menubar); button.setToolTipText(toolTips[count++]); button = stepOutButton = new JButton("Step Out"); button.setToolTipText("Step Out"); button.setActionCommand("Step Out"); button.setEnabled(false); button.addActionListener(menubar); button.setToolTipText(toolTips[count++]); Dimension dim = stepOverButton.getPreferredSize(); breakButton.setPreferredSize(dim); breakButton.setMinimumSize(dim); breakButton.setMaximumSize(dim); breakButton.setSize(dim); goButton.setPreferredSize(dim); goButton.setMinimumSize(dim); goButton.setMaximumSize(dim); stepIntoButton.setPreferredSize(dim); stepIntoButton.setMinimumSize(dim); stepIntoButton.setMaximumSize(dim); stepOverButton.setPreferredSize(dim); stepOverButton.setMinimumSize(dim); stepOverButton.setMaximumSize(dim); stepOutButton.setPreferredSize(dim); stepOutButton.setMinimumSize(dim); stepOutButton.setMaximumSize(dim); toolBar.add(breakButton); toolBar.add(goButton); toolBar.add(stepIntoButton); toolBar.add(stepOverButton); toolBar.add(stepOutButton); JPanel contentPane = new JPanel(); contentPane.setLayout(new BorderLayout()); getContentPane().add(toolBar, BorderLayout.NORTH); getContentPane().add(contentPane, BorderLayout.CENTER); desk = new JDesktopPane(); desk.setPreferredSize(new Dimension(600, 300)); desk.setMinimumSize(new Dimension(150, 50)); desk.add(console = new JSInternalConsole("JavaScript Console")); context = new ContextWindow(this); context.setPreferredSize(new Dimension(600, 120)); context.setMinimumSize(new Dimension(50, 50)); split1 = new JSplitPane(JSplitPane.VERTICAL_SPLIT, desk, context); split1.setOneTouchExpandable(true); Main.setResizeWeight(split1, 0.66); contentPane.add(split1, BorderLayout.CENTER); statusBar = new JLabel(); statusBar.setText("Thread: "); contentPane.add(statusBar, BorderLayout.SOUTH); dlg = new JFileChooser(); javax.swing.filechooser.FileFilter filter = new javax.swing.filechooser.FileFilter() { public boolean accept(File f) { if(f.isDirectory()) { return true; } String n = f.getName(); int i = n.lastIndexOf('.'); if(i > 0 && i < n.length() -1) { String ext = n.substring(i + 1).toLowerCase(); if(ext.equals("js")) { return true; } } return false; } public String getDescription() { return "JavaScript Files (*.js)"; } }; dlg.addChoosableFileFilter(filter); final Main self = this; addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { self.Exit(); } }); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1208, 1435, 288, 3639, 444, 46, 4599, 5190, 12, 27617, 373, 297, 273, 394, 490, 275, 373, 297, 12, 2211, 10019, 3639, 5226, 5190, 273, 394, 804, 6364, 5190, 5621, 3639, 28804, 3568, 31, 3639, 28804, 898, 3616, 16, 1960, 3616, 16, 2235, 5952, 3616, 16, 5411, 2235, 4851, 3616, 16, 2235, 1182, 3616, 31, 3639, 514, 5378, 5226, 56, 7146, 273, 12528, 7634, 261, 19205, 2225, 16, 17311, 315, 5741, 261, 42, 25, 2225, 16, 17311, 315, 4160, 657, 869, 261, 42, 2499, 2225, 16, 17311, 315, 4160, 10752, 261, 42, 27, 2225, 16, 17311, 315, 4160, 2976, 261, 42, 28, 2225, 20451, 3639, 509, 1056, 273, 374, 31, 3639, 3568, 273, 898, 3616, 273, 394, 28804, 2932, 7634, 8863, 3639, 28804, 7155, 3616, 273, 3568, 31, 3639, 3568, 18, 542, 29250, 1528, 2932, 7634, 8863, 3639, 3568, 18, 542, 1803, 2189, 2932, 7634, 8863, 3639, 3568, 18, 1289, 1803, 2223, 12, 27617, 373, 297, 1769, 3639, 3568, 18, 542, 1526, 12, 3767, 1769, 3639, 3568, 18, 542, 29250, 1528, 12, 6738, 56, 7146, 63, 1883, 9904, 19226, 3639, 3568, 273, 1960, 3616, 273, 394, 28804, 2932, 5741, 8863, 3639, 3568, 18, 542, 29250, 1528, 2932, 5741, 8863, 3639, 3568, 18, 542, 1803, 2189, 2932, 5741, 8863, 3639, 3568, 18, 1289, 1803, 2223, 12, 27617, 373, 297, 1769, 3639, 3568, 18, 542, 1526, 12, 5743, 1769, 3639, 3568, 18, 542, 29250, 1528, 12, 6738, 56, 7146, 63, 1883, 9904, 19226, 3639, 3568, 273, 2235, 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, 1208, 1435, 288, 3639, 444, 46, 4599, 5190, 12, 27617, 373, 297, 273, 394, 490, 275, 373, 297, 12, 2211, 10019, 3639, 5226, 5190, 273, 394, 804, 6364, 5190, 5621, 3639, 28804, 3568, 31, 3639, 28804, 898, 3616, 16, 1960, 3616, 16, 2235, 5952, 3616, 16, 5411, 2235, 4851, 3616, 16, 2235, 1182, 3616, 31, 3639, 514, 5378, 5226, 56, 7146, 273, 12528, 7634, 261, 19205, 2225, 16, 17311, 315, 5741, 261, 42, 25, 2225, 16, 17311, 315, 4160, 657, 869, 261, 42, 2499, 2225, 16, 17311, 315, 4160, 10752, 261, 42, 27, 2225, 16, 17311, 315, 4160, 2976, 261, 42, 28, 2225, 20451, 3639, 509, 1056, 273, 374, 31, 3639, 3568, 273, 898, 3616, 273, 394, 2 ]
if (!isMsgType(msgType)) { throw new FieldException(SessionRejectReason.INVALID_MSGTYPE); } }
if (!isMsgType(msgType)) { throw new FieldException(SessionRejectReason.INVALID_MSGTYPE); } }
private void checkMsgType(String msgType) { if (!isMsgType(msgType)) { throw new FieldException(SessionRejectReason.INVALID_MSGTYPE); } }
6257 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6257/47d1964ddafa7f6ee47d33846c3320c71d9e789f/DataDictionary.java/clean/src/quickfix/DataDictionary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 3332, 559, 12, 780, 1234, 559, 13, 288, 3639, 309, 16051, 291, 3332, 559, 12, 3576, 559, 3719, 288, 5411, 604, 394, 2286, 503, 12, 2157, 21705, 8385, 18, 9347, 67, 11210, 2399, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 3332, 559, 12, 780, 1234, 559, 13, 288, 3639, 309, 16051, 291, 3332, 559, 12, 3576, 559, 3719, 288, 5411, 604, 394, 2286, 503, 12, 2157, 21705, 8385, 18, 9347, 67, 11210, 2399, 1769, 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 ]
public boolean isSet(org.quickfix.field.AllocAccount field)
public boolean isSet(quickfix.field.AllocAccount field)
public boolean isSet(org.quickfix.field.AllocAccount field) { return isSetField(field); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderMultileg.java/buggy/src/java/src/quickfix/fix43/NewOrderMultileg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 8763, 3032, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8763, 3032, 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, -100 ]
} else if (!student.hasAnyStudentCurricularPlans()) { final ActionMessages actionMessages = new ActionMessages(); actionMessages.add("error.student.curricularPlan.nonExistent", new ActionMessage("error.student.curricularPlan.nonExistent")); saveMessages(request, actionMessages);
public ActionForward prepare(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { final Person person = SessionUtils.getUserView(request).getPerson(); final Student student = person.getStudentByUsername(); if (student.getStudentCurricularPlansCount() > 1) { request.setAttribute("student", student); request.setAttribute("studentCurricularPlans", student.getStudentCurricularPlans()); if (student.getActiveStudentCurricularPlan().getEnrolmentsExecutionYears().isEmpty()) { final ActionMessages actionMessages = new ActionMessages(); actionMessages.add("message.no.enrolments", new ActionMessage("message.no.enrolments")); saveMessages(request, actionMessages); } else { request.setAttribute("executionYears", student.getActiveStudentCurricularPlan().getEnrolmentsExecutionYears()); } } else if (!student.hasAnyStudentCurricularPlans()) { final ActionMessages actionMessages = new ActionMessages(); actionMessages.add("error.student.curricularPlan.nonExistent", new ActionMessage("error.student.curricularPlan.nonExistent")); saveMessages(request, actionMessages); } return mapping.findForward("createDocumentRequests"); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/c6db24c01d9099fb93ee69dabe2d6cdfc14877f4/DocumentRequestDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/student/administrativeOfficeServices/DocumentRequestDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 2911, 12, 1803, 3233, 2874, 16, 4382, 1204, 1301, 1204, 16, 9984, 590, 16, 12446, 766, 13, 288, 3639, 727, 11573, 6175, 273, 3877, 1989, 18, 588, 1299, 1767, 12, 2293, 2934, 588, 8346, 5621, 3639, 727, 934, 1100, 319, 18110, 273, 6175, 18, 588, 19943, 319, 858, 8575, 5621, 7734, 309, 261, 26240, 18, 588, 19943, 319, 2408, 1512, 2490, 22846, 1380, 1435, 405, 404, 13, 288, 5411, 590, 18, 542, 1499, 2932, 26240, 3113, 18110, 1769, 5411, 590, 18, 542, 1499, 2932, 26240, 2408, 1512, 2490, 22846, 3113, 18110, 18, 588, 19943, 319, 2408, 1512, 2490, 22846, 10663, 13491, 309, 261, 26240, 18, 588, 3896, 19943, 319, 2408, 1512, 2490, 5365, 7675, 588, 664, 922, 1346, 3210, 21945, 7675, 291, 1921, 10756, 288, 7734, 727, 4382, 5058, 1301, 5058, 273, 394, 4382, 5058, 5621, 7734, 1301, 5058, 18, 1289, 2932, 2150, 18, 2135, 18, 12401, 1346, 3113, 394, 4382, 1079, 2932, 2150, 18, 2135, 18, 12401, 1346, 7923, 1769, 7734, 1923, 5058, 12, 2293, 16, 1301, 5058, 1769, 5411, 289, 469, 288, 7734, 590, 18, 542, 1499, 2932, 16414, 21945, 3113, 18110, 18, 588, 3896, 19943, 319, 2408, 1512, 2490, 5365, 7675, 588, 664, 922, 1346, 3210, 21945, 10663, 7734, 289, 3639, 289, 469, 309, 16051, 26240, 18, 5332, 2961, 19943, 319, 2408, 1512, 2490, 22846, 10756, 288, 5411, 727, 4382, 5058, 1301, 5058, 273, 394, 4382, 5058, 5621, 5411, 1301, 5058, 18, 1289, 2932, 1636, 18, 26240, 18, 1397, 1512, 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, 4382, 8514, 2911, 12, 1803, 3233, 2874, 16, 4382, 1204, 1301, 1204, 16, 9984, 590, 16, 12446, 766, 13, 288, 3639, 727, 11573, 6175, 273, 3877, 1989, 18, 588, 1299, 1767, 12, 2293, 2934, 588, 8346, 5621, 3639, 727, 934, 1100, 319, 18110, 273, 6175, 18, 588, 19943, 319, 858, 8575, 5621, 7734, 309, 261, 26240, 18, 588, 19943, 319, 2408, 1512, 2490, 22846, 1380, 1435, 405, 404, 13, 288, 5411, 590, 18, 542, 1499, 2932, 26240, 3113, 18110, 1769, 5411, 590, 18, 542, 1499, 2932, 26240, 2408, 1512, 2490, 22846, 3113, 18110, 18, 588, 19943, 319, 2408, 1512, 2490, 22846, 10663, 13491, 309, 261, 26240, 18, 588, 3896, 19943, 319, 2408, 1512, 2490, 5365, 7675, 588, 2 ]
if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.margin == null) { box.margin = box.getContent().getStyle().getMarginWidth(); }
if (box.margin == null) { box.margin = c.getCurrentStyle().getMarginWidth();
public static Border getMargin(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.margin == null) { box.margin = box.getContent().getStyle().getMarginWidth(); } } return box.margin; }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/e65470765b9501b251ba6faf1734b383bb9b1578/DefaultLayout.java/clean/src/java/org/xhtmlrenderer/layout/DefaultLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 13525, 2108, 5243, 12, 1042, 276, 16, 8549, 3919, 13, 288, 3639, 309, 261, 3744, 1304, 18, 291, 1768, 1162, 10870, 1046, 3514, 12, 71, 16, 3919, 3719, 288, 5411, 309, 261, 2147, 18, 10107, 422, 446, 13, 288, 7734, 3919, 18, 10107, 273, 3919, 18, 588, 1350, 7675, 588, 2885, 7675, 588, 9524, 2384, 5621, 5411, 289, 3639, 289, 3639, 327, 3919, 18, 10107, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 13525, 2108, 5243, 12, 1042, 276, 16, 8549, 3919, 13, 288, 3639, 309, 261, 3744, 1304, 18, 291, 1768, 1162, 10870, 1046, 3514, 12, 71, 16, 3919, 3719, 288, 5411, 309, 261, 2147, 18, 10107, 422, 446, 13, 288, 7734, 3919, 18, 10107, 273, 3919, 18, 588, 1350, 7675, 588, 2885, 7675, 588, 9524, 2384, 5621, 5411, 289, 3639, 289, 3639, 327, 3919, 18, 10107, 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 ]
SortedBag bag3 = decorateBag(emptyBag, null);
SortedBag bag3 = decorateBag(new TreeBag(), null);
public void testDecorate() { SortedBag bag = decorateBag(emptyBag, stringClass); try { SortedBag bag3 = decorateBag(emptyBag, null); fail("Expecting IllegalArgumentException for null predicate"); } catch (IllegalArgumentException e) {} try { SortedBag bag4 = decorateBag(nullBag, stringClass); fail("Expecting IllegalArgumentException for null bag"); } catch (IllegalArgumentException e) {} }
55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/ae60862fd63c00004799e02ca5f1c930e1752970/TestTypedSortedBag.java/clean/src/test/org/apache/commons/collections/bag/TestTypedSortedBag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7859, 340, 1435, 288, 3639, 13717, 5013, 13189, 273, 15752, 5013, 12, 5531, 5013, 16, 533, 797, 1769, 3639, 775, 288, 5411, 13717, 5013, 13189, 23, 273, 15752, 5013, 12, 2704, 4902, 5013, 9334, 446, 1769, 5411, 2321, 2932, 24439, 2754, 364, 446, 5641, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 2618, 3639, 775, 288, 5411, 13717, 5013, 13189, 24, 273, 15752, 5013, 12, 2011, 5013, 16, 533, 797, 1769, 5411, 2321, 2932, 24439, 2754, 364, 446, 13189, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 2618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7859, 340, 1435, 288, 3639, 13717, 5013, 13189, 273, 15752, 5013, 12, 5531, 5013, 16, 533, 797, 1769, 3639, 775, 288, 5411, 13717, 5013, 13189, 23, 273, 15752, 5013, 12, 2704, 4902, 5013, 9334, 446, 1769, 5411, 2321, 2932, 24439, 2754, 364, 446, 5641, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 2618, 3639, 775, 288, 5411, 13717, 5013, 13189, 24, 273, 15752, 5013, 12, 2011, 5013, 16, 533, 797, 1769, 5411, 2321, 2932, 24439, 2754, 364, 446, 13189, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 2618, 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 ]
version = Version.read_version(din);
version = Version.read_version(istream);
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); version = Version.read_version(din); flags = (byte) din.read(); /** TODO implement support for the little endian. */ if (!isBigEndian()) throw new MARSHAL("Little endian unsupported."); message_type = (byte) din.read(); message_size = din.readInt(); } catch (IOException ex) { throw new MARSHAL(ex.toString()); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 855, 12, 6290, 18, 1594, 18, 4348, 277, 3256, 13, 5411, 1216, 490, 985, 2664, 1013, 225, 288, 565, 775, 1377, 288, 3639, 29382, 302, 267, 273, 394, 29382, 12, 376, 793, 1769, 3639, 1160, 8526, 619, 19289, 273, 394, 1160, 63, 490, 22247, 18, 2469, 308, 31, 3639, 302, 267, 18, 896, 12, 92, 19289, 1769, 3639, 309, 16051, 12726, 18, 14963, 12, 92, 19289, 16, 490, 22247, 3719, 1850, 604, 394, 490, 985, 2664, 1013, 2932, 1248, 279, 611, 45, 3665, 883, 8863, 3639, 1177, 273, 4049, 18, 896, 67, 1589, 12, 376, 793, 1769, 3639, 2943, 273, 261, 7229, 13, 302, 267, 18, 896, 5621, 3639, 1783, 2660, 2348, 2865, 364, 326, 12720, 14759, 18, 1195, 3639, 309, 16051, 291, 9901, 7583, 10756, 1850, 604, 394, 490, 985, 2664, 1013, 2932, 48, 7188, 14759, 13248, 1199, 1769, 3639, 883, 67, 723, 273, 261, 7229, 13, 302, 267, 18, 896, 5621, 3639, 883, 67, 1467, 273, 302, 267, 18, 896, 1702, 5621, 1377, 289, 565, 1044, 261, 14106, 431, 13, 1377, 288, 3639, 604, 394, 490, 985, 2664, 1013, 12, 338, 18, 10492, 10663, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 855, 12, 6290, 18, 1594, 18, 4348, 277, 3256, 13, 5411, 1216, 490, 985, 2664, 1013, 225, 288, 565, 775, 1377, 288, 3639, 29382, 302, 267, 273, 394, 29382, 12, 376, 793, 1769, 3639, 1160, 8526, 619, 19289, 273, 394, 1160, 63, 490, 22247, 18, 2469, 308, 31, 3639, 302, 267, 18, 896, 12, 92, 19289, 1769, 3639, 309, 16051, 12726, 18, 14963, 12, 92, 19289, 16, 490, 22247, 3719, 1850, 604, 394, 490, 985, 2664, 1013, 2932, 1248, 279, 611, 45, 3665, 883, 8863, 3639, 1177, 273, 4049, 18, 896, 67, 1589, 12, 376, 793, 1769, 3639, 2943, 273, 261, 7229, 13, 302, 267, 18, 896, 5621, 3639, 1783, 2660, 2348, 2865, 364, 326, 12720, 2 ]
comment = new Comment(report, commentNum++);
comment = new Comment(attributeFactory, report, commentNum++);
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { characters = new StringBuffer(); BugzillaReportElement tag = BugzillaReportElement.UNKNOWN; try { tag = BugzillaReportElement.valueOf(localName.trim().toUpperCase()); } catch (RuntimeException e) { if (e instanceof IllegalArgumentException) { // ignore unrecognized tags return; } throw e; } switch (tag) { case BUGZILLA: // Note: here we can get the bugzilla version if necessary break; case BUG: if (attributes != null && (attributes.getValue("error") != null)) { errorMessage = attributes.getValue("error"); } break; case LONG_DESC: comment = new Comment(report, commentNum++); break; case ATTACHMENT: attachment = new ReportAttachment(); if (attributes != null && (attributes.getValue(BugzillaReportElement.IS_OBSOLETE.getKeyString()) != null)) { attachment.addAttribute(BugzillaReportElement.IS_OBSOLETE, new RepositoryTaskAttribute( BugzillaReportElement.IS_OBSOLETE)); } break; } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d6adf902ecafbef942349464348e4435750dd099/SaxBugReportContentHandler.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxBugReportContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 202, 202, 20558, 273, 394, 6674, 5621, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 62, 2627, 2534, 30, 1082, 202, 759, 3609, 30, 2674, 732, 848, 336, 326, 7934, 15990, 1177, 309, 4573, 1082, 202, 8820, 31, 202, 202, 3593, 10937, 43, 30, 1082, 202, 430, 261, 4350, 480, 446, 597, 261, 4350, 18, 24805, 2932, 1636, 7923, 480, 446, 3719, 288, 9506, 202, 1636, 1079, 273, 1677, 18, 24805, 2932, 1636, 8863, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 3593, 14011, 67, 10964, 30, 1082, 202, 3469, 273, 394, 9821, 12, 6006, 16, 2879, 2578, 9904, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 7907, 18133, 3212, 30, 1082, 202, 11461, 273, 394, 8706, 6803, 5621, 1082, 202, 430, 261, 4350, 480, 446, 597, 261, 4350, 18, 24805, 12, 19865, 15990, 4820, 1046, 18, 5127, 67, 5704, 3584, 4311, 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, 225, 202, 482, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 202, 202, 20558, 273, 394, 6674, 5621, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 62, 2 ]
if (mName.equals(ICalTok.RRULE.toString()) || mName.equals(ICalTok.EXRULE.toString())) sw.write(mValue); else sw.write(escape(mValue));
if (mValue != null) { if (mName.equals(ICalTok.RRULE.toString()) || mName.equals(ICalTok.EXRULE.toString())) sw.write(mValue); else sw.write(escape(mValue)); }
public void toICalendar(Writer w) throws IOException { StringWriter sw = new StringWriter(); sw.write(escape(mName)); for (ZParameter param: mParameters) param.toICalendar(sw); sw.write(':'); if (mName.equals(ICalTok.RRULE.toString()) || mName.equals(ICalTok.EXRULE.toString())) sw.write(mValue); else sw.write(escape(mValue)); // Write with folding. String rawval = sw.toString(); int len = rawval.length(); for (int i = 0; i < len; i += CHARS_PER_FOLDED_LINE) { int upto = Math.min(i + CHARS_PER_FOLDED_LINE, len); String segment = rawval.substring(i, upto); if (i > 0) { w.write(LINE_BREAK); w.write(' '); } w.write(segment); } w.write(LINE_BREAK); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d2bb4f39fb971bbc73c0ecff01cbd6d1962c353b/ZCalendar.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/calendar/ZCalendar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 358, 2871, 287, 2843, 12, 2289, 341, 13, 1216, 1860, 288, 5411, 17436, 1352, 273, 394, 17436, 5621, 13491, 1352, 18, 2626, 12, 6939, 12, 81, 461, 10019, 5411, 364, 261, 62, 1662, 579, 30, 312, 2402, 13, 7734, 579, 18, 869, 2871, 287, 2843, 12, 5328, 1769, 5411, 1352, 18, 2626, 2668, 2497, 1769, 5411, 309, 261, 81, 461, 18, 14963, 12, 2871, 287, 20477, 18, 54, 14920, 18, 10492, 10756, 747, 7734, 312, 461, 18, 14963, 12, 2871, 287, 20477, 18, 2294, 14920, 18, 10492, 1435, 3719, 2398, 202, 5328, 18, 2626, 12, 81, 620, 1769, 5411, 469, 202, 5411, 1352, 18, 2626, 12, 6939, 12, 81, 620, 10019, 5411, 368, 2598, 598, 11590, 310, 18, 5411, 514, 1831, 1125, 273, 1352, 18, 10492, 5621, 5411, 509, 562, 273, 1831, 1125, 18, 2469, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 277, 1011, 12090, 55, 67, 3194, 67, 42, 1741, 7660, 67, 5997, 13, 288, 7734, 509, 582, 21910, 273, 2361, 18, 1154, 12, 77, 397, 12090, 55, 67, 3194, 67, 42, 1741, 7660, 67, 5997, 16, 562, 1769, 7734, 514, 3267, 273, 1831, 1125, 18, 28023, 12, 77, 16, 582, 21910, 1769, 7734, 309, 261, 77, 405, 374, 13, 288, 10792, 341, 18, 2626, 12, 5997, 67, 27960, 1769, 10792, 341, 18, 2626, 2668, 28005, 7734, 289, 7734, 341, 18, 2626, 12, 9273, 1769, 5411, 289, 5411, 341, 18, 2626, 12, 5997, 67, 27960, 1769, 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, 540, 1071, 918, 358, 2871, 287, 2843, 12, 2289, 341, 13, 1216, 1860, 288, 5411, 17436, 1352, 273, 394, 17436, 5621, 13491, 1352, 18, 2626, 12, 6939, 12, 81, 461, 10019, 5411, 364, 261, 62, 1662, 579, 30, 312, 2402, 13, 7734, 579, 18, 869, 2871, 287, 2843, 12, 5328, 1769, 5411, 1352, 18, 2626, 2668, 2497, 1769, 5411, 309, 261, 81, 461, 18, 14963, 12, 2871, 287, 20477, 18, 54, 14920, 18, 10492, 10756, 747, 7734, 312, 461, 18, 14963, 12, 2871, 287, 20477, 18, 2294, 14920, 18, 10492, 1435, 3719, 2398, 202, 5328, 18, 2626, 12, 81, 620, 1769, 5411, 469, 202, 5411, 1352, 18, 2626, 12, 6939, 12, 81, 620, 10019, 5411, 368, 2598, 598, 11590, 2 ]
lblForeground.setText("Color:");
lblForeground.setText(Messages.getString("FontDefinitionDialog.Lbl.Color"));
private void placeComponents() { GridLayout glContent = new GridLayout(); glContent.verticalSpacing = 5; glContent.horizontalSpacing = 5; glContent.marginHeight = 7; glContent.marginWidth = 7; glContent.numColumns = 9; cmpContent = new Composite(shell, SWT.NONE); cmpContent.setLayout(glContent); Label lblFont = new Label(cmpContent, SWT.NONE); GridData gdLFont = new GridData(); gdLFont.heightHint = 22; lblFont.setLayoutData(gdLFont); lblFont.setText("Font:"); cmbFontNames = new Combo(cmpContent, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBFontNames = new GridData(GridData.FILL_HORIZONTAL); gdCMBFontNames.horizontalSpan = 8; cmbFontNames.setLayoutData(gdCMBFontNames); cmbFontNames.addSelectionListener(this); Label lblSize = new Label(cmpContent, SWT.NONE); GridData gdLSize = new GridData(); gdLSize.heightHint = 22; lblSize.setLayoutData(gdLSize); lblSize.setText("Size:"); iscFontSizes = new IntegerSpinControl(cmpContent, SWT.NONE, (int) fdCurrent.getSize()); GridData gdISCFontSizes = new GridData(GridData.FILL_HORIZONTAL); gdISCFontSizes.horizontalSpan = 3; iscFontSizes.setLayoutData(gdISCFontSizes); iscFontSizes.setMinimum(MIN_FONT_SIZE); iscFontSizes.setMaximum(MAX_FONT_SIZE); iscFontSizes.addListener(this); Label lblForeground = new Label(cmpContent, SWT.NONE); GridData gdLForeground = new GridData(); gdLForeground.horizontalSpan = 2; lblForeground.setLayoutData(gdLForeground); lblForeground.setText("Color:"); fccColor = new FillChooserComposite(cmpContent, SWT.NONE, cdCurrent, false, false); GridData gdFCCColor = new GridData(GridData.FILL_HORIZONTAL); gdFCCColor.horizontalSpan = 3; fccColor.setLayoutData(gdFCCColor); fccColor.addListener(this); Label lblStyle = new Label(cmpContent, SWT.NONE); GridData gdLStyle = new GridData(); gdLStyle.heightHint = 22; // gdLStyle.horizontalSpan = 2; lblStyle.setLayoutData(gdLStyle); lblStyle.setText("Style:"); btnBold = new Button(cmpContent, SWT.TOGGLE); GridData gdBBold = new GridData(GridData.FILL_HORIZONTAL); btnBold.setLayoutData(gdBBold); // TODO: This should be an image btnBold.setText("B"); btnBold.addSelectionListener(this); btnBold.setSelection(fdCurrent.isBold()); btnItalic = new Button(cmpContent, SWT.TOGGLE); GridData gdBItalic = new GridData(GridData.FILL_HORIZONTAL); btnItalic.setLayoutData(gdBItalic); // TODO: This should be an image btnItalic.setText("I"); btnItalic.addSelectionListener(this); btnItalic.setSelection(fdCurrent.isItalic()); btnUnderline = new Button(cmpContent, SWT.TOGGLE); GridData gdBUnderline = new GridData(GridData.FILL_HORIZONTAL); btnUnderline.setLayoutData(gdBUnderline); // TODO: This should be an image btnUnderline.setText("U"); btnUnderline.addSelectionListener(this); btnUnderline.setSelection(fdCurrent.isUnderline()); Label lblFormat = new Label(cmpContent, SWT.NONE); GridData gdLFormat = new GridData(GridData.VERTICAL_ALIGN_FILL); gdLFormat.horizontalSpan = 2; gdLFormat.verticalSpan = 2; lblFormat.setLayoutData(gdLFormat); lblFormat.setText("Format:"); cbStrikethru = new Button(cmpContent, SWT.CHECK); GridData gdCBStrikethru = new GridData(GridData.FILL_HORIZONTAL); gdCBStrikethru.horizontalSpan = 2; gdCBStrikethru.heightHint = 20; cbStrikethru.setLayoutData(gdCBStrikethru); cbStrikethru.addSelectionListener(this); cbStrikethru.setText("Strikethrough"); cbStrikethru.setSelection(fdCurrent.isStrikethrough()); Label lblDummy1 = new Label(cmpContent, SWT.NONE); GridData gdLDummy1 = new GridData(); gdLDummy1.horizontalSpan = 6; lblDummy1.setLayoutData(gdLDummy1); cbWrap = new Button(cmpContent, SWT.CHECK); GridData gdCBWrap = new GridData(GridData.FILL_HORIZONTAL); gdCBWrap.horizontalSpan = 2; gdCBWrap.heightHint = 20; cbWrap.setLayoutData(gdCBWrap); cbWrap.addSelectionListener(this); cbWrap.setText("Wrap"); cbWrap.setSelection(fdCurrent.isWordWrap()); createRotationPanel(); createAlignmentPanel(); FillLayout flPreview = new FillLayout(); flPreview.marginHeight = 2; flPreview.marginWidth = 3; grpPreview = new Group(cmpContent, SWT.NONE); grpPreview.setText("Preview"); GridData gdGRPPreview = new GridData(GridData.FILL_BOTH); gdGRPPreview.horizontalSpan = 9; grpPreview.setLayoutData(gdGRPPreview); grpPreview.setLayout(flPreview); fcPreview = new FontCanvas(grpPreview, SWT.NONE, fdCurrent, cdCurrent, true, true, true); createButtonPanel(); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7793e94b4d7fab5891f226c6c937e37d85bebad8/FontDefinitionDialog.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FontDefinitionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3166, 7171, 1435, 565, 288, 3639, 7145, 3744, 5118, 1350, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 17824, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 10107, 2686, 273, 2371, 31, 3639, 5118, 1350, 18, 10107, 2384, 273, 2371, 31, 3639, 5118, 1350, 18, 2107, 3380, 273, 2468, 31, 3639, 9411, 1350, 273, 394, 14728, 12, 10304, 16, 348, 8588, 18, 9826, 1769, 3639, 9411, 1350, 18, 542, 3744, 12, 7043, 1350, 1769, 3639, 5287, 14284, 5711, 273, 394, 5287, 12, 9625, 1350, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 48, 5711, 273, 394, 7145, 751, 5621, 3639, 15551, 48, 5711, 18, 4210, 7002, 273, 11201, 31, 3639, 14284, 5711, 18, 542, 3744, 751, 12, 19016, 48, 5711, 1769, 3639, 14284, 5711, 18, 542, 1528, 2932, 5711, 2773, 1769, 3639, 276, 1627, 5711, 1557, 273, 394, 1286, 1075, 12, 9625, 1350, 16, 348, 8588, 18, 18768, 67, 12711, 571, 348, 8588, 18, 6949, 67, 10857, 1769, 3639, 7145, 751, 15551, 39, 7969, 5711, 1557, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 3639, 15551, 39, 7969, 5711, 1557, 18, 18396, 6952, 273, 1725, 31, 3639, 276, 1627, 5711, 1557, 18, 542, 3744, 751, 12, 19016, 39, 7969, 5711, 1557, 1769, 3639, 276, 1627, 5711, 1557, 18, 1289, 6233, 2223, 12, 2211, 1769, 3639, 5287, 14284, 1225, 273, 394, 5287, 12, 9625, 1350, 16, 348, 8588, 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, 3166, 7171, 1435, 565, 288, 3639, 7145, 3744, 5118, 1350, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 17824, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 18396, 18006, 273, 1381, 31, 3639, 5118, 1350, 18, 10107, 2686, 273, 2371, 31, 3639, 5118, 1350, 18, 10107, 2384, 273, 2371, 31, 3639, 5118, 1350, 18, 2107, 3380, 273, 2468, 31, 3639, 9411, 1350, 273, 394, 14728, 12, 10304, 16, 348, 8588, 18, 9826, 1769, 3639, 9411, 1350, 18, 542, 3744, 12, 7043, 1350, 1769, 3639, 5287, 14284, 5711, 273, 394, 5287, 12, 9625, 1350, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 48, 5711, 273, 394, 7145, 751, 5621, 3639, 15551, 48, 5711, 18, 2 ]
final PsiStatement statementLabeled = labeledStatement.getStatement(); return statementMustAssignVariableOrFail(field, statementLabeled, checkedMethods); } else if (statement instanceof PsiIfStatement) { return ifStatementMustAssignVariableOrFail(field, (PsiIfStatement) statement, checkedMethods); } else if (statement instanceof PsiTryStatement) { return tryStatementMustAssignVariableOrFail(field, (PsiTryStatement) statement, checkedMethods); } else if (statement instanceof PsiSwitchStatement) {
final PsiStatement statementLabeled = labeledStatement .getStatement(); return statementMustAssignVariableOrFail(field, statementLabeled, checkedMethods); } else if(statement instanceof PsiIfStatement){ return ifStatementMustAssignVariableOrFail(field, (PsiIfStatement) statement, checkedMethods); } else if(statement instanceof PsiTryStatement){ return tryStatementMustAssignVariableOrFail(field, (PsiTryStatement) statement, checkedMethods); } else if(statement instanceof PsiSwitchStatement){
private static boolean statementMustAssignVariableOrFail(@NotNull PsiVariable field, PsiStatement statement, Set<MethodSignature> checkedMethods) { if (statement == null) { return false; } if(statementMustThrowException(statement)) { return true; } if (statement instanceof PsiBreakStatement || statement instanceof PsiContinueStatement || statement instanceof PsiAssertStatement || statement instanceof PsiEmptyStatement) { return false; } else if (statement instanceof PsiReturnStatement) { final PsiReturnStatement returnStatement = (PsiReturnStatement) statement; final PsiExpression returnValue = returnStatement.getReturnValue(); return expressionMustAssignVariableOrFail(field, returnValue, checkedMethods); } else if (statement instanceof PsiThrowStatement) { final PsiThrowStatement throwStatement = (PsiThrowStatement) statement; final PsiExpression exception = throwStatement.getException(); return expressionMustAssignVariableOrFail(field, exception, checkedMethods); } else if (statement instanceof PsiExpressionListStatement) { final PsiExpressionListStatement list = (PsiExpressionListStatement) statement; final PsiExpressionList expressionList = list.getExpressionList(); final PsiExpression[] expressions = expressionList.getExpressions(); for(final PsiExpression expression : expressions){ if(expressionMustAssignVariableOrFail(field, expression, checkedMethods)){ return true; } } return false; } else if (statement instanceof PsiExpressionStatement) { final PsiExpressionStatement expressionStatement = (PsiExpressionStatement) statement; final PsiExpression expression = expressionStatement.getExpression(); return expressionMustAssignVariableOrFail(field, expression, checkedMethods); } else if (statement instanceof PsiDeclarationStatement) { return declarationStatementMustAssignVariableOrFail(field, (PsiDeclarationStatement) statement, checkedMethods); } else if (statement instanceof PsiForStatement) { return forStatementMustAssignVariableOrFail(field, (PsiForStatement) statement, checkedMethods); } else if (statement instanceof PsiForeachStatement) { return foreachStatementMustAssignVariableOrFail(field, (PsiForeachStatement) statement); } else if (statement instanceof PsiWhileStatement) { return whileStatementMustAssignVariableOrFail(field, (PsiWhileStatement) statement, checkedMethods); } else if (statement instanceof PsiDoWhileStatement) { return doWhileMustAssignVariableOrFail(field, (PsiDoWhileStatement) statement, checkedMethods); } else if (statement instanceof PsiSynchronizedStatement) { final PsiCodeBlock body = ((PsiSynchronizedStatement) statement).getBody(); return cachingblockMustAssignVariableOrFail(field, body, checkedMethods); } else if (statement instanceof PsiBlockStatement) { final PsiCodeBlock codeBlock = ((PsiBlockStatement) statement).getCodeBlock(); return cachingblockMustAssignVariableOrFail(field, codeBlock, checkedMethods); } else if (statement instanceof PsiLabeledStatement) { final PsiLabeledStatement labeledStatement = (PsiLabeledStatement) statement; final PsiStatement statementLabeled = labeledStatement.getStatement(); return statementMustAssignVariableOrFail(field, statementLabeled, checkedMethods); } else if (statement instanceof PsiIfStatement) { return ifStatementMustAssignVariableOrFail(field, (PsiIfStatement) statement, checkedMethods); } else if (statement instanceof PsiTryStatement) { return tryStatementMustAssignVariableOrFail(field, (PsiTryStatement) statement, checkedMethods); } else if (statement instanceof PsiSwitchStatement) { return false; } else // unknown statement type { return false; } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/fc3fc1341db4aa6d26930bf45116ec44c28fc569/InitializationUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/InitializationUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 3021, 10136, 4910, 3092, 18492, 26964, 5962, 453, 7722, 3092, 652, 16, 453, 7722, 3406, 3021, 16, 1000, 32, 1305, 5374, 34, 5950, 4712, 13, 288, 3639, 309, 261, 11516, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 11516, 10136, 8282, 503, 12, 11516, 3719, 3639, 288, 5411, 327, 638, 31, 3639, 289, 3639, 309, 261, 11516, 1276, 453, 7722, 7634, 3406, 747, 7734, 3021, 1276, 453, 7722, 12378, 3406, 747, 7734, 3021, 1276, 453, 7722, 8213, 3406, 747, 7734, 3021, 1276, 453, 7722, 1921, 3406, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 11516, 1276, 453, 7722, 990, 3406, 13, 288, 5411, 727, 453, 7722, 990, 3406, 327, 3406, 273, 261, 52, 7722, 990, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 7750, 273, 327, 3406, 18, 588, 19092, 5621, 5411, 327, 2652, 10136, 4910, 3092, 18492, 12, 1518, 16, 7750, 16, 5950, 4712, 1769, 3639, 289, 469, 309, 261, 11516, 1276, 453, 7722, 8282, 3406, 13, 288, 5411, 727, 453, 7722, 8282, 3406, 604, 3406, 273, 261, 52, 7722, 8282, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 1520, 273, 604, 3406, 18, 588, 503, 5621, 5411, 327, 2652, 10136, 4910, 3092, 18492, 12, 1518, 16, 1520, 16, 5950, 4712, 1769, 3639, 289, 469, 309, 261, 11516, 1276, 453, 7722, 2300, 682, 3406, 13, 288, 5411, 727, 453, 7722, 2300, 682, 3406, 666, 273, 261, 52, 7722, 2300, 682, 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, 1250, 3021, 10136, 4910, 3092, 18492, 26964, 5962, 453, 7722, 3092, 652, 16, 453, 7722, 3406, 3021, 16, 1000, 32, 1305, 5374, 34, 5950, 4712, 13, 288, 3639, 309, 261, 11516, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 11516, 10136, 8282, 503, 12, 11516, 3719, 3639, 288, 5411, 327, 638, 31, 3639, 289, 3639, 309, 261, 11516, 1276, 453, 7722, 7634, 3406, 747, 7734, 3021, 1276, 453, 7722, 12378, 3406, 747, 7734, 3021, 1276, 453, 7722, 8213, 3406, 747, 7734, 3021, 1276, 453, 7722, 1921, 3406, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 11516, 1276, 453, 7722, 990, 3406, 13, 288, 5411, 727, 453, 7722, 990, 2 ]
String value = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATAREFERENCE + i);
String value = CmsImport.getChildElementTextValue( dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATAREFERENCE + i);
protected CmsMasterDataSet getMasterDataSet(int subId, Element masterElement) throws CmsException { String datasetfile = null, username = null, groupname = null, accessFlags = null, publicationDate = null, purgeDate = null, creationDate = null, flags = null, feedId = null, feedReference = null, feedFilename = null, title = null, master_id = null; CmsMasterDataSet newDataset = new CmsMasterDataSet(); // get the file with the dataset of the master datasetfile = ((Element) masterElement.selectNodes("./" + CmsExportModuledata.C_EXPORT_TAG_MASTER_DATASET).get(0)).getTextTrim(); Document datasetXml = CmsImportVersion1.getXmlDocument(getFileInputStream(datasetfile)); Element dataset = (Element) datasetXml.getRootElement().selectNodes("./" + CmsExportModuledata.C_EXPORT_TAG_MASTER_DATASET).get(0); // get the information from the dataset and add it to the dataset // first add the subid newDataset.m_subId = subId; master_id = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_ID); if (master_id != null) { newDataset.m_masterId = new CmsUUID(master_id); } else { newDataset.m_masterId = CmsUUID.getNullUUID(); } // get the id of the user or set the owner to the current user username = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_USER); CmsUUID userId = null; try { if ((username != null) && !("".equals(username.trim()))) { userId = m_cms.readUser(username).getId(); } } catch (Exception e) { // userId will be current user userId = m_cms.getRequestContext().currentUser().getId(); } newDataset.m_userId = userId; // get the id of the group or set the group to the current user groupname = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_GROUP); CmsUUID groupId = CmsUUID.getNullUUID(); try { if ((groupname != null) && !("".equals(groupname.trim()))) { groupId = m_cms.readGroup(groupname).getId(); } } catch (Exception e) { try { groupId = m_cms.readGroup(OpenCms.getDefaultUsers().getGroupUsers()).getId(); } catch (Exception e2) { // ignore } } newDataset.m_groupId = groupId; // set the accessflags or the default flags accessFlags = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_ACCESSFLAGS); try { newDataset.m_accessFlags = Integer.parseInt(accessFlags); } catch (Exception e) { newDataset.m_accessFlags = com.opencms.core.I_CmsConstants.C_ACCESS_DEFAULT_FLAGS; } // set the publication date publicationDate = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_PUBLICATIONDATE); try { newDataset.m_publicationDate = convertDate(publicationDate); } catch (Exception e) { // ignore } // set the purge date purgeDate = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_PURGEDATE); try { newDataset.m_purgeDate = convertDate(purgeDate); } catch (Exception e) { // ignore } // set the creation date if possible try { creationDate = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_CREATEDATE); newDataset.m_dateCreated = convertDate(creationDate); } catch (Exception e) { // ignore } // set the flags flags = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_FLAGS); try { newDataset.m_flags = Integer.parseInt(flags); } catch (Exception e) { // ignore } // set the feedid feedId = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_FEEDID); try { newDataset.m_feedId = Integer.parseInt(feedId); } catch (Exception e) { // ignore } // set the feedreference feedReference = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_FEEDREFERENCE); try { newDataset.m_feedReference = Integer.parseInt(feedReference); } catch (Exception e) { // ignore } // set the feedfilenam feedFilename = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_FEEDFILENAME); newDataset.m_feedFilename = feedFilename; // set the masters title title = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_TITLE); newDataset.m_title = title; // set the values of data_big for (int i = 0; i < newDataset.m_dataBig.length; i++) { String filename = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATABIG + i); String value = new String(); if (filename != null && !"".equals(filename.trim())) { // get the value from the file value = new String(getFileBytes(filename)); } newDataset.m_dataBig[i] = value; } // get the values of data_medium for (int i = 0; i < newDataset.m_dataMedium.length; i++) { String filename = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATAMEDIUM + i); String value = new String(); if (filename != null && !"".equals(filename.trim())) { // get the value from the file value = new String(getFileBytes(filename)); } newDataset.m_dataMedium[i] = value; } // get the values of data_small for (int i = 0; i < newDataset.m_dataSmall.length; i++) { String filename = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATASMALL + i); String value = new String(); if (filename != null && !"".equals(filename.trim())) { // get the value from the file value = new String(getFileBytes(filename)); } newDataset.m_dataSmall[i] = value; } // get the values of data_int for (int i = 0; i < newDataset.m_dataInt.length; i++) { String value = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATAINT + i); try { newDataset.m_dataInt[i] = new Integer(value).intValue(); } catch (Exception e) { newDataset.m_dataInt[i] = 0; } } // get the values of data_reference for (int i = 0; i < newDataset.m_dataReference.length; i++) { String value = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATAREFERENCE + i); try { newDataset.m_dataReference[i] = new Integer(value).intValue(); } catch (Exception e) { newDataset.m_dataReference[i] = 0; } } // get the values of data_date for (int i = 0; i < newDataset.m_dataDate.length; i++) { String value = CmsImport.getChildElementTextValue(dataset, CmsExportModuledata.C_EXPORT_TAG_MASTER_DATADATE + i); try { newDataset.m_dataDate[i] = convertDate(value); } catch (Exception e) { newDataset.m_dataDate[i] = 0; } } return newDataset; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/88860f55b9c735c7dd01b24ea1419cb95dc77799/CmsImportModuledata.java/buggy/src-modules/com/opencms/legacy/CmsImportModuledata.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 2149, 7786, 13676, 27607, 13676, 12, 474, 720, 548, 16, 3010, 4171, 1046, 13, 1216, 11228, 288, 3639, 514, 3709, 768, 273, 446, 16, 2718, 273, 446, 16, 25329, 273, 446, 16, 2006, 5094, 273, 446, 16, 2398, 20574, 1626, 273, 446, 16, 11668, 1626, 273, 446, 16, 6710, 1626, 273, 446, 16, 2943, 273, 446, 16, 2398, 4746, 548, 273, 446, 16, 4746, 2404, 273, 446, 16, 4746, 5359, 273, 446, 16, 2077, 273, 446, 16, 5411, 4171, 67, 350, 273, 446, 31, 10792, 2149, 7786, 13676, 394, 10656, 273, 394, 2149, 7786, 13676, 5621, 3639, 368, 336, 326, 585, 598, 326, 3709, 434, 326, 4171, 3639, 3709, 768, 273, 14015, 1046, 13, 4171, 1046, 18, 4025, 3205, 2932, 18, 4898, 397, 2149, 6144, 3120, 892, 18, 39, 67, 31275, 67, 7927, 67, 28045, 67, 4883, 4043, 2934, 588, 12, 20, 13, 2934, 588, 1528, 14795, 5621, 9079, 4319, 3709, 4432, 273, 2149, 5010, 1444, 21, 18, 588, 4432, 2519, 12, 29925, 4348, 12, 8682, 768, 10019, 3639, 3010, 3709, 273, 261, 1046, 13, 3709, 4432, 18, 588, 2375, 1046, 7675, 4025, 3205, 2932, 18, 4898, 397, 2149, 6144, 3120, 892, 18, 39, 67, 31275, 67, 7927, 67, 28045, 67, 4883, 4043, 2934, 588, 12, 20, 1769, 7734, 368, 336, 326, 1779, 628, 326, 3709, 471, 527, 518, 358, 326, 3709, 3639, 368, 1122, 527, 326, 720, 350, 3639, 394, 10656, 18, 81, 67, 1717, 548, 273, 720, 548, 31, 13491, 4171, 67, 350, 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, 2149, 7786, 13676, 27607, 13676, 12, 474, 720, 548, 16, 3010, 4171, 1046, 13, 1216, 11228, 288, 3639, 514, 3709, 768, 273, 446, 16, 2718, 273, 446, 16, 25329, 273, 446, 16, 2006, 5094, 273, 446, 16, 2398, 20574, 1626, 273, 446, 16, 11668, 1626, 273, 446, 16, 6710, 1626, 273, 446, 16, 2943, 273, 446, 16, 2398, 4746, 548, 273, 446, 16, 4746, 2404, 273, 446, 16, 4746, 5359, 273, 446, 16, 2077, 273, 446, 16, 5411, 4171, 67, 350, 273, 446, 31, 10792, 2149, 7786, 13676, 394, 10656, 273, 394, 2149, 7786, 13676, 5621, 3639, 368, 336, 326, 585, 598, 326, 3709, 434, 326, 4171, 3639, 3709, 768, 273, 14015, 1046, 13, 4171, 1046, 18, 2 ]
+ siblingNumber
+ S
public String makeTreeNodeId(int level, TreeNode parent, int siblingNumber) { return "TREENODE_LEVEL" + Constants.DELIMITER + level + Constants.DELIMITER + "PARENTNODEID" + Constants.DELIMITER + "[" + (parent == null ? "NOPARENTID" : parent.getId()) + "]" + Constants.DELIMITER + "SIBLINGNUMBER" + Constants.DELIMITER + siblingNumber + Constants.DELIMITER + "ID"; }
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/eb28eb7a536f6911851c1420be30d88ad043ad97/Fixtures.java/buggy/signet/test/edu/internet2/middleware/signet/test/Fixtures.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1221, 12513, 548, 12, 474, 1801, 16, 20270, 982, 16, 509, 10841, 1854, 13, 225, 288, 565, 327, 377, 202, 6, 56, 15878, 2712, 67, 10398, 6, 4202, 397, 5245, 18, 19722, 1377, 397, 1801, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 14943, 8744, 734, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 13626, 1377, 397, 261, 2938, 422, 446, 692, 315, 3417, 14943, 734, 6, 294, 982, 18, 26321, 10756, 1377, 397, 9870, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 9894, 26789, 9931, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 348, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 734, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1221, 12513, 548, 12, 474, 1801, 16, 20270, 982, 16, 509, 10841, 1854, 13, 225, 288, 565, 327, 377, 202, 6, 56, 15878, 2712, 67, 10398, 6, 4202, 397, 5245, 18, 19722, 1377, 397, 1801, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 14943, 8744, 734, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 13626, 1377, 397, 261, 2938, 422, 446, 692, 315, 3417, 14943, 734, 6, 294, 982, 18, 26321, 10756, 1377, 397, 9870, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 9894, 26789, 9931, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 348, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 734, 14432, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface();
ImcmsServices imcref = Imcms.getServices();
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { // Lets get the standard parameters and validate them MetaInfo.Parameters params = MetaInfo.getParameters( req ); //if (super.assertNoEmptyStringsInPropertyValues(req, res, params) == false) return ; // Lets get an user object imcode.server.user.UserDomainObject user = super.getUserObj( req ); if ( user == null ) return; int testMetaId = params.getMetaId(); if ( !isUserAuthorized( res, testMetaId, user, req ) ) { return; } String action = req.getParameter( "action" ); if ( action == null ) { //OBS FIXA FELMEDELANDENA String header = "ChatManager servlet. "; ChatError err = new ChatError( req, res, header, 3 ); log( header + err.getErrorMsg() ); return; } else if ( action.equalsIgnoreCase( "NEW" ) ) { //log("Lets add a chat"); HttpSession session = req.getSession( false ); if ( session != null ) { // log("Ok nu stter vi metavrdena"); setSessionAttributes( session, params ); } req.setAttribute( "action", "NEW" ); RequestDispatcher myDispatcher; myDispatcher = req.getRequestDispatcher( "/servlet/ChatCreator" ); myDispatcher.forward( req, res ); return; } else if ( action.equalsIgnoreCase( "VIEW" ) ) { // Lets store the standard metavalues in his session object HttpSession session = req.getSession( false ); if ( session != null ) {// lets check if user is active in an other chat, if so then log him out ChatMember theChatMember = (ChatMember)session.getAttribute( "theChatMember" ); if ( theChatMember != null ) { ChatSystemMessage systemMessage = new ChatSystemMessage( theChatMember, ChatSystemMessage.USER_TIMEDOUT_MSG ); IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface(); logOutMember( theChatMember, systemMessage, imcref ); } // log("Ok nu stter vi metavrdena"); setSessionAttributes( session, params ); } req.setAttribute( "login_type", "login" ); RequestDispatcher myDispatcher; myDispatcher = req.getRequestDispatcher( "/servlet/ChatLogin" ); myDispatcher.forward( req, res ); return; } else if ( action.equalsIgnoreCase( "CHANGE" ) ) { req.setAttribute( "metadata", "meta" ); RequestDispatcher myDispatcher; myDispatcher = req.getRequestDispatcher( "ChangeExternalDoc2" ); myDispatcher.forward( req, res ); return; } // End if } // End doGet
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d060a6873350aa2972f54c354321cf3756f50e6f/ChatManager.java/clean/server/src/com/imcode/imcms/servlet/chat/ChatManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 3639, 368, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 3639, 6565, 966, 18, 2402, 859, 273, 6565, 966, 18, 588, 2402, 12, 1111, 11272, 3639, 368, 430, 261, 9565, 18, 11231, 2279, 1921, 7957, 382, 1396, 1972, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 3639, 368, 511, 2413, 336, 392, 729, 733, 3639, 709, 710, 18, 3567, 18, 1355, 18, 1299, 3748, 921, 729, 273, 2240, 18, 588, 1299, 2675, 12, 1111, 11272, 3639, 309, 261, 729, 422, 446, 262, 327, 31, 3639, 509, 1842, 2781, 548, 273, 859, 18, 588, 2781, 548, 5621, 3639, 309, 261, 401, 291, 1299, 15341, 12, 400, 16, 1842, 2781, 548, 16, 729, 16, 1111, 262, 262, 288, 5411, 327, 31, 3639, 289, 3639, 514, 1301, 273, 1111, 18, 588, 1662, 12, 315, 1128, 6, 11272, 3639, 309, 261, 1301, 422, 446, 262, 288, 5411, 368, 5704, 55, 8563, 37, 478, 2247, 958, 24733, 4307, 1157, 37, 5411, 514, 1446, 273, 315, 14163, 1318, 8100, 18, 13636, 5411, 16903, 668, 393, 273, 394, 16903, 668, 12, 1111, 16, 400, 16, 1446, 16, 890, 11272, 5411, 613, 12, 1446, 397, 393, 18, 588, 668, 3332, 1435, 11272, 5411, 327, 31, 3639, 289, 469, 309, 261, 1301, 18, 14963, 5556, 12, 315, 12917, 6, 262, 262, 288, 5411, 368, 1330, 2932, 48, 2413, 527, 279, 7916, 8863, 5411, 26166, 1339, 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, 23611, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 3639, 368, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 3639, 6565, 966, 18, 2402, 859, 273, 6565, 966, 18, 588, 2402, 12, 1111, 11272, 3639, 368, 430, 261, 9565, 18, 11231, 2279, 1921, 7957, 382, 1396, 1972, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 3639, 368, 511, 2413, 336, 392, 729, 733, 3639, 709, 710, 18, 3567, 18, 1355, 18, 1299, 3748, 921, 729, 273, 2240, 18, 588, 1299, 2675, 12, 1111, 11272, 3639, 309, 261, 729, 422, 446, 262, 327, 31, 3639, 509, 1842, 2781, 548, 273, 859, 18, 588, 2781, 548, 5621, 3639, 309, 2 ]
if (x == 0 || y == 0 || x == end || y == end) data.setPixel(x + xoffset, y + yoffset, 1); else data.setPixel(x + xoffset, y + yoffset, 2);
if (x == 0 || y == 0 || x == end || y == end) { data.setPixel(x + xoffset, y + yoffset, 1); } else { data.setPixel(x + xoffset, y + yoffset, 2); }
private ImageData createColorImage(Control w, RGB color) { GC gc = new GC(w); FontMetrics fm = gc.getFontMetrics(); int size = fm.getAscent(); gc.dispose(); int indent = 6; int extent = DEFAULT_EXTENT; if (w instanceof Table) extent = ((Table) w).getItemHeight() - 1; else if (w instanceof Tree) extent = ((Tree) w).getItemHeight() - 1; else if (w instanceof TableTree) extent = ((TableTree) w).getItemHeight() - 1; if (size > extent) size = extent; int width = indent + size; int height = extent; int xoffset = indent; int yoffset = (height - size) / 2; RGB black = new RGB(0, 0, 0); PaletteData dataPalette = new PaletteData(new RGB[] { black, black, color }); ImageData data = new ImageData(width, height, 4, dataPalette); data.transparentPixel = 0; int end = size - 1; for (int y = 0; y < size; y++) { for (int x = 0; x < size; x++) { if (x == 0 || y == 0 || x == end || y == end) data.setPixel(x + xoffset, y + yoffset, 1); else data.setPixel(x + xoffset, y + yoffset, 2); } } return data; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/391f2606b4ea2c1fb5052d938ca90877ee7631f6/ColorCellEditor.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ColorCellEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3421, 751, 752, 2957, 2040, 12, 3367, 341, 16, 11510, 2036, 13, 288, 3639, 15085, 8859, 273, 394, 15085, 12, 91, 1769, 3639, 10063, 5653, 10940, 273, 8859, 18, 588, 5711, 5653, 5621, 3639, 509, 963, 273, 10940, 18, 588, 13665, 319, 5621, 3639, 8859, 18, 2251, 4150, 5621, 3639, 509, 3504, 273, 1666, 31, 3639, 509, 11933, 273, 3331, 67, 4142, 2222, 31, 3639, 309, 261, 91, 1276, 3555, 13, 5411, 11933, 273, 14015, 1388, 13, 341, 2934, 588, 1180, 2686, 1435, 300, 404, 31, 3639, 469, 309, 261, 91, 1276, 4902, 13, 5411, 11933, 273, 14015, 2471, 13, 341, 2934, 588, 1180, 2686, 1435, 300, 404, 31, 3639, 469, 309, 261, 91, 1276, 3555, 2471, 13, 5411, 11933, 273, 14015, 1388, 2471, 13, 341, 2934, 588, 1180, 2686, 1435, 300, 404, 31, 3639, 309, 261, 1467, 405, 11933, 13, 5411, 963, 273, 11933, 31, 3639, 509, 1835, 273, 3504, 397, 963, 31, 3639, 509, 2072, 273, 11933, 31, 3639, 509, 619, 3348, 273, 3504, 31, 3639, 509, 677, 3348, 273, 261, 4210, 300, 963, 13, 342, 576, 31, 3639, 11510, 7721, 273, 394, 11510, 12, 20, 16, 374, 16, 374, 1769, 3639, 453, 8786, 751, 501, 25863, 273, 394, 453, 8786, 751, 12, 2704, 11510, 8526, 288, 7721, 16, 7721, 16, 7734, 2036, 15549, 3639, 3421, 751, 501, 273, 394, 3421, 751, 12, 2819, 16, 2072, 16, 1059, 16, 501, 25863, 1769, 3639, 501, 18, 26516, 9037, 273, 374, 31, 3639, 509, 679, 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, 3421, 751, 752, 2957, 2040, 12, 3367, 341, 16, 11510, 2036, 13, 288, 3639, 15085, 8859, 273, 394, 15085, 12, 91, 1769, 3639, 10063, 5653, 10940, 273, 8859, 18, 588, 5711, 5653, 5621, 3639, 509, 963, 273, 10940, 18, 588, 13665, 319, 5621, 3639, 8859, 18, 2251, 4150, 5621, 3639, 509, 3504, 273, 1666, 31, 3639, 509, 11933, 273, 3331, 67, 4142, 2222, 31, 3639, 309, 261, 91, 1276, 3555, 13, 5411, 11933, 273, 14015, 1388, 13, 341, 2934, 588, 1180, 2686, 1435, 300, 404, 31, 3639, 469, 309, 261, 91, 1276, 4902, 13, 5411, 11933, 273, 14015, 2471, 13, 341, 2934, 588, 1180, 2686, 1435, 300, 404, 31, 3639, 469, 309, 261, 91, 1276, 3555, 2471, 2 ]
public TA_RetCode MEDPRICE( int startIdx, int endIdx, double inHigh[], double inLow[], MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int outIdx, i; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; outIdx = 0; for( i=startIdx; i <= endIdx; i++ ) { outReal[outIdx++] = (inHigh[i]+inLow[i])/2.0; } outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;}
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 25773, 7698, 1441, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 659, 4223, 16, 77, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 659, 4223, 33, 20, 31, 1884, 12, 77, 33, 1937, 4223, 31, 77, 32, 33, 409, 4223, 31, 77, 27245, 95, 659, 6955, 63, 659, 4223, 9904, 65, 28657, 267, 8573, 63, 77, 3737, 267, 10520, 63, 77, 5717, 19, 22, 18, 20, 31, 97, 659, 22816, 1046, 18, 1132, 33, 659, 4223, 31, 659, 24059, 4223, 18, 1132, 33, 1937, 4223, 31, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 12778, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 25773, 7698, 1441, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 659, 4223, 16, 77, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 659, 4223, 33, 20, 31, 1884, 12, 77, 33, 1937, 2 ]
for (int i = 0; i < virtualProviders.length; i++) { if (virtualProviders[i].hasItemState(id)) { return virtualProviders[i].getItemState(id); } }
public ItemState getItemState(ItemId id) throws NoSuchItemStateException, ItemStateException { // check if there is a virtual state for the specified item for (int i = 0; i < virtualProviders.length; i++) { if (virtualProviders[i].hasItemState(id)) { return virtualProviders[i].getItemState(id); } } // first check if the specified item has been transiently removed if (transientStateMgr.hasItemStateInAttic(id)) { /** * check if there's new transient state for the specified item * (e.g. if a property with name 'x' has been removed and a new * property with same name has been created); * this will throw a NoSuchItemStateException if there's no new * transient state */ return transientStateMgr.getItemState(id); } // check if there's transient state for the specified item if (transientStateMgr.hasItemState(id)) { return transientStateMgr.getItemState(id); } // check if there's persistent state for the specified item if (persistentStateMgr.hasItemState(id)) { return persistentStateMgr.getItemState(id); } throw new NoSuchItemStateException(id.toString()); }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/cc14ab987cea8d4ad557b4084ab5ad5b28be918b/SessionItemStateManager.java/buggy/src/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4342, 1119, 8143, 1119, 12, 17673, 612, 13, 5411, 1216, 5823, 1180, 5060, 16, 4342, 5060, 288, 3639, 368, 866, 309, 1915, 353, 279, 5024, 919, 364, 326, 1269, 761, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5024, 10672, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 12384, 10672, 63, 77, 8009, 5332, 1180, 1119, 12, 350, 3719, 288, 7734, 327, 5024, 10672, 63, 77, 8009, 588, 1180, 1119, 12, 350, 1769, 5411, 289, 3639, 289, 3639, 368, 1122, 866, 309, 326, 1269, 761, 711, 2118, 12315, 715, 3723, 3639, 309, 261, 22670, 1119, 9455, 18, 5332, 1180, 1119, 382, 3075, 335, 12, 350, 3719, 288, 5411, 1783, 2398, 380, 866, 309, 1915, 1807, 394, 12315, 919, 364, 326, 1269, 761, 2398, 380, 261, 73, 18, 75, 18, 309, 279, 1272, 598, 508, 296, 92, 11, 711, 2118, 3723, 471, 279, 394, 2398, 380, 1272, 598, 1967, 508, 711, 2118, 2522, 1769, 2398, 380, 333, 903, 604, 279, 5823, 1180, 5060, 309, 1915, 1807, 1158, 394, 2398, 380, 12315, 919, 2398, 1195, 5411, 327, 12315, 1119, 9455, 18, 588, 1180, 1119, 12, 350, 1769, 3639, 289, 3639, 368, 866, 309, 1915, 1807, 12315, 919, 364, 326, 1269, 761, 3639, 309, 261, 22670, 1119, 9455, 18, 5332, 1180, 1119, 12, 350, 3719, 288, 5411, 327, 12315, 1119, 9455, 18, 588, 1180, 1119, 12, 350, 1769, 3639, 289, 3639, 368, 866, 309, 1915, 1807, 9195, 919, 364, 326, 1269, 761, 3639, 309, 261, 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, 4342, 1119, 8143, 1119, 12, 17673, 612, 13, 5411, 1216, 5823, 1180, 5060, 16, 4342, 5060, 288, 3639, 368, 866, 309, 1915, 353, 279, 5024, 919, 364, 326, 1269, 761, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5024, 10672, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 12384, 10672, 63, 77, 8009, 5332, 1180, 1119, 12, 350, 3719, 288, 7734, 327, 5024, 10672, 63, 77, 8009, 588, 1180, 1119, 12, 350, 1769, 5411, 289, 3639, 289, 3639, 368, 1122, 866, 309, 326, 1269, 761, 711, 2118, 12315, 715, 3723, 3639, 309, 261, 22670, 1119, 9455, 18, 5332, 1180, 1119, 382, 3075, 335, 12, 350, 3719, 288, 5411, 1783, 2398, 380, 866, 309, 1915, 2 ]
theComponentPackage.createPackageContents();
theDataPackage.createPackageContents();
public static TypePackage init() { if (isInited) return (TypePackage)EPackage.Registry.INSTANCE.getEPackage(TypePackage.eNS_URI); // Obtain or create and register package TypePackageImpl theTypePackage = (TypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof TypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new TypePackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackageImpl.init(); // Obtain or create and register interdependencies AttributePackageImpl theAttributePackage = (AttributePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI) instanceof AttributePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI) : AttributePackageImpl.eINSTANCE); ComponentPackageImpl theComponentPackage = (ComponentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI) instanceof ComponentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI) : ComponentPackageImpl.eINSTANCE); LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LayoutPackage.eNS_URI) instanceof LayoutPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LayoutPackage.eNS_URI) : LayoutPackageImpl.eINSTANCE); DataPackageImpl theDataPackage = (DataPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) instanceof DataPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) : DataPackageImpl.eINSTANCE); ModelPackageImpl theModelPackage = (ModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) : ModelPackageImpl.eINSTANCE); // Create package meta-data objects theTypePackage.createPackageContents(); theAttributePackage.createPackageContents(); theComponentPackage.createPackageContents(); theLayoutPackage.createPackageContents(); theDataPackage.createPackageContents(); theModelPackage.createPackageContents(); // Initialize created meta-data theTypePackage.initializePackageContents(); theAttributePackage.initializePackageContents(); theComponentPackage.initializePackageContents(); theLayoutPackage.initializePackageContents(); theDataPackage.initializePackageContents(); theModelPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theTypePackage.freeze(); return theTypePackage; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/TypePackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/TypePackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1412, 2261, 1208, 1435, 565, 288, 3639, 309, 261, 291, 2570, 329, 13, 327, 261, 559, 2261, 13, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 559, 2261, 18, 73, 3156, 67, 3098, 1769, 3639, 368, 24850, 578, 752, 471, 1744, 2181, 3639, 1412, 2261, 2828, 326, 559, 2261, 273, 261, 559, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 1276, 1412, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 294, 394, 1412, 2261, 2828, 10663, 3639, 353, 2570, 329, 273, 638, 31, 3639, 368, 9190, 4143, 5030, 3639, 3167, 559, 2261, 2828, 18, 2738, 5621, 3639, 368, 24850, 578, 752, 471, 1744, 1554, 11037, 3639, 3601, 2261, 2828, 326, 1499, 2261, 273, 261, 1499, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1499, 2261, 18, 73, 3156, 67, 3098, 13, 1276, 3601, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1499, 2261, 18, 73, 3156, 67, 3098, 13, 294, 3601, 2261, 2828, 18, 73, 13341, 1769, 3639, 5435, 2261, 2828, 326, 1841, 2261, 273, 261, 1841, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1841, 2261, 18, 73, 3156, 67, 3098, 13, 1276, 5435, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1841, 2261, 18, 73, 3156, 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, 1412, 2261, 1208, 1435, 565, 288, 3639, 309, 261, 291, 2570, 329, 13, 327, 261, 559, 2261, 13, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 559, 2261, 18, 73, 3156, 67, 3098, 1769, 3639, 368, 24850, 578, 752, 471, 1744, 2181, 3639, 1412, 2261, 2828, 326, 559, 2261, 273, 261, 559, 2261, 2828, 21433, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 1276, 1412, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 294, 394, 1412, 2261, 2828, 10663, 3639, 353, 2570, 329, 273, 638, 31, 3639, 368, 9190, 4143, 5030, 3639, 3167, 559, 2261, 2 ]
void check(String object, int right) throws SQLException {
void check(Object object, int right) throws SQLException {
void check(String object, int right) throws SQLException { uUser.check(object, right); }
49087 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49087/06a84b6609c132cbe9732546d6ee94682675eaf5/Session.java/buggy/base-one/trunk/src/org/hsqldb/Session.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 866, 12, 921, 733, 16, 509, 2145, 13, 1216, 6483, 288, 3639, 582, 1299, 18, 1893, 12, 1612, 16, 2145, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 918, 866, 12, 921, 733, 16, 509, 2145, 13, 1216, 6483, 288, 3639, 582, 1299, 18, 1893, 12, 1612, 16, 2145, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (isOneway(messageInfo) && handlerResult) {
} else if (isOneway(messageInfo)) {
protected SOAPMessage doSend(MessageInfo messageInfo) { //change from LogicalEPTFactory to ContactInfoBase - should be changed back when we have things working EPTFactory contactInfo = messageInfo.getEPTFactory(); SOAPXMLEncoder encoder = (SOAPXMLEncoder) contactInfo.getEncoder(messageInfo); SOAPMessage sm = null; boolean handlerResult = true; boolean isRequestResponse = (messageInfo.getMEP() == MessageStruct.REQUEST_RESPONSE_MEP); try { if (messageInfo.getMetaData(DispatchContext.DISPATCH_MESSAGE_MODE) == Service.Mode.MESSAGE) { sm = (SOAPMessage) messageInfo.getData()[0]; // Ensure supplied message is encoded according to conneg FastInfosetUtil.ensureCorrectEncoding(messageInfo, sm); } SOAPHandlerContext handlerContext = null; InternalMessage im = encoder.toInternalMessage(messageInfo); HandlerChainCaller caller = getHandlerChainCaller(messageInfo); if (caller.hasHandlers()) { im = preHandlerOutboundHook(sm, im); handlerContext = new SOAPHandlerContext(messageInfo, im, sm); encoder.setAttachmentsMap(messageInfo, im); updateMessageContext(messageInfo, handlerContext); try { JAXWSAttachmentMarshaller am = MessageInfoUtil.getAttachmentMarshaller(messageInfo); boolean isXopped = false; //there are handlers so disable Xop encoding if enabled, so that they dont // see xop:Include reference if ((am != null) && am.isXOPPackage()) { isXopped = am.isXOPPackage(); am.setXOPPackage(false); } handlerResult = callHandlersOnRequest(handlerContext); // now put back the old value if ((am != null)) { am.setXOPPackage(isXopped); } } catch (ProtocolException pe) { handlerResult = false; if (MessageContextUtil.ignoreFaultInMessage( handlerContext.getMessageContext())) { // ignore fault in this case and use exception throw new WebServiceException(pe); } } sm = handlerContext.getSOAPMessage(); postHandlerOutboundHook(messageInfo, handlerContext, sm); if (sm == null) { sm = encoder.toSOAPMessage(handlerContext.getInternalMessage(), messageInfo); } // the only case where no message is sent if (isRequestResponse && !handlerResult) { SOAPXMLDecoder decoder = (SOAPXMLDecoder) contactInfo.getDecoder(messageInfo); im = decoder.toInternalMessage(sm, messageInfo); decoder.toMessageInfo(im, messageInfo); return sm; } } // Setting encoder here is necessary for calls to getBindingId() messageInfo.setEncoder(encoder); SystemHandlerDelegate systemHandlerDelegate = ((com.sun.xml.ws.spi.runtime.Binding) getBinding(messageInfo)). getSystemHandlerDelegate(); if (systemHandlerDelegate != null) { if (handlerContext == null) { handlerContext = new SOAPHandlerContext(messageInfo, im, sm); updateMessageContext(messageInfo, handlerContext); } encoder.setAttachmentsMap(messageInfo, im); //already used im, we can set that to null if ((sm != null) && (im != null)) handlerContext.setInternalMessage(null); handlerContext.getMessageContext().put( MessageContext.MESSAGE_OUTBOUND_PROPERTY, Boolean.TRUE); handlerContext.getBindingId(); handlerResult = systemHandlerDelegate.processRequest( handlerContext.getSHDSOAPMessageContext()); sm = handlerContext.getSOAPMessage(); } if (sm == null) sm = encoder.toSOAPMessage(im, messageInfo); Map<String, Object> context = processMetadata(messageInfo, sm);/* // set the MIME headers on connection headers Map<String, List<String>> ch = new HashMap<String, List<String>>(); for (Iterator iter = sm.getMimeHeaders().getAllHeaders(); iter.hasNext();) { List<String> h = new ArrayList<String>(); MimeHeader mh = (MimeHeader) iter.next(); h.clear(); h.add(mh.getValue()); ch.put(mh.getName(), h); } */ setConnection(messageInfo, context); //((WSConnection) messageInfo.getConnection()).setHeaders(ch); if (!isAsync(messageInfo)) { WSConnection connection = (WSConnection) messageInfo.getConnection(); logRequestMessage(sm, messageInfo); SOAPConnectionUtil.sendResponse(connection, sm); } // if handlerResult is false, the receive has already happened if (isRequestResponse && handlerResult) { receive(messageInfo); } else if (isOneway(messageInfo) && handlerResult) { checkReturnStatus(messageInfo); } } catch (WebServiceException wse) { setResponseType(wse, messageInfo); messageInfo.setResponse(wse); } catch (Throwable e) { WebServiceException wse = new WebServiceException(e); setResponseType(wse, messageInfo); messageInfo.setResponse(wse); } return sm; }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/fbd8fde23bc48f3ba11d856015696d0b4c787f3e/SOAPMessageDispatcher.java/buggy/jaxws-ri/rt/src/com/sun/xml/ws/protocol/soap/client/SOAPMessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 16434, 1079, 741, 3826, 12, 1079, 966, 883, 966, 13, 288, 3639, 368, 3427, 628, 17085, 41, 1856, 1733, 358, 13329, 966, 2171, 300, 1410, 506, 3550, 1473, 1347, 732, 1240, 9198, 5960, 3639, 512, 1856, 1733, 5388, 966, 273, 883, 966, 18, 588, 41, 1856, 1733, 5621, 3639, 16434, 4201, 7204, 7261, 273, 261, 27952, 4201, 7204, 13, 5388, 966, 18, 588, 7204, 12, 2150, 966, 1769, 3639, 16434, 1079, 3029, 273, 446, 31, 3639, 1250, 1838, 1253, 273, 638, 31, 3639, 1250, 353, 691, 1064, 273, 261, 2150, 966, 18, 588, 958, 52, 1435, 422, 2350, 3823, 18, 5519, 67, 14508, 67, 958, 52, 1769, 3639, 775, 288, 5411, 309, 261, 2150, 966, 18, 588, 6998, 12, 5325, 1042, 18, 2565, 3118, 5858, 67, 8723, 67, 7038, 13, 422, 1956, 18, 2309, 18, 8723, 13, 288, 7734, 3029, 273, 261, 27952, 1079, 13, 883, 966, 18, 588, 751, 1435, 63, 20, 15533, 7734, 368, 7693, 4580, 883, 353, 3749, 4888, 358, 1487, 1332, 7734, 9545, 7655, 278, 1304, 18, 15735, 16147, 4705, 12, 2150, 966, 16, 3029, 1769, 5411, 289, 5411, 16434, 1503, 1042, 1838, 1042, 273, 446, 31, 5411, 3186, 1079, 709, 273, 7261, 18, 869, 3061, 1079, 12, 2150, 966, 1769, 5411, 4663, 3893, 11095, 4894, 273, 18945, 3893, 11095, 12, 2150, 966, 1769, 5411, 309, 261, 16140, 18, 5332, 6919, 10756, 288, 7734, 709, 273, 675, 1503, 17873, 5394, 12, 4808, 16, 709, 1769, 7734, 1838, 1042, 273, 394, 16434, 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, 16434, 1079, 741, 3826, 12, 1079, 966, 883, 966, 13, 288, 3639, 368, 3427, 628, 17085, 41, 1856, 1733, 358, 13329, 966, 2171, 300, 1410, 506, 3550, 1473, 1347, 732, 1240, 9198, 5960, 3639, 512, 1856, 1733, 5388, 966, 273, 883, 966, 18, 588, 41, 1856, 1733, 5621, 3639, 16434, 4201, 7204, 7261, 273, 261, 27952, 4201, 7204, 13, 5388, 966, 18, 588, 7204, 12, 2150, 966, 1769, 3639, 16434, 1079, 3029, 273, 446, 31, 3639, 1250, 1838, 1253, 273, 638, 31, 3639, 1250, 353, 691, 1064, 273, 261, 2150, 966, 18, 588, 958, 52, 1435, 422, 2350, 3823, 18, 5519, 67, 14508, 67, 958, 52, 1769, 3639, 775, 288, 5411, 309, 261, 2150, 966, 18, 588, 2 ]
Display display = PlatformUI.createDisplay();
Display display = createDisplay();
public Object run(Object args) throws Exception { // create and startup the display for the workbench Display display = PlatformUI.createDisplay(); try { Shell shell = new Shell(display, SWT.ON_TOP); if (!checkJavaRuntimeVersion(shell)) { Platform.endSplash(); return EXIT_OK; } try { if (!checkInstanceLocation(shell)) { Platform.endSplash(); return EXIT_OK; } } finally { if (shell != null) shell.dispose(); } // create the workbench with this advisor and run it until it exits // N.B. createWorkbench remembers the advisor, and also registers // the workbench globally so that all UI plug-ins can find it using // PlatformUI.getWorkbench() or AbstractUIPlugin.getWorkbench() int returnCode = PlatformUI.createAndRunWorkbench(display, new IDEWorkbenchAdvisor()); // the workbench doesn't support relaunch yet (bug 61809) so // for now restart is used, and exit data properties are checked // here to substitute in the relaunch return code if needed if (returnCode != PlatformUI.RETURN_RESTART) return EXIT_OK; // if the exit code property has been set to the relaunch code, then // return that code now, otherwise this is a normal restart return EXIT_RELAUNCH.equals(Integer.getInteger(PROP_EXIT_CODE)) ? EXIT_RELAUNCH : EXIT_RESTART; } finally { if (display != null) display.dispose(); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/21086b812be7e3fe1ea7cbac3964998220564723/IDEApplication.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 1086, 12, 921, 833, 13, 1216, 1185, 288, 202, 202, 759, 752, 471, 11850, 326, 2562, 364, 326, 1440, 22144, 202, 202, 4236, 2562, 273, 11810, 5370, 18, 2640, 4236, 5621, 202, 202, 698, 288, 1082, 202, 13220, 5972, 273, 394, 19433, 12, 5417, 16, 348, 8588, 18, 673, 67, 10462, 1769, 1082, 202, 430, 16051, 1893, 5852, 5576, 1444, 12, 10304, 3719, 288, 9506, 202, 8201, 18, 409, 16881, 961, 5621, 9506, 202, 2463, 28407, 67, 3141, 31, 1082, 202, 97, 1082, 202, 698, 288, 9506, 202, 430, 16051, 1893, 1442, 2735, 12, 10304, 3719, 288, 6862, 202, 8201, 18, 409, 16881, 961, 5621, 6862, 202, 2463, 28407, 67, 3141, 31, 9506, 202, 97, 1082, 202, 97, 3095, 288, 9506, 202, 430, 261, 10304, 480, 446, 13, 6862, 202, 10304, 18, 2251, 4150, 5621, 1082, 202, 97, 1082, 202, 759, 752, 326, 1440, 22144, 598, 333, 1261, 10227, 471, 1086, 518, 3180, 518, 19526, 1082, 202, 759, 423, 18, 38, 18, 752, 2421, 22144, 849, 351, 2210, 326, 1261, 10227, 16, 471, 2546, 10285, 1082, 202, 759, 326, 1440, 22144, 25654, 1427, 716, 777, 6484, 15852, 17, 2679, 848, 1104, 518, 1450, 1082, 202, 759, 11810, 5370, 18, 588, 2421, 22144, 1435, 578, 4115, 5370, 3773, 18, 588, 2421, 22144, 1435, 1082, 202, 474, 24558, 273, 11810, 5370, 18, 2640, 1876, 1997, 2421, 22144, 12, 5417, 16, 6862, 202, 2704, 1599, 41, 2421, 22144, 28087, 10663, 1082, 202, 759, 326, 1440, 22144, 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, 1033, 1086, 12, 921, 833, 13, 1216, 1185, 288, 202, 202, 759, 752, 471, 11850, 326, 2562, 364, 326, 1440, 22144, 202, 202, 4236, 2562, 273, 11810, 5370, 18, 2640, 4236, 5621, 202, 202, 698, 288, 1082, 202, 13220, 5972, 273, 394, 19433, 12, 5417, 16, 348, 8588, 18, 673, 67, 10462, 1769, 1082, 202, 430, 16051, 1893, 5852, 5576, 1444, 12, 10304, 3719, 288, 9506, 202, 8201, 18, 409, 16881, 961, 5621, 9506, 202, 2463, 28407, 67, 3141, 31, 1082, 202, 97, 1082, 202, 698, 288, 9506, 202, 430, 16051, 1893, 1442, 2735, 12, 10304, 3719, 288, 6862, 202, 8201, 18, 409, 16881, 961, 5621, 6862, 202, 2463, 28407, 67, 3141, 31, 9506, 202, 97, 2 ]
System.out.println("Rename failed " + srcs[i]);
throw new IOException("Rename failed " + srcs[i]);
public void rename(String srcf, String dstf) throws IOException { Path [] srcs = fs.globPaths( new Path(srcf) ); Path dst = new Path(dstf); if( srcs.length > 1 && !fs.isDirectory(dst)) { throw new IOException( "When moving multiple files, " + "destination should be a directory." ); } for( int i=0; i<srcs.length; i++ ) { if (fs.rename(srcs[i], dst)) { System.out.println("Renamed " + srcs[i] + " to " + dstf); } else { System.out.println("Rename failed " + srcs[i]); } } }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/4da477ae9ed8190f1d92cd94320b1b102038dbcd/DFSShell.java/clean/src/java/org/apache/hadoop/dfs/DFSShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6472, 12, 780, 1705, 74, 16, 514, 3046, 74, 13, 1216, 1860, 288, 1377, 2666, 5378, 28403, 273, 2662, 18, 10581, 4466, 12, 394, 2666, 12, 4816, 74, 13, 11272, 1377, 2666, 3046, 273, 394, 2666, 12, 11057, 74, 1769, 1377, 309, 12, 28403, 18, 2469, 405, 404, 597, 401, 2556, 18, 291, 2853, 12, 11057, 3719, 288, 3639, 604, 394, 1860, 12, 315, 9434, 12499, 3229, 1390, 16, 315, 2398, 397, 315, 10590, 1410, 506, 279, 1867, 1199, 11272, 1377, 289, 1377, 364, 12, 509, 277, 33, 20, 31, 277, 32, 4816, 87, 18, 2469, 31, 277, 9904, 262, 288, 3639, 309, 261, 2556, 18, 18539, 12, 4816, 87, 63, 77, 6487, 3046, 3719, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 16290, 2808, 315, 397, 28403, 63, 77, 65, 397, 315, 358, 315, 397, 3046, 74, 1769, 3639, 289, 469, 288, 5411, 604, 394, 1860, 2932, 16019, 2535, 315, 397, 28403, 63, 77, 19226, 3639, 289, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6472, 12, 780, 1705, 74, 16, 514, 3046, 74, 13, 1216, 1860, 288, 1377, 2666, 5378, 28403, 273, 2662, 18, 10581, 4466, 12, 394, 2666, 12, 4816, 74, 13, 11272, 1377, 2666, 3046, 273, 394, 2666, 12, 11057, 74, 1769, 1377, 309, 12, 28403, 18, 2469, 405, 404, 597, 401, 2556, 18, 291, 2853, 12, 11057, 3719, 288, 3639, 604, 394, 1860, 12, 315, 9434, 12499, 3229, 1390, 16, 315, 2398, 397, 315, 10590, 1410, 506, 279, 1867, 1199, 11272, 1377, 289, 1377, 364, 12, 509, 277, 33, 20, 31, 277, 32, 4816, 87, 18, 2469, 31, 277, 9904, 262, 288, 3639, 309, 261, 2556, 18, 18539, 12, 4816, 87, 63, 77, 6487, 3046, 3719, 288, 2 ]
while (Character.isDigit(ch) || (Character.toLowerCase(ch) >= 'a' && Character.toLowerCase(ch) <= 'f')) { token.append(ch); nextCh();
while (Character.isDigit(ch) || (Character.toLowerCase(ch) >= 'a' && Character.toLowerCase(ch) <= 'f')) { token.append(ch); nextCh();
int nextToken(StringBuffer token) { int sy = sy_end; token.setLength(0); while (Character.isWhitespace(ch)) nextCh(); tokenStart = s-1; switch (ch) { case '\'': case '"': { char term = ch; nextCh(); do { while (ch != term && ch != EOF) { token.append(ch); nextCh(); } if (ch == EOF) break; nextCh(); if (ch != term) break; token.append(ch); nextCh(); } while (true); sy = (term == '"')? sy_ident: sy_string; } break; case '[': { while (ch != ']' && ch != EOF) { token.append(ch); nextCh(); } if (ch == ']') nextCh(); sy = sy_ident; } break; case '<': { token.append(ch); nextCh(); if (ch == '>' || ch == '=') { token.append(ch); nextCh(); } sy = sy_operator; } break; case '>': { token.append(ch); nextCh(); if (ch == '=') { token.append(ch); nextCh(); } sy = sy_operator; } break; case '!': { token.append(ch); nextCh(); if (ch == '<' || ch == '>' || ch == '=') { token.append(ch); nextCh(); } sy = sy_operator; } break; case '+': case '-': case '/': case '*': case '=': case '%': case '^': case '~': case '&': case '|': { token.append(ch); nextCh(); sy = sy_operator; } break; case ',': { sy = sy_comma; } break; case EOF: { sy = sy_end; } break; default: if (Character.isLetter(ch) || ch == '@' || ch == '#' || ch == '_') { while (Character.isLetterOrDigit(ch) || ch == '@' || ch == '#' || ch == '_' || ch == '$') { token.append(ch); nextCh(); } // Need to do proper lookup here String tst = token.toString().toLowerCase(); if (tst.equals("select") || tst.equals("from") || tst.equals("where")) { sy = sy_sqlword; } else { sy = sy_ident; } } else if (Character.isDigit(ch)) { token.append(ch); nextCh(); if (Character.toLowerCase(ch) == 'x' && token.charAt(0) == '0'){ token.append(ch); while (Character.isDigit(ch) || (Character.toLowerCase(ch) >= 'a' && Character.toLowerCase(ch) <= 'f')) { token.append(ch); nextCh(); } sy = sy_binary; } else { while (Character.isDigit(ch)) { token.append(ch); nextCh(); } if (ch == '.') { token.append(ch); nextCh(); while (Character.isDigit(ch)) { token.append(ch); nextCh(); } } if (Character.toLowerCase(ch) == 'e') { token.append(ch); nextCh(); if (ch == '-' || ch == '+') { token.append(ch); nextCh(); } while (Character.isDigit(ch)) { token.append(ch); nextCh(); } } sy = sy_number; } } else { token.append(ch); nextCh(); sy = sy_misc; } break; } return sy; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/a1860a9e8b5bd3a4746f73dee3bfb600f564b4e2/SQLParser.java/buggy/src/main/net/sourceforge/jtds/jdbc/SQLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 9617, 12, 780, 1892, 1147, 13, 565, 288, 3639, 509, 1393, 273, 1393, 67, 409, 31, 3639, 1147, 18, 542, 1782, 12, 20, 1769, 3639, 1323, 261, 7069, 18, 291, 9431, 12, 343, 3719, 1024, 782, 5621, 3639, 1147, 1685, 273, 272, 17, 21, 31, 3639, 1620, 261, 343, 13, 288, 5411, 648, 14118, 4278, 5411, 648, 2119, 4278, 7734, 288, 10792, 1149, 2481, 273, 462, 31, 1024, 782, 5621, 10792, 741, 288, 13491, 1323, 261, 343, 480, 2481, 597, 462, 480, 6431, 13, 288, 18701, 1147, 18, 6923, 12, 343, 1769, 1024, 782, 5621, 13491, 289, 13491, 309, 261, 343, 422, 6431, 13, 898, 31, 21821, 1024, 782, 5621, 13491, 309, 261, 343, 480, 2481, 13, 898, 31, 21821, 1147, 18, 6923, 12, 343, 1769, 1024, 782, 5621, 10792, 289, 1323, 261, 3767, 1769, 10792, 1393, 273, 261, 6408, 422, 4754, 9945, 1393, 67, 6392, 30, 1393, 67, 1080, 31, 7734, 289, 7734, 898, 31, 5411, 648, 8375, 30, 7734, 288, 10792, 1323, 261, 343, 480, 8641, 597, 462, 480, 6431, 13, 288, 13491, 1147, 18, 6923, 12, 343, 1769, 1024, 782, 5621, 10792, 289, 10792, 309, 261, 343, 422, 8641, 13, 1024, 782, 5621, 10792, 1393, 273, 1393, 67, 6392, 31, 7734, 289, 7734, 898, 31, 5411, 648, 2368, 4278, 7734, 288, 10792, 1147, 18, 6923, 12, 343, 1769, 1024, 782, 5621, 10792, 309, 261, 343, 422, 7481, 747, 462, 422, 5214, 13, 288, 13491, 1147, 18, 6923, 12, 343, 1769, 1024, 782, 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, 9617, 12, 780, 1892, 1147, 13, 565, 288, 3639, 509, 1393, 273, 1393, 67, 409, 31, 3639, 1147, 18, 542, 1782, 12, 20, 1769, 3639, 1323, 261, 7069, 18, 291, 9431, 12, 343, 3719, 1024, 782, 5621, 3639, 1147, 1685, 273, 272, 17, 21, 31, 3639, 1620, 261, 343, 13, 288, 5411, 648, 14118, 4278, 5411, 648, 2119, 4278, 7734, 288, 10792, 1149, 2481, 273, 462, 31, 1024, 782, 5621, 10792, 741, 288, 13491, 1323, 261, 343, 480, 2481, 597, 462, 480, 6431, 13, 288, 18701, 1147, 18, 6923, 12, 343, 1769, 1024, 782, 5621, 13491, 289, 13491, 309, 261, 343, 422, 6431, 13, 898, 31, 21821, 1024, 782, 5621, 13491, 309, 261, 343, 480, 2481, 13, 2 ]
public synchronized void documentChanged(DocumentEvent e) { Document document = e.getDocument(); if(myLexer instanceof JspHighlightLexer && myEditor != null && myEditor.getProject() != null){ final PsiDocumentManager instance = PsiDocumentManager.getInstance(myEditor.getProject()); final PsiFile psiFile = instance.getPsiFile(document); if(psiFile instanceof JspFile) ((JspHighlightLexer)myLexer).setBaseFile((JspFile)psiFile); } if(mySegments.getSegmentCount() == 0) { setText(document.getCharsSequence()); return; } CharSequence text = document.getCharsSequence(); int oldStartOffset = e.getOffset(); final int oldStartIndex = mySegments.findSegmentIndex(oldStartOffset); int startIndex = oldStartIndex; int data; do { data = mySegments.getSegmentData(startIndex); if (isInitialState(data)|| startIndex == 0) break; startIndex--; } while (true); int startOffset = mySegments.getSegmentStart(startIndex); int newEndOffset = e.getOffset() + e.getNewLength(); myLexer.start(CharArrayUtil.fromSequence(text), startOffset, text.length(), myInitialState); SegmentArrayWithData insertSegments = new SegmentArrayWithData(); int oldEndIndex = -1; int insertSegmentCount = 0; int repaintEnd = -1; int lastTokenStart = -1; while (myLexer.getTokenType() != null) { if (startIndex >= oldStartIndex) break; int tokenStart = myLexer.getTokenStart(); if (tokenStart == lastTokenStart) { throw new IllegalStateException("Error while updating lexer: " + e + " document text: " + e.getDocument().getText()); } int tokenEnd = myLexer.getTokenEnd(); int lexerState = myLexer.getState(); data = packData(myLexer.getTokenType(), lexerState); if (mySegments.getSegmentStart(startIndex) != tokenStart || mySegments.getSegmentEnd(startIndex) != tokenEnd || mySegments.getSegmentData(startIndex) != data) { break; } startIndex++; myLexer.advance(); lastTokenStart = tokenStart; } startOffset = mySegments.getSegmentStart(startIndex); while(myLexer.getTokenType() != null) { int tokenStart = myLexer.getTokenStart(); if (tokenStart == lastTokenStart) { throw new IllegalStateException("Error while updating lexer: " + e + " document text: " + e.getDocument().getText()); } lastTokenStart = tokenStart; int tokenEnd = myLexer.getTokenEnd(); int lexerState = myLexer.getState(); data = packData(myLexer.getTokenType(), lexerState); if(tokenStart >= newEndOffset && lexerState == myInitialState) { int shiftedTokenStart = tokenStart - e.getNewLength() + e.getOldLength(); int index = mySegments.findSegmentIndex(shiftedTokenStart); if (mySegments.getSegmentStart(index) == shiftedTokenStart && mySegments.getSegmentData(index) == data) { repaintEnd = tokenStart; oldEndIndex = index; break; } } insertSegments.setElementAt(insertSegmentCount, tokenStart, tokenEnd, data); insertSegmentCount++; myLexer.advance(); } final int shift = e.getNewLength() - e.getOldLength(); if (repaintEnd > 0) { while (insertSegmentCount > 0 && oldEndIndex > 0) { if (!segmentsEqual(mySegments, oldEndIndex - 1, insertSegments, insertSegmentCount - 1, shift)) { break; } insertSegmentCount--; oldEndIndex--; repaintEnd = insertSegments.getSegmentStart(insertSegmentCount); insertSegments.remove(insertSegmentCount, insertSegmentCount + 1); } } if(repaintEnd == -1) { repaintEnd = text.length(); } if (oldEndIndex < 0){ oldEndIndex = mySegments.getSegmentCount(); } mySegments.shiftSegments(oldEndIndex, shift); mySegments.remove(startIndex, oldEndIndex); mySegments.insert(insertSegments, startIndex); int lastDocOffset = e.getDocument().getTextLength(); checkUpdateCorrect(lastDocOffset); if (insertSegmentCount == 0 || oldEndIndex == startIndex + 1 && insertSegmentCount == 1 && data == mySegments.getSegmentData(startIndex)) { return; } ((EditorEx) myEditor).repaint(startOffset, repaintEnd); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0b0d0a1436249df13d747a760e032b658d695aff/LexerEditorHighlighter.java/clean/source/com/intellij/openapi/editor/ex/util/LexerEditorHighlighter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3852, 918, 1668, 5033, 12, 2519, 1133, 425, 13, 288, 2519, 1668, 273, 425, 18, 588, 2519, 5621, 430, 12, 4811, 13356, 1276, 19300, 16205, 13356, 597, 3399, 6946, 480, 446, 597, 3399, 6946, 18, 588, 4109, 1435, 480, 446, 15329, 6385, 453, 7722, 2519, 1318, 791, 273, 453, 7722, 2519, 1318, 18, 588, 1442, 12, 4811, 6946, 18, 588, 4109, 10663, 6385, 453, 7722, 812, 23921, 812, 273, 791, 18, 588, 52, 7722, 812, 12, 5457, 1769, 430, 12, 24275, 812, 1276, 19300, 812, 13, 14015, 21796, 16205, 13356, 13, 4811, 13356, 2934, 542, 2171, 812, 12443, 21796, 812, 13, 24275, 812, 1769, 97, 430, 12, 4811, 7946, 18, 588, 4131, 1380, 1435, 422, 374, 13, 288, 542, 1528, 12, 5457, 18, 588, 7803, 4021, 10663, 2463, 31, 97, 2156, 4021, 977, 273, 1668, 18, 588, 7803, 4021, 5621, 474, 1592, 1685, 2335, 273, 425, 18, 588, 2335, 5621, 6385, 509, 1592, 16792, 273, 3399, 7946, 18, 4720, 4131, 1016, 12, 1673, 1685, 2335, 1769, 474, 10588, 273, 1592, 16792, 31, 474, 501, 31, 2896, 288, 892, 273, 3399, 7946, 18, 588, 4131, 751, 12, 1937, 1016, 1769, 430, 261, 291, 4435, 1119, 12, 892, 14047, 96, 10588, 422, 374, 13, 898, 31, 1937, 1016, 413, 31, 97, 17523, 261, 3767, 1769, 474, 18245, 273, 3399, 7946, 18, 588, 4131, 1685, 12, 1937, 1016, 1769, 474, 394, 1638, 2335, 273, 425, 18, 588, 2335, 1435, 397, 425, 18, 588, 1908, 1782, 5621, 4811, 13356, 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, 1071, 3852, 918, 1668, 5033, 12, 2519, 1133, 425, 13, 288, 2519, 1668, 273, 425, 18, 588, 2519, 5621, 430, 12, 4811, 13356, 1276, 19300, 16205, 13356, 597, 3399, 6946, 480, 446, 597, 3399, 6946, 18, 588, 4109, 1435, 480, 446, 15329, 6385, 453, 7722, 2519, 1318, 791, 273, 453, 7722, 2519, 1318, 18, 588, 1442, 12, 4811, 6946, 18, 588, 4109, 10663, 6385, 453, 7722, 812, 23921, 812, 273, 791, 18, 588, 52, 7722, 812, 12, 5457, 1769, 430, 12, 24275, 812, 1276, 19300, 812, 13, 14015, 21796, 16205, 13356, 13, 4811, 13356, 2934, 542, 2171, 812, 12443, 21796, 812, 13, 24275, 812, 1769, 97, 430, 12, 4811, 7946, 18, 588, 4131, 1380, 1435, 422, 374, 13, 288, 2 ]
char c = iterator.next();
char c = iterator.current(); iterator.next();
public int next() { startPosition = iterator.getIndex(); char c = iterator.next(); if (c == CharacterIterator.DONE) { kind = EOF; } else if (Character.isJavaIdentifierStart(c)) { boolean couldBeKeyword = false; if (Character.isLowerCase(c)) { buf.append(c); couldBeKeyword = true; } while (true) { c = iterator.current(); if (!Character.isJavaIdentifierPart(c)) break; c = iterator.next(); if (couldBeKeyword) { if (!Character.isLowerCase(c) || buf.length() >= MAX_KEYWORD_LENGTH) couldBeKeyword = false; else buf.append(c); } } kind = NORMAL_TEXT; if (couldBeKeyword) { if (KEYWORDS.contains(buf.toString())) kind = KEYWORD; buf.setLength(0); } } else if (c == '/') { char c2 = iterator.current(); if (c2 == '/') { while (true) { c2 = iterator.next(); if (c2 == '\n' || c2 == '\r') break; } kind = COMMENT; return kind; } else if (c2 == '*') { scanComment: while (true) { c2 = iterator.next(); if (c2 == '*') { do { c2 = iterator.next(); if (c2 == '/') break scanComment; } while(c2 == '*'); } } kind = JAVADOC; return kind; } } else if (c == '"') { kind = QUOTE; while (true) { char c2 = iterator.next(); if (c2 == '"' || c2 == '\n' || c2 == '\r') break; if (c2 == '\\') { c2 = iterator.next(); if (c2 == '\n' || c2 == '\r') break; } } } else kind = NORMAL_TEXT; // System.out.println(kind + " " + startPosition + "-" + iterator.getIndex()); return kind; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/bf8ba79faa8700d501a5d2c5f7fe7b33dc9564bf/JavaScanner.java/buggy/findbugs/src/java5/edu/umd/cs/findbugs/sourceViewer/JavaScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1024, 1435, 288, 202, 202, 1937, 2555, 273, 2775, 18, 588, 1016, 5621, 202, 202, 3001, 276, 273, 2775, 18, 4285, 5621, 202, 202, 430, 261, 71, 422, 6577, 3198, 18, 26875, 13, 288, 1082, 202, 9224, 273, 6431, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 7069, 18, 291, 5852, 3004, 1685, 12, 71, 3719, 288, 1082, 202, 6494, 3377, 1919, 8736, 273, 629, 31, 1082, 202, 430, 261, 7069, 18, 291, 5630, 12, 71, 3719, 288, 9506, 202, 4385, 18, 6923, 12, 71, 1769, 9506, 202, 15195, 1919, 8736, 273, 638, 31, 1082, 202, 97, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 71, 273, 2775, 18, 2972, 5621, 9506, 202, 430, 16051, 7069, 18, 291, 5852, 3004, 1988, 12, 71, 3719, 6862, 202, 8820, 31, 9506, 202, 71, 273, 2775, 18, 4285, 5621, 9506, 202, 430, 261, 15195, 1919, 8736, 13, 288, 6862, 202, 430, 16051, 7069, 18, 291, 5630, 12, 71, 13, 6862, 1082, 202, 20081, 1681, 18, 2469, 1435, 1545, 4552, 67, 28813, 67, 7096, 13, 25083, 202, 15195, 1919, 8736, 273, 629, 31, 6862, 202, 12107, 25083, 202, 4385, 18, 6923, 12, 71, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 9224, 273, 16362, 67, 5151, 31, 1082, 202, 430, 261, 15195, 1919, 8736, 13, 288, 9506, 202, 430, 261, 3297, 23287, 18, 12298, 12, 4385, 18, 10492, 1435, 3719, 6862, 202, 9224, 273, 30191, 31, 9506, 202, 4385, 18, 542, 1782, 12, 20, 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, 509, 1024, 1435, 288, 202, 202, 1937, 2555, 273, 2775, 18, 588, 1016, 5621, 202, 202, 3001, 276, 273, 2775, 18, 4285, 5621, 202, 202, 430, 261, 71, 422, 6577, 3198, 18, 26875, 13, 288, 1082, 202, 9224, 273, 6431, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 7069, 18, 291, 5852, 3004, 1685, 12, 71, 3719, 288, 1082, 202, 6494, 3377, 1919, 8736, 273, 629, 31, 1082, 202, 430, 261, 7069, 18, 291, 5630, 12, 71, 3719, 288, 9506, 202, 4385, 18, 6923, 12, 71, 1769, 9506, 202, 15195, 1919, 8736, 273, 638, 31, 1082, 202, 97, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 71, 273, 2775, 18, 2972, 5621, 9506, 202, 2 ]
TextUtils.createTabs(getTextPane());
getTextPane().setTabSize(AWPrefs.getEditorTabSize());
public void applyFont() { getTextPane().setFont(new Font(AWPrefs.getEditorFont(), Font.PLAIN, AWPrefs.getEditorFontSize())); TextUtils.createTabs(getTextPane()); }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/7d10fc62dd364c5d7d612bfc98500e0202fd7f02/CEditorText.java/buggy/src/org/antlr/works/components/text/CEditorText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2230, 5711, 1435, 288, 3639, 6701, 8485, 7675, 542, 5711, 12, 2704, 10063, 12, 12999, 1386, 2556, 18, 588, 6946, 5711, 9334, 10063, 18, 26549, 16, 13228, 1386, 2556, 18, 588, 6946, 22688, 1435, 10019, 3639, 6701, 8485, 7675, 542, 5661, 1225, 12, 12999, 1386, 2556, 18, 588, 6946, 5661, 1225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2230, 5711, 1435, 288, 3639, 6701, 8485, 7675, 542, 5711, 12, 2704, 10063, 12, 12999, 1386, 2556, 18, 588, 6946, 5711, 9334, 10063, 18, 26549, 16, 13228, 1386, 2556, 18, 588, 6946, 22688, 1435, 10019, 3639, 6701, 8485, 7675, 542, 5661, 1225, 12, 12999, 1386, 2556, 18, 588, 6946, 5661, 1225, 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 ]
public void acceptDrop (int dropAction)
public void acceptDrop(int dropAction)
public void acceptDrop (int dropAction) { context.acceptDrop (dropAction); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/clean/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2791, 7544, 12, 474, 3640, 1803, 13, 225, 288, 565, 819, 18, 9436, 7544, 261, 7285, 1803, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2791, 7544, 12, 474, 3640, 1803, 13, 225, 288, 565, 819, 18, 9436, 7544, 261, 7285, 1803, 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 ]
prefix = qname.substring(0, colon1);
prefix = qname.substring(0, colon1); if( namespaceURI == null || ( prefix.equals("xml") && !namespaceURI.equals(NamespaceContext.XML_URI) )){ String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "NAMESPACE_ERR", null); throw new DOMException(DOMException.NAMESPACE_ERR, msg); }
private void setName(String namespaceURI, String qname) { String prefix; // DOM Level 3: namespace URI is never empty string. this.namespaceURI = namespaceURI; if (namespaceURI != null) { this.namespaceURI = (namespaceURI.length() == 0) ? null : namespaceURI; } int colon1 = qname.indexOf(':'); int colon2 = qname.lastIndexOf(':'); ownerDocument().checkNamespaceWF(qname, colon1, colon2); if (colon1 < 0) { // there is no prefix localName = qname; ownerDocument().checkQName(null, localName); if (qname.equals("xmlns") && (namespaceURI == null || !namespaceURI.equals(NamespaceContext.XMLNS_URI)) || (namespaceURI!=null && namespaceURI.equals(NamespaceContext.XMLNS_URI) && !qname.equals("xmlns"))) { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "NAMESPACE_ERR", null); throw new DOMException(DOMException.NAMESPACE_ERR, msg); } } else { prefix = qname.substring(0, colon1); localName = qname.substring(colon2 + 1); ownerDocument().checkQName(prefix, localName); ownerDocument().checkDOMNSErr(prefix, namespaceURI); } }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/39ac0bdc9afef35f1a8d3690dc4e1ea1f4b0b78c/ElementNSImpl.java/clean/src/org/apache/xerces/dom/ElementNSImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6788, 12, 780, 19421, 16, 514, 12621, 13, 288, 202, 202, 780, 1633, 31, 202, 202, 759, 4703, 4557, 890, 30, 1981, 3699, 353, 5903, 1008, 533, 18, 202, 202, 2211, 18, 4937, 3098, 273, 19421, 31, 202, 202, 430, 261, 4937, 3098, 480, 446, 13, 288, 1082, 202, 2211, 18, 4937, 3098, 273, 9506, 202, 12, 4937, 3098, 18, 2469, 1435, 422, 374, 13, 692, 446, 294, 19421, 31, 202, 202, 97, 202, 202, 474, 13336, 21, 273, 12621, 18, 31806, 2668, 2497, 1769, 202, 202, 474, 13336, 22, 273, 12621, 18, 2722, 31985, 2668, 2497, 1769, 202, 202, 8443, 2519, 7675, 1893, 3402, 59, 42, 12, 85, 529, 16, 13336, 21, 16, 13336, 22, 1769, 202, 202, 430, 261, 22667, 21, 411, 374, 13, 288, 1082, 202, 759, 1915, 353, 1158, 1633, 1082, 202, 3729, 461, 273, 12621, 31, 1082, 202, 8443, 2519, 7675, 1893, 13688, 12, 2011, 16, 11927, 1769, 1082, 202, 430, 261, 85, 529, 18, 14963, 2932, 16741, 7923, 9506, 202, 10, 10, 261, 4937, 3098, 422, 446, 6862, 202, 20081, 401, 4937, 3098, 18, 14963, 12, 3402, 1042, 18, 4201, 3156, 67, 3098, 3719, 9506, 202, 20081, 261, 4937, 3098, 5, 33, 2011, 597, 19421, 18, 14963, 12, 3402, 1042, 18, 4201, 3156, 67, 3098, 13, 6862, 202, 10, 10, 401, 85, 529, 18, 14963, 2932, 16741, 6, 20349, 288, 9506, 202, 780, 1234, 273, 6862, 202, 8168, 1079, 5074, 18, 2139, 1079, 12, 25083, 202, 8168, 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, 6788, 12, 780, 19421, 16, 514, 12621, 13, 288, 202, 202, 780, 1633, 31, 202, 202, 759, 4703, 4557, 890, 30, 1981, 3699, 353, 5903, 1008, 533, 18, 202, 202, 2211, 18, 4937, 3098, 273, 19421, 31, 202, 202, 430, 261, 4937, 3098, 480, 446, 13, 288, 1082, 202, 2211, 18, 4937, 3098, 273, 9506, 202, 12, 4937, 3098, 18, 2469, 1435, 422, 374, 13, 692, 446, 294, 19421, 31, 202, 202, 97, 202, 202, 474, 13336, 21, 273, 12621, 18, 31806, 2668, 2497, 1769, 202, 202, 474, 13336, 22, 273, 12621, 18, 2722, 31985, 2668, 2497, 1769, 202, 202, 8443, 2519, 7675, 1893, 3402, 59, 42, 12, 85, 529, 16, 13336, 21, 16, 13336, 2 ]
repeatBody();
if (hasMoreResultSets) { if (hasNext) { repeatBody(); }
public void start(String uri, String localname, String qName, Attributes attributes) throws SAXException { addAllDefaultElementHandlers(); // Optional result sets count final int allowedResultSetCount; { final String resultSetsAttribute = attributes.getValue("result-sets"); allowedResultSetCount = (resultSetsAttribute == null) ? 1 : (resultSetsAttribute.equals(UNBOUNDED) ? -1 : Integer.parseInt(resultSetsAttribute)); } final SQLProcessorInterpreterContext interpreterContext = getInterpreterContext(); try { final PreparedStatement stmt = interpreterContext.getStatement(0); final boolean hasNext = !getInterpreterContext().isEmptyResultSet(); if (SQLProcessor.logger.isDebugEnabled()) SQLProcessor.logger.debug("Preparing to execute result set: hasNext = " + hasNext + ", statement = " + interpreterContext.getStatementString()); if (hasNext) { // There is a current non-empty result-set if (stmt != null) { int currentCount = 0; do { if (SQLProcessor.logger.isDebugEnabled()) SQLProcessor.logger.debug("Executing result set: currentCount = " + currentCount); // NOTE: Initially, a result set has already been made available repeatBody(); // One more result set has been processed currentCount++; // Try to go to next result set final boolean hasMoreResultSets = setResultSetInfo(interpreterContext, stmt, stmt.getMoreResults()); if (!hasMoreResultSets || (allowedResultSetCount != -1 && currentCount >= allowedResultSetCount)) { // We have processed all the result sets we can process break; } } while (true); } } else if (stmt != null) { // Prepare result set info for the next potential result-set interrpeter setResultSetInfo(interpreterContext, stmt, stmt.getMoreResults()); } } catch (SQLException e) { throw new ValidationException(e, new LocationData(getDocumentLocator())); } }
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/79138155da6d7ec8199b3f3589e2ffb223af2568/ResultSetInterpreter.java/buggy/src/java/org/orbeon/oxf/processor/sql/interpreters/ResultSetInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 12, 780, 2003, 16, 514, 1191, 529, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 5428, 1868, 1046, 6919, 5621, 3639, 368, 4055, 563, 1678, 1056, 3639, 727, 509, 2935, 13198, 1380, 31, 3639, 288, 5411, 727, 514, 563, 2785, 1499, 273, 1677, 18, 24805, 2932, 2088, 17, 4424, 8863, 5411, 2935, 13198, 1380, 273, 261, 2088, 2785, 1499, 422, 446, 13, 692, 404, 294, 261, 2088, 2785, 1499, 18, 14963, 12, 2124, 5315, 2124, 7660, 13, 692, 300, 21, 294, 2144, 18, 2670, 1702, 12, 2088, 2785, 1499, 10019, 3639, 289, 3639, 727, 3063, 5164, 30010, 1042, 16048, 1042, 273, 336, 30010, 1042, 5621, 3639, 775, 288, 5411, 727, 16913, 3480, 273, 16048, 1042, 18, 588, 3406, 12, 20, 1769, 5411, 727, 1250, 4564, 273, 401, 588, 30010, 1042, 7675, 291, 1921, 13198, 5621, 5411, 309, 261, 3997, 5164, 18, 4901, 18, 291, 2829, 1526, 10756, 7734, 3063, 5164, 18, 4901, 18, 4148, 2932, 1386, 12583, 358, 1836, 563, 444, 30, 4564, 273, 315, 397, 4564, 397, 3104, 3021, 273, 315, 397, 16048, 1042, 18, 588, 3406, 780, 10663, 5411, 309, 261, 5332, 2134, 13, 288, 7734, 368, 6149, 353, 279, 783, 1661, 17, 5531, 563, 17, 542, 7734, 309, 261, 10589, 480, 446, 13, 288, 10792, 509, 783, 1380, 273, 374, 31, 10792, 741, 288, 13491, 309, 261, 3997, 5164, 18, 4901, 18, 291, 2829, 1526, 10756, 18701, 3063, 5164, 18, 4901, 18, 4148, 2932, 22134, 563, 444, 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, 787, 12, 780, 2003, 16, 514, 1191, 529, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 5428, 1868, 1046, 6919, 5621, 3639, 368, 4055, 563, 1678, 1056, 3639, 727, 509, 2935, 13198, 1380, 31, 3639, 288, 5411, 727, 514, 563, 2785, 1499, 273, 1677, 18, 24805, 2932, 2088, 17, 4424, 8863, 5411, 2935, 13198, 1380, 273, 261, 2088, 2785, 1499, 422, 446, 13, 692, 404, 294, 261, 2088, 2785, 1499, 18, 14963, 12, 2124, 5315, 2124, 7660, 13, 692, 300, 21, 294, 2144, 18, 2670, 1702, 12, 2088, 2785, 1499, 10019, 3639, 289, 3639, 727, 3063, 5164, 30010, 1042, 16048, 1042, 273, 336, 30010, 1042, 5621, 3639, 775, 288, 5411, 727, 16913, 3480, 2 ]
if(domainClass.getMappedBy().equalsIgnoreCase( GrailsDomainClass.GORM )) { this.domainClasses.add(domainClass); } return this; }
if(domainClass.getMappedBy().equalsIgnoreCase( GrailsDomainClass.GORM )) { this.domainClasses.add(domainClass); } return this; }
public GrailsDomainConfiguration addDomainClass( GrailsDomainClass domainClass ) { if(domainClass.getMappedBy().equalsIgnoreCase( GrailsDomainClass.GORM )) { this.domainClasses.add(domainClass); } return this; }
50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/903f4b388a57a464f9d14176ea5d25485de66436/DefaultGrailsDomainConfiguration.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/DefaultGrailsDomainConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10812, 14573, 3748, 1750, 527, 3748, 797, 12, 10812, 14573, 3748, 797, 2461, 797, 262, 288, 202, 202, 430, 12, 4308, 797, 18, 588, 12868, 858, 7675, 14963, 5556, 12, 10812, 14573, 3748, 797, 18, 43, 3466, 8623, 288, 1082, 202, 2211, 18, 4308, 4818, 18, 1289, 12, 4308, 797, 1769, 202, 202, 97, 25083, 202, 2463, 333, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10812, 14573, 3748, 1750, 527, 3748, 797, 12, 10812, 14573, 3748, 797, 2461, 797, 262, 288, 202, 202, 430, 12, 4308, 797, 18, 588, 12868, 858, 7675, 14963, 5556, 12, 10812, 14573, 3748, 797, 18, 43, 3466, 8623, 288, 1082, 202, 2211, 18, 4308, 4818, 18, 1289, 12, 4308, 797, 1769, 202, 202, 97, 25083, 202, 2463, 333, 31, 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 ]
debugLog("new: " + messageId);
infoLog("new: " + messageId);
private String convertToSml(SyndEntry e) { String subject; // Calculate messageId, and check if we have got the message already String feedHash = sha1(urlToLoad); String itemHash = sha1(e.getTitle() + e.getDescription()); Date d = e.getPublishedDate(); String time; if(d!=null) time = "" + d.getTime(); else time = "" + new Date().getTime(); String outputFileName = outputDir + "/" + messageNumber; String messageId = feedHash + ":" + itemHash + ":" + time + ":" + outputFileName; // Check if we already have this if (existsInHistory(messageId)) return null; debugLog("new: " + messageId); try { String sml=""; subject=e.getTitle(); List cats = e.getCategories(); Iterator iter = cats.iterator(); String tags = feedTag; while (iter.hasNext()) { SyndCategory c = (SyndCategory) iter.next(); debugLog("Name: "+c.getName()); debugLog("uri:"+c.getTaxonomyUri()); String tag=c.getName(); tag=tag.replaceAll("[^a-zA-z.-_:]","_"); tags += "\t" + feedTag + "." + tag; } SyndContent content; List l = e.getContents(); if(l!=null) { debugLog("There is content"); iter = l.iterator(); while(iter.hasNext()) { content = (SyndContent)iter.next(); String c = content.getValue(); debugLog("Content: "+c); sml += htmlToSml(c); sml += "\n"; } } String source=e.getUri(); if(source.indexOf("http")<0) source=baseUrl+source; sml += "[link schema=\"web\" location=\""+source+"\"]source[/link]\n"; if(pushToSyndie) { debugLog("user.blog: "+user.getBlogStr()); debugLog("user.id: "+bm.getNextBlogEntry(user)); debugLog("subject: "+subject); debugLog("tags: "+tags); debugLog("sml: "+sml); debugLog(""); BlogURI uri = bm.createBlogEntry( user, false, subject, tags, null, sml, fileNames, fileStreams, fileTypes); if(uri==null) { debugLog("pushToSyndie failure."); return null; } else debugLog("pushToSyndie success, uri: "+uri.toString()); } else { FileOutputStream fos; fos = new FileOutputStream(messagePath); sml=subject + "\nTags: " + tags + "\n\n" + sml; fos.write(sml.getBytes()); if (pushScript != null) { if (!execPushScript(""+messageNumber, time)) { debugLog("################## push failed"); } else { debugLog("push success"); } } } messageNumber++; return messageId; } catch (FileNotFoundException e1) { e1.printStackTrace(); } catch (IOException e2) { e2.printStackTrace(); } return null; }
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/9050d7c218bc5eb51eb7cbd68bc0b214bcf9614b/Sucker.java/clean/apps/syndie/java/src/net/i2p/syndie/Sucker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8137, 55, 781, 12, 10503, 72, 1622, 425, 13, 288, 3639, 514, 3221, 31, 7734, 368, 9029, 19090, 16, 471, 866, 309, 732, 1240, 2363, 326, 883, 1818, 3639, 514, 4746, 2310, 273, 6056, 21, 12, 718, 26883, 1769, 3639, 514, 761, 2310, 273, 6056, 21, 12, 73, 18, 588, 4247, 1435, 397, 425, 18, 588, 3291, 10663, 3639, 2167, 302, 273, 425, 18, 588, 16451, 1626, 5621, 3639, 514, 813, 31, 3639, 309, 12, 72, 5, 33, 2011, 13, 5411, 813, 273, 1408, 397, 302, 18, 588, 950, 5621, 3639, 469, 5411, 813, 273, 1408, 397, 394, 2167, 7675, 588, 950, 5621, 3639, 514, 876, 4771, 273, 21412, 397, 4016, 397, 883, 1854, 31, 3639, 514, 19090, 273, 4746, 2310, 397, 6153, 397, 761, 2310, 397, 6153, 397, 813, 397, 6153, 397, 876, 4771, 31, 3639, 368, 2073, 309, 732, 1818, 1240, 333, 3639, 309, 261, 1808, 382, 5623, 12, 2150, 548, 3719, 5411, 327, 446, 31, 7734, 1123, 1343, 2932, 2704, 30, 315, 397, 19090, 1769, 10792, 775, 288, 5411, 514, 272, 781, 1546, 14432, 5411, 3221, 33, 73, 18, 588, 4247, 5621, 5411, 987, 27525, 273, 425, 18, 588, 10487, 5621, 5411, 4498, 1400, 273, 27525, 18, 9838, 5621, 5411, 514, 2342, 273, 4746, 1805, 31, 5411, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 7734, 16091, 72, 4457, 276, 273, 261, 10503, 72, 4457, 13, 1400, 18, 4285, 5621, 7734, 1198, 1343, 2932, 461, 30, 13773, 71, 18, 17994, 10663, 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, 514, 8137, 55, 781, 12, 10503, 72, 1622, 425, 13, 288, 3639, 514, 3221, 31, 7734, 368, 9029, 19090, 16, 471, 866, 309, 732, 1240, 2363, 326, 883, 1818, 3639, 514, 4746, 2310, 273, 6056, 21, 12, 718, 26883, 1769, 3639, 514, 761, 2310, 273, 6056, 21, 12, 73, 18, 588, 4247, 1435, 397, 425, 18, 588, 3291, 10663, 3639, 2167, 302, 273, 425, 18, 588, 16451, 1626, 5621, 3639, 514, 813, 31, 3639, 309, 12, 72, 5, 33, 2011, 13, 5411, 813, 273, 1408, 397, 302, 18, 588, 950, 5621, 3639, 469, 5411, 813, 273, 1408, 397, 394, 2167, 7675, 588, 950, 5621, 3639, 514, 876, 4771, 273, 21412, 397, 4016, 397, 883, 1854, 31, 3639, 2 ]
nodeList.add(listNode2);
nodeList.add(listNode3);
ArrayList new30() { ArrayList nodeList = new ArrayList(); ArrayList nodeArrayList1 = (ArrayList) pop(); TypedLinkedList listNode2 = new TypedLinkedList(); { PKeyvalDecl pkeyvaldeclNode1; pkeyvaldeclNode1 = (PKeyvalDecl)nodeArrayList1.get(0); if(pkeyvaldeclNode1 != null) { listNode2.add(pkeyvaldeclNode1); } } nodeList.add(listNode2); return nodeList; }
50059 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50059/a343b73e05abe516d42c4d6672f63a8325be4a98/Parser.java/clean/sub/source/net/sourceforge/texlipse/bibparser/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2407, 394, 5082, 1435, 565, 288, 3639, 2407, 10198, 273, 394, 2407, 5621, 3639, 2407, 756, 19558, 21, 273, 261, 19558, 13, 1843, 5621, 3639, 13833, 13174, 682, 666, 907, 22, 273, 394, 13833, 13174, 682, 5621, 3639, 288, 3639, 453, 653, 1125, 3456, 19291, 1125, 8840, 907, 21, 31, 3639, 19291, 1125, 8840, 907, 21, 273, 261, 52, 653, 1125, 3456, 13, 2159, 19558, 21, 18, 588, 12, 20, 1769, 202, 430, 12, 84, 856, 1125, 8840, 907, 21, 480, 446, 13, 202, 95, 202, 225, 666, 907, 22, 18, 1289, 12, 84, 856, 1125, 8840, 907, 21, 1769, 202, 97, 3639, 289, 202, 2159, 682, 18, 1289, 12, 1098, 907, 23, 1769, 3639, 327, 10198, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2407, 394, 5082, 1435, 565, 288, 3639, 2407, 10198, 273, 394, 2407, 5621, 3639, 2407, 756, 19558, 21, 273, 261, 19558, 13, 1843, 5621, 3639, 13833, 13174, 682, 666, 907, 22, 273, 394, 13833, 13174, 682, 5621, 3639, 288, 3639, 453, 653, 1125, 3456, 19291, 1125, 8840, 907, 21, 31, 3639, 19291, 1125, 8840, 907, 21, 273, 261, 52, 653, 1125, 3456, 13, 2159, 19558, 21, 18, 588, 12, 20, 1769, 202, 430, 12, 84, 856, 1125, 8840, 907, 21, 480, 446, 13, 202, 95, 202, 225, 666, 907, 22, 18, 1289, 12, 84, 856, 1125, 8840, 907, 21, 1769, 202, 97, 3639, 289, 202, 2159, 682, 18, 1289, 12, 1098, 907, 23, 1769, 3639, 327, 10198, 31, 2 ]
private void createLabel( Composite parent, String content, int width )
private void createLabel( Composite parent, String content )
private void createLabel( Composite parent, String content, int width ) { Label label = new Label( parent, SWT.NONE ); if ( content != null ) { label.setText( content ); } setLabelLayoutData( label, width ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/31a80f48beb9d599facbdada555a36a918b898f1/ParameterDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 2224, 12, 14728, 982, 16, 514, 913, 16, 509, 1835, 262, 202, 95, 202, 202, 2224, 1433, 273, 394, 5287, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 430, 261, 913, 480, 446, 262, 202, 202, 95, 1082, 202, 1925, 18, 542, 1528, 12, 913, 11272, 202, 202, 97, 202, 202, 542, 2224, 3744, 751, 12, 1433, 16, 1835, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 752, 2224, 12, 14728, 982, 16, 514, 913, 16, 509, 1835, 262, 202, 95, 202, 202, 2224, 1433, 273, 394, 5287, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 430, 261, 913, 480, 446, 262, 202, 202, 95, 1082, 202, 1925, 18, 542, 1528, 12, 913, 11272, 202, 202, 97, 202, 202, 542, 2224, 3744, 751, 12, 1433, 16, 1835, 11272, 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 ]
num = getDecimalValue(c, state);
num = getDecimalValue(c, state, 0xFFFF, "msg.overlarge.backref");
parseTerm(CompilerState state) { char[] src = state.cpbegin; char c = src[state.cp++]; int nDigits = 2; int parenBaseCount = state.parenCount; int num, tmp; RENode term; int termStart; int ocp = state.cp; switch (c) { /* assertions and atoms */ case '^': state.result = new RENode(REOP_BOL); state.progLength++; return true; case '$': state.result = new RENode(REOP_EOL); state.progLength++; return true; case '\\': if (state.cp < state.cpend) { c = src[state.cp++]; switch (c) { /* assertion escapes */ case 'b' : state.result = new RENode(REOP_WBDRY); state.progLength++; return true; case 'B': state.result = new RENode(REOP_WNONBDRY); state.progLength++; return true; /* Decimal escape */ case '0':/* * Under 'strict' ECMA 3, we interpret \0 as NUL and don't accept octal. * However, (XXX and since Rhino doesn't have a 'strict' mode) we'll just * behave the old way for compatibility reasons. * (see http://bugzilla.mozilla.org/show_bug.cgi?id=141078) * */ /* octal escape */ num = 0; while (state.cp < state.cpend) { c = src[state.cp]; if ((c >= '0') && (c <= '7')) { state.cp++; tmp = 8 * num + (c - '0'); if (tmp > 0377) break; num = tmp; } else break; } c = (char)(num); doFlat(state, c); break; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': termStart = state.cp - 1; num = getDecimalValue(c, state); /* * n > 9 and > count of parentheses, * then treat as octal instead. */ if ((num > 9) && (num > state.parenCount)) { state.cp = termStart; num = 0; while (state.cp < state.cpend) { c = src[state.cp]; if ((c >= '0') && (c <= '7')) { state.cp++; tmp = 8 * num + (c - '0'); if (tmp > 0377) break; num = tmp; } else break; } c = (char)(num); doFlat(state, c); break; } /* otherwise, it's a back-reference */ state.result = new RENode(REOP_BACKREF); state.result.parenIndex = num - 1; state.progLength += 3; break; /* Control escape */ case 'f': c = 0xC; doFlat(state, c); break; case 'n': c = 0xA; doFlat(state, c); break; case 'r': c = 0xD; doFlat(state, c); break; case 't': c = 0x9; doFlat(state, c); break; case 'v': c = 0xB; doFlat(state, c); break; /* Control letter */ case 'c': if (((state.cp + 1) < state.cpend) && Character.isLetter(src[state.cp + 1])) c = (char)(src[state.cp++] & 0x1F); else { /* back off to accepting the original '\' as a literal */ --state.cp; c = '\\'; } doFlat(state, c); break; /* UnicodeEscapeSequence */ case 'u': nDigits += 2; // fall thru... /* HexEscapeSequence */ case 'x': { int n = 0; int i; for (i = 0; (i < nDigits) && (state.cp < state.cpend); i++) { int digit; c = src[state.cp++]; if (!isHex(c)) { /* * back off to accepting the original * 'u' or 'x' as a literal */ state.cp -= (i + 2); n = src[state.cp++]; break; } n = (n << 4) | unHex(c); } c = (char)(n); } doFlat(state, c); break; /* Character class escapes */ case 'd': state.result = new RENode(REOP_DIGIT); state.progLength++; break; case 'D': state.result = new RENode(REOP_NONDIGIT); state.progLength++; break; case 's': state.result = new RENode(REOP_SPACE); state.progLength++; break; case 'S': state.result = new RENode(REOP_NONSPACE); state.progLength++; break; case 'w': state.result = new RENode(REOP_ALNUM); state.progLength++; break; case 'W': state.result = new RENode(REOP_NONALNUM); state.progLength++; break; /* IdentityEscape */ default: state.result = new RENode(REOP_FLAT); state.result.chr = c; state.result.length = 1; state.result.flatIndex = state.cp - 1; state.progLength += 3; break; } break; } else { /* a trailing '\' is an error */ reportError("msg.trail.backslash", ""); return false; } case '(': { RENode result = null; termStart = state.cp; if (state.cp + 1 < state.cpend && src[state.cp] == '?' && ((c = src[state.cp + 1]) == '=' || c == '!' || c == ':')) { state.cp += 2; if (c == '=') { result = new RENode(REOP_ASSERT); /* ASSERT, <next>, ... ASSERTTEST */ state.progLength += 4; } else if (c == '!') { result = new RENode(REOP_ASSERT_NOT); /* ASSERTNOT, <next>, ... ASSERTNOTTEST */ state.progLength += 4; } } else { result = new RENode(REOP_LPAREN); /* LPAREN, <index>, ... RPAREN, <index> */ state.progLength += 6; result.parenIndex = state.parenCount++; } ++state.parenNesting; if (!parseDisjunction(state)) return false; if (state.cp == state.cpend || src[state.cp] != ')') { reportError("msg.unterm.paren", ""); return false; } ++state.cp; --state.parenNesting; if (result != null) { result.kid = state.result; state.result = result; } break; } case ')': reportError("msg.re.unmatched.right.paren", ""); return false; case '[': state.result = new RENode(REOP_CLASS); termStart = state.cp; state.result.startIndex = termStart; while (true) { if (state.cp == state.cpend) { reportError("msg.unterm.class", ""); return false; } if (src[state.cp] == '\\') state.cp++; else { if (src[state.cp] == ']') { state.result.kidlen = state.cp - termStart; break; } } state.cp++; } state.result.index = state.classCount++; /* * Call calculateBitmapSize now as we want any errors it finds * to be reported during the parse phase, not at execution. */ if (!calculateBitmapSize(state, state.result, src, termStart, state.cp++)) return false; state.progLength += 3; /* CLASS, <index> */ break; case '.': state.result = new RENode(REOP_DOT); state.progLength++; break; case '*': case '+': case '?': reportError("msg.bad.quant", String.valueOf(src[state.cp - 1])); return false; case '{': /* Treat left-curly in a non-quantifier context as an error only * if it's followed immediately by a decimal digit. * This is an Perl extension. */ if ((state.cp != state.cpend) && isDigit(src[state.cp])) { reportError("msg.bad.quant", String.valueOf(src[state.cp - 1])); return false; } // fall thru... default: state.result = new RENode(REOP_FLAT); state.result.chr = c; state.result.length = 1; state.result.flatIndex = state.cp - 1; state.progLength += 3; break; } term = state.result; boolean hasQ = false; if (state.cp < state.cpend) { switch (src[state.cp]) { case '+': state.result = new RENode(REOP_QUANT); state.result.min = 1; state.result.max = -1; /* <PLUS>, <parencount>, <parenindex>, <next> ... <ENDCHILD> */ state.progLength += 8; hasQ = true; break; case '*': state.result = new RENode(REOP_QUANT); state.result.min = 0; state.result.max = -1; /* <STAR>, <parencount>, <parenindex>, <next> ... <ENDCHILD> */ state.progLength += 8; hasQ = true; break; case '?': state.result = new RENode(REOP_QUANT); state.result.min = 0; state.result.max = 1; /* <OPT>, <parencount>, <parenindex>, <next> ... <ENDCHILD> */ state.progLength += 8; hasQ = true; break; case '{': { int min = 0; int max = -1; int errIndex = state.cp++; c = src[state.cp]; if (isDigit(c)) { ++state.cp; min = getDecimalValue(c, state); c = src[state.cp]; } else { /* For Perl etc. compatibility, if a curly is not * followed by a proper digit, back off from it * being a quantifier, and chew it up as a literal * atom next time instead. */ --state.cp; return true; } state.result = new RENode(REOP_QUANT); if ((min >> 16) != 0) { reportError("msg.overlarge.max", String.valueOf(src[state.cp])); return false; } if (c == ',') { c = src[++state.cp]; if (isDigit(c)) { ++state.cp; max = getDecimalValue(c, state); c = src[state.cp]; if ((max >> 16) != 0) { reportError("msg.overlarge.max", String.valueOf(src[state.cp])); return false; } if (min > max) { reportError("msg.max.lt.min", String.valueOf(src[state.cp])); return false; } } if (max == 0) { reportError("msg.zero.quant", String.valueOf(src[state.cp])); return false; } } else { max = min; } state.result.min = min; state.result.max = max; /* QUANT, <min>, <max>, <parencount>, <parenindex>, <next> ... <ENDCHILD> */ state.progLength += 12; if (c == '}') { hasQ = true; break; } else { reportError("msg.unterm.quant", String.valueOf(src[state.cp])); return false; } } } } if (!hasQ) return true; ++state.cp; state.result.kid = term; state.result.parenIndex = parenBaseCount; state.result.parenCount = state.parenCount - parenBaseCount; if ((state.cp < state.cpend) && (src[state.cp] == '?')) { ++state.cp; state.result.greedy = false; } else state.result.greedy = true; return true; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/497a0f766cc99c8e45495dadad51256e065545d1/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1109, 4065, 12, 9213, 1119, 919, 13, 565, 288, 3639, 1149, 8526, 1705, 273, 919, 18, 4057, 10086, 31, 3639, 1149, 276, 273, 1705, 63, 2019, 18, 4057, 9904, 15533, 3639, 509, 290, 9537, 273, 576, 31, 3639, 509, 22146, 2171, 1380, 273, 919, 18, 13012, 1380, 31, 3639, 509, 818, 16, 1853, 31, 3639, 2438, 907, 2481, 31, 3639, 509, 2481, 1685, 31, 3639, 509, 320, 4057, 273, 919, 18, 4057, 31, 3639, 1620, 261, 71, 13, 288, 3639, 1748, 7820, 471, 9006, 1195, 3639, 648, 10731, 4278, 5411, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 38, 1741, 1769, 5411, 919, 18, 14654, 1782, 9904, 31, 5411, 327, 638, 31, 3639, 648, 3365, 4278, 5411, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 5842, 1769, 5411, 919, 18, 14654, 1782, 9904, 31, 5411, 327, 638, 31, 3639, 648, 3718, 4278, 5411, 309, 261, 2019, 18, 4057, 411, 919, 18, 71, 1302, 13, 288, 7734, 276, 273, 1705, 63, 2019, 18, 4057, 9904, 15533, 7734, 1620, 261, 71, 13, 288, 7734, 1748, 11240, 23802, 1195, 7734, 648, 296, 70, 11, 294, 10792, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 59, 38, 6331, 61, 1769, 10792, 919, 18, 14654, 1782, 9904, 31, 10792, 327, 638, 31, 7734, 648, 296, 38, 4278, 10792, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 59, 3993, 38, 6331, 61, 1769, 10792, 919, 18, 14654, 1782, 9904, 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, 1109, 4065, 12, 9213, 1119, 919, 13, 565, 288, 3639, 1149, 8526, 1705, 273, 919, 18, 4057, 10086, 31, 3639, 1149, 276, 273, 1705, 63, 2019, 18, 4057, 9904, 15533, 3639, 509, 290, 9537, 273, 576, 31, 3639, 509, 22146, 2171, 1380, 273, 919, 18, 13012, 1380, 31, 3639, 509, 818, 16, 1853, 31, 3639, 2438, 907, 2481, 31, 3639, 509, 2481, 1685, 31, 3639, 509, 320, 4057, 273, 919, 18, 4057, 31, 3639, 1620, 261, 71, 13, 288, 3639, 1748, 7820, 471, 9006, 1195, 3639, 648, 10731, 4278, 5411, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 38, 1741, 1769, 5411, 919, 18, 14654, 1782, 9904, 31, 5411, 327, 638, 31, 3639, 648, 3365, 2 ]
else if ( !Artifact.SCOPE_TEST.equals( artifact.getScope() ) && !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) )
else if ( !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) )
public void buildWebapp( MavenProject project ) throws IOException { getLog().info( "Assembling webapp " + project.getArtifactId() + " in " + webappDirectory ); File libDirectory = new File( webappDirectory, WEB_INF + "/lib" ); File tldDirectory = new File( webappDirectory, WEB_INF + "/tld" ); File webappClassesDirectory = new File( webappDirectory, WEB_INF + "/classes" ); File classesDirectory = new File( this.classesDirectory ); if ( classesDirectory.exists() ) { FileUtils.copyDirectoryStructure( classesDirectory, webappClassesDirectory ); } Set artifacts = project.getArtifacts(); for ( Iterator iter = artifacts.iterator(); iter.hasNext(); ) { Artifact artifact = (Artifact) iter.next(); // TODO: scope handler // TODO: use classpath instead // Include runtime and compile time libraries // [jc, 21-June]: handle TLDs as a special-case. if ( "tld".equals( artifact.getType() ) ) { FileUtils.copyFileToDirectory( artifact.getFile(), tldDirectory ); } // [jc, 21-June]: filter POMs out of the /lib copy process. else if ( "pom".equals( artifact.getType() ) ) { // don't mess with these...they'd only be here for inclusion of dependencies. } // [jc, 21-June]: I'm removing ( "jar".equals( artifact.getType() ) ) from consideration here // we'll handle anything that's NOT a POM or a TLD as a binary library to go in /lib else if ( !Artifact.SCOPE_TEST.equals( artifact.getScope() ) && !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) ) { FileUtils.copyFileToDirectory( artifact.getFile(), libDirectory ); } } }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/fd3e9fe9e29b5a6d361320f8a629a28803c4436b/WarMojo.java/clean/maven-plugins/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1361, 4079, 2910, 12, 17176, 4109, 1984, 262, 3639, 1216, 1860, 565, 288, 3639, 9189, 7675, 1376, 12, 315, 1463, 5747, 2456, 28945, 315, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 316, 315, 397, 28945, 2853, 11272, 3639, 1387, 2561, 2853, 273, 394, 1387, 12, 28945, 2853, 16, 19877, 67, 19212, 397, 2206, 2941, 6, 11272, 3639, 1387, 23373, 2853, 273, 394, 1387, 12, 28945, 2853, 16, 19877, 67, 19212, 397, 2206, 88, 1236, 6, 11272, 3639, 1387, 28945, 4818, 2853, 273, 394, 1387, 12, 28945, 2853, 16, 19877, 67, 19212, 397, 2206, 4701, 6, 11272, 3639, 1387, 3318, 2853, 273, 394, 1387, 12, 333, 18, 4701, 2853, 11272, 3639, 309, 261, 3318, 2853, 18, 1808, 1435, 262, 3639, 288, 5411, 13779, 18, 3530, 2853, 6999, 12, 3318, 2853, 16, 28945, 4818, 2853, 11272, 3639, 289, 3639, 1000, 16259, 273, 1984, 18, 588, 16981, 5621, 3639, 364, 261, 4498, 1400, 273, 16259, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 14022, 6462, 273, 261, 7581, 13, 1400, 18, 4285, 5621, 5411, 368, 2660, 30, 2146, 1838, 5411, 368, 2660, 30, 999, 10006, 3560, 5411, 368, 12672, 3099, 471, 4074, 813, 14732, 13491, 368, 306, 78, 71, 16, 9035, 17, 46, 7556, 14542, 1640, 399, 12069, 87, 487, 279, 4582, 17, 3593, 18, 5411, 309, 261, 315, 88, 1236, 9654, 14963, 12, 6462, 18, 588, 559, 1435, 262, 262, 5411, 288, 7734, 13779, 18, 3530, 812, 774, 2853, 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, 377, 1071, 918, 1361, 4079, 2910, 12, 17176, 4109, 1984, 262, 3639, 1216, 1860, 565, 288, 3639, 9189, 7675, 1376, 12, 315, 1463, 5747, 2456, 28945, 315, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 316, 315, 397, 28945, 2853, 11272, 3639, 1387, 2561, 2853, 273, 394, 1387, 12, 28945, 2853, 16, 19877, 67, 19212, 397, 2206, 2941, 6, 11272, 3639, 1387, 23373, 2853, 273, 394, 1387, 12, 28945, 2853, 16, 19877, 67, 19212, 397, 2206, 88, 1236, 6, 11272, 3639, 1387, 28945, 4818, 2853, 273, 394, 1387, 12, 28945, 2853, 16, 19877, 67, 19212, 397, 2206, 4701, 6, 11272, 3639, 1387, 3318, 2853, 273, 394, 1387, 12, 333, 18, 4701, 2853, 11272, 3639, 309, 261, 3318, 2853, 2 ]
});
temp.doLayout(); temp.repaint(); temp.invalidate(); temp.validate(); } }); } else { remove_button.setEnabled(false); }
private void addEmbeddedElement(Object value, PropertyDefinition prop_def, int row) { // Embedded Element // Adding a List EmbeddedElementPanel editor_list = new EmbeddedElementPanel((ConfigElement)value, mColor); ((TableLayout)this.getLayout()).insertRow(row, TableLayout.PREFERRED); TableLayoutConstraints c = new TableLayoutConstraints(0, row, 1, row, TableLayout.FULL, TableLayout.FULL); this.add(editor_list, c); if(prop_def.isVariable()) { JButton remove_button = new JButton(); remove_button.setIcon(mRemoveIcon); remove_button.setMargin(new Insets(0,0,0,0)); remove_button.setBorderPainted(false); remove_button.setFocusPainted(false); remove_button.setContentAreaFilled(false); final ConfigElement temp_elm = mConfigElement; final Object temp_value = value; final String temp_string = prop_def.getToken(); remove_button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { System.out.println("1"); PropertyComponent temp = (PropertyComponent)((Component)evt.getSource()).getParent(); temp_elm.removeProperty(temp_string, temp_value); if(temp.getLayout() instanceof TableLayout) { System.out.println("2"); TableLayout tl = (TableLayout)temp.getLayout(); // Get the row that this panel is in. TableLayoutConstraints tlc = tl.getConstraints((Component)evt.getSource()); int row = tlc.row1; temp.remove((Component)evt.getSource()); tl.deleteRow(row); } temp.doLayout(); temp.repaint(); temp.invalidate(); temp.validate(); } }); TableLayoutConstraints c4 = new TableLayoutConstraints(2, row, 2, row, TableLayout.LEFT, TableLayout.TOP); add(remove_button, c4); } this.refresh(); editor_list.refresh(); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/815e5c52b6fdf3a84f4f766ad8a5b269097f084b/PropertySheet.java/clean/modules/jackal/editors/org/vrjuggler/jccl/editors/PropertySheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 527, 14980, 1046, 12, 921, 460, 16, 4276, 1852, 2270, 67, 536, 16, 509, 1027, 13, 282, 288, 1377, 368, 21829, 3010, 1377, 368, 21240, 279, 987, 1377, 21829, 1046, 5537, 4858, 67, 1098, 273, 394, 21829, 1046, 5537, 12443, 809, 1046, 13, 1132, 16, 312, 2957, 1769, 5411, 14015, 1388, 3744, 13, 2211, 18, 588, 3744, 1435, 2934, 6387, 1999, 12, 492, 16, 3555, 3744, 18, 3670, 17356, 1769, 5411, 3555, 3744, 4878, 276, 273, 394, 3555, 3744, 4878, 12, 20, 16, 1027, 16, 404, 16, 1027, 16, 3555, 3744, 18, 18111, 16, 3555, 3744, 18, 18111, 1769, 1377, 333, 18, 1289, 12, 9177, 67, 1098, 16, 276, 1769, 5411, 309, 12, 5986, 67, 536, 18, 291, 3092, 10756, 1377, 288, 540, 28804, 1206, 67, 5391, 273, 394, 28804, 5621, 540, 1206, 67, 5391, 18, 542, 5554, 12, 81, 3288, 5554, 1769, 540, 1206, 67, 5391, 18, 542, 9524, 12, 2704, 22300, 12, 20, 16, 20, 16, 20, 16, 20, 10019, 540, 1206, 67, 5391, 18, 542, 8107, 12699, 329, 12, 5743, 1769, 540, 1206, 67, 5391, 18, 542, 9233, 12699, 329, 12, 5743, 1769, 540, 1206, 67, 5391, 18, 542, 1350, 5484, 29754, 12, 5743, 1769, 5397, 727, 1903, 1046, 1906, 67, 19597, 273, 312, 809, 1046, 31, 5411, 727, 1033, 1906, 67, 1132, 273, 460, 31, 5411, 727, 514, 1906, 67, 1080, 273, 2270, 67, 536, 18, 588, 1345, 5621, 13491, 1206, 67, 5391, 18, 1289, 1803, 2223, 12, 2704, 25962, 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, 918, 527, 14980, 1046, 12, 921, 460, 16, 4276, 1852, 2270, 67, 536, 16, 509, 1027, 13, 282, 288, 1377, 368, 21829, 3010, 1377, 368, 21240, 279, 987, 1377, 21829, 1046, 5537, 4858, 67, 1098, 273, 394, 21829, 1046, 5537, 12443, 809, 1046, 13, 1132, 16, 312, 2957, 1769, 5411, 14015, 1388, 3744, 13, 2211, 18, 588, 3744, 1435, 2934, 6387, 1999, 12, 492, 16, 3555, 3744, 18, 3670, 17356, 1769, 5411, 3555, 3744, 4878, 276, 273, 394, 3555, 3744, 4878, 12, 20, 16, 1027, 16, 404, 16, 1027, 16, 3555, 3744, 18, 18111, 16, 3555, 3744, 18, 18111, 1769, 1377, 333, 18, 1289, 12, 9177, 67, 1098, 16, 276, 1769, 5411, 309, 12, 5986, 67, 536, 2 ]
boolean newIndexerValue = optionPage.getIndexerValue();
boolean newIndexerValue = optionPage.getIndexerValue(); boolean newIndexerProblemsValue = optionPage.getIndexerProblemsValue();
public boolean performOk() { boolean newIndexerValue = optionPage.getIndexerValue(); if (oldIndexerValue != newIndexerValue){ //persist new value IProject tempProject = getProject(); optionPage.persistIndexerValue(tempProject); //if indexer is now on send a index all request if (newIndexerValue) CCorePlugin.getDefault().getCoreModel().getIndexManager().indexAll(tempProject); } return true; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/4b1ecbf65bb678389b4b1c10e9689458753d9194/IndexerOptionPropertyPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/IndexerOptionPropertyPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 8809, 1435, 288, 1082, 202, 6494, 394, 20877, 620, 273, 1456, 1964, 18, 588, 20877, 620, 5621, 6862, 202, 430, 261, 1673, 20877, 620, 480, 394, 20877, 620, 15329, 1082, 202, 759, 19251, 394, 460, 1082, 202, 45, 4109, 1906, 4109, 273, 11080, 5621, 1082, 202, 3482, 1964, 18, 19251, 20877, 620, 12, 5814, 4109, 1769, 6862, 202, 759, 430, 12635, 353, 2037, 603, 1366, 279, 770, 777, 590, 1875, 202, 430, 261, 2704, 20877, 620, 13, 9506, 202, 39, 4670, 3773, 18, 588, 1868, 7675, 588, 4670, 1488, 7675, 588, 1016, 1318, 7675, 1615, 1595, 12, 5814, 4109, 1769, 6862, 6862, 202, 97, 9506, 202, 2463, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 8809, 1435, 288, 1082, 202, 6494, 394, 20877, 620, 273, 1456, 1964, 18, 588, 20877, 620, 5621, 6862, 202, 430, 261, 1673, 20877, 620, 480, 394, 20877, 620, 15329, 1082, 202, 759, 19251, 394, 460, 1082, 202, 45, 4109, 1906, 4109, 273, 11080, 5621, 1082, 202, 3482, 1964, 18, 19251, 20877, 620, 12, 5814, 4109, 1769, 6862, 202, 759, 430, 12635, 353, 2037, 603, 1366, 279, 770, 777, 590, 1875, 202, 430, 261, 2704, 20877, 620, 13, 9506, 202, 39, 4670, 3773, 18, 588, 1868, 7675, 588, 4670, 1488, 7675, 588, 1016, 1318, 7675, 1615, 1595, 12, 5814, 4109, 1769, 6862, 6862, 202, 97, 9506, 202, 2463, 638, 31, 202, 97, 2, -100, -100, -100 ]
showPageFlippingAbortDialog(); selectCurrentPageAgain();
handleError();
public void run() { Object data = event.item.getData(); if (data instanceof IPreferenceNode) { if (!isCurrentPageValid()) { showPageFlippingAbortDialog(); selectCurrentPageAgain(); } else if (!showPage((IPreferenceNode) data)) { // Page flipping wasn't successful showPageFlippingAbortDialog(); selectCurrentPageAgain(); } else { // Everything went well currentTreeItem = (TreeItem) event.item; } // Keep focus in tree. See bugs 2692, 2621, and 6775. tree.setFocus(); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/15c9e41b785818b84c42cba3259622d8138d9995/PreferenceDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 921, 501, 273, 871, 18, 1726, 18, 588, 751, 5621, 25083, 202, 430, 261, 892, 1276, 467, 9624, 907, 13, 288, 6862, 1082, 202, 430, 16051, 291, 3935, 1964, 1556, 10756, 288, 6862, 9506, 202, 4500, 1964, 28535, 1382, 13572, 6353, 5621, 6862, 9506, 202, 4025, 3935, 1964, 23530, 5621, 6862, 1082, 202, 97, 469, 309, 16051, 4500, 1964, 12443, 45, 9624, 907, 13, 501, 3719, 288, 6862, 9506, 202, 759, 3460, 9668, 1382, 14487, 1404, 6873, 6862, 9506, 202, 4500, 1964, 28535, 1382, 13572, 6353, 5621, 6862, 9506, 202, 4025, 3935, 1964, 23530, 5621, 6862, 1082, 202, 97, 469, 288, 6862, 9506, 202, 759, 26553, 16343, 5492, 6862, 9506, 202, 2972, 2471, 1180, 273, 261, 2471, 1180, 13, 871, 18, 1726, 31, 6862, 1082, 202, 97, 6862, 1082, 202, 759, 10498, 7155, 316, 2151, 18, 225, 2164, 22398, 576, 8148, 22, 16, 10659, 5340, 16, 471, 1666, 27714, 18, 6862, 1082, 202, 3413, 18, 542, 9233, 5621, 25083, 202, 97, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 921, 501, 273, 871, 18, 1726, 18, 588, 751, 5621, 25083, 202, 430, 261, 892, 1276, 467, 9624, 907, 13, 288, 6862, 1082, 202, 430, 16051, 291, 3935, 1964, 1556, 10756, 288, 6862, 9506, 202, 4500, 1964, 28535, 1382, 13572, 6353, 5621, 6862, 9506, 202, 4025, 3935, 1964, 23530, 5621, 6862, 1082, 202, 97, 469, 309, 16051, 4500, 1964, 12443, 45, 9624, 907, 13, 501, 3719, 288, 6862, 9506, 202, 759, 3460, 9668, 1382, 14487, 1404, 6873, 6862, 9506, 202, 4500, 1964, 28535, 1382, 13572, 6353, 5621, 6862, 9506, 202, 4025, 3935, 1964, 23530, 5621, 6862, 1082, 202, 97, 469, 288, 6862, 9506, 202, 759, 26553, 16343, 5492, 6862, 9506, 2 ]
_t = __t1985;
_t = __t1986;
public final void inputfromstate(AST _t) throws RecognitionException { AST inputfromstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1985 = _t; AST tmp2018_AST_in = (AST)_t; match(_t,INPUT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STREAM: { stream_name(_t); _t = _retTree; break; } case FROM: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2019_AST_in = (AST)_t; match(_t,FROM); _t = _t.getNextSibling(); io_phrase(_t); _t = _retTree; state_end(_t); _t = _retTree; _t = __t1985; _t = _t.getNextSibling(); _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, 810, 2080, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 810, 2080, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3657, 7140, 273, 389, 88, 31, 202, 202, 9053, 1853, 21849, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 15934, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 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, 19917, 30, 202, 202, 95, 1082, 202, 3256, 67, 529, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 4571, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 9053, 1853, 6734, 29, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 11249, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 1594, 67, 9429, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 2019, 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, 810, 2080, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 810, 2080, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3657, 7140, 273, 389, 88, 31, 202, 202, 9053, 1853, 21849, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 15934, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 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, 2 ]
log.trace("service state was set successfully (" + service_state.size() + " entries");
log.trace("service state was set successfully (" + service_state.size() + " entries)");
public void fetchServiceInformation() throws Exception { while(true) { Address coord=getCoordinator(), local_address=channel != null? channel.getLocalAddress() : null; boolean is_coord=coord != null && local_address != null && local_address.equals(coord); if(is_coord) { if(log.isTraceEnabled()) log.trace("I'm coordinator, will not fetch service state information"); break; } ServiceInfo si=new ServiceInfo(ServiceInfo.STATE_REQ, null, null, null); MuxHeader hdr=new MuxHeader(si); Message state_req=new Message(coord, null, null); state_req.putHeader(NAME, hdr); service_state_promise.reset(); channel.send(state_req); try { byte[] state=(byte[])service_state_promise.getResultWithTimeout(2000); if(state != null) { Map new_state=(Map)Util.objectFromByteBuffer(state); synchronized(service_state) { service_state.clear(); service_state.putAll(new_state); } if(log.isTraceEnabled()) log.trace("service state was set successfully (" + service_state.size() + " entries"); } else { if(log.isWarnEnabled()) log.warn("received service state was null"); } break; } catch(TimeoutException e) { if(log.isTraceEnabled()) log.trace("timed out waiting for service state from " + coord + ", retrying"); } } }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/6d35abae263ab7b7f0769fc10c655764ce762d4c/Multiplexer.java/clean/src/org/jgroups/mux/Multiplexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2158, 1179, 5369, 1435, 1216, 1185, 288, 3639, 1323, 12, 3767, 13, 288, 5411, 5267, 2745, 33, 588, 25307, 9334, 1191, 67, 2867, 33, 4327, 480, 446, 35, 1904, 18, 588, 2042, 1887, 1435, 294, 446, 31, 5411, 1250, 353, 67, 5732, 33, 5732, 480, 446, 597, 1191, 67, 2867, 480, 446, 597, 1191, 67, 2867, 18, 14963, 12, 5732, 1769, 5411, 309, 12, 291, 67, 5732, 13, 288, 7734, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 10792, 613, 18, 5129, 2932, 45, 17784, 24794, 16, 903, 486, 2158, 1156, 919, 1779, 8863, 7734, 898, 31, 5411, 289, 5411, 1956, 966, 7533, 33, 2704, 1956, 966, 12, 1179, 966, 18, 7998, 67, 20373, 16, 446, 16, 446, 16, 446, 1769, 5411, 29408, 1864, 7723, 33, 2704, 29408, 1864, 12, 7722, 1769, 5411, 2350, 919, 67, 3658, 33, 2704, 2350, 12, 5732, 16, 446, 16, 446, 1769, 5411, 919, 67, 3658, 18, 458, 1864, 12, 1985, 16, 7723, 1769, 5411, 1156, 67, 2019, 67, 20837, 18, 6208, 5621, 5411, 1904, 18, 4661, 12, 2019, 67, 3658, 1769, 5411, 775, 288, 7734, 1160, 8526, 919, 28657, 7229, 63, 5717, 3278, 67, 2019, 67, 20837, 18, 588, 1253, 1190, 2694, 12, 17172, 1769, 7734, 309, 12, 2019, 480, 446, 13, 288, 10792, 1635, 394, 67, 2019, 28657, 863, 13, 1304, 18, 1612, 1265, 12242, 12, 2019, 1769, 10792, 3852, 12, 3278, 67, 2019, 13, 288, 13491, 1156, 67, 2019, 18, 8507, 5621, 13491, 1156, 67, 2019, 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, 2158, 1179, 5369, 1435, 1216, 1185, 288, 3639, 1323, 12, 3767, 13, 288, 5411, 5267, 2745, 33, 588, 25307, 9334, 1191, 67, 2867, 33, 4327, 480, 446, 35, 1904, 18, 588, 2042, 1887, 1435, 294, 446, 31, 5411, 1250, 353, 67, 5732, 33, 5732, 480, 446, 597, 1191, 67, 2867, 480, 446, 597, 1191, 67, 2867, 18, 14963, 12, 5732, 1769, 5411, 309, 12, 291, 67, 5732, 13, 288, 7734, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 10792, 613, 18, 5129, 2932, 45, 17784, 24794, 16, 903, 486, 2158, 1156, 919, 1779, 8863, 7734, 898, 31, 5411, 289, 5411, 1956, 966, 7533, 33, 2704, 1956, 966, 12, 1179, 966, 18, 7998, 67, 20373, 16, 446, 2 ]
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; } int inPos = in.position (); try { while (in.hasRemaining ()) { char c = in.get (); if (0xD800 <= c && c <= 0xDFFF) { // c is a surrogate // make sure c is a high surrogate if (c > 0xDBFF) return CoderResult.malformedForLength (1); if (in.remaining () < 1) return CoderResult.UNDERFLOW; char d = in.get (); // make sure d is a low surrogate if (d < 0xDC00 || d > 0xDFFF) return CoderResult.malformedForLength (1); put (out, c); put (out, d); inPos += 2; } else { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, c); inPos++; } } return CoderResult.UNDERFLOW; } finally { in.position (inPos); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/92038d25ca011c85e26640a575247dacb269ccc7/UTF_16Encoder.java/clean/libraries/javalib/gnu/java/nio/charset/UTF_16Encoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 39, 5350, 1253, 3015, 6452, 12, 2156, 1892, 267, 16, 12242, 659, 15329, 759, 6241, 30, 13930, 452, 546, 291, 267, 451, 557, 448, 267, 18, 5332, 1076, 1435, 19, 659, 18, 5332, 1076, 1435, 430, 12, 20600, 3216, 2448, 3882, 15329, 430, 12, 659, 18, 17956, 1435, 32, 22, 13, 2463, 39, 5350, 1253, 18, 12959, 17430, 31, 458, 12, 659, 16, 15377, 67, 7954, 67, 12693, 1769, 20600, 3216, 2448, 3882, 33, 5743, 31, 97, 474, 267, 1616, 33, 267, 18, 3276, 5621, 698, 95, 17523, 12, 267, 18, 5332, 11429, 10756, 95, 3001, 71, 33, 267, 18, 588, 5621, 430, 12, 20, 17593, 17374, 32, 33, 71, 10, 10, 71, 32, 33, 20, 17593, 2246, 42, 15329, 759, 71, 291, 345, 295, 15283, 759, 81, 3223, 594, 71, 291, 69, 8766, 10050, 15283, 430, 12, 71, 34, 20, 92, 2290, 2246, 13, 2463, 39, 5350, 1253, 18, 81, 8246, 1290, 1782, 12, 21, 1769, 430, 12, 267, 18, 17956, 1435, 32, 21, 13, 2463, 39, 5350, 1253, 18, 31625, 17430, 31, 343, 1060, 33, 267, 18, 588, 5621, 759, 81, 3223, 594, 2251, 287, 543, 10050, 15283, 430, 12, 72, 32, 20, 92, 5528, 713, 20081, 72, 34, 20, 17593, 2246, 42, 13, 2463, 39, 5350, 1253, 18, 81, 8246, 1290, 1782, 12, 21, 1769, 458, 12, 659, 16, 71, 1769, 458, 12, 659, 16, 72, 1769, 267, 1616, 15, 33, 22, 31, 97, 12107, 95, 430, 12, 659, 18, 17956, 1435, 32, 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, 4750, 39, 5350, 1253, 3015, 6452, 12, 2156, 1892, 267, 16, 12242, 659, 15329, 759, 6241, 30, 13930, 452, 546, 291, 267, 451, 557, 448, 267, 18, 5332, 1076, 1435, 19, 659, 18, 5332, 1076, 1435, 430, 12, 20600, 3216, 2448, 3882, 15329, 430, 12, 659, 18, 17956, 1435, 32, 22, 13, 2463, 39, 5350, 1253, 18, 12959, 17430, 31, 458, 12, 659, 16, 15377, 67, 7954, 67, 12693, 1769, 20600, 3216, 2448, 3882, 33, 5743, 31, 97, 474, 267, 1616, 33, 267, 18, 3276, 5621, 698, 95, 17523, 12, 267, 18, 5332, 11429, 10756, 95, 3001, 71, 33, 267, 18, 588, 5621, 430, 12, 20, 17593, 17374, 32, 33, 71, 10, 10, 71, 32, 33, 20, 17593, 2246, 2 ]
String path = ""; if (aMozBinDirectory != null) { path = aMozBinDirectory + File.separator; } System.load(path + System.mapLibraryName("javaxpcomglue"));
registerJavaXPCOMMethods(aMozBinDirectory);
public nsIServiceManager initXPCOM(File aMozBinDirectory, IAppFileLocProvider aAppFileLocProvider) { // load JNI library String path = ""; if (aMozBinDirectory != null) { path = aMozBinDirectory + File.separator; } System.load(path + System.mapLibraryName("javaxpcomglue")); return initXPCOMNative(aMozBinDirectory, aAppFileLocProvider); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/18020ea13b14108435c19a95a4429ab48d865ecb/XPCOMImpl.java/clean/extensions/java/xpcom/src/org/mozilla/xpcom/internal/XPCOMImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3153, 45, 1179, 1318, 1208, 60, 3513, 1872, 12, 812, 279, 49, 11142, 9913, 2853, 16, 1850, 467, 3371, 812, 1333, 2249, 279, 3371, 812, 1333, 2249, 13, 288, 565, 368, 1262, 804, 50, 45, 5313, 565, 514, 589, 273, 1408, 31, 565, 309, 261, 69, 49, 11142, 9913, 2853, 480, 446, 13, 288, 1377, 589, 273, 279, 49, 11142, 9913, 2853, 397, 1387, 18, 11287, 31, 565, 289, 565, 2332, 18, 945, 12, 803, 397, 2332, 18, 1458, 9313, 461, 2932, 28384, 84, 832, 7043, 344, 7923, 1769, 565, 327, 1208, 60, 3513, 1872, 9220, 12, 69, 49, 11142, 9913, 2853, 16, 279, 3371, 812, 1333, 2249, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3153, 45, 1179, 1318, 1208, 60, 3513, 1872, 12, 812, 279, 49, 11142, 9913, 2853, 16, 1850, 467, 3371, 812, 1333, 2249, 279, 3371, 812, 1333, 2249, 13, 288, 565, 368, 1262, 804, 50, 45, 5313, 565, 514, 589, 273, 1408, 31, 565, 309, 261, 69, 49, 11142, 9913, 2853, 480, 446, 13, 288, 1377, 589, 273, 279, 49, 11142, 9913, 2853, 397, 1387, 18, 11287, 31, 565, 289, 565, 2332, 18, 945, 12, 803, 397, 2332, 18, 1458, 9313, 461, 2932, 28384, 84, 832, 7043, 344, 7923, 1769, 565, 327, 1208, 60, 3513, 1872, 9220, 12, 69, 49, 11142, 9913, 2853, 16, 279, 3371, 812, 1333, 2249, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100 ]
public void startClient() { System.out.println("Client"); ClientOptions options = new ClientOptions("Client", PORT, "127.0.0.1"); options.show(); options.waitForOptions(); options.dispose(); String name = options.getName(); int port = options.getPort(); String address = options.getAddress(); ClientMessenger messenger = null; try { messenger = new ClientMessenger(address, port, name, new GameObjectStreamFactory(m_data)); } catch(Exception e) { JOptionPane.showMessageDialog(null, e.getMessage()); startClient(); return; } ChatFrame chatFrame = new ChatFrame(messenger); chatFrame.show(); IGameLoader loader = m_data.getGameLoader(); ClientStartup startup = new ClientStartup(loader, m_data, messenger); startup.setVisible(true); startup.waitForPlayers(); startup.dispose(); Map playerMapping = startup.getLocalPlayerMapping(); Set playerSet = loader.createPlayers(playerMapping); ClientGame clientGame = new ClientGame(m_data, playerSet, messenger, messenger.getServerNode()); chatFrame.getChat().showTranscript(clientGame.getTranscript()); m_data.getGameLoader().startGame(clientGame, playerSet); messenger.send(new ClientReady(), messenger.getServerNode()); }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/65dc97c8bd1d73da6a21d79d5ad468e6bb971a9b/GameRunner.java/buggy/src/games/strategy/engine/framework/GameRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1227, 1435, 202, 95, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1227, 8863, 9506, 202, 1227, 1320, 702, 273, 394, 2445, 1320, 2932, 1227, 3113, 20987, 16, 315, 14260, 18, 20, 18, 20, 18, 21, 8863, 202, 202, 2116, 18, 4500, 5621, 202, 202, 2116, 18, 7048, 1290, 1320, 5621, 202, 202, 2116, 18, 2251, 4150, 5621, 9506, 202, 780, 508, 273, 702, 18, 17994, 5621, 202, 202, 474, 1756, 273, 702, 18, 588, 2617, 5621, 202, 202, 780, 1758, 273, 702, 18, 588, 1887, 5621, 9506, 202, 1227, 29329, 31086, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 81, 18912, 273, 394, 2445, 29329, 12, 2867, 16, 1756, 16, 508, 16, 394, 14121, 921, 1228, 1733, 12, 81, 67, 892, 10019, 202, 202, 97, 1044, 12, 503, 425, 13, 202, 202, 95, 1082, 202, 46, 1895, 8485, 18, 4500, 1079, 6353, 12, 2011, 16, 425, 18, 24906, 10663, 1082, 202, 1937, 1227, 5621, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 14163, 3219, 7916, 3219, 273, 394, 16903, 3219, 12, 81, 18912, 1769, 9506, 202, 10880, 3219, 18, 4500, 5621, 9506, 202, 3047, 339, 2886, 4088, 273, 312, 67, 892, 18, 588, 12496, 2886, 5621, 9506, 202, 1227, 22178, 11850, 273, 394, 2445, 22178, 12, 6714, 16, 312, 67, 892, 16, 31086, 1769, 202, 202, 23939, 18, 542, 6207, 12, 3767, 1769, 9506, 202, 23939, 18, 7048, 1290, 1749, 3907, 5621, 202, 202, 23939, 18, 2251, 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, 787, 1227, 1435, 202, 95, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1227, 8863, 9506, 202, 1227, 1320, 702, 273, 394, 2445, 1320, 2932, 1227, 3113, 20987, 16, 315, 14260, 18, 20, 18, 20, 18, 21, 8863, 202, 202, 2116, 18, 4500, 5621, 202, 202, 2116, 18, 7048, 1290, 1320, 5621, 202, 202, 2116, 18, 2251, 4150, 5621, 9506, 202, 780, 508, 273, 702, 18, 17994, 5621, 202, 202, 474, 1756, 273, 702, 18, 588, 2617, 5621, 202, 202, 780, 1758, 273, 702, 18, 588, 1887, 5621, 9506, 202, 1227, 29329, 31086, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 81, 18912, 273, 394, 2445, 29329, 12, 2867, 16, 1756, 16, 2 ]
public boolean isFFirstMerged() { return fFirstMerged.isSet(field_1_rgf); }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/79d06dc2b5e839d92f501b1ff8ea15e53d646732/TCAbstractType.java/clean/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/TCAbstractType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 2246, 920, 19043, 1435, 565, 288, 3639, 327, 284, 3759, 19043, 18, 291, 694, 12, 1518, 67, 21, 67, 26876, 74, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 353, 2246, 920, 19043, 1435, 565, 288, 3639, 327, 284, 3759, 19043, 18, 291, 694, 12, 1518, 67, 21, 67, 26876, 74, 1769, 5411, 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 ]
return false;
Component parent = getParent(); boolean retVal = false; if (parent instanceof JViewport) { JViewport viewport = (JViewport) parent; Dimension pref = getPreferredSize(); if (viewport.getSize().height > pref.height) retVal = true; if ((getLayoutOrientation() == VERTICAL_WRAP) && (getVisibleRowCount() <= 0)) retVal = true; } return retVal;
public boolean getScrollableTracksViewportHeight() { return false; }
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/7878167de36c868f3f4b0f507094bb155efbb199/JList.java/clean/libjava/javax/swing/JList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 11971, 30453, 22138, 22743, 2686, 1435, 225, 288, 565, 5435, 982, 273, 5089, 5621, 1250, 12197, 273, 629, 31, 309, 261, 2938, 1276, 804, 22743, 13, 288, 804, 22743, 10482, 273, 261, 46, 22743, 13, 982, 31, 13037, 11307, 273, 12822, 4193, 1225, 5621, 309, 261, 28852, 18, 588, 1225, 7675, 4210, 405, 11307, 18, 4210, 13, 12197, 273, 638, 31, 309, 14015, 588, 3744, 14097, 1435, 422, 29109, 67, 27664, 13, 597, 261, 588, 6207, 26359, 1435, 1648, 374, 3719, 12197, 273, 638, 31, 289, 327, 12197, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 11971, 30453, 22138, 22743, 2686, 1435, 225, 288, 565, 5435, 982, 273, 5089, 5621, 1250, 12197, 273, 629, 31, 309, 261, 2938, 1276, 804, 22743, 13, 288, 804, 22743, 10482, 273, 261, 46, 22743, 13, 982, 31, 13037, 11307, 273, 12822, 4193, 1225, 5621, 309, 261, 28852, 18, 588, 1225, 7675, 4210, 405, 11307, 18, 4210, 13, 12197, 273, 638, 31, 309, 14015, 588, 3744, 14097, 1435, 422, 29109, 67, 27664, 13, 597, 261, 588, 6207, 26359, 1435, 1648, 374, 3719, 12197, 273, 638, 31, 289, 327, 12197, 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 ]
int firstLine = textArea.getFirstPhysicalLine(); int lastLine = textArea.getLastPhysicalLine();
int _firstLine = textArea.getFirstPhysicalLine(); int _lastLine = textArea.getLastPhysicalLine();
public void transactionComplete(Buffer buffer) { if(textArea.getDisplayManager() == DisplayManager.this) { if(delayedUpdate) { if(delayedMultilineUpdate) { textArea.invalidateScreenLineRange( textArea.chunkCache .getScreenLineOfOffset( delayedUpdateStart,0), textArea.getVisibleLines()); delayedMultilineUpdate = false; } else { textArea.invalidateLineRange( delayedUpdateStart, delayedUpdateEnd); } int firstLine = textArea.getFirstPhysicalLine(); int lastLine = textArea.getLastPhysicalLine(); int line = delayedUpdateStart; if(!isLineVisible(line)) line = getNextVisibleLine(line); while(line != -1 && line <= delayedUpdateEnd) { if(line < firstLine || line > lastLine) { getScreenLineCount(line); } line = getNextVisibleLine(line); } _notifyScreenLineChanges(); } textArea._finishCaretUpdate(); } delayedUpdate = false; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/7d4c1f2074306678cb112e5d3b833070ea55c36b/DisplayManager.java/buggy/org/gjt/sp/jedit/textarea/DisplayManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2492, 6322, 12, 1892, 1613, 13, 202, 202, 95, 1082, 202, 430, 12, 955, 5484, 18, 588, 4236, 1318, 1435, 422, 9311, 1318, 18, 2211, 13, 1082, 202, 95, 9506, 202, 430, 12, 10790, 329, 1891, 13, 9506, 202, 95, 6862, 202, 430, 12, 10790, 329, 5049, 12554, 1891, 13, 6862, 202, 95, 25083, 202, 955, 5484, 18, 5387, 340, 7956, 1670, 2655, 12, 6862, 1082, 202, 955, 5484, 18, 6551, 1649, 6862, 1082, 202, 18, 588, 7956, 1670, 951, 2335, 12, 6862, 1082, 202, 10790, 329, 1891, 1685, 16, 20, 3631, 6862, 1082, 202, 955, 5484, 18, 588, 6207, 5763, 10663, 25083, 202, 10790, 329, 5049, 12554, 1891, 273, 629, 31, 6862, 202, 97, 6862, 202, 12107, 6862, 202, 95, 25083, 202, 955, 5484, 18, 5387, 340, 1670, 2655, 12, 6862, 1082, 202, 10790, 329, 1891, 1685, 16, 6862, 1082, 202, 10790, 329, 1891, 1638, 1769, 6862, 202, 97, 6862, 202, 474, 24415, 273, 977, 5484, 18, 588, 3759, 18136, 1670, 5621, 6862, 202, 474, 31661, 273, 977, 5484, 18, 588, 3024, 18136, 1670, 5621, 6862, 202, 474, 980, 273, 15278, 1891, 1685, 31, 6862, 202, 430, 12, 5, 291, 1670, 6207, 12, 1369, 3719, 25083, 202, 1369, 273, 6927, 6207, 1670, 12, 1369, 1769, 6862, 202, 17523, 12, 1369, 480, 300, 21, 597, 980, 1648, 15278, 1891, 1638, 13, 6862, 202, 95, 25083, 202, 430, 12, 1369, 411, 24415, 6862, 1082, 202, 20081, 980, 405, 31661, 13, 25083, 202, 95, 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, 3196, 202, 482, 918, 2492, 6322, 12, 1892, 1613, 13, 202, 202, 95, 1082, 202, 430, 12, 955, 5484, 18, 588, 4236, 1318, 1435, 422, 9311, 1318, 18, 2211, 13, 1082, 202, 95, 9506, 202, 430, 12, 10790, 329, 1891, 13, 9506, 202, 95, 6862, 202, 430, 12, 10790, 329, 5049, 12554, 1891, 13, 6862, 202, 95, 25083, 202, 955, 5484, 18, 5387, 340, 7956, 1670, 2655, 12, 6862, 1082, 202, 955, 5484, 18, 6551, 1649, 6862, 1082, 202, 18, 588, 7956, 1670, 951, 2335, 12, 6862, 1082, 202, 10790, 329, 1891, 1685, 16, 20, 3631, 6862, 1082, 202, 955, 5484, 18, 588, 6207, 5763, 10663, 25083, 202, 10790, 329, 5049, 12554, 1891, 273, 629, 31, 6862, 202, 97, 2 ]
public void testBug36769(){ boolean testPassed = false; try{ Writer code = new StringWriter(); code.write("template <class A, B> cls<A, C>::operator op &() const {}\n"); code.write("template <class A, B> cls<A, C>::cls() {}\n"); code.write("template <class A, B> cls<A, C>::~cls() {}\n");
public void testBug36769() throws Exception { Writer code = new StringWriter(); code.write("template <class A, B> cls<A, C>::operator op &() const {}\n"); code.write("template <class A, B> cls<A, C>::cls() {}\n"); code.write("template <class A, B> cls<A, C>::~cls() {}\n");
public void testBug36769(){ boolean testPassed = false; try{ Writer code = new StringWriter(); code.write("template <class A, B> cls<A, C>::operator op &() const {}\n"); code.write("template <class A, B> cls<A, C>::cls() {}\n"); code.write("template <class A, B> cls<A, C>::~cls() {}\n"); TranslationUnit tu = parse( code.toString()); testPassed = true; } catch( Throwable e ){ if( ! (e instanceof ParserException)) fail( "Unexpected Error: " + e.getMessage() ); } if( testPassed ) fail( "The expected error did not occur."); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/fcd010f569236801f1aded20abe270579381da56/ACEFailedTest.java/clean/core/org.eclipse.cdt.ui.tests/failures/org/eclipse/cdt/core/parser/failedTests/ACEFailedTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 19865, 5718, 6669, 29, 1435, 95, 202, 202, 6494, 1842, 22530, 273, 629, 31, 202, 202, 698, 95, 1082, 202, 2289, 981, 273, 394, 17436, 5621, 1082, 202, 710, 18, 2626, 2932, 3202, 411, 1106, 432, 16, 605, 34, 2028, 32, 37, 16, 385, 34, 2866, 9497, 1061, 473, 1435, 1866, 21164, 82, 8863, 1082, 202, 710, 18, 2626, 2932, 3202, 411, 1106, 432, 16, 605, 34, 2028, 32, 37, 16, 385, 34, 2866, 6429, 1435, 21164, 82, 8863, 1082, 202, 710, 18, 2626, 2932, 3202, 411, 1106, 432, 16, 605, 34, 2028, 32, 37, 16, 385, 34, 2866, 98, 6429, 1435, 21164, 82, 8863, 25083, 202, 6717, 2802, 28325, 273, 1109, 12, 981, 18, 10492, 10663, 1082, 202, 3813, 22530, 273, 638, 31, 202, 202, 97, 1044, 12, 4206, 425, 262, 95, 1082, 202, 430, 12, 401, 261, 73, 1276, 27990, 3719, 9506, 202, 6870, 12, 315, 7762, 1068, 30, 315, 397, 425, 18, 24906, 1435, 11272, 202, 202, 97, 202, 202, 430, 12, 1842, 22530, 262, 1082, 202, 6870, 12, 315, 1986, 2665, 555, 5061, 486, 3334, 1199, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 19865, 5718, 6669, 29, 1435, 95, 202, 202, 6494, 1842, 22530, 273, 629, 31, 202, 202, 698, 95, 1082, 202, 2289, 981, 273, 394, 17436, 5621, 1082, 202, 710, 18, 2626, 2932, 3202, 411, 1106, 432, 16, 605, 34, 2028, 32, 37, 16, 385, 34, 2866, 9497, 1061, 473, 1435, 1866, 21164, 82, 8863, 1082, 202, 710, 18, 2626, 2932, 3202, 411, 1106, 432, 16, 605, 34, 2028, 32, 37, 16, 385, 34, 2866, 6429, 1435, 21164, 82, 8863, 1082, 202, 710, 18, 2626, 2932, 3202, 411, 1106, 432, 16, 605, 34, 2028, 32, 37, 16, 385, 34, 2866, 98, 6429, 1435, 21164, 82, 8863, 25083, 202, 6717, 2802, 28325, 273, 1109, 12, 981, 2 ]
return (Segment) segment.addNew(new MondrianSegment()); }
return (Segment) segment.addNew(new MondrianSegment()); }
public Segment createSegment() throws OLAPException { return (Segment) segment.addNew(new MondrianSegment()); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/MondrianEdgeView.java/buggy/src/main/mondrian/jolap/MondrianEdgeView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10807, 752, 4131, 1435, 1216, 531, 48, 2203, 503, 288, 202, 202, 2463, 261, 4131, 13, 3267, 18, 1289, 1908, 12, 2704, 490, 1434, 566, 304, 4131, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10807, 752, 4131, 1435, 1216, 531, 48, 2203, 503, 288, 202, 202, 2463, 261, 4131, 13, 3267, 18, 1289, 1908, 12, 2704, 490, 1434, 566, 304, 4131, 10663, 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 ]
ViewSashContainer mainLayout) {
ViewSashContainer mainLayout, Perspective perspective) {
public PerspectiveHelper(WorkbenchPage workbenchPage, ViewSashContainer mainLayout) { this.page = workbenchPage; this.mainLayout = mainLayout; // Determine if reparenting is allowed by checking if some arbitrary // Composite supports reparenting. This is used to determine if // detached views should be enabled. this.detachable = false; Composite client = workbenchPage.getClientComposite(); if (client != null) { Composite testChild = new Composite(client, SWT.NONE); this.detachable = testChild.isReparentable(); testChild.dispose(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f6ab0d6f9de401e0c1adadb524f47fd9c160d98f/PerspectiveHelper.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 453, 414, 16772, 2276, 12, 2421, 22144, 1964, 1440, 22144, 1964, 16, 5411, 4441, 55, 961, 2170, 2774, 3744, 16, 453, 414, 16772, 26651, 13, 288, 3639, 333, 18, 2433, 273, 1440, 22144, 1964, 31, 3639, 333, 18, 5254, 3744, 273, 2774, 3744, 31, 3639, 368, 10229, 309, 2071, 817, 310, 353, 2935, 635, 6728, 309, 2690, 11078, 3639, 368, 14728, 6146, 2071, 817, 310, 18, 1220, 353, 1399, 358, 4199, 309, 3639, 368, 22037, 7361, 1410, 506, 3696, 18, 3639, 333, 18, 8238, 497, 429, 273, 629, 31, 3639, 14728, 1004, 273, 1440, 22144, 1964, 18, 588, 1227, 9400, 5621, 3639, 309, 261, 2625, 480, 446, 13, 288, 5411, 14728, 1842, 1763, 273, 394, 14728, 12, 2625, 16, 348, 8588, 18, 9826, 1769, 5411, 333, 18, 8238, 497, 429, 273, 1842, 1763, 18, 291, 426, 2938, 429, 5621, 5411, 1842, 1763, 18, 2251, 4150, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 453, 414, 16772, 2276, 12, 2421, 22144, 1964, 1440, 22144, 1964, 16, 5411, 4441, 55, 961, 2170, 2774, 3744, 16, 453, 414, 16772, 26651, 13, 288, 3639, 333, 18, 2433, 273, 1440, 22144, 1964, 31, 3639, 333, 18, 5254, 3744, 273, 2774, 3744, 31, 3639, 368, 10229, 309, 2071, 817, 310, 353, 2935, 635, 6728, 309, 2690, 11078, 3639, 368, 14728, 6146, 2071, 817, 310, 18, 1220, 353, 1399, 358, 4199, 309, 3639, 368, 22037, 7361, 1410, 506, 3696, 18, 3639, 333, 18, 8238, 497, 429, 273, 629, 31, 3639, 14728, 1004, 273, 1440, 22144, 1964, 18, 588, 1227, 9400, 5621, 3639, 309, 261, 2625, 480, 446, 13, 288, 5411, 14728, 1842, 1763, 273, 394, 14728, 12, 2 ]
results.put(nameDeclaration, usages);
results.put(decl, usages);
public void applyTo(Object o) { NameDeclaration nameDeclaration = (NameDeclaration)o; List usages = (List)decls.get(nameDeclaration); if (!usages.isEmpty()) { if (lookingForUsed) { results.put(nameDeclaration, usages); } } else { if (!lookingForUsed) { results.put(nameDeclaration, usages); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/9a940e0cc57577c730a54adf2582612581cb05af/VariableUsageFinderFunction.java/clean/pmd/src/net/sourceforge/pmd/symboltable/VariableUsageFinderFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 28681, 12, 921, 320, 13, 288, 3639, 1770, 6094, 508, 6094, 273, 261, 461, 6094, 13, 83, 31, 3639, 987, 584, 1023, 273, 261, 682, 13, 323, 6429, 18, 588, 12, 529, 6094, 1769, 3639, 309, 16051, 407, 1023, 18, 291, 1921, 10756, 288, 5411, 309, 261, 7330, 310, 1290, 6668, 13, 288, 7734, 1686, 18, 458, 12, 8840, 16, 584, 1023, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 309, 16051, 7330, 310, 1290, 6668, 13, 288, 7734, 1686, 18, 458, 12, 8840, 16, 584, 1023, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 28681, 12, 921, 320, 13, 288, 3639, 1770, 6094, 508, 6094, 273, 261, 461, 6094, 13, 83, 31, 3639, 987, 584, 1023, 273, 261, 682, 13, 323, 6429, 18, 588, 12, 529, 6094, 1769, 3639, 309, 16051, 407, 1023, 18, 291, 1921, 10756, 288, 5411, 309, 261, 7330, 310, 1290, 6668, 13, 288, 7734, 1686, 18, 458, 12, 8840, 16, 584, 1023, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 309, 16051, 7330, 310, 1290, 6668, 13, 288, 7734, 1686, 18, 458, 12, 8840, 16, 584, 1023, 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, -100, -100, -100, -100, -100 ]
private IRubyObject getConstantInner(String name, boolean exclude) { IRubyObject objectClass = getRuntime().getObject(); boolean retryForModule = false; RubyModule p = this; retry: while (true) { while (p != null) { IRubyObject constant = p.getConstantAt(name); if (constant == null) { if (getRuntime().getLoadService().autoload(name) != null) { continue; } } if (constant != null) { if (exclude && p == objectClass && this != objectClass) { getRuntime().getWarnings().warn("toplevel constant " + name + " referenced by " + getName() + "::" + name); } return constant; } p = p.getSuperClass(); } if (!exclude && !retryForModule && getClass().equals(RubyModule.class)) { retryForModule = true; p = getRuntime().getObject(); continue retry; } break; } return callMethod(getRuntime().getCurrentContext(), "const_missing", RubySymbol.newSymbol(getRuntime(), name)); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/buggy/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 24337, 2857, 12, 780, 508, 16, 1250, 4433, 13, 288, 3639, 15908, 10340, 921, 23992, 273, 18814, 7675, 588, 921, 5621, 3639, 1250, 3300, 1290, 3120, 273, 629, 31, 3639, 19817, 3120, 293, 273, 333, 31, 3639, 3300, 30, 1323, 261, 3767, 13, 288, 2398, 1323, 261, 84, 480, 446, 13, 288, 7734, 15908, 10340, 921, 5381, 273, 293, 18, 588, 6902, 861, 12, 529, 1769, 18701, 309, 261, 14384, 422, 446, 13, 288, 10792, 309, 261, 588, 5576, 7675, 588, 2563, 1179, 7675, 19832, 12, 529, 13, 480, 446, 13, 288, 13491, 1324, 31, 10792, 289, 7734, 289, 7734, 309, 261, 14384, 480, 446, 13, 288, 10792, 309, 261, 10157, 597, 293, 422, 23992, 597, 333, 480, 23992, 13, 288, 13491, 18814, 7675, 588, 4312, 7675, 8935, 2932, 3669, 2815, 5381, 315, 397, 508, 397, 4766, 315, 8042, 635, 315, 397, 1723, 1435, 397, 31120, 397, 508, 1769, 10792, 289, 27573, 327, 5381, 31, 7734, 289, 7734, 293, 273, 293, 18, 588, 8051, 797, 5621, 5411, 289, 13491, 309, 16051, 10157, 597, 401, 9620, 1290, 3120, 597, 2900, 7675, 14963, 12, 54, 10340, 3120, 18, 1106, 3719, 288, 7734, 3300, 1290, 3120, 273, 638, 31, 7734, 293, 273, 18814, 7675, 588, 921, 5621, 7734, 1324, 3300, 31, 5411, 289, 13491, 898, 31, 3639, 289, 7734, 327, 745, 1305, 12, 588, 5576, 7675, 588, 3935, 1042, 9334, 315, 10248, 67, 7337, 3113, 19817, 5335, 18, 2704, 5335, 12, 588, 5576, 9334, 508, 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, 15908, 10340, 921, 24337, 2857, 12, 780, 508, 16, 1250, 4433, 13, 288, 3639, 15908, 10340, 921, 23992, 273, 18814, 7675, 588, 921, 5621, 3639, 1250, 3300, 1290, 3120, 273, 629, 31, 3639, 19817, 3120, 293, 273, 333, 31, 3639, 3300, 30, 1323, 261, 3767, 13, 288, 2398, 1323, 261, 84, 480, 446, 13, 288, 7734, 15908, 10340, 921, 5381, 273, 293, 18, 588, 6902, 861, 12, 529, 1769, 18701, 309, 261, 14384, 422, 446, 13, 288, 10792, 309, 261, 588, 5576, 7675, 588, 2563, 1179, 7675, 19832, 12, 529, 13, 480, 446, 13, 288, 13491, 1324, 31, 10792, 289, 7734, 289, 7734, 309, 261, 14384, 480, 446, 13, 288, 10792, 309, 261, 10157, 597, 293, 422, 2 ]
System.out.close(); System.err.close();
originalErrStream.close(); shutdownErrLogStream.close();
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through // the server at port NETWORKSERVER_PORT. Thus, we have to // start the server on that port before calling runTest. // Except when we are using a remote server, then we assume the port is 1527, // and we assume the server has been started already try { TestUtil.loadDriver(); } catch (Exception e) { e.printStackTrace(); } if (hostName.equals("localhost")) { // Start the NetworkServer on another thread networkServer = new NetworkServerControl(InetAddress.getByName("localhost"),NETWORKSERVER_PORT); networkServer.start(null); // Wait for the NetworkServer to start. if (!isServerStarted(networkServer, 60)) System.exit(-1); } // Now, go ahead and run the test. try { dataSourcePermissions_net tester = new dataSourcePermissions_net(); tester.setProperties(); tester.runTest(); if (TestUtil.isDerbyNetClientFramework()) tester.testClientDataSourceProperties(); new dataSourcePermissions_net().cleanUp(); } catch (Exception e) { // if we catch an exception of some sort, we need to make sure to // close our streams before returning; otherwise, we can get // hangs in the harness. SO, catching all exceptions here keeps // us from exiting before closing the necessary streams. System.out.println("FAIL - Exiting due to unexpected error: " + e.getMessage()); e.printStackTrace(); } // Shutdown the server. if (hostName.equals("localhost")) { networkServer.shutdown(); // how do we do this with the new api? //networkServer.join(); Thread.sleep(5000); } System.out.println("Completed dataSourcePermissions_net"); System.out.close(); System.err.close(); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/c73df2b05a9c69582b2dbe75cddaf479a2b6ecae/dataSourcePermissions_net.java/clean/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 2564, 461, 273, 7766, 1304, 18, 588, 20946, 5621, 202, 202, 430, 261, 2564, 461, 18, 14963, 2932, 13014, 6, 3719, 1082, 202, 28047, 4370, 67, 6354, 273, 576, 2787, 31, 202, 202, 12107, 1082, 202, 28047, 4370, 67, 6354, 273, 4711, 5324, 31, 9506, 202, 759, 4444, 366, 1303, 403, 1790, 18, 202, 202, 8302, 18, 588, 1396, 4117, 12, 1968, 1769, 202, 202, 759, 315, 2681, 4709, 10031, 353, 8554, 358, 775, 358, 3077, 358, 326, 2063, 3059, 202, 202, 759, 326, 1438, 622, 1756, 15351, 10566, 4370, 67, 6354, 18, 225, 22073, 16, 732, 1240, 358, 202, 202, 759, 787, 326, 1438, 603, 716, 1756, 1865, 4440, 1086, 4709, 18, 202, 202, 759, 25209, 1347, 732, 854, 1450, 279, 2632, 1438, 16, 1508, 732, 6750, 326, 1756, 353, 4711, 5324, 16, 202, 202, 759, 471, 732, 6750, 326, 1438, 711, 2118, 5746, 1818, 202, 202, 698, 288, 1082, 202, 4709, 1304, 18, 945, 4668, 5621, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 430, 261, 2564, 461, 18, 14963, 2932, 13014, 6, 3719, 202, 202, 95, 1082, 202, 759, 3603, 326, 5128, 2081, 603, 4042, 2650, 1082, 202, 5185, 2081, 273, 394, 5128, 2081, 3367, 12, 382, 278, 1887, 18, 588, 5911, 2932, 13014, 6, 3631, 28047, 4370, 67, 6354, 1769, 1082, 202, 5185, 2081, 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, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 2564, 461, 273, 7766, 1304, 18, 588, 20946, 5621, 202, 202, 430, 261, 2564, 461, 18, 14963, 2932, 13014, 6, 3719, 1082, 202, 28047, 4370, 67, 6354, 273, 576, 2787, 31, 202, 202, 12107, 1082, 202, 28047, 4370, 67, 6354, 273, 4711, 5324, 31, 9506, 202, 759, 4444, 366, 1303, 403, 1790, 18, 202, 202, 8302, 18, 588, 1396, 4117, 12, 1968, 1769, 202, 202, 759, 315, 2681, 4709, 10031, 353, 8554, 358, 775, 358, 3077, 358, 326, 2063, 3059, 202, 202, 759, 326, 1438, 622, 1756, 15351, 10566, 4370, 67, 6354, 18, 225, 22073, 16, 732, 1240, 358, 202, 202, 759, 787, 2 ]
.addClass(lhsType_.getSignature()).describe("CLASS_REFTYPE") .addClass(rhsType_.getSignature()).describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle())
.addType(originalLhsType.getSignature()) .addType(originalRhsType.getSignature()) .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle())
private void checkEqualsComparison( Location location, JavaClass jclass, MethodGen methodGen, TypeDataflow typeDataflow) throws DataflowAnalysisException { InstructionHandle handle = location.getHandle(); String sourceFile = jclass.getSourceFileName(); TypeFrame frame = typeDataflow.getFactAtLocation(location); if (frame.getStackDepth() < 2) throw new DataflowAnalysisException("Stack underflow", methodGen, handle); int numSlots = frame.getNumSlots(); Type lhsType_ = frame.getValue(numSlots - 2); Type rhsType_ = frame.getValue(numSlots - 1); // Ignore top and bottom values if (lhsType_.getType() == T_TOP || lhsType_.getType() == T_BOTTOM || rhsType_.getType() == T_TOP || rhsType_.getType() == T_BOTTOM) return; if (!(lhsType_ instanceof ReferenceType) || !(rhsType_ instanceof ReferenceType)) { if (rhsType_.getType() == T_NULL) { boolean isTestCase = false; Method method = methodGen.getMethod(); if (method.getName().startsWith("test") && method.isPublic() && method.getSignature().equals("()V") || methodGen.getClassName().endsWith("Test")) isTestCase = true; // A literal null value was passed directly to equals(). if (!isTestCase) bugReporter.reportBug(new BugInstance(this, "EC_NULL_ARG", NORMAL_PRIORITY) .addClassAndMethod(methodGen, sourceFile) .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle())); } else if (lhsType_.getType() == T_NULL) { // Hmm...in this case, equals() is being invoked on // a literal null value. This is really the // purview of FindNullDeref. So, we'll just do nothing. } else { bugReporter.logError("equals() used to compare non-object type(s) " + lhsType_ + " and " + rhsType_ + " in " + SignatureConverter.convertMethodSignature(methodGen) + " at " + location.getHandle()); } return; } if (lhsType_ instanceof ArrayType && rhsType_ instanceof ArrayType) { bugReporter.reportBug(new BugInstance(this, "EC_BAD_ARRAY_COMPARE", NORMAL_PRIORITY) .addClassAndMethod(methodGen, sourceFile) .addClass(lhsType_.getSignature()).describe("CLASS_REFTYPE") .addClass(rhsType_.getSignature()).describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle()) ); do { lhsType_ = ((ArrayType)lhsType_).getElementType(); rhsType_ = ((ArrayType)rhsType_).getElementType(); } while (lhsType_ instanceof ArrayType && rhsType_ instanceof ArrayType); } if (lhsType_ instanceof ArrayType) { int priority = HIGH_PRIORITY; if (rhsType_.equals(ObjectType.OBJECT)) priority = LOW_PRIORITY; bugReporter.reportBug(new BugInstance(this, "EC_ARRAY_AND_NONARRAY", priority) .addClassAndMethod(methodGen, sourceFile) .addClass(lhsType_.getSignature()).describe("CLASS_REFTYPE") .addClass(rhsType_.getSignature()).describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle()) ); } if (rhsType_ instanceof ArrayType) { int priority = HIGH_PRIORITY; if (lhsType_.equals(ObjectType.OBJECT)) priority = LOW_PRIORITY; bugReporter.reportBug(new BugInstance(this, "EC_ARRAY_AND_NONARRAY", priority) .addClassAndMethod(methodGen, sourceFile) .addClass(rhsType_.getSignature()).describe("CLASS_REFTYPE") .addClass(lhsType_.getSignature()).describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle()) ); } if (lhsType_.equals(rhsType_)) return; // For now, ignore the case where either reference is not // of an object type. (It could be either an array or null.) if (!(lhsType_ instanceof ObjectType) || !(rhsType_ instanceof ObjectType)) return; ObjectType lhsType = (ObjectType) lhsType_; ObjectType rhsType = (ObjectType) rhsType_; int priority = LOW_PRIORITY + 1; String bugType = "EC_UNRELATED_TYPES"; // See if the types are related by inheritance. try { if (!Hierarchy.isSubtype(lhsType, rhsType) && !Hierarchy.isSubtype(rhsType, lhsType)) { AnalysisContext analysisContext = AnalysisContext.currentAnalysisContext(); // Look up the classes JavaClass lhsClass = analysisContext.lookupClass(lhsType.getClassName()); JavaClass rhsClass = analysisContext.lookupClass(rhsType.getClassName()); if (!lhsClass.isInterface() && !rhsClass.isInterface()) { // Both are class types, and therefore there is no possible way // the compared objects can have the same runtime type. priority = HIGH_PRIORITY; } else { /* if (DEBUG) { System.out.println("Subtypes of " + lhsClass.getClassName() + " are " + classSetToString(analysisContext.getSubtypes().getTransitiveSubtypes(lhsClass))); System.out.println("Subtypes of " + rhsClass.getClassName() + " are " + classSetToString(analysisContext.getSubtypes().getTransitiveSubtypes(rhsClass))); } */ // Look up the common subtypes of the two types. If the // intersection does not contain at least one instantiable class, // then issue a warning of the appropriate type. Set<JavaClass> commonSubtypes = analysisContext.getSubtypes().getTransitiveCommonSubtypes(lhsClass, rhsClass); if (!containsAtLeastOneInstantiableClass(commonSubtypes)) { priority = HIGH_PRIORITY; bugType = (lhsClass.isInterface() && rhsClass.isInterface()) ? "EC_UNRELATED_INTERFACES" : "EC_UNRELATED_CLASS_AND_INTERFACE"; } } } } catch (ClassNotFoundException e) { bugReporter.reportMissingClass(e); return; } if (methodGen.getName().startsWith("test") && methodGen.getSignature().equals("()V")) { try { if (Hierarchy.isSubtype(methodGen.getClassName(), "junit.framework.TestCase")) priority+=2; } catch (ClassNotFoundException e) { priority+=2; } } if (priority <= LOW_PRIORITY) { bugReporter.reportBug(new BugInstance(this, bugType, priority) .addClassAndMethod(methodGen, sourceFile) .addClass(lhsType.getClassName()).describe("CLASS_REFTYPE") .addClass(rhsType.getClassName()).describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle()) ); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/2f8b77f480b729ea472b34ed4fbc483b72cc8b46/FindRefComparison.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 866, 8867, 16059, 12, 1082, 202, 2735, 2117, 16, 1082, 202, 5852, 797, 525, 1106, 16, 1082, 202, 1305, 7642, 707, 7642, 16, 1082, 202, 559, 751, 2426, 618, 751, 2426, 13, 1216, 1910, 2426, 9418, 503, 288, 202, 202, 11983, 3259, 1640, 273, 2117, 18, 588, 3259, 5621, 202, 202, 780, 16338, 273, 525, 1106, 18, 588, 1830, 4771, 5621, 202, 202, 559, 3219, 2623, 273, 618, 751, 2426, 18, 588, 9766, 861, 2735, 12, 3562, 1769, 202, 202, 430, 261, 3789, 18, 588, 2624, 6148, 1435, 411, 576, 13, 1082, 202, 12849, 394, 1910, 2426, 9418, 503, 2932, 2624, 3613, 2426, 3113, 707, 7642, 16, 1640, 1769, 202, 202, 474, 818, 16266, 273, 2623, 18, 588, 2578, 16266, 5621, 202, 202, 559, 8499, 559, 67, 273, 2623, 18, 24805, 12, 2107, 16266, 300, 576, 1769, 202, 202, 559, 7711, 559, 67, 273, 2623, 18, 24805, 12, 2107, 16266, 300, 404, 1769, 1082, 202, 759, 8049, 1760, 471, 5469, 924, 202, 202, 430, 261, 80, 4487, 559, 27799, 588, 559, 1435, 422, 399, 67, 10462, 747, 8499, 559, 27799, 588, 559, 1435, 422, 399, 67, 28891, 1082, 3639, 747, 7711, 559, 27799, 588, 559, 1435, 422, 399, 67, 10462, 747, 7711, 559, 27799, 588, 559, 1435, 422, 399, 67, 28891, 13, 1082, 202, 2463, 31, 202, 202, 430, 16051, 12, 80, 4487, 559, 67, 1276, 6268, 559, 13, 747, 401, 12, 86, 4487, 559, 67, 1276, 6268, 559, 3719, 288, 1082, 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, 1152, 918, 866, 8867, 16059, 12, 1082, 202, 2735, 2117, 16, 1082, 202, 5852, 797, 525, 1106, 16, 1082, 202, 1305, 7642, 707, 7642, 16, 1082, 202, 559, 751, 2426, 618, 751, 2426, 13, 1216, 1910, 2426, 9418, 503, 288, 202, 202, 11983, 3259, 1640, 273, 2117, 18, 588, 3259, 5621, 202, 202, 780, 16338, 273, 525, 1106, 18, 588, 1830, 4771, 5621, 202, 202, 559, 3219, 2623, 273, 618, 751, 2426, 18, 588, 9766, 861, 2735, 12, 3562, 1769, 202, 202, 430, 261, 3789, 18, 588, 2624, 6148, 1435, 411, 576, 13, 1082, 202, 12849, 394, 1910, 2426, 9418, 503, 2932, 2624, 3613, 2426, 3113, 707, 7642, 16, 1640, 1769, 202, 202, 474, 818, 16266, 273, 2 ]
RepositoryConfigurationFactory factory = RepositoryConfigurationFactory.getInstance();
RepositoryConfigurationFactory factory = new RepositoryConfigurationFactory();
public void testEclipseRDFProductConfig() throws Exception { RepositoryConfigurationFactory factory = RepositoryConfigurationFactory.getInstance(); TaskRepository repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, IBugzillaConstants.ECLIPSE_BUGZILLA_URL); RepositoryConfiguration config = factory.getConfiguration(repository.getUrl(), null, repository.getUserName(), repository.getPassword(), null); assertNotNull(config); assertEquals("2.20.1", config.getInstallVersion()); assertEquals(7, config.getStatusValues().size()); assertEquals(8, config.getResolutions().size()); assertEquals(6, config.getPlatforms().size()); assertEquals(28, config.getOSs().size()); assertEquals(5, config.getPriorities().size()); assertEquals(7, config.getSeverities().size()); assertEquals(53, config.getProducts().size()); assertEquals(4, config.getOpenStatusValues().size()); assertEquals(10, config.getComponents("Mylar").size()); assertEquals(21, config.getKeywords().size()); // assertEquals(10, config.getComponents("Hyades").size()); // assertEquals(1, config.getTargetMilestones("TestProduct").size()); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/24469f8f139dabc60654018ab057291e5f25633b/BugzillaConfigurationTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 23057, 10472, 30137, 4133, 809, 1435, 1216, 1185, 288, 202, 202, 3305, 1750, 1733, 3272, 273, 6281, 1750, 1733, 18, 588, 1442, 5621, 202, 202, 2174, 3305, 3352, 273, 394, 3837, 3305, 12, 19865, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 16, 467, 19865, 15990, 2918, 18, 7228, 2053, 52, 1090, 67, 4827, 62, 2627, 2534, 67, 1785, 1769, 202, 202, 3305, 1750, 642, 273, 3272, 18, 588, 1750, 12, 9071, 18, 588, 1489, 9334, 446, 16, 3352, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 446, 1769, 202, 202, 11231, 5962, 12, 1425, 1769, 202, 202, 11231, 8867, 2932, 22, 18, 3462, 18, 21, 3113, 642, 18, 588, 6410, 1444, 10663, 202, 202, 11231, 8867, 12, 27, 16, 642, 18, 588, 1482, 1972, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 28, 16, 642, 18, 588, 2903, 6170, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 26, 16, 642, 18, 588, 8201, 87, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 6030, 16, 642, 18, 588, 4618, 87, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 25, 16, 642, 18, 588, 25355, 1961, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 27, 16, 642, 18, 588, 1761, 502, 1961, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 8643, 16, 642, 18, 588, 13344, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 24, 16, 642, 18, 588, 3678, 1482, 1972, 7675, 1467, 10663, 202, 202, 11231, 8867, 12, 2163, 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, 225, 202, 482, 918, 1842, 23057, 10472, 30137, 4133, 809, 1435, 1216, 1185, 288, 202, 202, 3305, 1750, 1733, 3272, 273, 6281, 1750, 1733, 18, 588, 1442, 5621, 202, 202, 2174, 3305, 3352, 273, 394, 3837, 3305, 12, 19865, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 16, 467, 19865, 15990, 2918, 18, 7228, 2053, 52, 1090, 67, 4827, 62, 2627, 2534, 67, 1785, 1769, 202, 202, 3305, 1750, 642, 273, 3272, 18, 588, 1750, 12, 9071, 18, 588, 1489, 9334, 446, 16, 3352, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 446, 1769, 202, 202, 11231, 5962, 12, 1425, 1769, 202, 202, 11231, 8867, 2932, 22, 18, 3462, 18, 21, 3113, 642, 18, 588, 6410, 1444, 10663, 2 ]
public void configure(Configuration cfg) {
protected void configure(Configuration cfg) {
public void configure(Configuration cfg) { setBaseURL(FopFactory.getBaseURLfromConfig(cfg, "base")); if (cfg.getChild("target-resolution", false) != null) { this.targetResolution = cfg.getChild("target-resolution").getValueAsFloat( DEFAULT_TARGET_RESOLUTION); log.info("Target resolution set to: " + targetResolution + "dpi (px2mm=" + getTargetPixelUnitToMillimeter() + ")"); } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/fb3a04efdccd87f197d0502a8be1348e06481306/FOUserAgent.java/buggy/src/java/org/apache/fop/apps/FOUserAgent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 12, 1750, 2776, 13, 288, 3639, 26435, 1785, 12, 42, 556, 1733, 18, 588, 29064, 2080, 809, 12, 7066, 16, 315, 1969, 7923, 1769, 3639, 309, 261, 7066, 18, 588, 1763, 2932, 3299, 17, 19182, 3113, 629, 13, 480, 446, 13, 288, 5411, 333, 18, 3299, 11098, 1171, 273, 2776, 18, 588, 1763, 2932, 3299, 17, 19182, 20387, 24805, 1463, 4723, 12, 13491, 3331, 67, 16374, 67, 17978, 13269, 1769, 5411, 613, 18, 1376, 2932, 2326, 7861, 444, 358, 30, 315, 397, 1018, 11098, 5397, 397, 315, 72, 7259, 261, 4430, 22, 7020, 1546, 397, 8571, 9037, 2802, 774, 49, 737, 28051, 1435, 397, 7310, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 12, 1750, 2776, 13, 288, 3639, 26435, 1785, 12, 42, 556, 1733, 18, 588, 29064, 2080, 809, 12, 7066, 16, 315, 1969, 7923, 1769, 3639, 309, 261, 7066, 18, 588, 1763, 2932, 3299, 17, 19182, 3113, 629, 13, 480, 446, 13, 288, 5411, 333, 18, 3299, 11098, 1171, 273, 2776, 18, 588, 1763, 2932, 3299, 17, 19182, 20387, 24805, 1463, 4723, 12, 13491, 3331, 67, 16374, 67, 17978, 13269, 1769, 5411, 613, 18, 1376, 2932, 2326, 7861, 444, 358, 30, 315, 397, 1018, 11098, 5397, 397, 315, 72, 7259, 261, 4430, 22, 7020, 1546, 397, 8571, 9037, 2802, 774, 49, 737, 28051, 1435, 397, 7310, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100 ]
throws sgf.Reader.Error
throws sgf.Reader.SgfError
private static void convert(InputStream in, OutputStream out, String title, boolean usePass) throws sgf.Reader.Error { sgf.Reader reader = new sgf.Reader(new InputStreamReader(in), null); new latex.Writer(title, out, reader.getGameTree(), usePass); }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/c8e6d2f7acf6ece95b8b15e0b5ea3feb5831dffb/SgfToTex.java/clean/src/sgftotex/SgfToTex.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1765, 12, 4348, 316, 16, 8962, 596, 16, 27573, 514, 2077, 16, 1250, 999, 6433, 13, 3639, 1216, 11150, 74, 18, 2514, 18, 55, 75, 74, 668, 565, 288, 3639, 11150, 74, 18, 2514, 2949, 273, 394, 11150, 74, 18, 2514, 12, 2704, 15322, 12, 267, 3631, 446, 1769, 3639, 394, 25079, 18, 2289, 12, 2649, 16, 596, 16, 2949, 18, 588, 12496, 2471, 9334, 999, 6433, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1765, 12, 4348, 316, 16, 8962, 596, 16, 27573, 514, 2077, 16, 1250, 999, 6433, 13, 3639, 1216, 11150, 74, 18, 2514, 18, 55, 75, 74, 668, 565, 288, 3639, 11150, 74, 18, 2514, 2949, 273, 394, 11150, 74, 18, 2514, 12, 2704, 15322, 12, 267, 3631, 446, 1769, 3639, 394, 25079, 18, 2289, 12, 2649, 16, 596, 16, 2949, 18, 588, 12496, 2471, 9334, 999, 6433, 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 ]
return null;
return -1; } catch (IOException e) { throw new IOError(getRuntime(), e.getMessage());
public String read(int number) { try { if (ungotc >= 0) { String buf2 = sysread(number - 1); int c = ungotc; ungotc = -1; return c + buf2; } return sysread(number); } catch (SystemCallError e) { throw new IOError(getRuntime(), e.getMessage()); } catch (EOFError e) { return null; } }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/IOHandler.java/buggy/src/org/jruby/util/IOHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 855, 12, 474, 1300, 13, 288, 3639, 775, 288, 13491, 309, 261, 318, 13212, 71, 1545, 374, 13, 288, 7734, 514, 1681, 22, 273, 2589, 896, 12, 2696, 300, 404, 1769, 7734, 509, 276, 273, 640, 13212, 71, 31, 7734, 640, 13212, 71, 273, 300, 21, 31, 7734, 327, 276, 397, 1681, 22, 31, 5411, 289, 2398, 327, 2589, 896, 12, 2696, 1769, 3639, 289, 1044, 261, 3163, 1477, 668, 425, 13, 288, 5411, 604, 394, 8340, 12, 588, 5576, 9334, 425, 18, 24906, 10663, 3639, 289, 1044, 261, 12706, 668, 425, 13, 288, 5411, 327, 300, 21, 31, 289, 1044, 261, 14106, 425, 13, 288, 604, 394, 8340, 12, 588, 5576, 9334, 425, 18, 24906, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 855, 12, 474, 1300, 13, 288, 3639, 775, 288, 13491, 309, 261, 318, 13212, 71, 1545, 374, 13, 288, 7734, 514, 1681, 22, 273, 2589, 896, 12, 2696, 300, 404, 1769, 7734, 509, 276, 273, 640, 13212, 71, 31, 7734, 640, 13212, 71, 273, 300, 21, 31, 7734, 327, 276, 397, 1681, 22, 31, 5411, 289, 2398, 327, 2589, 896, 12, 2696, 1769, 3639, 289, 1044, 261, 3163, 1477, 668, 425, 13, 288, 5411, 604, 394, 8340, 12, 588, 5576, 9334, 425, 18, 24906, 10663, 3639, 289, 1044, 261, 12706, 668, 425, 13, 288, 5411, 327, 300, 21, 31, 289, 1044, 261, 14106, 425, 13, 288, 604, 394, 8340, 12, 588, 5576, 9334, 425, 18, 24906, 2 ]
"1\tfirstEF\tpromoter\t5\t100\t1000\t+\t.\tname1=value1,value2;ID=id%3Btest;name2=value2";
"1\tfirstEF\tpromoter\t5\t100\t1000\t+\t.\tname1=value1,value2;ID=id%3Btest;name2=value2;name3=%26ggr%3B";
public void testParse() throws Exception { String gff = "1\tfirstEF\tpromoter\t5\t100\t1000\t+\t.\tname1=value1,value2;ID=id%3Btest;name2=value2"; GFF3Record gff3Record = new GFF3Record(gff); assertEquals("1", gff3Record.getSequenceID()); assertEquals("firstEF", gff3Record.getSource()); assertEquals("promoter", gff3Record.getType()); assertEquals(5, gff3Record.getStart()); assertEquals(100, gff3Record.getEnd()); assertEquals(new Double(1000.0), gff3Record.getScore()); assertEquals("+", gff3Record.getStrand()); assertNull(gff3Record.getPhase()); assertEquals("id;test", gff3Record.getId()); Map expectedAttributes = new HashMap(); expectedAttributes.put("name1", Arrays.asList(new Object[]{"value1", "value2"})); expectedAttributes.put("name2", Arrays.asList(new Object[] {"value2"})); expectedAttributes.put("ID", Arrays.asList(new Object[] {"id;test"})); assertEquals(expectedAttributes, gff3Record.getAttributes()); }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/8214ed6fd0fe0a647f1b2213b29a0e84a6387d4a/GFF3RecordTest.java/buggy/flymine/model/genomic/src/test/org/flymine/dataconversion/GFF3RecordTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3201, 1435, 1216, 1185, 288, 3639, 514, 26534, 273, 5411, 315, 21, 64, 88, 3645, 26897, 64, 6834, 520, 20005, 64, 88, 25, 64, 88, 6625, 64, 88, 18088, 64, 88, 16971, 88, 8403, 88, 529, 21, 33, 1132, 21, 16, 1132, 22, 31, 734, 33, 350, 9, 23, 38, 3813, 31, 529, 22, 33, 1132, 22, 31, 529, 23, 5095, 5558, 75, 3197, 9, 23, 38, 14432, 3639, 611, 2246, 23, 2115, 26534, 23, 2115, 273, 394, 611, 2246, 23, 2115, 12, 75, 1403, 1769, 3639, 1815, 8867, 2932, 21, 3113, 26534, 23, 2115, 18, 588, 4021, 734, 10663, 3639, 1815, 8867, 2932, 3645, 26897, 3113, 26534, 23, 2115, 18, 588, 1830, 10663, 3639, 1815, 8867, 2932, 17401, 20005, 3113, 26534, 23, 2115, 18, 588, 559, 10663, 3639, 1815, 8867, 12, 25, 16, 26534, 23, 2115, 18, 588, 1685, 10663, 3639, 1815, 8867, 12, 6625, 16, 26534, 23, 2115, 18, 588, 1638, 10663, 3639, 1815, 8867, 12, 2704, 3698, 12, 18088, 18, 20, 3631, 26534, 23, 2115, 18, 588, 7295, 10663, 3639, 1815, 8867, 2932, 15, 3113, 26534, 23, 2115, 18, 588, 1585, 464, 10663, 3639, 1815, 2041, 12, 75, 1403, 23, 2115, 18, 588, 11406, 10663, 3639, 1815, 8867, 2932, 350, 31, 3813, 3113, 26534, 23, 2115, 18, 26321, 10663, 3639, 1635, 2665, 2498, 273, 394, 4317, 5621, 3639, 2665, 2498, 18, 458, 2932, 529, 21, 3113, 5647, 18, 345, 682, 12, 2704, 1033, 63, 7073, 6, 1132, 21, 3113, 315, 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, 1842, 3201, 1435, 1216, 1185, 288, 3639, 514, 26534, 273, 5411, 315, 21, 64, 88, 3645, 26897, 64, 6834, 520, 20005, 64, 88, 25, 64, 88, 6625, 64, 88, 18088, 64, 88, 16971, 88, 8403, 88, 529, 21, 33, 1132, 21, 16, 1132, 22, 31, 734, 33, 350, 9, 23, 38, 3813, 31, 529, 22, 33, 1132, 22, 31, 529, 23, 5095, 5558, 75, 3197, 9, 23, 38, 14432, 3639, 611, 2246, 23, 2115, 26534, 23, 2115, 273, 394, 611, 2246, 23, 2115, 12, 75, 1403, 1769, 3639, 1815, 8867, 2932, 21, 3113, 26534, 23, 2115, 18, 588, 4021, 734, 10663, 3639, 1815, 8867, 2932, 3645, 26897, 3113, 26534, 23, 2115, 18, 588, 1830, 10663, 3639, 2 ]
sbNewRepresentation.append( String.valueOf( value - 2) );
sbNewRepresentation.append( String.valueOf( value - 2 ) );
private String getConvertedOrthogonalSampleDataRepresentation( String sOldRepresentation ) { StringTokenizer strtok = new StringTokenizer( sOldRepresentation, "," ); //$NON-NLS-1$ NumberFormat nf = NumberFormat.getNumberInstance( ); StringBuffer sbNewRepresentation = new StringBuffer( "" ); //$NON-NLS-1$ int iValueCount = 0; while ( strtok.hasMoreTokens( ) ) { String sElement = strtok.nextToken( ).trim( ); double value; try { value = nf.parse( sElement ).doubleValue( ); } catch ( ParseException e ) { value = 4.0 + iValueCount; iValueCount++; } sbNewRepresentation.append( "H" ); //$NON-NLS-1$ sbNewRepresentation.append( String.valueOf( value ) ); sbNewRepresentation.append( " " ); //$NON-NLS-1$ sbNewRepresentation.append( " L" ); //$NON-NLS-1$ sbNewRepresentation.append( String.valueOf( value - 3 ) ); sbNewRepresentation.append( " " ); //$NON-NLS-1$ sbNewRepresentation.append( " O" ); //$NON-NLS-1$ sbNewRepresentation.append( String.valueOf( value - 2) ); sbNewRepresentation.append( " " ); //$NON-NLS-1$ sbNewRepresentation.append( " C" ); //$NON-NLS-1$ sbNewRepresentation.append( String.valueOf( value - 1 ) ); sbNewRepresentation.append( "," ); //$NON-NLS-1$ } return sbNewRepresentation.toString( ).substring( 0, sbNewRepresentation.length( ) - 1 ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/182827fe6ad4e223adc4bf4bcf44d469847b773d/StockChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/StockChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 336, 22063, 1162, 451, 28396, 8504, 751, 13742, 12, 1082, 202, 780, 272, 7617, 13742, 262, 202, 95, 202, 202, 780, 10524, 609, 17692, 273, 394, 16370, 12, 272, 7617, 13742, 16, 5753, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1854, 1630, 13958, 273, 29587, 18, 588, 1854, 1442, 12, 11272, 202, 202, 780, 1892, 2393, 1908, 13742, 273, 394, 6674, 12, 1408, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 474, 277, 620, 1380, 273, 374, 31, 202, 202, 17523, 261, 609, 17692, 18, 5332, 7417, 5157, 12, 262, 262, 202, 202, 95, 1082, 202, 780, 272, 1046, 273, 609, 17692, 18, 4285, 1345, 12, 262, 18, 5290, 12, 11272, 1082, 202, 9056, 460, 31, 1082, 202, 698, 1082, 202, 95, 9506, 202, 1132, 273, 13958, 18, 2670, 12, 272, 1046, 262, 18, 9056, 620, 12, 11272, 1082, 202, 97, 1082, 202, 14683, 261, 10616, 425, 262, 1082, 202, 95, 9506, 202, 1132, 273, 1059, 18, 20, 397, 277, 620, 1380, 31, 9506, 202, 77, 620, 1380, 9904, 31, 1082, 202, 97, 1082, 202, 18366, 1908, 13742, 18, 6923, 12, 315, 44, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 18366, 1908, 13742, 18, 6923, 12, 514, 18, 1132, 951, 12, 460, 262, 11272, 1082, 202, 18366, 1908, 13742, 18, 6923, 12, 315, 315, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 18366, 1908, 13742, 18, 6923, 12, 315, 511, 6, 11272, 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, 514, 336, 22063, 1162, 451, 28396, 8504, 751, 13742, 12, 1082, 202, 780, 272, 7617, 13742, 262, 202, 95, 202, 202, 780, 10524, 609, 17692, 273, 394, 16370, 12, 272, 7617, 13742, 16, 5753, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1854, 1630, 13958, 273, 29587, 18, 588, 1854, 1442, 12, 11272, 202, 202, 780, 1892, 2393, 1908, 13742, 273, 394, 6674, 12, 1408, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 474, 277, 620, 1380, 273, 374, 31, 202, 202, 17523, 261, 609, 17692, 18, 5332, 7417, 5157, 12, 262, 262, 202, 202, 95, 1082, 202, 780, 272, 1046, 273, 609, 17692, 18, 4285, 1345, 12, 262, 18, 5290, 12, 2 ]
if (useHash && hashField!=null && hashField.length()>0) { Value vhashfield = new Value(hashField, Value.VALUE_TYPE_INTEGER);
Value vhashfield = null; if (useHash && hashField != null && hashField.length()>0) { vhashfield = new Value(hashField, Value.VALUE_TYPE_INTEGER);
public SQLStatement getSQLStatements(TransMeta transMeta, StepMeta stepMeta, Row prev) { SQLStatement retval = new SQLStatement(stepMeta.getName(), database, null); // default: nothing to do! if (database!=null) { if (prev!=null && prev.size()>0) { if (tablename!=null && tablename.length()>0) { Database db = new Database(database); try { db.connect(); // OK, what do we put in the new table?? Row fields = new Row(); // First, the new technical key... Value vkeyfield = new Value(technicalKeyField, Value.VALUE_TYPE_INTEGER); vkeyfield.setLength(10,0); fields.addValue(vkeyfield); // Then the hashcode (optional) if (useHash && hashField!=null && hashField.length()>0) { Value vhashfield = new Value(hashField, Value.VALUE_TYPE_INTEGER); vhashfield.setLength(15,0); fields.addValue(vhashfield); } // Then the rest of the fields in the lookup-section for (int i=0;i<keyLookup.length;i++) { String error_fields=""; //$NON-NLS-1$ Value vkey = prev.searchValue(keyLookup[i]); if (vkey!=null) { fields.addValue(vkey); } else { if (error_fields.length()>0) error_fields+=", "; //$NON-NLS-1$ error_fields+=keyLookup[i]; } if (error_fields.length()>0) { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.CannotFindFields")+error_fields); //$NON-NLS-1$ } } String cr_table = db.getDDL(tablename, fields, (sequenceFrom!=null && sequenceFrom.length()==0)?technicalKeyField:null, useAutoinc, null, true ); // // OK, now let's build the index // // What fields do we put int the index? // Only the hashcode or all fields? String cr_index = ""; //$NON-NLS-1$ String idx_fields[] = null; if (useHash) { if (hashField!=null && hashField.length()>0) { idx_fields = new String[] { hashField }; } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotHashFieldSpecified")); //$NON-NLS-1$ } } else // index on all key fields... { if (keyLookup!=null && keyLookup.length>0) { int nrfields = keyLookup.length; if (nrfields>32 && database.getDatabaseType()==DatabaseMeta.TYPE_DATABASE_ORACLE) { nrfields=32; // Oracle indexes are limited to 32 fields... } idx_fields = new String[nrfields]; for (int i=0;i<nrfields;i++) idx_fields[i] = keyLookup[i]; } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotFieldsSpecified")); //$NON-NLS-1$ } } // OK, now get the create index statement... if (idx_fields!=null && idx_fields.length>0 && !db.checkIndexExists(tablename, idx_fields) ) { String indexname = "idx_"+tablename+"_lookup"; //$NON-NLS-1$ //$NON-NLS-2$ cr_index = db.getCreateIndexStatement(tablename, indexname, idx_fields, false, false, false, true); cr_index+=Const.CR; } // // Don't forget the sequence (optional) // String cr_seq=""; //$NON-NLS-1$ if ((database.getDatabaseType()==DatabaseMeta.TYPE_DATABASE_ORACLE) && sequenceFrom!=null && sequenceFrom.length()>0 ) { if (!db.checkSequenceExists(sequenceFrom)) { cr_seq+=db.getCreateSequenceStatement(sequenceFrom, 1L, 1L, -1L, true); cr_seq+=Const.CR; } } retval.setSQL(cr_table+cr_index+cr_seq); } catch(KettleException e) { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.ErrorOccurred")+Const.CR+e.getMessage()); //$NON-NLS-1$ } } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotTableDefined")); //$NON-NLS-1$ } } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotReceivingField")); //$NON-NLS-1$ } } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotConnectionDefined")); //$NON-NLS-1$ } return retval; }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/e76efd6e9392ea1c11d8c3e17389017033b36e46/CombinationLookupMeta.java/buggy/kettle/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookupMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3063, 3406, 21708, 14663, 12, 1429, 2781, 906, 2781, 16, 8693, 2781, 2235, 2781, 16, 6556, 2807, 13, 202, 95, 202, 202, 3997, 3406, 5221, 273, 394, 3063, 3406, 12, 4119, 2781, 18, 17994, 9334, 2063, 16, 446, 1769, 368, 805, 30, 5083, 358, 741, 5, 1082, 202, 430, 261, 6231, 5, 33, 2011, 13, 202, 202, 95, 1082, 202, 430, 261, 10001, 5, 33, 2011, 597, 2807, 18, 1467, 1435, 34, 20, 13, 1082, 202, 95, 9506, 202, 430, 261, 7032, 14724, 5, 33, 2011, 597, 19096, 18, 2469, 1435, 34, 20, 13, 9506, 202, 95, 6862, 202, 4254, 1319, 273, 394, 5130, 12, 6231, 1769, 6862, 202, 698, 6862, 202, 95, 25083, 202, 1966, 18, 3612, 5621, 6862, 6862, 9506, 202, 759, 7791, 16, 4121, 741, 732, 1378, 316, 326, 394, 1014, 14646, 25083, 202, 1999, 1466, 273, 394, 6556, 5621, 6862, 6862, 9506, 202, 759, 5783, 16, 326, 394, 17734, 1706, 498, 2777, 25083, 202, 620, 331, 856, 1518, 273, 394, 1445, 12, 28012, 82, 1706, 653, 974, 16, 1445, 18, 4051, 67, 2399, 67, 14217, 1769, 25083, 202, 90, 856, 1518, 18, 542, 1782, 12, 2163, 16, 20, 1769, 25083, 202, 2821, 18, 1289, 620, 12, 90, 856, 1518, 1769, 6862, 6862, 9506, 202, 759, 9697, 326, 31539, 261, 10444, 13, 25083, 202, 430, 261, 1202, 2310, 597, 1651, 974, 5, 33, 2011, 597, 1651, 974, 18, 2469, 1435, 34, 20, 13, 25083, 202, 95, 6862, 1082, 202, 620, 331, 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, 3063, 3406, 21708, 14663, 12, 1429, 2781, 906, 2781, 16, 8693, 2781, 2235, 2781, 16, 6556, 2807, 13, 202, 95, 202, 202, 3997, 3406, 5221, 273, 394, 3063, 3406, 12, 4119, 2781, 18, 17994, 9334, 2063, 16, 446, 1769, 368, 805, 30, 5083, 358, 741, 5, 1082, 202, 430, 261, 6231, 5, 33, 2011, 13, 202, 202, 95, 1082, 202, 430, 261, 10001, 5, 33, 2011, 597, 2807, 18, 1467, 1435, 34, 20, 13, 1082, 202, 95, 9506, 202, 430, 261, 7032, 14724, 5, 33, 2011, 597, 19096, 18, 2469, 1435, 34, 20, 13, 9506, 202, 95, 6862, 202, 4254, 1319, 273, 394, 5130, 12, 6231, 1769, 6862, 202, 698, 6862, 202, 95, 25083, 202, 1966, 2 ]
case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); }
case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); }
protected void consumeRule(int act) { switch ( act ) { case 29 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 43 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 47 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 49 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 50 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 53 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 54 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 59 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 60 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 69 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 70 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 86 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 88 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 90 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 91 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 92 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 93 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 94 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ consumePackageComment(); break; case 99 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 100 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 102 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 105 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 109 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 121 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 122 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 123 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 126 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 127 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 128 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 130 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 131 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 138 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 139 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 140 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 147 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 150 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 152 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 155 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 156 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 157 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 158 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 159 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 164 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 165 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 166 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(false); break; case 168 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(false); break; case 169 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 170 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 171 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 172 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 173 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 174 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 176 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 177 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 178 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 180 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 181 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 182 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 183 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 184 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 185 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 186 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 187 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 199 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 200 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 201 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 204 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 205 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 208 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 211 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ consumeInvalidMethodDeclaration(); break; case 212 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(true); break; case 213 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(false); break; case 221 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 222 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 224 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 226 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 227 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 228 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 230 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 234 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ consumeInvalidInterfaceDeclaration(); break; case 235 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ consumeInvalidAnnotationTypeDeclaration(); break; case 236 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ consumeInvalidEnumDeclaration(); break; case 237 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 238 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 239 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 240 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 241 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 242 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 268 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 269 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 270 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 271 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 280 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 281 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 282 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 283 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 287 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 289 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 290 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 292 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 293 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 294 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 295 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 296 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 297 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 298 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 299 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 300 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 304 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 305 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 306 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 307 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 308 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 309 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 310 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 311 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 312 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 313 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 314 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 315 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 316 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 318 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 320 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 321 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 323 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 324 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 335 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 336 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 337 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 338 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 339 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 342 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 345 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 346 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 347 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 348 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 349 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 350 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 352 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 354 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 359 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 360 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 364 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 365 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 368 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 369 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 370 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 375 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 376 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 378 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 381 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 384 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 385 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 386 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 389 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 390 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 392 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 393 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 395 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 396 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 401 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 402 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 403 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 405 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 406 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 409 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 410 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 412 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 413 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 416 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 421 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 422 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 424 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 426 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 427 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 429 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 431 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 433 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 435 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 437 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 439 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 442 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 444 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 455 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 456 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 460 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 465 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 466 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 467 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 468 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 469 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 471 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 473 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 477 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 481 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 482 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 483 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 484 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 486 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 490 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 492 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 493 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 494 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 497 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 500 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 501 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 502 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 503 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 504 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 505 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 506 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 508 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 513 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 514 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 515 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 516 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 517 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 518 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 519 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 520 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 524 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 525 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 529 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 530 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 532 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 535 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 536 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 538 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 541 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 542 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 543 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 544 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 545 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 546 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 547 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 548 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 549 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 550 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 551 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 552 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 553 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 554 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 555 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 556 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 557 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 558 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 559 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 561 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 563 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 564 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 566 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 567 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 569 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 570 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 571 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 572 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 574 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 575 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 581 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 582 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 585 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 586 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 589 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 593 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 594 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 596 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 598 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 599 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 601 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 605 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 608 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 614 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 615 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 617 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(); break; case 618 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 620 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 623 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 625 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 626 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 628 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 629 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 631 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 632 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 634 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 635 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 637 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 638 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 640 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 641 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 646 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 648 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationsopt() ; break; case 653 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 654 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(true); break; case 655 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeMethodHeaderName(true); break; case 656 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyMethodHeaderDefaultValue() ; break; case 657 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ consumeMethodHeaderDefaultValue(); break; case 658 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 659 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 667 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ consumeAnnotationName() ; break; case 668 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 669 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 672 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 673 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 674 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ consumeEnterMemberValue() ; break; case 675 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ consumeExitMemberValue() ; break; case 677 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 680 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 681 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 682 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 683 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 685 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 686 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 687 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; case 688 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ consumeRecoveryMethodHeaderNameWithTypeParameters(); break; case 689 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeRecoveryMethodHeaderName(); break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 691 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/c5e4a396e5f97d1050138e25a4f2f263849bffc7/Parser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12899, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 21193, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17495, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 24730, 5621, 565, 1082, 202, 8820, 31, 377, 648, 9934, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 7928, 559, 15772, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 1358, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17160, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 30982, 493, 33, 1659, 1162, 1358, 1412, 4628, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 30982, 5621, 565, 1082, 202, 8820, 31, 377, 648, 6437, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 27182, 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, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12899, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 21193, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17495, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 2 ]
public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext) { Boolean success = (Boolean) Utils.evaluate(uriResolver, context, variableContext, getLocationData(), "boolean(" + test + ")", namespaceContext);
public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext, DocumentContext documentContext) { Boolean success = (Boolean) Utils.evaluate(uriResolver, context, variableContext, documentContext, getLocationData(), "boolean(" + test + ")", namespaceContext);
public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext) { Boolean success = (Boolean) Utils.evaluate(uriResolver, context, variableContext, getLocationData(), "boolean(" + test + ")", namespaceContext); if (success.booleanValue()) { return Utils.execute(uriResolver, context, variableContext, statements); } else { return Collections.EMPTY_LIST; } }
52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/d806a39459dae4e0952f05860297e8edce1d2b2f/If.java/clean/src/java/org/orbeon/oxf/transformer/xupdate/statement/If.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1836, 12, 3098, 4301, 2003, 4301, 16, 1033, 819, 16, 7110, 1042, 2828, 2190, 1042, 13, 288, 3639, 3411, 2216, 273, 261, 5507, 13, 6091, 18, 21024, 12, 1650, 4301, 16, 819, 16, 2190, 1042, 16, 7734, 13312, 751, 9334, 315, 6494, 2932, 397, 1842, 397, 7310, 16, 1981, 1042, 1769, 3639, 309, 261, 4768, 18, 6494, 620, 10756, 288, 5411, 327, 6091, 18, 8837, 12, 1650, 4301, 16, 819, 16, 2190, 1042, 16, 6317, 1769, 3639, 289, 469, 288, 5411, 327, 5737, 18, 13625, 67, 7085, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 1836, 12, 3098, 4301, 2003, 4301, 16, 1033, 819, 16, 7110, 1042, 2828, 2190, 1042, 13, 288, 3639, 3411, 2216, 273, 261, 5507, 13, 6091, 18, 21024, 12, 1650, 4301, 16, 819, 16, 2190, 1042, 16, 7734, 13312, 751, 9334, 315, 6494, 2932, 397, 1842, 397, 7310, 16, 1981, 1042, 1769, 3639, 309, 261, 4768, 18, 6494, 620, 10756, 288, 5411, 327, 6091, 18, 8837, 12, 1650, 4301, 16, 819, 16, 2190, 1042, 16, 6317, 1769, 3639, 289, 469, 288, 5411, 327, 5737, 18, 13625, 67, 7085, 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 ]
double d = stackDbl[i];
double d = state.sDbl[i];
private static boolean stack_boolean(Object[] stack, double[] stackDbl, int i) { Object x = stack[i]; if (x == Boolean.TRUE) { return true; } else if (x == Boolean.FALSE) { return false; } else if (x == DBL_MRK) { double d = stackDbl[i]; return d == d && d != 0.0; } else if (x == null || x == Undefined.instance) { return false; } else if (x instanceof Number) { double d = ((Number)x).doubleValue(); return (d == d && d != 0.0); } else if (x instanceof Boolean) { return ((Boolean)x).booleanValue(); } else { return ScriptRuntime.toBoolean(x); } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 2110, 67, 6494, 12, 921, 8526, 2110, 16, 1645, 8526, 2110, 40, 3083, 16, 29159, 509, 277, 13, 565, 288, 3639, 1033, 619, 273, 2110, 63, 77, 15533, 3639, 309, 261, 92, 422, 3411, 18, 18724, 13, 288, 5411, 327, 638, 31, 3639, 289, 469, 309, 261, 92, 422, 3411, 18, 21053, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 422, 2383, 48, 67, 23464, 47, 13, 288, 5411, 1645, 302, 273, 919, 18, 87, 40, 3083, 63, 77, 15533, 5411, 327, 302, 422, 302, 597, 302, 480, 374, 18, 20, 31, 3639, 289, 469, 309, 261, 92, 422, 446, 747, 619, 422, 22243, 18, 1336, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 1276, 3588, 13, 288, 5411, 1645, 302, 273, 14015, 1854, 13, 92, 2934, 9056, 620, 5621, 5411, 327, 261, 72, 422, 302, 597, 302, 480, 374, 18, 20, 1769, 3639, 289, 469, 309, 261, 92, 1276, 3411, 13, 288, 5411, 327, 14015, 5507, 13, 92, 2934, 6494, 620, 5621, 3639, 289, 469, 288, 5411, 327, 7739, 5576, 18, 869, 5507, 12, 92, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 2110, 67, 6494, 12, 921, 8526, 2110, 16, 1645, 8526, 2110, 40, 3083, 16, 29159, 509, 277, 13, 565, 288, 3639, 1033, 619, 273, 2110, 63, 77, 15533, 3639, 309, 261, 92, 422, 3411, 18, 18724, 13, 288, 5411, 327, 638, 31, 3639, 289, 469, 309, 261, 92, 422, 3411, 18, 21053, 13, 288, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 422, 2383, 48, 67, 23464, 47, 13, 288, 5411, 1645, 302, 273, 919, 18, 87, 40, 3083, 63, 77, 15533, 5411, 327, 302, 422, 302, 597, 302, 480, 374, 18, 20, 31, 3639, 289, 469, 309, 261, 92, 422, 446, 747, 619, 422, 22243, 18, 1336, 13, 288, 5411, 327, 629, 2 ]
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/eclipse/ws6/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:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/eclipse/ws6/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:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 99: MethodDeclaration ::= MethodHeader MethodBody // case 99: { //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodHeader = (MethodDecl) getRhsSym(1); //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block MethodBody = (Block) getRhsSym(2); //#line 669 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" JPGPosition old_pos = (JPGPosition) MethodHeader.position(); setResult(MethodHeader.body(MethodBody) .position(pos(old_pos.getLeftIToken().getTokenIndex(), getRightSpan()))); break; } // // Rule 101: ResultType ::= void // case 101: { //#line 680 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 102: FormalParameterList ::= LastFormalParameter // case 102: { //#line 700 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 702 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 103: FormalParameterList ::= FormalParameters , LastFormalParameter // case 103: { //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 709 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 104: FormalParameters ::= FormalParameter // case 104: { //#line 714 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 716 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 105: FormalParameters ::= FormalParameters , FormalParameter // case 105: { //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 723 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 106: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 106: { //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 730 "C:/eclipse/ws6/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 108: VariableModifiers ::= VariableModifiers VariableModifier // case 108: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 109: VariableModifier ::= final // case 109: { //#line 746 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 110: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 110: { //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 754 "C:/eclipse/ws6/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 112: MethodModifiers ::= MethodModifiers MethodModifier // case 112: { //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 113: MethodModifier ::= public // case 113: { //#line 776 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 114: MethodModifier ::= protected // case 114: { //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 115: MethodModifier ::= private // case 115: { //#line 786 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 116: MethodModifier ::= abstract // case 116: { //#line 791 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 117: MethodModifier ::= static // case 117: { //#line 796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 118: MethodModifier ::= final // case 118: { //#line 801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 119: MethodModifier ::= native // case 119: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 120: MethodModifier ::= strictfp // case 120: { //#line 816 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 121: Throws ::= throws ExceptionTypeList // case 121: { //#line 820 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 822 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 122: ExceptionTypeList ::= ExceptionType // case 122: { //#line 826 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 828 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 123: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 123: { //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 126: MethodBody ::= ; // case 126: setResult(null); break; // // Rule 128: StaticInitializer ::= static Block // case 128: { //#line 855 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 857 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 129: SimpleTypeName ::= identifier // case 129: { //#line 872 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 131: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 131: { //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 881 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 132: ConstructorModifier ::= public // case 132: { //#line 889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 133: ConstructorModifier ::= protected // case 133: { //#line 894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 134: ConstructorModifier ::= private // case 134: { //#line 899 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 135: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 135: { //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; if (ExplicitConstructorInvocationopt == null) l = BlockStatementsopt; else { l = new TypedList(new LinkedList(), Stmt.class, false); l.add(ExplicitConstructorInvocationopt); l.addAll(BlockStatementsopt); } setResult(nf.Block(pos(), l)); break; } // // Rule 136: Arguments ::= ( ArgumentListopt ) // case 136: { //#line 936 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 938 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 139: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 139: { //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 140: InterfaceModifier ::= public // case 140: { //#line 964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 141: InterfaceModifier ::= protected // case 141: { //#line 969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 142: InterfaceModifier ::= private // case 142: { //#line 974 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 143: InterfaceModifier ::= abstract // case 143: { //#line 979 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 144: InterfaceModifier ::= static // case 144: { //#line 984 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 145: InterfaceModifier ::= strictfp // case 145: { //#line 989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 146: ExtendsInterfaces ::= extends InterfaceType // case 146: { //#line 993 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 995 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 147: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 147: { //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 148: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 148: { //#line 1012 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1014 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 150: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 150: { //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 152: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= ClassDeclaration // case 153: { //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1036 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 154: { //#line 1041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 155: InterfaceMemberDeclaration ::= ; // case 155: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 156: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 156: { //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1056 "C:/eclipse/ws6/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 158: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 158: { //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1076 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 159: ConstantModifier ::= public // case 159: { //#line 1084 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 160: ConstantModifier ::= static // case 160: { //#line 1089 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 161: ConstantModifier ::= final // case 161: { //#line 1094 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 163: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 163: { //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1103 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 164: AbstractMethodModifier ::= public // case 164: { //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 165: AbstractMethodModifier ::= abstract // case 165: { //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 166: SimpleName ::= identifier // case 166: { //#line 1172 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 167: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 167: { //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1203 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 168: VariableInitializers ::= VariableInitializer // case 168: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 169: VariableInitializers ::= VariableInitializers , VariableInitializer // case 169: { //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 170: Block ::= { BlockStatementsopt } // case 170: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 171: BlockStatements ::= BlockStatement // case 171: { //#line 1243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1245 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 172: BlockStatements ::= BlockStatements BlockStatement // case 172: { //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1252 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 174: BlockStatement ::= ClassDeclaration // case 174: { //#line 1258 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/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 175: BlockStatement ::= Statement // case 175: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 177: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 177: { //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1277 "C:/eclipse/ws6/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 201: IfThenStatement ::= if ( Expression ) Statement // case 201: { //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 202: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 202: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1346 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 203: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 203: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 204: EmptyStatement ::= ; // case 204: { //#line 1358 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 205: LabeledStatement ::= identifier : Statement // case 205: { //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1364 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 206: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 206: { //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 207: ExpressionStatement ::= StatementExpression ; // case 207: { //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1375 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 215: AssertStatement ::= assert Expression ; // case 215: { //#line 1396 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1398 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 216: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 216: { //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 217: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 217: { //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1409 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 218: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 218: { //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 220: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 220: { //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 221: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 221: { //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1430 "C:/eclipse/ws6/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 222: SwitchLabels ::= SwitchLabel // case 222: { //#line 1437 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 223: SwitchLabels ::= SwitchLabels SwitchLabel // case 223: { //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1446 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 224: SwitchLabel ::= case ConstantExpression : // case 224: { //#line 1451 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1453 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 225: SwitchLabel ::= default : // case 225: { //#line 1460 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 226: WhileStatement ::= while ( Expression ) Statement // case 226: { //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1469 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 227: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 227: { //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1475 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 228: DoStatement ::= do Statement while ( Expression ) ; // case 228: { //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1481 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 231: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 231: { //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 232: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 232: { //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1496 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 234: ForInit ::= LocalVariableDeclaration // case 234: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1503 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpression // case 236: { //#line 1511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1513 "C:/eclipse/ws6/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 237: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 237: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 238: BreakStatement ::= break identifieropt ; // case 238: { //#line 1528 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1530 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 239: ContinueStatement ::= continue identifieropt ; // case 239: { //#line 1536 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1538 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 240: ReturnStatement ::= return Expressionopt ; // case 240: { //#line 1544 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1546 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 241: ThrowStatement ::= throw Expression ; // case 241: { //#line 1550 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1552 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 242: TryStatement ::= try Block Catches // case 242: { //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1564 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 243: TryStatement ::= try Block Catchesopt Finally // case 243: { //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1569 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 244: Catches ::= CatchClause // case 244: { //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1575 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 245: Catches ::= Catches CatchClause // case 245: { //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1582 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 246: CatchClause ::= catch ( FormalParameter ) Block // case 246: { //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1589 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 247: Finally ::= finally Block // case 247: { //#line 1593 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 251: PrimaryNoNewArray ::= Type . class // case 251: { //#line 1613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1615 "C:/eclipse/ws6/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 252: PrimaryNoNewArray ::= void . class // case 252: { //#line 1634 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 253: PrimaryNoNewArray ::= this // case 253: { //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 254: PrimaryNoNewArray ::= ClassName . this // case 254: { //#line 1643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1645 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 255: PrimaryNoNewArray ::= ( Expression ) // case 255: { //#line 1648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1650 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 260: Literal ::= IntegerLiteral$IntegerLiteral // case 260: { //#line 1658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1660 "C:/eclipse/ws6/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 261: Literal ::= LongLiteral$LongLiteral // case 261: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1666 "C:/eclipse/ws6/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 262: Literal ::= FloatingPointLiteral$FloatLiteral // case 262: { //#line 1670 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1672 "C:/eclipse/ws6/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 263: Literal ::= DoubleLiteral$DoubleLiteral // case 263: { //#line 1676 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1678 "C:/eclipse/ws6/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 264: Literal ::= BooleanLiteral // case 264: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 265: Literal ::= CharacterLiteral$CharacterLiteral // case 265: { //#line 1687 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1689 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 266: Literal ::= StringLiteral$str // case 266: { //#line 1693 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1695 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 267: Literal ::= null // case 267: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 268: BooleanLiteral ::= true$trueLiteral // case 268: { //#line 1705 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: BooleanLiteral ::= false$falseLiteral // case 269: { //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1712 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 270: ArgumentList ::= Expression // case 270: { //#line 1725 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1727 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 271: ArgumentList ::= ArgumentList , Expression // case 271: { //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 272: DimExprs ::= DimExpr // case 272: { //#line 1768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1770 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 273: DimExprs ::= DimExprs DimExpr // case 273: { //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1777 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 274: DimExpr ::= [ Expression ] // case 274: { //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1784 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 275: Dims ::= [ ] // case 275: { //#line 1790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 276: Dims ::= Dims [ ] // case 276: { //#line 1793 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 277: FieldAccess ::= Primary . identifier // case 277: { //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= super . identifier // case 278: { //#line 1804 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1806 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 279: FieldAccess ::= ClassName . super$sup . identifier // case 279: { //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 280: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 280: { //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1817 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 282: PostfixExpression ::= ExpressionName // case 282: { //#line 1840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 285: PostIncrementExpression ::= PostfixExpression ++ // case 285: { //#line 1848 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 286: PostDecrementExpression ::= PostfixExpression -- // case 286: { //#line 1854 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 289: UnaryExpression ::= + UnaryExpression // case 289: { //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1864 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 290: UnaryExpression ::= - UnaryExpression // case 290: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 292: PreIncrementExpression ::= ++ UnaryExpression // case 292: { //#line 1874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1876 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 293: PreDecrementExpression ::= -- UnaryExpression // case 293: { //#line 1880 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 295: { //#line 1887 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 296: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 296: { //#line 1892 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 299: { //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1908 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 300: { //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 301: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 301: { //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1918 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 303: { //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1925 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 304: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 304: { //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1930 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 306: { //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1937 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 307: { //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1942 "C:/eclipse/ws6/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 308: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 308: { //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1948 "C:/eclipse/ws6/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 310: RelationalExpression ::= RelationalExpression < ShiftExpression // case 310: { //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression > ShiftExpression // case 311: { //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1961 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 312: { //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1966 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 313: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 313: { //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1971 "C:/eclipse/ws6/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 315: EqualityExpression ::= EqualityExpression == RelationalExpression // case 315: { //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1987 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 316: EqualityExpression ::= EqualityExpression != RelationalExpression // case 316: { //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1992 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 318: AndExpression ::= AndExpression & EqualityExpression // case 318: { //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1999 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 320: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 320: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2006 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 322: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 322: { //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2013 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 324: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 324: { //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2020 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 326: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 326: { //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 328: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 328: { //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 331: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 331: { //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 332: LeftHandSide ::= ExpressionName // case 332: { //#line 2047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2049 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 335: AssignmentOperator ::= = // case 335: { //#line 2057 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 336: AssignmentOperator ::= *= // case 336: { //#line 2062 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= /= // case 337: { //#line 2067 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= %= // case 338: { //#line 2072 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= += // case 339: { //#line 2077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= -= // case 340: { //#line 2082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= <<= // case 341: { //#line 2087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > = // case 342: { //#line 2092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= > > > = // case 343: { //#line 2098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= &= // case 344: { //#line 2104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= ^= // case 345: { //#line 2109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 346: AssignmentOperator ::= |= // case 346: { //#line 2114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 349: Dimsopt ::= $Empty // case 349: { //#line 2127 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 351: Catchesopt ::= $Empty // case 351: { //#line 2134 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 353: identifieropt ::= $Empty // case 353: setResult(null); break; // // Rule 354: identifieropt ::= identifier // case 354: { //#line 2141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2143 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 355: ForUpdateopt ::= $Empty // case 355: { //#line 2149 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 357: Expressionopt ::= $Empty // case 357: setResult(null); break; // // Rule 359: ForInitopt ::= $Empty // case 359: { //#line 2160 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 361: SwitchLabelsopt ::= $Empty // case 361: { //#line 2167 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 363: SwitchBlockStatementGroupsopt ::= $Empty // case 363: { //#line 2174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 365: VariableModifiersopt ::= $Empty // case 365: { //#line 2181 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 367: VariableInitializersopt ::= $Empty // case 367: setResult(null); break; // // Rule 369: AbstractMethodModifiersopt ::= $Empty // case 369: { //#line 2211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 371: ConstantModifiersopt ::= $Empty // case 371: { //#line 2218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 373: InterfaceMemberDeclarationsopt ::= $Empty // case 373: { //#line 2225 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 375: ExtendsInterfacesopt ::= $Empty // case 375: { //#line 2232 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 377: InterfaceModifiersopt ::= $Empty // case 377: { //#line 2239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 379: ClassBodyopt ::= $Empty // case 379: setResult(null); break; // // Rule 381: Argumentsopt ::= $Empty // case 381: setResult(null); break; // // Rule 382: Argumentsopt ::= Arguments // case 382: throw new Error("No action specified for rule " + 382); // // Rule 383: ,opt ::= $Empty // case 383: setResult(null); break; // // Rule 385: ArgumentListopt ::= $Empty // case 385: { //#line 2269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 387: BlockStatementsopt ::= $Empty // case 387: { //#line 2276 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 389: ExplicitConstructorInvocationopt ::= $Empty // case 389: setResult(null); break; // // Rule 391: ConstructorModifiersopt ::= $Empty // case 391: { //#line 2287 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 393: ...opt ::= $Empty // case 393: setResult(null); break; // // Rule 395: FormalParameterListopt ::= $Empty // case 395: { //#line 2298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 397: Throwsopt ::= $Empty // case 397: { //#line 2305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 399: MethodModifiersopt ::= $Empty // case 399: { //#line 2312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 401: FieldModifiersopt ::= $Empty // case 401: { //#line 2319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 403: ClassBodyDeclarationsopt ::= $Empty // case 403: { //#line 2326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 405: Interfacesopt ::= $Empty // case 405: { //#line 2333 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 407: Superopt ::= $Empty // case 407: { //#line 2340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 409: ClassModifiersopt ::= $Empty // case 409: { //#line 2351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 411: TypeDeclarationsopt ::= $Empty // case 411: { //#line 2363 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 413: ImportDeclarationsopt ::= $Empty // case 413: { //#line 2370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 415: PackageDeclarationopt ::= $Empty // case 415: setResult(null); break; // // Rule 417: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 717 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 418: { //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 726 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 419: PackageDeclaration ::= package PackageName ; // case 419: { //#line 732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 420: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 420: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 740 "C:/eclipse/ws6/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 422: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 422: { //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 423: X10ClassModifier ::= ClassModifier // case 423: { //#line 761 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 763 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 424: X10ClassModifier ::= safe // case 424: { //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 425: PropertyList ::= ( Properties WhereClauseopt ) // case 425: { //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 426: PropertyList ::= ( WhereClause ) // case 426: { //#line 779 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 427: Properties ::= Property // case 427: { //#line 788 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 428: Properties ::= Properties , Property // case 428: { //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 797 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 429: Property ::= Type identifier // case 429: { //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 805 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 430: MethodHeader ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt // case 430: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 813 "C:/eclipse/ws6/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, null)); break; } // // Rule 431: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 431: { //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 432: { //#line 840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 433: { //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 847 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 434: { //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 852 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 435: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 435: { //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 858 "C:/eclipse/ws6/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 436: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 436: { //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 875 "C:/eclipse/ws6/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 437: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 900 "C:/eclipse/ws6/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 438: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 907 "C:/eclipse/ws6/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 439: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 439: { //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 915 "C:/eclipse/ws6/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 440: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 440: { //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 924 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 441: { //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 442: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 442: { //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 934 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 444: AssignPropertyCall ::= property ( ArgumentList ) // case 444: { //#line 939 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 941 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 445: Type ::= DataType // case 445: { //#line 950 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 952 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 446: Type ::= nullable < Type > DepParametersopt // case 446: { //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 957 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 447: Type ::= future < Type > // case 447: { //#line 963 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 965 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 451: PrimitiveType ::= NumericType DepParametersopt // case 451: { //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 982 "C:/eclipse/ws6/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 452: PrimitiveType ::= boolean DepParametersopt // case 452: { //#line 988 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 990 "C:/eclipse/ws6/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 457: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 457: { //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1004 "C:/eclipse/ws6/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 458: DepParameters ::= ( DepParameterExpr ) // case 458: { //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1023 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 459: DepParameterExpr ::= ArgumentList WhereClauseopt // case 459: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 460: DepParameterExpr ::= WhereClause // case 460: { //#line 1032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 461: WhereClause ::= : ConstExpression // case 461: { //#line 1038 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1040 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 462: ConstPrimary ::= Literal // case 462: { //#line 1045 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 463: ConstPrimary ::= Type . class // case 463: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1052 "C:/eclipse/ws6/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 464: ConstPrimary ::= void . class // case 464: { //#line 1071 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 465: ConstPrimary ::= this // case 465: { //#line 1077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 466: ConstPrimary ::= here // case 466: { //#line 1082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 467: ConstPrimary ::= ClassName . this // case 467: { //#line 1085 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 468: ConstPrimary ::= ( ConstExpression ) // case 468: { //#line 1090 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 470: ConstPrimary ::= self // case 470: { //#line 1098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 471: ConstPostfixExpression ::= ConstPrimary // case 471: { //#line 1104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 472: ConstPostfixExpression ::= ExpressionName // case 472: { //#line 1109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 473: ConstUnaryExpression ::= ConstPostfixExpression // case 473: { //#line 1114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 474: ConstUnaryExpression ::= + ConstUnaryExpression // case 474: { //#line 1119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= - ConstUnaryExpression // case 475: { //#line 1124 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 476: ConstUnaryExpression ::= ! ConstUnaryExpression // case 476: { //#line 1129 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 477: { //#line 1135 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1137 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 478: { //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1142 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 479: { //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 480: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 480: { //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 481: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 481: { //#line 1156 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1158 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 482: { //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1163 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 483: { //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1168 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 484: ConstRelationalExpression ::= ConstAdditiveExpression // case 484: { //#line 1173 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 485: { //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 486: { //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1185 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 487: { //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1190 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 488: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 488: { //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1195 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 489: ConstEqualityExpression ::= ConstRelationalExpression // case 489: { //#line 1199 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 490: { //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1206 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 491: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 491: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 492: ConstAndExpression ::= ConstEqualityExpression // case 492: { //#line 1215 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1217 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 493: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 493: { //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1222 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstAndExpression // case 494: { //#line 1226 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1228 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 495: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 495: { //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1233 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 496: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 497: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 497: { //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1244 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression // case 498: { //#line 1248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 499: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 499: { //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1255 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 500: ConstFieldAccess ::= ConstPrimary . identifier // case 500: { //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= super . identifier // case 501: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 502: ConstFieldAccess ::= ClassName . super$sup . identifier // case 502: { //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1272 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 504: X10ArrayType ::= Type [ . ] // case 504: { //#line 1288 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1290 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 505: X10ArrayType ::= Type value [ . ] // case 505: { //#line 1293 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1295 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 506: X10ArrayType ::= Type [ DepParameterExpr ] // case 506: { //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1300 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 507: X10ArrayType ::= Type value [ DepParameterExpr ] // case 507: { //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 508: ObjectKind ::= value // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: ObjectKind ::= reference // case 509: throw new Error("No action specified for rule " + 509); // // Rule 510: MethodModifier ::= atomic // case 510: { //#line 1319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 511: MethodModifier ::= extern // case 511: { //#line 1324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 512: MethodModifier ::= safe // case 512: { //#line 1329 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 513: MethodModifier ::= sequential // case 513: { //#line 1334 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 514: MethodModifier ::= local // case 514: { //#line 1339 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 515: MethodModifier ::= nonblocking // case 515: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/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: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 518: { //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1362 "C:/eclipse/ws6/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 519: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 519: { //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1373 "C:/eclipse/ws6/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 520: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 520: { //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1383 "C:/eclipse/ws6/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 521: ThisClause ::= this DepParameters // case 521: { //#line 1391 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1393 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 522: Super ::= extends DataType // case 522: { //#line 1397 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1399 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 523: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 523: { //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1405 "C:/eclipse/ws6/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 524: MethodDeclarator ::= MethodDeclarator [ ] // case 524: { //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1417 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 525: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 525: { //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1425 "C:/eclipse/ws6/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 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 526: { //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1461 "C:/eclipse/ws6/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 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 527: { //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1467 "C:/eclipse/ws6/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 528: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 528: { //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1473 "C:/eclipse/ws6/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 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 529: { //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1482 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 530: { //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1487 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 531: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 531: { //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1492 "C:/eclipse/ws6/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 532: Valueopt ::= $Empty // case 532: setResult(null); break; // // Rule 533: Valueopt ::= value // case 533: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 536: ArrayBaseType ::= nullable < Type > // case 536: { //#line 1508 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1510 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= future < Type > // case 537: { //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1515 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 538: ArrayBaseType ::= ( Type ) // case 538: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 539: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 539: { //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1526 "C:/eclipse/ws6/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 540: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 540: { //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1533 "C:/eclipse/ws6/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 557: NowStatement ::= now ( Clock ) Statement // case 557: { //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1561 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 558: ClockedClause ::= clocked ( ClockList ) // case 558: { //#line 1565 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 559: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 559: { //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 560: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 560: { //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1583 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 561: WhenStatement ::= when ( Expression ) Statement // case 561: { //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1592 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 562: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 562: { //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1597 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 563: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1604 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 564: { //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1614 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 565: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 565: { //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1624 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 566: FinishStatement ::= finish Statement // case 566: { //#line 1631 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 567: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 567: { //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 568: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 568: { //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1646 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 569: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 569: { //#line 1653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1655 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 570: { //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1661 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 571: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 571: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 572: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1673 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 573: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 574: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 574: { //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1694 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 575: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 575: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1703 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 576: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 576: { //#line 1708 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 578: NextStatement ::= next ; // case 578: { //#line 1718 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 579: AwaitStatement ::= await Expression ; // case 579: { //#line 1722 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 580: ClockList ::= Clock // case 580: { //#line 1728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 581: ClockList ::= ClockList , Clock // case 581: { //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1737 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 582: Clock ::= Expression // case 582: { //#line 1743 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1745 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 583: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 583: { //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1757 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 584: { //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1762 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 585: RelationalExpression ::= RelationalExpression instanceof Type // case 585: { //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 586: IdentifierList ::= identifier // case 586: { //#line 1780 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1782 "C:/eclipse/ws6/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 587: IdentifierList ::= IdentifierList , identifier // case 587: { //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1789 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 588: Primary ::= here // case 588: { //#line 1796 "C:/eclipse/ws6/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 591: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 591: { //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1814 "C:/eclipse/ws6/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 592: RegionExpressionList ::= RegionExpression // case 592: { //#line 1830 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1832 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 593: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 593: { //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1839 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 594: Primary ::= [ RegionExpressionList ] // case 594: { //#line 1844 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1846 "C:/eclipse/ws6/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 595: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 595: { //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 596: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 596: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 597: FieldModifier ::= mutable // case 597: { //#line 1877 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 598: FieldModifier ::= const // case 598: { //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 599: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 607: throw new Error("No action specified for rule " + 607); // // Rule 608: MethodModifier ::= synchronized // case 608: { //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"synchronized\" is an invalid X10 Method Modifier"); setResult(Flags.SYNCHRONIZED); break; } // // Rule 609: FieldModifier ::= volatile // case 609: { //#line 1922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"volatile\" is an invalid X10 Field Modifier"); setResult(Flags.VOLATILE); break; } // // Rule 610: SynchronizedStatement ::= synchronized ( Expression ) Block // case 610: { //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1931 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "Synchronized Statement is invalid in X10"); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 611: ThisClauseopt ::= $Empty // case 611: setResult(null); break; // // Rule 613: PlaceTypeSpecifieropt ::= $Empty // case 613: setResult(null); break; // // Rule 615: DepParametersopt ::= $Empty // case 615: setResult(null); break; // // Rule 617: PropertyListopt ::= $Empty // case 617: setResult(null); break; // // Rule 619: WhereClauseopt ::= $Empty // case 619: setResult(null); break; // // Rule 621: ObjectKindopt ::= $Empty // case 621: setResult(null); break; // // Rule 623: ArrayInitializeropt ::= $Empty // case 623: setResult(null); break; // // Rule 625: PlaceExpressionSingleListopt ::= $Empty // case 625: setResult(null); break; // // Rule 627: ArgumentListopt ::= $Empty // case 627: setResult(null); break; // // Rule 629: X10ClassModifiersopt ::= $Empty // case 629: { //#line 1977 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 631: DepParametersopt ::= $Empty // case 631: setResult(null); break; // // Rule 633: Unsafeopt ::= $Empty // case 633: setResult(null); break; // // Rule 634: Unsafeopt ::= unsafe // case 634: { //#line 1989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 635: ParamIdopt ::= $Empty // case 635: setResult(null); break; // // Rule 636: ParamIdopt ::= identifier // case 636: { //#line 1996 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1998 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 637: ClockedClauseopt ::= $Empty // case 637: { //#line 2004 "C:/eclipse/ws6/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/56cdb14fdb9589988a93eb9a76aae3872ab98272/X10Parser.java/buggy/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, 20416, 19, 4749, 26, 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, 20416, 19, 4749, 26, 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, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 7508, 461, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 6549, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 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, 20416, 19, 4749, 26, 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, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 2 ]
_t = __t1349;
_t = __t1353;
public final void framephrase(AST _t) throws RecognitionException { AST framephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1347 = _t; AST tmp154_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); { _loop1377: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ACCUMULATE: { AST __t1349 = _t; AST tmp155_AST_in = (AST)_t; match(_t,ACCUMULATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_4.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t1349; _t = _t.getNextSibling(); break; } case ATTRSPACE: { AST tmp156_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp157_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case CANCELBUTTON: { AST __t1351 = _t; AST tmp158_AST_in = (AST)_t; match(_t,CANCELBUTTON); _t = _t.getFirstChild(); field(_t); _t = _retTree; _t = __t1351; _t = _t.getNextSibling(); break; } case CENTERED: { AST tmp159_AST_in = (AST)_t; match(_t,CENTERED); _t = _t.getNextSibling(); break; } case COLUMN: { AST __t1352 = _t; AST tmp160_AST_in = (AST)_t; match(_t,COLUMN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1352; _t = _t.getNextSibling(); break; } case CONTEXTHELP: { AST tmp161_AST_in = (AST)_t; match(_t,CONTEXTHELP); _t = _t.getNextSibling(); break; } case CONTEXTHELPFILE: { AST tmp162_AST_in = (AST)_t; match(_t,CONTEXTHELPFILE); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case DEFAULTBUTTON: { AST __t1353 = _t; AST tmp163_AST_in = (AST)_t; match(_t,DEFAULTBUTTON); _t = _t.getFirstChild(); field(_t); _t = _retTree; _t = __t1353; _t = _t.getNextSibling(); break; } case EXPORT: { AST tmp164_AST_in = (AST)_t; match(_t,EXPORT); _t = _t.getNextSibling(); break; } case FITLASTCOLUMN: { AST tmp165_AST_in = (AST)_t; match(_t,FITLASTCOLUMN); _t = _t.getNextSibling(); break; } case FONT: { AST __t1354 = _t; AST tmp166_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1354; _t = _t.getNextSibling(); break; } case FONTBASEDLAYOUT: { AST tmp167_AST_in = (AST)_t; match(_t,FONTBASEDLAYOUT); _t = _t.getNextSibling(); break; } case FRAME: { AST __t1355 = _t; AST tmp168_AST_in = (AST)_t; match(_t,FRAME); _t = _t.getFirstChild(); AST tmp169_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t1355; _t = _t.getNextSibling(); break; } case LABELFONT: { AST __t1356 = _t; AST tmp170_AST_in = (AST)_t; match(_t,LABELFONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1356; _t = _t.getNextSibling(); break; } case LABELDCOLOR: { AST __t1357 = _t; AST tmp171_AST_in = (AST)_t; match(_t,LABELDCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1357; _t = _t.getNextSibling(); break; } case LABELFGCOLOR: { AST __t1358 = _t; AST tmp172_AST_in = (AST)_t; match(_t,LABELFGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1358; _t = _t.getNextSibling(); break; } case LABELBGCOLOR: { AST __t1359 = _t; AST tmp173_AST_in = (AST)_t; match(_t,LABELBGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1359; _t = _t.getNextSibling(); break; } case MULTIPLE: { AST tmp174_AST_in = (AST)_t; match(_t,MULTIPLE); _t = _t.getNextSibling(); break; } case SINGLE: { AST tmp175_AST_in = (AST)_t; match(_t,SINGLE); _t = _t.getNextSibling(); break; } case SEPARATORS: { AST tmp176_AST_in = (AST)_t; match(_t,SEPARATORS); _t = _t.getNextSibling(); break; } case NOSEPARATORS: { AST tmp177_AST_in = (AST)_t; match(_t,NOSEPARATORS); _t = _t.getNextSibling(); break; } case NOASSIGN: { AST tmp178_AST_in = (AST)_t; match(_t,NOASSIGN); _t = _t.getNextSibling(); break; } case NOROWMARKERS: { AST tmp179_AST_in = (AST)_t; match(_t,NOROWMARKERS); _t = _t.getNextSibling(); break; } case NOSCROLLBARVERTICAL: { AST tmp180_AST_in = (AST)_t; match(_t,NOSCROLLBARVERTICAL); _t = _t.getNextSibling(); break; } case SCROLLBARVERTICAL: { AST tmp181_AST_in = (AST)_t; match(_t,SCROLLBARVERTICAL); _t = _t.getNextSibling(); break; } case ROWHEIGHTCHARS: { AST __t1360 = _t; AST tmp182_AST_in = (AST)_t; match(_t,ROWHEIGHTCHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1360; _t = _t.getNextSibling(); break; } case ROWHEIGHTPIXELS: { AST __t1361 = _t; AST tmp183_AST_in = (AST)_t; match(_t,ROWHEIGHTPIXELS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1361; _t = _t.getNextSibling(); break; } case EXPANDABLE: { AST tmp184_AST_in = (AST)_t; match(_t,EXPANDABLE); _t = _t.getNextSibling(); break; } case DROPTARGET: { AST tmp185_AST_in = (AST)_t; match(_t,DROPTARGET); _t = _t.getNextSibling(); break; } case NOAUTOVALIDATE: { AST tmp186_AST_in = (AST)_t; match(_t,NOAUTOVALIDATE); _t = _t.getNextSibling(); break; } case NOCOLUMNSCROLLING: { AST tmp187_AST_in = (AST)_t; match(_t,NOCOLUMNSCROLLING); _t = _t.getNextSibling(); break; } case KEEPTABORDER: { AST tmp188_AST_in = (AST)_t; match(_t,KEEPTABORDER); _t = _t.getNextSibling(); break; } case NOBOX: { AST tmp189_AST_in = (AST)_t; match(_t,NOBOX); _t = _t.getNextSibling(); break; } case NOEMPTYSPACE: { AST tmp190_AST_in = (AST)_t; match(_t,NOEMPTYSPACE); _t = _t.getNextSibling(); break; } case NOHIDE: { AST tmp191_AST_in = (AST)_t; match(_t,NOHIDE); _t = _t.getNextSibling(); break; } case NOLABELS: { AST tmp192_AST_in = (AST)_t; match(_t,NOLABELS); _t = _t.getNextSibling(); break; } case USEDICTEXPS: { AST tmp193_AST_in = (AST)_t; match(_t,USEDICTEXPS); _t = _t.getNextSibling(); break; } case NOVALIDATE: { AST tmp194_AST_in = (AST)_t; match(_t,NOVALIDATE); _t = _t.getNextSibling(); break; } case NOHELP: { AST tmp195_AST_in = (AST)_t; match(_t,NOHELP); _t = _t.getNextSibling(); break; } case NOUNDERLINE: { AST tmp196_AST_in = (AST)_t; match(_t,NOUNDERLINE); _t = _t.getNextSibling(); break; } case OVERLAY: { AST tmp197_AST_in = (AST)_t; match(_t,OVERLAY); _t = _t.getNextSibling(); break; } case PAGEBOTTOM: { AST tmp198_AST_in = (AST)_t; match(_t,PAGEBOTTOM); _t = _t.getNextSibling(); break; } case PAGETOP: { AST tmp199_AST_in = (AST)_t; match(_t,PAGETOP); _t = _t.getNextSibling(); break; } case NOTABSTOP: { AST tmp200_AST_in = (AST)_t; match(_t,NOTABSTOP); _t = _t.getNextSibling(); break; } case RETAIN: { AST __t1362 = _t; AST tmp201_AST_in = (AST)_t; match(_t,RETAIN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1362; _t = _t.getNextSibling(); break; } case ROW: { AST __t1363 = _t; AST tmp202_AST_in = (AST)_t; match(_t,ROW); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1363; _t = _t.getNextSibling(); break; } case SCREENIO: { AST tmp203_AST_in = (AST)_t; match(_t,SCREENIO); _t = _t.getNextSibling(); break; } case STREAMIO: { AST tmp204_AST_in = (AST)_t; match(_t,STREAMIO); _t = _t.getNextSibling(); break; } case SCROLL: { AST __t1364 = _t; AST tmp205_AST_in = (AST)_t; match(_t,SCROLL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1364; _t = _t.getNextSibling(); break; } case SCROLLABLE: { AST tmp206_AST_in = (AST)_t; match(_t,SCROLLABLE); _t = _t.getNextSibling(); break; } case SIDELABELS: { AST tmp207_AST_in = (AST)_t; match(_t,SIDELABELS); _t = _t.getNextSibling(); break; } case STREAM: { stream_name(_t); _t = _retTree; break; } case THREED: { AST tmp208_AST_in = (AST)_t; match(_t,THREED); _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case TOPONLY: { AST tmp209_AST_in = (AST)_t; match(_t,TOPONLY); _t = _t.getNextSibling(); break; } case USETEXT: { AST tmp210_AST_in = (AST)_t; match(_t,USETEXT); _t = _t.getNextSibling(); break; } case V6FRAME: { AST tmp211_AST_in = (AST)_t; match(_t,V6FRAME); _t = _t.getNextSibling(); break; } case USEREVVIDEO: { AST tmp212_AST_in = (AST)_t; match(_t,USEREVVIDEO); _t = _t.getNextSibling(); break; } case USEUNDERLINE: { AST tmp213_AST_in = (AST)_t; match(_t,USEUNDERLINE); _t = _t.getNextSibling(); break; } case VIEWAS: { AST __t1365 = _t; AST tmp214_AST_in = (AST)_t; match(_t,VIEWAS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DIALOGBOX: { AST __t1367 = _t; AST tmp215_AST_in = (AST)_t; match(_t,DIALOGBOX); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DIALOGHELP: { AST tmp216_AST_in = (AST)_t; match(_t,DIALOGHELP); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_4.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1367; _t = _t.getNextSibling(); break; } case MESSAGELINE: { AST tmp217_AST_in = (AST)_t; match(_t,MESSAGELINE); _t = _t.getNextSibling(); break; } case STATUSBAR: { AST tmp218_AST_in = (AST)_t; match(_t,STATUSBAR); _t = _t.getNextSibling(); break; } case TOOLBAR: { AST __t1370 = _t; AST tmp219_AST_in = (AST)_t; match(_t,TOOLBAR); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATTACHMENT: { AST tmp220_AST_in = (AST)_t; match(_t,ATTACHMENT); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TOP: { AST tmp221_AST_in = (AST)_t; match(_t,TOP); _t = _t.getNextSibling(); break; } case BOTTOM: { AST tmp222_AST_in = (AST)_t; match(_t,BOTTOM); _t = _t.getNextSibling(); break; } case LEFT: { AST tmp223_AST_in = (AST)_t; match(_t,LEFT); _t = _t.getNextSibling(); break; } case RIGHT: { AST tmp224_AST_in = (AST)_t; match(_t,RIGHT); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1370; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } _t = __t1365; _t = _t.getNextSibling(); break; } case WIDTH: { AST __t1373 = _t; AST tmp225_AST_in = (AST)_t; match(_t,WIDTH); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1373; _t = _t.getNextSibling(); break; } case IN_KW: { AST __t1374 = _t; AST tmp226_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp227_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1374; _t = _t.getNextSibling(); break; } case BGCOLOR: case COLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { colorspecification(_t); _t = _retTree; break; } case AT: { atphrase(_t); _t = _retTree; break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { sizephrase(_t); _t = _retTree; break; } case TITLE: { titlephrase(_t); _t = _retTree; break; } case With_columns: { AST __t1375 = _t; AST tmp228_AST_in = (AST)_t; match(_t,With_columns); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp229_AST_in = (AST)_t; match(_t,COLUMNS); _t = _t.getNextSibling(); _t = __t1375; _t = _t.getNextSibling(); break; } case With_down: { AST __t1376 = _t; AST tmp230_AST_in = (AST)_t; match(_t,With_down); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp231_AST_in = (AST)_t; match(_t,DOWN); _t = _t.getNextSibling(); _t = __t1376; _t = _t.getNextSibling(); break; } case DOWN: { AST tmp232_AST_in = (AST)_t; match(_t,DOWN); _t = _t.getNextSibling(); break; } case WIDGETID: { widget_id(_t); _t = _retTree; break; } case WITH: { AST tmp233_AST_in = (AST)_t; match(_t,WITH); _t = _t.getNextSibling(); break; } default: { break _loop1377; } } } while (true); } _t = __t1347; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2623, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2623, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3437, 9462, 273, 389, 88, 31, 202, 202, 9053, 1853, 29003, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9147, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 3437, 4700, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 18816, 2799, 1506, 1777, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 3437, 7616, 273, 389, 88, 31, 9506, 202, 9053, 1853, 23643, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 31414, 2799, 1506, 1777, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 95, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 9506, 202, 430, 14015, 67, 2316, 694, 67, 24, 18, 5990, 24899, 88, 18, 588, 559, 1435, 20349, 288, 6862, 202, 8692, 24899, 88, 1769, 6862, 202, 67, 88, 273, 389, 1349, 2471, 31, 9506, 202, 97, 9506, 202, 12107, 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, 2623, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2623, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3437, 9462, 273, 389, 88, 31, 202, 202, 9053, 1853, 29003, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9147, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 3437, 4700, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 2 ]