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
} else updateJob.cancel();
} else { updateJob.cancel(); }
public void decrementBusy(Job job) { synchronized (busyLock) { if (!busyJobs.contains(job)) return; busyJobs.remove(job); if (busyJobs.size() > 0) return; } if (PlatformUI.isWorkbenchRunning()) { updateJob.setBusy(false); updateJob.schedule(100); } else updateJob.cancel(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchSiteProgressService.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15267, 29289, 12, 2278, 1719, 13, 288, 3639, 3852, 261, 9274, 93, 2531, 13, 288, 5411, 309, 16051, 9274, 93, 7276, 18, 12298, 12, 4688, 3719, 7734, 327, 31, 5411, 21697, 7276, 18, 4479, 12, 4688, 1769, 5411, 309, 261, 9274, 93, 7276, 18, 1467, 1435, 405, 374, 13, 7734, 327, 31, 3639, 289, 3639, 309, 261, 8201, 5370, 18, 291, 2421, 22144, 7051, 10756, 288, 5411, 1089, 2278, 18, 542, 29289, 12, 5743, 1769, 5411, 1089, 2278, 18, 10676, 12, 6625, 1769, 3639, 289, 469, 5411, 1089, 2278, 18, 10996, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15267, 29289, 12, 2278, 1719, 13, 288, 3639, 3852, 261, 9274, 93, 2531, 13, 288, 5411, 309, 16051, 9274, 93, 7276, 18, 12298, 12, 4688, 3719, 7734, 327, 31, 5411, 21697, 7276, 18, 4479, 12, 4688, 1769, 5411, 309, 261, 9274, 93, 7276, 18, 1467, 1435, 405, 374, 13, 7734, 327, 31, 3639, 289, 3639, 309, 261, 8201, 5370, 18, 291, 2421, 22144, 7051, 10756, 288, 5411, 1089, 2278, 18, 542, 29289, 12, 5743, 1769, 5411, 1089, 2278, 18, 10676, 12, 6625, 1769, 3639, 289, 469, 5411, 1089, 2278, 18, 10996, 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 ]
mServer = Provisioning.getInstance().get(ServerBy.ID, serverId);
mServer = Provisioning.getInstance().get(ServerBy.id, serverId);
public ProxyTarget(String serverId, String authToken, HttpServletRequest req) throws ServiceException { mServer = Provisioning.getInstance().get(ServerBy.ID, serverId); if (mServer == null) throw AccountServiceException.NO_SUCH_SERVER(serverId); mAuthToken = authToken; String scheme; int port; int localAdminPort = Provisioning.getInstance().getLocalServer(). getIntAttr(Provisioning.A_zimbraAdminPort, 0); if (req.getServerPort() == localAdminPort) { scheme = "https"; port = mServer.getIntAttr(Provisioning.A_zimbraAdminPort, 0); if (port <= 0) throw ServiceException.FAILURE( "remote server " + mServer.getName() + " does not have admin port enabled", null); } else { port = mServer.getIntAttr(Provisioning.A_zimbraMailPort, 0); if (port > 0) { scheme = "http"; } else { scheme = "https"; port = mServer.getIntAttr(Provisioning.A_zimbraMailSSLPort, 0); if (port <= 0) throw ServiceException.FAILURE( "remote server " + mServer.getName() + " has neither http nor https port enabled", null); } } String hostname = mServer.getAttr(Provisioning.A_zimbraServiceHostname); StringBuffer url = new StringBuffer(scheme); url.append("://").append(hostname).append(':').append(port); url.append(req.getRequestURI()); String qs = req.getQueryString(); if (qs != null) url.append('?').append(qs); mURL = url.toString(); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/fd0f862d7df8ece6c184e0d4602c7c3b874e5623/ProxyTarget.java/buggy/ZimbraServer/src/java/com/zimbra/soap/ProxyTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7659, 2326, 12, 780, 28638, 16, 514, 24050, 16, 9984, 1111, 13, 1216, 16489, 288, 3639, 312, 2081, 273, 26423, 18, 588, 1442, 7675, 588, 12, 2081, 858, 18, 350, 16, 28638, 1769, 3639, 309, 261, 81, 2081, 422, 446, 13, 5411, 604, 6590, 15133, 18, 3417, 67, 19958, 67, 4370, 12, 3567, 548, 1769, 3639, 312, 28967, 273, 24050, 31, 3639, 514, 4355, 31, 3639, 509, 1756, 31, 3639, 509, 1191, 4446, 2617, 273, 26423, 18, 588, 1442, 7675, 588, 2042, 2081, 7675, 5411, 8145, 3843, 12, 17485, 18, 37, 67, 94, 381, 15397, 4446, 2617, 16, 374, 1769, 3639, 309, 261, 3658, 18, 588, 2081, 2617, 1435, 422, 1191, 4446, 2617, 13, 288, 5411, 4355, 273, 315, 4528, 14432, 5411, 1756, 273, 312, 2081, 18, 588, 1702, 3843, 12, 17485, 18, 37, 67, 94, 381, 15397, 4446, 2617, 16, 374, 1769, 5411, 309, 261, 655, 1648, 374, 13, 7734, 604, 16489, 18, 17623, 12, 13491, 315, 7222, 1438, 315, 397, 312, 2081, 18, 17994, 1435, 397, 13491, 315, 1552, 486, 1240, 3981, 1756, 3696, 3113, 446, 1769, 3639, 289, 469, 288, 5411, 1756, 273, 312, 2081, 18, 588, 1702, 3843, 12, 17485, 18, 37, 67, 94, 381, 15397, 6759, 2617, 16, 374, 1769, 5411, 309, 261, 655, 405, 374, 13, 288, 7734, 4355, 273, 315, 2505, 14432, 5411, 289, 469, 288, 7734, 4355, 273, 315, 4528, 14432, 7734, 1756, 273, 312, 2081, 18, 588, 1702, 3843, 12, 17485, 18, 37, 67, 94, 381, 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, 7659, 2326, 12, 780, 28638, 16, 514, 24050, 16, 9984, 1111, 13, 1216, 16489, 288, 3639, 312, 2081, 273, 26423, 18, 588, 1442, 7675, 588, 12, 2081, 858, 18, 350, 16, 28638, 1769, 3639, 309, 261, 81, 2081, 422, 446, 13, 5411, 604, 6590, 15133, 18, 3417, 67, 19958, 67, 4370, 12, 3567, 548, 1769, 3639, 312, 28967, 273, 24050, 31, 3639, 514, 4355, 31, 3639, 509, 1756, 31, 3639, 509, 1191, 4446, 2617, 273, 26423, 18, 588, 1442, 7675, 588, 2042, 2081, 7675, 5411, 8145, 3843, 12, 17485, 18, 37, 67, 94, 381, 15397, 4446, 2617, 16, 374, 1769, 3639, 309, 261, 3658, 18, 588, 2081, 2617, 1435, 422, 1191, 4446, 2617, 13, 288, 5411, 4355, 2 ]
protected void loadSystemColors(int systemColors[]) { }
protected void loadSystemColors(int systemColors[]) { }
protected void loadSystemColors(int systemColors[]) { // XXX Implement. }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c2a519140737c4d249f6c5d568256db2030112e9/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1262, 3163, 12570, 12, 474, 2619, 12570, 63, 5717, 225, 288, 565, 368, 11329, 10886, 18, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1262, 3163, 12570, 12, 474, 2619, 12570, 63, 5717, 225, 288, 565, 368, 11329, 10886, 18, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (game.getPhase() == Game.PHASE_DEPLOYMENT) {
} else if (game.getPhase() == IGame.PHASE_DEPLOYMENT) {
protected void calculateMyTurn() { try { if (game.getPhase() == Game.PHASE_MOVEMENT) { MovePath mp = null; if (game.getTurn() instanceof GameTurn.SpecificEntityTurn) { GameTurn.SpecificEntityTurn turn = (GameTurn.SpecificEntityTurn) game.getTurn(); Entity mustMove = game.getEntity(turn.getEntityNum()); mp = continueMovementFor(mustMove); } else { mp = calculateMoveTurn(); } moveEntity(mp.getEntity().getId(), mp); } else if (game.getPhase() == Game.PHASE_FIRING) { if (game.getTurn() instanceof GameTurn.SpecificEntityTurn) { GameTurn.SpecificEntityTurn turn = (GameTurn.SpecificEntityTurn) game.getTurn(); MovePath mp = continueMovementFor(game.getEntity(turn.getEntityNum())); moveEntity(mp.getEntity().getId(), mp); } calculateFiringTurn(); } else if (game.getPhase() == Game.PHASE_PHYSICAL) { PhysicalOption po = calculatePhysicalTurn(); // Bug #1072137: don't crash if the bot can't find a physical. if (null != po) { sendAttackData(po.attacker.getId(), po.getVector()); } else { // Send a "no attack" to clear the game turn, if any. sendAttackData( getLocalPlayer().getId(), new Vector(0) ); } } else if (game.getPhase() == Game.PHASE_DEPLOYMENT) { calculateDeployment(); } else if (game.getPhase() == Game.PHASE_DEPLOY_MINEFIELDS) { Vector mines = calculateMinefieldDeployment(); for (int i = 0; i < mines.size(); i++) { game.addMinefield((Minefield)mines.elementAt(i)); } sendDeployMinefields(mines); sendPlayerInfo(); } } catch (Throwable t) { t.printStackTrace(); } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/f76b85e1165e7f2dc730b78b34cf2b925d97622d/BotClient.java/clean/megamek/src/megamek/client/bot/BotClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4604, 12062, 15858, 1435, 288, 3639, 775, 288, 5411, 309, 261, 13957, 18, 588, 11406, 1435, 422, 14121, 18, 8939, 4429, 67, 16537, 3212, 13, 288, 7734, 9933, 743, 6749, 273, 446, 31, 7734, 309, 261, 13957, 18, 588, 15858, 1435, 1276, 14121, 15858, 18, 9969, 1943, 15858, 13, 288, 10792, 14121, 15858, 18, 9969, 1943, 15858, 7005, 273, 261, 12496, 15858, 18, 9969, 1943, 15858, 13, 7920, 18, 588, 15858, 5621, 10792, 3887, 1297, 7607, 273, 7920, 18, 588, 1943, 12, 20922, 18, 588, 1943, 2578, 10663, 10792, 6749, 273, 1324, 49, 26140, 1290, 12, 11926, 7607, 1769, 7734, 289, 469, 288, 10792, 6749, 273, 4604, 7607, 15858, 5621, 7734, 289, 7734, 3635, 1943, 12, 1291, 18, 588, 1943, 7675, 26321, 9334, 6749, 1769, 5411, 289, 469, 309, 261, 13957, 18, 588, 11406, 1435, 422, 14121, 18, 8939, 4429, 67, 1653, 54, 1360, 13, 288, 7734, 309, 261, 13957, 18, 588, 15858, 1435, 1276, 14121, 15858, 18, 9969, 1943, 15858, 13, 288, 10792, 14121, 15858, 18, 9969, 1943, 15858, 7005, 273, 261, 12496, 15858, 18, 9969, 1943, 15858, 13, 7920, 18, 588, 15858, 5621, 10792, 9933, 743, 6749, 273, 1324, 49, 26140, 1290, 12, 13957, 18, 588, 1943, 12, 20922, 18, 588, 1943, 2578, 1435, 10019, 10792, 3635, 1943, 12, 1291, 18, 588, 1943, 7675, 26321, 9334, 6749, 1769, 7734, 289, 7734, 4604, 42, 11256, 15858, 5621, 5411, 289, 469, 309, 261, 13957, 18, 588, 11406, 1435, 422, 14121, 18, 8939, 4429, 67, 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, 918, 4604, 12062, 15858, 1435, 288, 3639, 775, 288, 5411, 309, 261, 13957, 18, 588, 11406, 1435, 422, 14121, 18, 8939, 4429, 67, 16537, 3212, 13, 288, 7734, 9933, 743, 6749, 273, 446, 31, 7734, 309, 261, 13957, 18, 588, 15858, 1435, 1276, 14121, 15858, 18, 9969, 1943, 15858, 13, 288, 10792, 14121, 15858, 18, 9969, 1943, 15858, 7005, 273, 261, 12496, 15858, 18, 9969, 1943, 15858, 13, 7920, 18, 588, 15858, 5621, 10792, 3887, 1297, 7607, 273, 7920, 18, 588, 1943, 12, 20922, 18, 588, 1943, 2578, 10663, 10792, 6749, 273, 1324, 49, 26140, 1290, 12, 11926, 7607, 1769, 7734, 289, 469, 288, 10792, 6749, 273, 4604, 7607, 15858, 5621, 7734, 289, 7734, 3635, 1943, 12, 2 ]
getTestFixture().openDiagram(); assertNotNull("no drawing surface", getDrawSurfaceEditPart()); final List connectors = getConnectors(); final List shapes = getShapesIn(getDrawSurfaceEditPart()); final List all = new ArrayList() { { addAll(connectors); addAll(shapes); } }; getDiagramEditPart().getViewer().setSelection( new StructuredSelection(getDrawSurfaceEditPart())); SelectAllAction selectAction = SelectAllAction.createSelectAllAction(getWorkbenchPage()); testAction(selectAction, new ITestActionCallback() { public void onRunExecution() { List selectedParts = getDiagramEditPart().getViewer() .getSelectedEditParts(); assertTrue( all.containsAll(selectedParts) && selectedParts.containsAll(all)); } });
selectAll(getDrawSurfaceEditPart(), all);
public void testSelect() throws Exception { getTestFixture().openDiagram(); assertNotNull("no drawing surface", getDrawSurfaceEditPart()); //$NON-NLS-1$ final List connectors = getConnectors(); final List shapes = getShapesIn(getDrawSurfaceEditPart()); final List all = new ArrayList() { { addAll(connectors); addAll(shapes); } }; // test select all // // prime the selecttion action to perform the selection within getDrawSurfaceEditPart() getDiagramEditPart().getViewer().setSelection( new StructuredSelection(getDrawSurfaceEditPart())); SelectAllAction selectAction = SelectAllAction.createSelectAllAction(getWorkbenchPage()); testAction(selectAction, new ITestActionCallback() { public void onRunExecution() { List selectedParts = getDiagramEditPart().getViewer() .getSelectedEditParts(); assertTrue( all.containsAll(selectedParts) && selectedParts.containsAll(all)); } }); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/149a3da015107445abe6fb823bcf4b013b253552/AbstractDiagramTests.java/buggy/org.eclipse.gmf.runtime/tests/org.eclipse.gmf.tests.runtime.diagram.ui/src/org/eclipse/gmf/tests/runtime/diagram/ui/AbstractDiagramTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3391, 1435, 1216, 1185, 288, 9506, 202, 588, 4709, 26392, 7675, 3190, 14058, 1940, 5621, 202, 202, 11231, 5962, 2932, 2135, 16327, 9034, 3113, 2343, 1899, 11508, 4666, 1988, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 6385, 987, 28473, 273, 336, 7487, 87, 5621, 202, 202, 6385, 987, 14736, 273, 7932, 7315, 382, 12, 588, 6493, 11508, 4666, 1988, 10663, 202, 202, 6385, 987, 777, 273, 394, 2407, 1435, 288, 1082, 202, 95, 9506, 202, 1289, 1595, 12, 4646, 18886, 1769, 9506, 202, 1289, 1595, 12, 17648, 1769, 1082, 202, 97, 202, 202, 20451, 202, 202, 759, 1842, 2027, 777, 202, 202, 759, 202, 202, 759, 17014, 326, 2027, 24252, 1301, 358, 3073, 326, 4421, 3470, 2343, 1899, 11508, 4666, 1988, 1435, 202, 202, 588, 14058, 1940, 4666, 1988, 7675, 588, 18415, 7675, 542, 6233, 12, 1082, 202, 2704, 7362, 2862, 6233, 12, 588, 6493, 11508, 4666, 1988, 1435, 10019, 202, 202, 3391, 1595, 1803, 2027, 1803, 273, 1082, 202, 3391, 1595, 1803, 18, 2640, 3391, 1595, 1803, 12, 588, 2421, 22144, 1964, 10663, 202, 202, 3813, 1803, 12, 4025, 1803, 16, 394, 467, 4709, 1803, 2428, 1435, 288, 1082, 202, 482, 918, 603, 1997, 3210, 1435, 288, 9506, 202, 682, 3170, 4305, 273, 2343, 8852, 1940, 4666, 1988, 7675, 588, 18415, 1435, 6862, 202, 18, 588, 7416, 4666, 4305, 5621, 9506, 202, 11231, 5510, 12, 6862, 202, 454, 18, 12298, 1595, 12, 8109, 4305, 13, 25083, 202, 10, 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, 3391, 1435, 1216, 1185, 288, 9506, 202, 588, 4709, 26392, 7675, 3190, 14058, 1940, 5621, 202, 202, 11231, 5962, 2932, 2135, 16327, 9034, 3113, 2343, 1899, 11508, 4666, 1988, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 6385, 987, 28473, 273, 336, 7487, 87, 5621, 202, 202, 6385, 987, 14736, 273, 7932, 7315, 382, 12, 588, 6493, 11508, 4666, 1988, 10663, 202, 202, 6385, 987, 777, 273, 394, 2407, 1435, 288, 1082, 202, 95, 9506, 202, 1289, 1595, 12, 4646, 18886, 1769, 9506, 202, 1289, 1595, 12, 17648, 1769, 1082, 202, 97, 202, 202, 20451, 202, 202, 759, 1842, 2027, 777, 202, 202, 759, 202, 202, 759, 17014, 326, 2027, 24252, 1301, 2 ]
LayoutLinkData semantiLayoutLinkData = link.getSemanticLink();
LayoutLinkData semanticLayoutLinkData = link.getSemanticLink(); System.err.println("link is ..."+semanticLayoutLinkData.getID());
private void makeProperLink(GraphLayoutNode node,LayoutLink link,int i, HashSet newLinks) { // we know node is at i. GraphLayoutNode to = (GraphLayoutNode) link.getToNode(); //System.err.println("..link to "+to.getName()); int toLayer = to.getLayer(); if (toLayer == (i-1)) { // layer is correct newLinks.add(link); } else { // create new dummy node DummyNode dummy = new DummyNode(); //System.err.println("node is "+dummy); LayoutLinkData semantiLayoutLinkData = link.getSemanticLink(); // make this node point to "to" LayoutLink dummyOutLink = new LayoutLink(semantiLayoutLinkData,dummy,to); dummy.addSuccLink(dummyOutLink); // make node point to new node LayoutLink newOutLink = new LayoutLink(semantiLayoutLinkData,node,dummy); dummy.addPredLink(newOutLink); // add new link to links. newLinks.add(newOutLink); // remove successor from node // don't need to do this, as we set the successors of this node // en masse // adjust predecessors for to to.removePredLink(link); to.addPredLink(dummyOutLink); // add dummy to next layer. //System.err.println("adding a dummy node at layer"+(i-1)); //System.err.println("node is "+dummy); layering.addToLayer(i-1,dummy); // adjust the semantic link to put dummy in between "from" and "to". // invariant is that "from" is directly before "to", so just put it //after "from" semantiLayoutLinkData.addIntermediate(node,dummy); } }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/47793775b1a982f48137c979dfc13562fb727b52/LayoutChainData.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/data/layout/LayoutChainData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 626, 457, 2098, 12, 4137, 3744, 907, 756, 16, 3744, 2098, 1692, 16, 474, 277, 16, 202, 202, 13482, 394, 7100, 13, 288, 202, 202, 759, 732, 5055, 756, 353, 622, 277, 18, 9506, 202, 4137, 3744, 907, 358, 273, 261, 4137, 3744, 907, 13, 1692, 18, 588, 31403, 5621, 202, 202, 759, 3163, 18, 370, 18, 8222, 2932, 838, 1232, 358, 13773, 869, 18, 17994, 10663, 202, 202, 474, 358, 4576, 273, 358, 18, 588, 4576, 5621, 202, 202, 430, 261, 869, 4576, 422, 261, 77, 17, 21, 3719, 288, 1082, 202, 759, 3018, 353, 3434, 1082, 202, 2704, 7100, 18, 1289, 12, 1232, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 759, 752, 394, 9609, 756, 1082, 202, 20094, 907, 9609, 273, 394, 28622, 907, 5621, 1082, 202, 759, 3163, 18, 370, 18, 8222, 2932, 2159, 353, 13773, 21050, 1769, 1082, 202, 3744, 2098, 751, 6111, 970, 77, 3744, 2098, 751, 273, 1692, 18, 588, 13185, 9941, 2098, 5621, 1082, 202, 759, 1221, 333, 756, 1634, 358, 315, 869, 6, 1082, 202, 3744, 2098, 9609, 1182, 2098, 273, 394, 9995, 2098, 12, 12000, 970, 77, 3744, 2098, 751, 16, 21050, 16, 869, 1769, 1082, 202, 21050, 18, 1289, 17072, 952, 2098, 12, 21050, 1182, 2098, 1769, 25083, 202, 759, 1221, 756, 1634, 358, 394, 756, 1082, 202, 3744, 2098, 394, 1182, 2098, 273, 394, 9995, 2098, 12, 12000, 970, 77, 3744, 2098, 751, 16, 2159, 16, 21050, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 626, 457, 2098, 12, 4137, 3744, 907, 756, 16, 3744, 2098, 1692, 16, 474, 277, 16, 202, 202, 13482, 394, 7100, 13, 288, 202, 202, 759, 732, 5055, 756, 353, 622, 277, 18, 9506, 202, 4137, 3744, 907, 358, 273, 261, 4137, 3744, 907, 13, 1692, 18, 588, 31403, 5621, 202, 202, 759, 3163, 18, 370, 18, 8222, 2932, 838, 1232, 358, 13773, 869, 18, 17994, 10663, 202, 202, 474, 358, 4576, 273, 358, 18, 588, 4576, 5621, 202, 202, 430, 261, 869, 4576, 422, 261, 77, 17, 21, 3719, 288, 1082, 202, 759, 3018, 353, 3434, 1082, 202, 2704, 7100, 18, 1289, 12, 1232, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 2 ]
super(exclusive ? Constants.NODE_DOT3 : Constants.NODE_DOT2, beginNode, endNode, null); this.exclusive = exclusive; }
super(exclusive ? Constants.NODE_DOT3 : Constants.NODE_DOT2, beginNode, endNode, null); this.exclusive = exclusive; }
public DotNode(Node beginNode, Node endNode, boolean exclusive) { super(exclusive ? Constants.NODE_DOT3 : Constants.NODE_DOT2, beginNode, endNode, null); this.exclusive = exclusive; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/3b95e6f239598e8fb886e0afdcc7358c9a96d8de/DotNode.java/clean/org/jruby/nodes/DotNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17502, 907, 12, 907, 2376, 907, 16, 2029, 679, 907, 16, 1250, 12060, 13, 288, 3639, 2240, 12, 23792, 692, 5245, 18, 8744, 67, 17591, 23, 294, 5245, 18, 8744, 67, 17591, 22, 16, 2376, 907, 16, 679, 907, 16, 446, 1769, 3639, 333, 18, 23792, 273, 12060, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17502, 907, 12, 907, 2376, 907, 16, 2029, 679, 907, 16, 1250, 12060, 13, 288, 3639, 2240, 12, 23792, 692, 5245, 18, 8744, 67, 17591, 23, 294, 5245, 18, 8744, 67, 17591, 22, 16, 2376, 907, 16, 679, 907, 16, 446, 1769, 3639, 333, 18, 23792, 273, 12060, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private static int scanHexSequence (String sequence, int index, int end) {
private static int scanHexSequence (String address, int index, int end, int [] counter) {
private static int scanHexSequence (String sequence, int index, int end) { char testChar; int numDigits = 0; int start = index; // Trying to match the following productions: // hexseq = hex4 *( ":" hex4) // hex4 = 1*4HEXDIG for (; index < end; ++index) { testChar = sequence.charAt(index); if (testChar == ':') { if (numDigits == 0 || ((index+1 < end) && sequence.charAt(index+1) == ':')) { return index; } numDigits = 0; } // This might be invalid or an IPv4address. If it's potentially an IPv4address, // backup to the ':' before the first hex digit in this group. else if (!isHex(testChar)) { int back = index - numDigits - 1; return (testChar == '.' && numDigits < 4 && numDigits > 0 && back >= start && sequence.charAt(back) == ':') ? back : -1; } // There can be at most 4 hex digits per group. else if (++numDigits > 4) { return -1; } } return (numDigits > 0) ? end : -1; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/da200a5bddc2b18e73e477041cb50a4a6ef968c2/URI.java/buggy/src/org/apache/xerces/util/URI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 4135, 7037, 4021, 261, 780, 1758, 16, 509, 770, 16, 509, 679, 16, 509, 5378, 3895, 13, 288, 21114, 1377, 1149, 1842, 2156, 31, 1377, 509, 818, 9537, 273, 374, 31, 1377, 509, 787, 273, 770, 31, 5411, 368, 6161, 310, 358, 845, 326, 3751, 12449, 87, 30, 1377, 368, 3827, 5436, 273, 3827, 24, 380, 12, 6153, 3827, 24, 13, 1377, 368, 3827, 24, 282, 273, 404, 14, 24, 20661, 21243, 1377, 364, 261, 31, 770, 411, 679, 31, 965, 1615, 13, 288, 4202, 202, 3813, 2156, 273, 3102, 18, 3001, 861, 12, 1615, 1769, 4202, 202, 430, 261, 3813, 2156, 422, 3921, 13, 288, 4202, 202, 565, 309, 261, 2107, 9537, 422, 374, 747, 14015, 1615, 15, 21, 411, 679, 13, 597, 3102, 18, 3001, 861, 12, 1615, 15, 21, 13, 422, 3921, 3719, 288, 4202, 202, 3639, 327, 770, 31, 4202, 202, 565, 289, 4202, 202, 565, 818, 9537, 273, 374, 31, 3639, 289, 3639, 368, 1220, 4825, 506, 2057, 578, 392, 7853, 24, 2867, 18, 971, 518, 1807, 13935, 392, 7853, 24, 2867, 16, 3639, 368, 5114, 358, 326, 3921, 1865, 326, 1122, 3827, 8035, 316, 333, 1041, 18, 3639, 469, 309, 16051, 291, 7037, 12, 3813, 2156, 3719, 288, 5411, 509, 1473, 273, 770, 300, 818, 9537, 300, 404, 31, 5411, 327, 261, 3813, 2156, 422, 2611, 597, 818, 9537, 411, 1059, 597, 818, 9537, 405, 374, 10792, 597, 1473, 1545, 787, 597, 3102, 18, 3001, 861, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 4135, 7037, 4021, 261, 780, 1758, 16, 509, 770, 16, 509, 679, 16, 509, 5378, 3895, 13, 288, 21114, 1377, 1149, 1842, 2156, 31, 1377, 509, 818, 9537, 273, 374, 31, 1377, 509, 787, 273, 770, 31, 5411, 368, 6161, 310, 358, 845, 326, 3751, 12449, 87, 30, 1377, 368, 3827, 5436, 273, 3827, 24, 380, 12, 6153, 3827, 24, 13, 1377, 368, 3827, 24, 282, 273, 404, 14, 24, 20661, 21243, 1377, 364, 261, 31, 770, 411, 679, 31, 965, 1615, 13, 288, 4202, 202, 3813, 2156, 273, 3102, 18, 3001, 861, 12, 1615, 1769, 4202, 202, 430, 261, 3813, 2156, 422, 3921, 13, 288, 4202, 202, 565, 309, 261, 2107, 9537, 422, 374, 2 ]
cmpDropDown.getParent( ).dispose( );
cmpDropDown.getShell( ).close( );
public void widgetSelected( SelectionEvent e ) { Object oSource = e.getSource( ); if ( oSource.equals( btnDown ) ) { fireHandleEvent( MOUSE_CLICKED_EVENT ); toggleDropDown( ); } else if ( oSource.equals( this.btnImage ) ) { ImageDialog idlg = new ImageDialog( this.getShell( ), fCurrent ); cmpDropDown.getParent( ).dispose( ); if ( idlg.open( ) == Window.OK ) { Fill imgFill = idlg.getResult( ); if ( imgFill != null ) { addAdapters( imgFill ); this.setFill( imgFill ); fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); } } } else if ( oSource.equals( this.btnReset ) ) { this.setFill( ColorDefinitionImpl.TRANSPARENT( ) ); fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); cmpDropDown.getShell( ).dispose( ); } else if ( oSource.equals( this.btnAuto ) ) { setFill( null ); fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); cmpDropDown.getShell( ).dispose( ); } else if ( oSource.equals( this.btnCustom ) ) { ColorDialog cDlg = new ColorDialog( this.getShell( ), SWT.NONE ); cmpDropDown.getParent( ).dispose( ); int iTrans = 255; if ( fCurrent instanceof ColorDefinition ) { if ( !fCurrent.equals( ColorDefinitionImpl.TRANSPARENT( ) ) ) { iTransparency = ( (ColorDefinition) fCurrent ).getTransparency( ); } cDlg.setRGB( new RGB( ( (ColorDefinition) this.fCurrent ).getRed( ), ( (ColorDefinition) this.fCurrent ).getGreen( ), ( (ColorDefinition) this.fCurrent ).getBlue( ) ) ); } RGB rgb = cDlg.open( ); if ( rgb != null ) { ColorDefinition cdNew = AttributeFactory.eINSTANCE.createColorDefinition( ); cdNew.set( rgb.red, rgb.green, rgb.blue ); cdNew.setTransparency( bTransparencyChanged ? this.iTransparency : iTrans ); addAdapters( cdNew ); this.setFill( cdNew ); fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); } } else if ( oSource.equals( this.btnGradient ) ) { GradientEditorDialog ged = null; cmpDropDown.getParent( ).dispose( ); if ( fCurrent instanceof Gradient ) { ged = new GradientEditorDialog( this.getShell( ), wizardContext, (Gradient) fCurrent ); } else if ( fCurrent instanceof ColorDefinition ) { ColorDefinition newCD = (ColorDefinition) EcoreUtil.copy( fCurrent ); newCD.eAdapters( ).addAll( fCurrent.eAdapters( ) ); ged = new GradientEditorDialog( this.getShell( ), wizardContext, null, newCD ); } else { ged = new GradientEditorDialog( this.getShell( ), wizardContext, null ); } if ( ged.getGradient( ) != null ) { Fill fTmp = ged.getGradient( ); addAdapters( fTmp ); if ( fCurrent == null || !( fCurrent.equals( fTmp ) ) ) { this.setFill( fTmp ); fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); } } } else if ( oSource.equals( srTransparency ) ) { iTransparency = srTransparency.getSelection( ); lblTransparency.setText( new MessageFormat( Messages.getString( "FillChooserComposite.Lbl.Opacity" ) ) //$NON-NLS-1$ .format( new Object[]{ new Integer( iTransparency ) } ) ); srTransparency.setToolTipText( String.valueOf( srTransparency.getSelection( ) ) ); if ( fCurrent instanceof ColorDefinition ) { ( (ColorDefinition) fCurrent ).setTransparency( iTransparency ); } setFill( fCurrent ); bTransparencyChanged = true; fireHandleEvent( FillChooserComposite.FILL_CHANGED_EVENT ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/8cc82cc45cfffb78afa9d75c1f95bbef888b491e/FillChooserComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillChooserComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 921, 320, 1830, 273, 425, 18, 588, 1830, 12, 11272, 202, 202, 430, 261, 320, 1830, 18, 14963, 12, 10638, 4164, 262, 262, 202, 202, 95, 1082, 202, 12179, 3259, 1133, 12, 16070, 8001, 67, 7697, 3507, 2056, 67, 10454, 11272, 1082, 202, 14401, 7544, 4164, 12, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 320, 1830, 18, 14963, 12, 333, 18, 11898, 2040, 262, 262, 202, 202, 95, 1082, 202, 2040, 6353, 612, 23623, 273, 394, 3421, 6353, 12, 333, 18, 588, 13220, 12, 262, 16, 284, 3935, 11272, 1082, 202, 9625, 7544, 4164, 18, 588, 3054, 12, 262, 18, 2251, 4150, 12, 11272, 1082, 202, 430, 261, 612, 23623, 18, 3190, 12, 262, 422, 6076, 18, 3141, 262, 1082, 202, 95, 9506, 202, 8026, 3774, 8026, 273, 612, 23623, 18, 588, 1253, 12, 11272, 9506, 202, 430, 261, 3774, 8026, 480, 446, 262, 9506, 202, 95, 6862, 202, 1289, 26620, 12, 3774, 8026, 11272, 6862, 202, 2211, 18, 542, 8026, 12, 3774, 8026, 11272, 6862, 202, 12179, 3259, 1133, 12, 14192, 17324, 9400, 18, 29818, 67, 24435, 67, 10454, 11272, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 320, 1830, 18, 14963, 12, 333, 18, 11898, 7013, 262, 262, 202, 202, 95, 1082, 202, 2211, 18, 542, 8026, 12, 5563, 1852, 2828, 18, 8989, 3118, 37, 7480, 12, 262, 11272, 1082, 202, 12179, 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, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 921, 320, 1830, 273, 425, 18, 588, 1830, 12, 11272, 202, 202, 430, 261, 320, 1830, 18, 14963, 12, 10638, 4164, 262, 262, 202, 202, 95, 1082, 202, 12179, 3259, 1133, 12, 16070, 8001, 67, 7697, 3507, 2056, 67, 10454, 11272, 1082, 202, 14401, 7544, 4164, 12, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 320, 1830, 18, 14963, 12, 333, 18, 11898, 2040, 262, 262, 202, 202, 95, 1082, 202, 2040, 6353, 612, 23623, 273, 394, 3421, 6353, 12, 333, 18, 588, 13220, 12, 262, 16, 284, 3935, 11272, 1082, 202, 9625, 7544, 4164, 18, 588, 3054, 12, 262, 18, 2251, 4150, 2 ]
CategoryDefinition castedObject = (CategoryDefinition) object; boolean equals = true; equals &= Util.equals(id, castedObject.id); equals &= Util.equals(name, castedObject.name); equals &= Util.equals(sourceId, castedObject.sourceId); return equals;
final CategoryDefinition castedObject = (CategoryDefinition) object; if (!Util.equals(id, castedObject.id)) { return false; } if (!Util.equals(name, castedObject.name)) { return false; } return Util.equals(sourceId, castedObject.sourceId);
public boolean equals(Object object) { if (!(object instanceof CategoryDefinition)) return false; CategoryDefinition castedObject = (CategoryDefinition) object; boolean equals = true; equals &= Util.equals(id, castedObject.id); equals &= Util.equals(name, castedObject.name); equals &= Util.equals(sourceId, castedObject.sourceId); return equals; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/93a9ee73087009b29275c4fd77412f1b5a0354e8/CategoryDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/CategoryDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 733, 13, 288, 3639, 309, 16051, 12, 1612, 1276, 9856, 1852, 3719, 5411, 327, 629, 31, 3639, 9856, 1852, 4812, 23016, 273, 261, 4457, 1852, 13, 733, 31, 3639, 1250, 1606, 273, 638, 31, 3639, 1606, 12058, 3564, 18, 14963, 12, 350, 16, 4812, 23016, 18, 350, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 529, 16, 4812, 23016, 18, 529, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 3168, 548, 16, 4812, 23016, 18, 3168, 548, 1769, 3639, 327, 1606, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 733, 13, 288, 3639, 309, 16051, 12, 1612, 1276, 9856, 1852, 3719, 5411, 327, 629, 31, 3639, 9856, 1852, 4812, 23016, 273, 261, 4457, 1852, 13, 733, 31, 3639, 1250, 1606, 273, 638, 31, 3639, 1606, 12058, 3564, 18, 14963, 12, 350, 16, 4812, 23016, 18, 350, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 529, 16, 4812, 23016, 18, 529, 1769, 3639, 1606, 12058, 3564, 18, 14963, 12, 3168, 548, 16, 4812, 23016, 18, 3168, 548, 1769, 3639, 327, 1606, 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 ]
this.aggregations = new ArrayList();
AggregationManager() { this.aggregations = new ArrayList(); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/c4f321234fb770039c1d9b8397c8ac368d1ac5b1/AggregationManager.java/clean/src/main/mondrian/rolap/agg/AggregationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 12089, 1318, 1435, 202, 95, 202, 202, 2211, 18, 10751, 1012, 273, 394, 2407, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 12089, 1318, 1435, 202, 95, 202, 202, 2211, 18, 10751, 1012, 273, 394, 2407, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.debug("Key has Been Cancelled: "+e);
log.debug("Key has Been Cancelled: " + e);
public void run() { try { log.debug("Selector Work thread has started."); log.debug("Selector Manager timeout: "+timeout); while (running) { try { synchronized (guard) { /* do nothing */ log.trace("Waiting for selector to return."); } if (selector.select(timeout) == 0) continue; // Get a java.util.Set containing the SelectionKey objects for // all channels that are ready for I/O. Set keys = selector.selectedKeys(); // Use a java.util.Iterator to loop through the selected keys for (Iterator i = keys.iterator(); i.hasNext();) { final SelectionKey key = (SelectionKey) i.next(); if (key.isReadable()) { log.trace("-OP_READ " + key); key.interestOps(key.interestOps() & (~SelectionKey.OP_READ)); } if (key.isWritable()) { log.trace("-OP_WRITE " + key); key.interestOps(key.interestOps() & (~SelectionKey.OP_WRITE)); } if (key.isAcceptable()) { log.trace("-OP_ACCEPT " + key); key.interestOps(key.interestOps() & (~SelectionKey.OP_ACCEPT)); } threadPool.getWorkManager().execute(new Runnable() { public void run() { try { ((SelectionEventListner) key.attachment()).selectionEvent(key); } catch (Throwable e) { log.trace("Request Failed.", e); } } }); i.remove(); // Remove the key from the set of selected keys } } catch (CancelledKeyException e) { log.debug("Key has Been Cancelled: "+e); } } } catch (IOException e) { log.warn("IOException occured.", e); } catch (InterruptedException e) { log.debug("Selector Work thread has been interrupted."); } finally { log.debug("Selector Work thread has stopped."); } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/18274ca8c7682e420ee5318b40e081226be4a40e/SelectorManager.java/clean/modules/network/src/java/org/apache/geronimo/network/SelectorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 775, 288, 5411, 613, 18, 4148, 2932, 4320, 4147, 2650, 711, 5746, 1199, 1769, 5411, 613, 18, 4148, 2932, 4320, 8558, 2021, 30, 13773, 4538, 1769, 5411, 1323, 261, 8704, 13, 288, 7734, 775, 288, 10792, 3852, 261, 24594, 13, 288, 1748, 741, 5083, 1195, 13491, 613, 18, 5129, 2932, 15946, 364, 3451, 358, 327, 1199, 1769, 10792, 289, 10792, 309, 261, 9663, 18, 4025, 12, 4538, 13, 422, 374, 13, 1324, 31, 10792, 368, 968, 279, 2252, 18, 1367, 18, 694, 4191, 326, 12977, 653, 2184, 364, 10792, 368, 777, 5750, 716, 854, 5695, 364, 467, 19, 51, 18, 10792, 1000, 1311, 273, 3451, 18, 8109, 2396, 5621, 10792, 368, 2672, 279, 2252, 18, 1367, 18, 3198, 358, 2798, 3059, 326, 3170, 1311, 10792, 364, 261, 3198, 277, 273, 1311, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 13491, 727, 12977, 653, 498, 273, 261, 6233, 653, 13, 277, 18, 4285, 5621, 13491, 309, 261, 856, 18, 291, 14151, 10756, 288, 18701, 613, 18, 5129, 2932, 17, 3665, 67, 6949, 315, 397, 498, 1769, 18701, 498, 18, 2761, 395, 8132, 12, 856, 18, 2761, 395, 8132, 1435, 473, 261, 98, 6233, 653, 18, 3665, 67, 6949, 10019, 13491, 289, 13491, 309, 261, 856, 18, 291, 12061, 10756, 288, 18701, 613, 18, 5129, 2932, 17, 3665, 67, 11677, 315, 397, 498, 1769, 18701, 498, 18, 2761, 395, 8132, 12, 856, 18, 2761, 395, 8132, 1435, 473, 261, 98, 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, 1086, 1435, 288, 3639, 775, 288, 5411, 613, 18, 4148, 2932, 4320, 4147, 2650, 711, 5746, 1199, 1769, 5411, 613, 18, 4148, 2932, 4320, 8558, 2021, 30, 13773, 4538, 1769, 5411, 1323, 261, 8704, 13, 288, 7734, 775, 288, 10792, 3852, 261, 24594, 13, 288, 1748, 741, 5083, 1195, 13491, 613, 18, 5129, 2932, 15946, 364, 3451, 358, 327, 1199, 1769, 10792, 289, 10792, 309, 261, 9663, 18, 4025, 12, 4538, 13, 422, 374, 13, 1324, 31, 10792, 368, 968, 279, 2252, 18, 1367, 18, 694, 4191, 326, 12977, 653, 2184, 364, 10792, 368, 777, 5750, 716, 854, 5695, 364, 467, 19, 51, 18, 10792, 1000, 1311, 273, 3451, 18, 8109, 2396, 5621, 10792, 368, 2672, 2 ]
public long getFrequency() {
public long getFrequency() {
public long getFrequency() { return frequency; }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/5469dd005aa4f69700fdbd3782117cce20e16533/PollingMessageReceiver.java/buggy/mule/src/java/org/mule/providers/PollingMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 2812, 5663, 1435, 565, 288, 3639, 327, 8670, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1525, 2812, 5663, 1435, 565, 288, 3639, 327, 8670, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 parent;
return parentProperty;
public SimpleScriptable jsGet_parent() { final SimpleScriptable parent; if( webWindow_ instanceof TopLevelWindow ) { parent = this; } else { final WebWindow parentWebWindow = ((HtmlElement)webWindow_).getPage().getEnclosingWindow(); parent = (SimpleScriptable)parentWebWindow.getScriptObject(); } return parent; }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/9e2c60a8ce0b582fbbf2238c9a9dc2cbd63ff15a/Window.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4477, 3651, 429, 3828, 967, 67, 2938, 1435, 288, 3639, 727, 4477, 3651, 429, 982, 31, 3639, 309, 12, 3311, 3829, 67, 1276, 7202, 2355, 3829, 262, 288, 5411, 982, 273, 333, 31, 3639, 289, 3639, 469, 288, 5411, 727, 2999, 3829, 982, 4079, 3829, 7734, 273, 14015, 4353, 1046, 13, 4875, 3829, 67, 2934, 588, 1964, 7675, 588, 21594, 3829, 5621, 5411, 982, 273, 261, 5784, 3651, 429, 13, 2938, 4079, 3829, 18, 588, 3651, 921, 5621, 3639, 289, 3639, 327, 982, 1396, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4477, 3651, 429, 3828, 967, 67, 2938, 1435, 288, 3639, 727, 4477, 3651, 429, 982, 31, 3639, 309, 12, 3311, 3829, 67, 1276, 7202, 2355, 3829, 262, 288, 5411, 982, 273, 333, 31, 3639, 289, 3639, 469, 288, 5411, 727, 2999, 3829, 982, 4079, 3829, 7734, 273, 14015, 4353, 1046, 13, 4875, 3829, 67, 2934, 588, 1964, 7675, 588, 21594, 3829, 5621, 5411, 982, 273, 261, 5784, 3651, 429, 13, 2938, 4079, 3829, 18, 588, 3651, 921, 5621, 3639, 289, 3639, 327, 982, 1396, 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 ]
} else { if(simpleTypeChild != null && !referredTo) reportGenericSchemaError("Attribute declarations may not contain both a type and a simpleType declaration"); String prefix = ""; localpart = datatype; dataTypeSymbol = fStringPool.addSymbol(localpart); int colonptr = datatype.indexOf(":");
} else if (datatypeStr.length() != 0) { dataTypeSymbol = fStringPool.addSymbol(datatypeStr); String prefix; int colonptr = datatypeStr.indexOf(":");
private int traverseAttributeDecl( Element attrDecl, ComplexTypeInfo typeInfo, boolean referredTo ) throws Exception { String attNameStr = attrDecl.getAttribute(SchemaSymbols.ATT_NAME); int attName = fStringPool.addSymbol(attNameStr);// attribute name String isQName = attrDecl.getAttribute(SchemaSymbols.ATT_FORM);//form attribute boolean isAttrTopLevel = isTopLevel(attrDecl); DatatypeValidator dv = null; // attribute type int attType = -1; boolean attIsList = false; int dataTypeSymbol = -1; String ref = attrDecl.getAttribute(SchemaSymbols.ATT_REF); String datatype = attrDecl.getAttribute(SchemaSymbols.ATT_TYPE); // various tests if 'ref' is present: if(!ref.equals("")) { if(isAttrTopLevel) // REVISIT: localize reportGenericSchemaError ( "An attribute with \"ref\" present must not have <schema> as its parent"); if(!attNameStr.equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute " + attNameStr + " cannot refer to another attribute, but it refers to " + ref); if(!datatype.equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute with reference " + ref + " cannot also contain a type"); if(!attrDecl.getAttribute(SchemaSymbols.ATT_FORM).equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute with reference " + ref + " cannot also contain a \"form\" property"); if(!attrDecl.getAttribute(SchemaSymbols.ATT_VALUE).equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute with reference " + ref + " cannot also contain a value"); } Element simpleTypeChild = findAttributeSimpleType(attrDecl); String localpart = null; String use = attrDecl.getAttribute(SchemaSymbols.ATT_USE); boolean prohibited = use.equals(SchemaSymbols.ATTVAL_PROHIBITED); boolean required = use.equals(SchemaSymbols.ATTVAL_REQUIRED); if (!ref.equals("")) { if(simpleTypeChild != null) // REVISIT: localize reportGenericSchemaError ( "an attribute with ref present cannot contain a simpleType"); String prefix = ""; localpart = ref; int colonptr = ref.indexOf(":"); if ( colonptr > 0) { prefix = ref.substring(0,colonptr); localpart = ref.substring(colonptr+1); } String uriStr = resolvePrefixToURI(prefix); if (!uriStr.equals(fTargetNSURIString)) { addAttributeDeclFromAnotherSchema(localpart, uriStr, typeInfo); return -1; } Element referredAttribute = getTopLevelComponentByName(SchemaSymbols.ELT_ATTRIBUTE,localpart); if (referredAttribute != null) { if (typeInfo != null) { // don't need to traverse ref'd attribute if we're global; just make sure it's there... traverseAttributeDecl(referredAttribute, typeInfo, true); // this nasty hack needed to ``override'' the "use" on the // global attribute with that on the ref'ing attribute. int referredAttName = fStringPool.addSymbol(referredAttribute.getAttribute(SchemaSymbols.ATT_NAME)); int uriIndex = StringPool.EMPTY_STRING; if ( fTargetNSURIString.length() > 0) { uriIndex = fTargetNSURI; } QName referredAttQName = new QName(-1,referredAttName,referredAttName,uriIndex); if (prohibited) { int tempIndex = fSchemaGrammar.getAttributeDeclIndex(typeInfo.templateElementIndex, referredAttQName); XMLAttributeDecl referredAttrDecl = new XMLAttributeDecl(); fSchemaGrammar.getAttributeDecl(tempIndex, referredAttrDecl); referredAttrDecl.defaultType = XMLAttributeDecl.DEFAULT_TYPE_PROHIBITED; fSchemaGrammar.setAttributeDecl(typeInfo.templateElementIndex, tempIndex, referredAttrDecl); } else if (required) { int tempIndex = fSchemaGrammar.getAttributeDeclIndex(typeInfo.templateElementIndex, referredAttQName); XMLAttributeDecl referredAttrDecl = new XMLAttributeDecl(); fSchemaGrammar.getAttributeDecl(tempIndex, referredAttrDecl); // now two cases: if it's othre than fixed, no problem, just overwrite. // but if it is *it* fixed, specs demand attr be treated as both fixed and required. if(referredAttrDecl.defaultType == XMLAttributeDecl.DEFAULT_TYPE_FIXED) referredAttrDecl.defaultType = XMLAttributeDecl.DEFAULT_TYPE_REQUIRED_AND_FIXED; else referredAttrDecl.defaultType = XMLAttributeDecl.DEFAULT_TYPE_REQUIRED; fSchemaGrammar.setAttributeDecl(typeInfo.templateElementIndex, tempIndex, referredAttrDecl); } } } else { if (fAttributeDeclRegistry.get(localpart) != null) { addAttributeDeclFromAnotherSchema(localpart, uriStr, typeInfo); } else // REVISIT: Localize reportGenericSchemaError ( "Couldn't find top level attribute " + ref); } return -1; } else if (attNameStr.equals("")) // REVISIT: localize reportGenericSchemaError ( "An attribute must have a ref or a name!"); if (datatype.equals("")) { if (simpleTypeChild != null) { attType = XMLAttributeDecl.TYPE_SIMPLE; dataTypeSymbol = traverseSimpleTypeDecl(simpleTypeChild); localpart = fStringPool.toString(dataTypeSymbol); } else { attType = XMLAttributeDecl.TYPE_SIMPLE; localpart = "string"; dataTypeSymbol = fStringPool.addSymbol(localpart); } localpart = fStringPool.toString(dataTypeSymbol); dv = fDatatypeRegistry.getDatatypeValidator(localpart); } else { if(simpleTypeChild != null && !referredTo) reportGenericSchemaError("Attribute declarations may not contain both a type and a simpleType declaration"); String prefix = ""; localpart = datatype; dataTypeSymbol = fStringPool.addSymbol(localpart); int colonptr = datatype.indexOf(":"); if ( colonptr > 0) { prefix = datatype.substring(0,colonptr); localpart = datatype.substring(colonptr+1); } String typeURI = resolvePrefixToURI(prefix); if ( typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) || typeURI.length()==0) { dv = getDatatypeValidator("", localpart); if (localpart.equals("ID")) { attType = XMLAttributeDecl.TYPE_ID; } else if (localpart.equals("IDREF")) { attType = XMLAttributeDecl.TYPE_IDREF; } else if (localpart.equals("IDREFS")) { attType = XMLAttributeDecl.TYPE_IDREF; attIsList = true; } else if (localpart.equals("ENTITY")) { attType = XMLAttributeDecl.TYPE_ENTITY; } else if (localpart.equals("ENTITIES")) { attType = XMLAttributeDecl.TYPE_ENTITY; attIsList = true; } else if (localpart.equals("NMTOKEN")) { attType = XMLAttributeDecl.TYPE_NMTOKEN; } else if (localpart.equals("NMTOKENS")) { attType = XMLAttributeDecl.TYPE_NMTOKEN; attIsList = true; } else if (localpart.equals(SchemaSymbols.ELT_NOTATION)) { attType = XMLAttributeDecl.TYPE_NOTATION; } else { attType = XMLAttributeDecl.TYPE_SIMPLE; if (dv == null && typeURI.length() == 0) { Element topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (topleveltype != null) { traverseSimpleTypeDecl( topleveltype ); dv = getDatatypeValidator(typeURI, localpart); }else if (!referredTo) { // REVISIT: Localize reportGenericSchemaError("simpleType not found : " + "("+typeURI+":"+localpart+")"); } } } } else { //isn't of the schema for schemas namespace... // check if the type is from the same Schema dv = getDatatypeValidator(typeURI, localpart); if (dv == null && typeURI.equals(fTargetNSURIString) ) { Element topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (topleveltype != null) { traverseSimpleTypeDecl( topleveltype ); dv = getDatatypeValidator(typeURI, localpart); }else if (!referredTo) { // REVISIT: Localize reportGenericSchemaError("simpleType not found : " + "("+typeURI+":"+ localpart+")"); } } attType = XMLAttributeDecl.TYPE_SIMPLE; } } // attribute default type int attDefaultType = -1; int attDefaultValue = -1; if (dv == null && !referredTo) { // REVISIT: Localize reportGenericSchemaError("could not resolve the type or get a null validator for datatype : " + fStringPool.toString(dataTypeSymbol)); } String fixed = attrDecl.getAttribute(SchemaSymbols.ATT_VALUE); if (isAttrTopLevel) { if (!fixed.equals("")) { if((required || prohibited || use.equals(SchemaSymbols.ATTVAL_OPTIONAL)) && !referredTo) // REVISIT: Localize reportGenericSchemaError("Globally-declared attributes containing values must have \"use\" set to \"FIXED\" or \"DEFAULT\", not " + use); else if (use.equals("") && !referredTo) // REVISIT: Localize reportGenericSchemaError("Globally-declared attributes containing values MUST have \"use\" present and set to \"FIXED\" or \"DEFAULT\""); else if (use.equals(SchemaSymbols.ATTVAL_FIXED)) { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_FIXED; attDefaultValue = fStringPool.addString(fixed); } else { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_DEFAULT; attDefaultValue = fStringPool.addString(fixed); } } else { // no value and we're at top level. if (!use.equals("") && !referredTo) // REVISIT: Localize reportGenericSchemaError("Globally-declared attributes containing no value may not have \"use\" present"); else attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_IMPLIED; } } else { // not at top-level... // case where "ref" present taken care of above. if (!fixed.equals("")) { if(required || prohibited || use.equals(SchemaSymbols.ATTVAL_OPTIONAL)) reportGenericSchemaError("Locally-declared attributes containing values must have \"use\" set to \"FIXED\" or \"DEFAULT\", not " + use); else if (use.equals("")) // REVISIT: Localize reportGenericSchemaError("Locally-declared attributes containing values MUST have \"use\" present and set to \"FIXED\" or \"DEFAULT\""); else if (use.equals(SchemaSymbols.ATTVAL_FIXED)) { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_FIXED; attDefaultValue = fStringPool.addString(fixed); } else { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_DEFAULT; attDefaultValue = fStringPool.addString(fixed); } } else { // no value and we're not at top level. if(required) attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_REQUIRED; else if (prohibited) attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_PROHIBITED; // no other case is defined by the specs, so treat as implied... else attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_IMPLIED; } } // check default value is valid for the datatype. if (attType == XMLAttributeDecl.TYPE_SIMPLE && attDefaultValue != -1) { try { if (dv != null) //REVISIT dv.validate(fStringPool.toString(attDefaultValue), null); else if (!referredTo) reportSchemaError(SchemaMessageProvider.NoValidatorFor, new Object [] { datatype }); } catch (InvalidDatatypeValueException idve) { if (!referredTo) reportSchemaError(SchemaMessageProvider.IncorrectDefaultType, new Object [] { attrDecl.getAttribute(SchemaSymbols.ATT_NAME), idve.getMessage() }); } catch (Exception e) { e.printStackTrace(); System.out.println("Internal error in attribute datatype validation"); } } /***/ // REVISIT: I don't think this code is right. The attribute // should take on the target namespace of the grammar // if present. -Ac int uriIndex = StringPool.EMPTY_STRING; // refer to 4.3.1 in "XML Schema Part 1: Structures" if ( fTargetNSURIString.length() > 0) { if ( isAttrTopLevel || (( !isQName.equals(SchemaSymbols.ATTVAL_UNQUALIFIED)) && ( isQName.equals(SchemaSymbols.ATTVAL_QUALIFIED)|| fAttributeDefaultQualified ))) uriIndex = fTargetNSURI; } /*** int uriIndex = fTargetNSURI; /***/ QName attQName = new QName(-1,attName,attName,uriIndex); if ( DEBUGGING ) System.out.println(" the dataType Validator for " + fStringPool.toString(attName) + " is " + dv); //put the top-levels in the attribute decl registry. if (isAttrTopLevel) { fTempAttributeDecl.datatypeValidator = dv; fTempAttributeDecl.name.setValues(attQName); fTempAttributeDecl.type = attType; fTempAttributeDecl.defaultType = attDefaultType; fTempAttributeDecl.list = attIsList; if (attDefaultValue != -1 ) { fTempAttributeDecl.defaultValue = new String(fStringPool.toString(attDefaultValue)); } fAttributeDeclRegistry.put(attNameStr, new XMLAttributeDecl(fTempAttributeDecl)); } // add attribute to attr decl pool in fSchemaGrammar, if (typeInfo != null) { fSchemaGrammar.addAttDef( typeInfo.templateElementIndex, attQName, attType, dataTypeSymbol, attDefaultType, fStringPool.toString( attDefaultValue), dv, attIsList); } return -1; } // end of method traverseAttribute
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/63597ca041f2ace1ab2478457827da4f358e7555/TraverseSchema.java/clean/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 10080, 1499, 3456, 12, 3010, 1604, 3456, 16, 16060, 17305, 23112, 16, 1250, 29230, 774, 262, 1216, 1185, 288, 3639, 514, 2403, 461, 1585, 565, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 509, 2403, 461, 1850, 273, 284, 780, 2864, 18, 1289, 5335, 12, 4558, 461, 1585, 1769, 759, 1566, 508, 3639, 514, 353, 13688, 4202, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 4983, 1769, 759, 687, 1566, 202, 202, 6494, 353, 3843, 27046, 273, 353, 27046, 12, 1747, 3456, 1769, 1082, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 368, 1566, 618, 3639, 509, 2403, 559, 1850, 273, 300, 21, 31, 3639, 1250, 2403, 2520, 682, 565, 273, 629, 31, 3639, 509, 8891, 5335, 282, 273, 300, 21, 31, 3639, 514, 1278, 4202, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 10771, 1769, 540, 514, 11172, 225, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 2399, 1769, 202, 202, 759, 11191, 7434, 309, 296, 1734, 11, 353, 3430, 30, 202, 202, 430, 12, 5, 1734, 18, 14963, 2932, 6, 3719, 288, 1082, 202, 430, 12, 291, 3843, 27046, 13, 9506, 202, 759, 2438, 26780, 1285, 30, 225, 26407, 377, 202, 377, 202, 565, 2605, 7014, 3078, 668, 261, 315, 979, 1566, 598, 1239, 1734, 2412, 3430, 1297, 486, 1240, 411, 4821, 34, 487, 2097, 982, 8863, 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, 377, 3238, 509, 10080, 1499, 3456, 12, 3010, 1604, 3456, 16, 16060, 17305, 23112, 16, 1250, 29230, 774, 262, 1216, 1185, 288, 3639, 514, 2403, 461, 1585, 565, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 509, 2403, 461, 1850, 273, 284, 780, 2864, 18, 1289, 5335, 12, 4558, 461, 1585, 1769, 759, 1566, 508, 3639, 514, 353, 13688, 4202, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 4983, 1769, 759, 687, 1566, 202, 202, 6494, 353, 3843, 27046, 273, 353, 27046, 12, 1747, 3456, 1769, 1082, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 368, 1566, 618, 3639, 509, 2403, 559, 1850, 273, 300, 21, 2 ]
" assertEquals(\"several constructions 3\",testMatcher.findMatches(s7,s8, options).size(),2);";
" assertEquals(\"several constructions 3\", testMatcher.findMatches(s7, s8, options).size(), 2);";
public void testReplace() { String str = "// searching for several constructions\n" + " lastTest = \"several constructions match\";\n" + " matches = testMatcher.findMatches(s5,s4, options);\n" + " if (matches==null || matches.size()!=3) return false;\n" + "\n" + " // searching for several constructions\n" + " lastTest = \"several constructions 2\";\n" + " matches = testMatcher.findMatches(s5,s6, options);\n" + " if (matches.size()!=0) return false;\n" + "\n" + " //options.setLooseMatching(true);\n" + " // searching for several constructions\n" + " lastTest = \"several constructions 3\";\n" + " matches = testMatcher.findMatches(s7,s8, options);\n" + " if (matches.size()!=2) return false;"; String str2=" lastTest = 'Descr;\n" + " matches = testMatcher.findMatches('In,'Pattern, options);\n" + " if (matches.size()!='Number) return false;"; String str3 = "assertEquals($Descr$,testMatcher.findMatches($In$,$Pattern$, options).size(),$Number$);"; String expectedResult1 = "// searching for several constructions\n" + " lastTest = \"several constructions match\";\n" + " matches = testMatcher.findMatches(s5,s4, options);\n" + " if (matches==null || matches.size()!=3) return false;\n" + "\n" + " // searching for several constructions\n" + " assertEquals(\"several constructions 2\",testMatcher.findMatches(s5,s6, options).size(),0);\n" + "\n" + " //options.setLooseMatching(true);\n" + " // searching for several constructions\n" + " assertEquals(\"several constructions 3\",testMatcher.findMatches(s7,s8, options).size(),2);"; String str4 = ""; actualResult = replacer.testReplace(str,str2,str3,options); assertEquals("Basic replacement",expectedResult1,actualResult); actualResult = replacer.testReplace(str,str2,str4,options); String expectedResult2 = "// searching for several constructions\n" + " lastTest = \"several constructions match\";\n" + " matches = testMatcher.findMatches(s5,s4, options);\n" + " if (matches==null || matches.size()!=3) return false;\n" + "\n" + " // searching for several constructions\n" + "\n" + " //options.setLooseMatching(true);\n" + " // searching for several constructions"; assertEquals("Empty replacement",expectedResult2,actualResult); String str5 = "testMatcher.findMatches('In,'Pattern, options).size()"; String str6 = "findMatchesCount($In$,$Pattern$)"; String expectedResult3="// searching for several constructions\n" + " lastTest = \"several constructions match\";\n" + " matches = testMatcher.findMatches(s5,s4, options);\n" + " if (matches==null || matches.size()!=3) return false;\n" + "\n" + " // searching for several constructions\n" + " assertEquals(\"several constructions 2\", findMatchesCount(s5,s6), 0);\n" + "\n" + " //options.setLooseMatching(true);\n" + " // searching for several constructions\n" + " assertEquals(\"several constructions 3\", findMatchesCount(s7,s8), 2);"; actualResult = replacer.testReplace(expectedResult1,str5,str6,options); assertEquals( "Expression replacement", expectedResult3,actualResult ); String str7 = "try { a.doSomething(); b.doSomething(); } catch(IOException ex) { ex.printStackTrace(); throw new RuntimeException(ex); }"; String str8 = "try { 'Statements+; } catch('_ '_) { 'HandlerStatements+; }"; String str9 = "$Statements$;"; String expectedResult4 = " a.doSomething();\n" + " b.doSomething();"; actualResult = replacer.testReplace(str7,str8,str9,options); assertEquals( "Multi line match in replacement", expectedResult4,actualResult ); String str10 = " parentNode.insert(compositeNode, i);\n" + " if (asyncMode) {\n" + " myTreeModel.nodesWereInserted(parentNode,new int[] {i} );\n" + " }"; String str11 = " 'parentNode.insert('newNode, 'i);\n" + " if (asyncMode) {\n" + " myTreeModel.nodesWereInserted('parentNode,new int[] {'i} );\n" + " }"; String str12 = "addChild($parentNode$,$newNode$, $i$);"; String expectedResult5 = " addChild(parentNode,compositeNode, i);"; actualResult = replacer.testReplace(str10,str11,str12,options); assertEquals( "Array initializer replacement", expectedResult5,actualResult); String str13 = " aaa(5,6,3,4,1,2);"; String str14 = "aaa('t{2,2},3,4,'q{2,2});"; String str15 = "aaa($q$,3,4,$t$);"; String expectedResult6 = " aaa(1,2,3,4,5,6);"; actualResult = replacer.testReplace(str13,str14,str15,options); assertEquals("Parameter multiple match",expectedResult6,actualResult); String str16 = " int c = a();"; String str17 = "'t:a ('q*,'p*)"; String str18 = "$t$($q$,1,$p$)"; String expectedResult7 = " int c = a(1);"; actualResult = replacer.testReplace(str16,str17,str18,options); assertEquals("Replacement of init in definition + empty substitution",expectedResult7,actualResult); String str19 = " aaa(bbb);"; String str20 = "'t('_);"; String str21 = "$t$(ccc);"; String expectedResult8 = " aaa(ccc);"; actualResult = replacer.testReplace(str19,str20,str21,options); assertEquals("One substition replacement",expectedResult8,actualResult); String str22 = " instance.setAAA(anotherInstance.getBBB());"; String str23 = " 'i.'m:set(.+) ('a.'m2:get(.+) ());"; String str24 = " $a$.set$m2_1$( $i$.get$m_1$() );"; String expectedResult9 = " anotherInstance.setBBB( instance.getAAA() );"; actualResult = replacer.testReplace(str22,str23,str24,options); assertEquals("Reg exp substitution replacement",expectedResult9,actualResult); String str25 = " LaterInvocator.invokeLater(new Runnable() {\n" + " public void run() {\n" + " LOG.info(\"refreshFilesAsync, modalityState=\" + ModalityState.current());\n" + " myHandler.getFiles().refreshFilesAsync(new Runnable() {\n" + " public void run() {\n" + " semaphore.up();\n" + " }\n" + " });\n" + " }\n" + " });"; String str26 = " LaterInvocator.invokeLater('Params{1,10});"; String str27 = " com.intellij.openapi.application.ApplicationManager.getApplication().invokeLater($Params$);"; String expectedResult10 = " com.intellij.openapi.application.ApplicationManager.getApplication().invokeLater(new Runnable() {\n" + " public void run() {\n" + " LOG.info(\"refreshFilesAsync, modalityState=\" + ModalityState.current());\n" + " myHandler.getFiles().refreshFilesAsync(new Runnable() {\n" + " public void run() {\n" + " semaphore.up();\n" + " }\n" + " });\n" + " }\n" + " });"; actualResult = replacer.testReplace(str25,str26,str27,options); assertEquals("Anonymous in parameter",expectedResult10,actualResult); String str28 = "UTElementNode elementNode = new UTElementNode(myProject, processedElement, psiFile,\n" + " processedElement.getTextOffset(), true,\n" + " !myUsageViewDescriptor.toMarkInvalidOrReadonlyUsages(), null);"; String str29 = "new UTElementNode('param, 'directory, 'null, '0, 'true, !'descr.toMarkInvalidOrReadonlyUsages(),\n" + " 'referencesWord)"; String str30 = "new UTElementNode($param$, $directory$, $null$, $0$, $true$, true,\n" + " $referencesWord$)"; String expectedResult11 = "UTElementNode elementNode = new UTElementNode(myProject, processedElement, psiFile, processedElement.getTextOffset(), true, true,\n" + " null);"; actualResult = replacer.testReplace(str28,str29,str30,options); assertEquals("Replace in def initializer",expectedResult11,actualResult); String s31 = "a = b; b = c; a=a; c=c;"; String s32 = "'a = 'a;"; String s33 = "1 = 1;"; String expectedResult12 = "a = b; b = c;\n" + " 1 = 1;\n" + " 1 = 1;"; actualResult = replacer.testReplace(s31,s32,s33,options); assertEquals( "replace silly assignments", expectedResult12, actualResult ); String s34 = "ParamChecker.isTrue(1==1, \"!!!\");"; String s35 = "ParamChecker.isTrue('expr, 'msg)"; String s36 = "assert $expr$ : $msg$"; String expectedResult13 = "assert 1==1 : \"!!!\";"; actualResult = replacer.testReplace(s34,s35,s36,options); assertEquals( "replace with assert", expectedResult13, actualResult ); String s37 = "try { \n" + " ParamChecker.isTrue(1==1, \"!!!\");\n \n" + " // comment we want to leave\n \n" + " ParamChecker.isTrue(2==2, \"!!!\");\n" + "} catch(Exception ex) {}"; String s38 = "try {\n" + " 'Statement{0,100};\n" + "} catch(Exception ex) {}"; String s39 = "$Statement$;"; String expectedResult14 = " ParamChecker.isTrue(1==1, \"!!!\");\n" + "// comment we want to leave\n" + " ParamChecker.isTrue(2==2, \"!!!\");"; actualResult = replacer.testReplace(s37,s38,s39,options); assertEquals( "remove try with comments inside", expectedResult14, actualResult ); String s40 = "ParamChecker.instanceOf(queryKey, GroupBySqlTypePolicy.GroupKey.class);"; String s41 = "ParamChecker.instanceOf('obj, 'class.class);"; String s42 = "assert $obj$ instanceof $class$ : \"$obj$ is an instance of \" + $obj$.getClass() + \"; expected \" + $class$.class;"; String expectedResult15 = " assert queryKey instanceof GroupBySqlTypePolicy.GroupKey : \"queryKey is an instance of \" + queryKey.getClass() + \"; expected \" + GroupBySqlTypePolicy.GroupKey.class;"; actualResult = replacer.testReplace(s40,s41,s42,options); assertEquals( "Matching/replacing .class literals", expectedResult15, actualResult ); String s43 = "class Wpd {\n" + " static final String TAG_BEAN_VALUE = \"\";\n" + "}\n" + "XmlTag beanTag = rootTag.findSubTag(Wpd.TAG_BEAN_VALUE);"; String s44 = "'Instance?.findSubTag( 'Parameter:[exprtype( *String ) ])"; String s45 = "jetbrains.fabrique.util.XmlApiUtil.findSubTag($Instance$, $Parameter$)"; String expectedResult16 = "class Wpd {\n" + " static final String TAG_BEAN_VALUE = \"\";\n" + "}\n" + "XmlTag beanTag = jetbrains.fabrique.util.XmlApiUtil.findSubTag(rootTag, Wpd.TAG_BEAN_VALUE);"; actualResult = replacer.testReplace(s43,s44,s45,options); assertEquals( "Matching/replacing static fields", expectedResult16, actualResult ); String s46 = "Rectangle2D rec = new Rectangle2D.Double(\n" + " drec.getX(),\n" + " drec.getY(),\n" + " drec.getWidth(), \n" + " drec.getWidth());"; String s47 = "$Instance$.$MethodCall$()"; String s48 = "OtherClass.round($Instance$.$MethodCall$(),5)"; String expectedResult17 = "Rectangle2D rec = new Rectangle2D.Double(\n" + " OtherClass.round(drec.getX(),5),\n" + " OtherClass.round(drec.getY(),5),\n" + " OtherClass.round(drec.getWidth(),5),\n" + " OtherClass.round(drec.getWidth(),5));"; actualResult = replacer.testReplace(s46,s47,s48,options); assertEquals( "Replace in constructor", expectedResult17, actualResult ); String s49 = "class A {}\n" + "class B extends A {}\n" + "A a = new B();"; String s50 = "A 'b = new 'B:*A ();"; String s51 = "A $b$ = new $B$(\"$b$\");"; String expectedResult18 = "class A {}\n" + "class B extends A {}\n" + " A a = new B(\"a\");"; actualResult = replacer.testReplace(s49,s50,s51,options); assertEquals( "Class navigation", expectedResult18, actualResult ); String s52 = "try {\n" + " aaa();\n" + "} finally {\n" + " System.out.println();" + "}\n" + "try {\n" + " aaa2();\n" + "} catch(Exception ex) {\n" + " aaa3();\n" + "}\n" + "finally {\n" + " System.out.println();\n" + "}\n" + "try {\n" + " aaa4();\n" + "} catch(Exception ex) {\n" + " aaa5();\n" + "}\n"; String s53 = "try { 'a; } finally {\n" + " 'b;" + "}"; String s54 = "$a$;"; String expectedResult19 = " aaa();\n" + " try {\n" + " aaa2();\n" + " } catch(Exception ex) {\n" + " aaa3();\n" + " }\n" + " finally {\n" + " System.out.println();\n" + " }\n" + "try {\n" + " aaa4();\n" + "} catch(Exception ex) {\n" + " aaa5();\n" + "}\n"; actualResult = replacer.testReplace(s52,s53,s54,options); assertEquals( "Try/ catch/ finally is replace with try/finally", expectedResult19, actualResult ); String s55 = "for(Iterator<String> iterator = stringlist.iterator(); iterator.hasNext()) {\n" + " String str = iterator.next();\n" + " System.out.println( str );\n" + "}"; String s56 = "for (Iterator<$Type$> $variable$ = $container$.iterator(); $variable$.hasNext();) {\n" + " $Type$ $var$ = $variable$.next();\n" + " $Statements$;\n" + "}"; String s57 = "for($var$:$container$) {\n" + " $Statements$;\n" + "}"; String expectedResult20 = " for(str:stringlist) {\n" + " System.out.println( str );\n" + " }"; actualResult = replacer.testReplace(s55,s56,s57,options); assertEquals( "for with foreach", expectedResult20, actualResult ); String s58 = "class A {\n" + " static Set<String> b_MAP = new HashSet<String>();\n" + " int c;\n" + "}"; String s59 = "'a:[ regex( (.*)_MAP ) ]"; String s60 = "$a_1$_SET"; String expectedResult21 = "class A {\n" + " static Set<String> b_SET = new HashSet<String>();\n" + " int c;\n" + "}"; actualResult = replacer.testReplace(s58,s59,s60,options); assertEquals( "replace symbol in definition", expectedResult21, actualResult ); String s64 = "int x = 42;\n" + "int y = 42; // Stuff"; String s65 = "'Type 'Variable = 'Value; // 'Comment"; String s66 = "/**\n" + " *$Comment$\n" + " */\n" + "$Type$ $Variable$ = $Value$;"; String expectedResult23 = "int x = 42;\n" + "/**\n" + " * Stuff\n" + " */\n" + " int y = 42;"; actualResult = replacer.testReplace(s64,s65,s66,options); assertEquals( "Replacement of the comment with javadoc", expectedResult23, actualResult ); String s61 = "try { 1=1; } catch(Exception e) { 1=1; } catch(Throwable t) { 2=2; }"; String s62 = "try { 'a; } catch(Exception e) { 'b; }"; String s63 = "try { $a$; } catch(Exception1 e) { $b$; } catch(Exception2 e) { $b$; }"; String expectedResult22 = " try { 1=1; } catch(Exception1 e) { 1=1; } catch(Exception2 e) { 1=1; } catch (Throwable t) { 2=2; }"; actualResult = replacer.testReplace(s61,s62,s63,options); assertEquals( "try replacement by another try will leave the unmatched catch", expectedResult22, actualResult ); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/9c2e64e4fd3d0bb80e77f27e3910e8d2ced2234e/StructuralReplaceTest.java/buggy/plugins/structuralsearch/testSource/com/intellij/structuralsearch/StructuralReplaceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 5729, 1435, 288, 565, 514, 609, 273, 16177, 15300, 364, 11392, 16171, 87, 64, 82, 6, 397, 1171, 315, 565, 1142, 4709, 273, 1239, 307, 502, 287, 16171, 87, 845, 2412, 9747, 82, 6, 397, 1171, 315, 565, 1885, 273, 1842, 6286, 18, 4720, 6869, 12, 87, 25, 16, 87, 24, 16, 702, 20472, 82, 6, 397, 1171, 315, 565, 309, 261, 8436, 631, 2011, 747, 1885, 18, 1467, 1435, 5, 33, 23, 13, 327, 629, 9747, 82, 6, 397, 1171, 1548, 82, 6, 397, 1171, 315, 565, 368, 15300, 364, 11392, 16171, 87, 64, 82, 6, 397, 1171, 315, 565, 1142, 4709, 273, 1239, 307, 502, 287, 16171, 87, 576, 2412, 9747, 82, 6, 397, 1171, 315, 565, 1885, 273, 1842, 6286, 18, 4720, 6869, 12, 87, 25, 16, 87, 26, 16, 702, 20472, 82, 6, 397, 1171, 315, 565, 309, 261, 8436, 18, 1467, 1435, 5, 33, 20, 13, 327, 629, 9747, 82, 6, 397, 1171, 1548, 82, 6, 397, 1171, 315, 565, 368, 2116, 18, 542, 1504, 2584, 9517, 12, 3767, 20472, 82, 6, 397, 1171, 315, 565, 368, 15300, 364, 11392, 16171, 87, 64, 82, 6, 397, 1171, 315, 565, 1142, 4709, 273, 1239, 307, 502, 287, 16171, 87, 890, 2412, 9747, 82, 6, 397, 1171, 315, 565, 1885, 273, 1842, 6286, 18, 4720, 6869, 12, 87, 27, 16, 87, 28, 16, 702, 20472, 82, 6, 397, 1171, 315, 565, 309, 261, 8436, 18, 1467, 1435, 5, 33, 22, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 5729, 1435, 288, 565, 514, 609, 273, 16177, 15300, 364, 11392, 16171, 87, 64, 82, 6, 397, 1171, 315, 565, 1142, 4709, 273, 1239, 307, 502, 287, 16171, 87, 845, 2412, 9747, 82, 6, 397, 1171, 315, 565, 1885, 273, 1842, 6286, 18, 4720, 6869, 12, 87, 25, 16, 87, 24, 16, 702, 20472, 82, 6, 397, 1171, 315, 565, 309, 261, 8436, 631, 2011, 747, 1885, 18, 1467, 1435, 5, 33, 23, 13, 327, 629, 9747, 82, 6, 397, 1171, 1548, 82, 6, 397, 1171, 315, 565, 368, 15300, 364, 11392, 16171, 87, 64, 82, 6, 397, 1171, 315, 565, 1142, 4709, 273, 1239, 307, 502, 287, 16171, 87, 576, 2412, 9747, 82, 6, 2 ]
IEditorPart[] editors = page.getEditors(); for (int i = 0; i < editors.length; i++) {
IEditorReference[] editorReferences = page.getEditorReferences(); for (int i = 0; i < editorReferences.length; i++) {
public void editorOpened(IEditorPart part) { IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IEditorPart[] editors = page.getEditors(); for (int i = 0; i < editors.length; i++) { IMylarElement element = null; Object adapter = editors[i].getEditorInput().getAdapter(IResource.class); if (adapter instanceof IFile) { String handle = MylarPlugin.getDefault().getStructureBridge(adapter).getHandleIdentifier(adapter); element = MylarPlugin.getContextManager().getElement(handle); } if (element != null && !element.getInterest().isInteresting() && !isSameEditor(part, editors[i])) { page.closeEditor(editors[i], true); } } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/9a665205479ffc21f3c19cfd8b5a2cf3fae276d4/InterestManipulatingEditorTracker.java/clean/org.eclipse.mylyn.ide.ui/src/org/eclipse/mylyn/internal/ide/InterestManipulatingEditorTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4858, 23115, 12, 45, 6946, 1988, 1087, 13, 288, 202, 202, 45, 2421, 22144, 1964, 1363, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 202, 202, 45, 6946, 1988, 8526, 29431, 273, 1363, 18, 588, 4666, 1383, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 29431, 18, 2469, 31, 277, 27245, 288, 1082, 202, 3445, 93, 7901, 1046, 930, 273, 446, 31, 1082, 202, 921, 4516, 273, 29431, 63, 77, 8009, 588, 6946, 1210, 7675, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 1082, 202, 430, 261, 10204, 1276, 467, 812, 13, 288, 9506, 202, 780, 1640, 273, 8005, 7901, 3773, 18, 588, 1868, 7675, 588, 6999, 13691, 12, 10204, 2934, 588, 3259, 3004, 12, 10204, 1769, 9506, 202, 2956, 273, 8005, 7901, 3773, 18, 29120, 1318, 7675, 21336, 12, 4110, 1769, 1082, 202, 97, 1082, 202, 430, 261, 2956, 480, 446, 597, 401, 2956, 18, 588, 29281, 7675, 291, 2465, 10100, 1435, 597, 401, 291, 8650, 6946, 12, 2680, 16, 29431, 63, 77, 22643, 288, 9506, 202, 2433, 18, 4412, 6946, 12, 4619, 1383, 63, 77, 6487, 638, 1769, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4858, 23115, 12, 45, 6946, 1988, 1087, 13, 288, 202, 202, 45, 2421, 22144, 1964, 1363, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 202, 202, 45, 6946, 1988, 8526, 29431, 273, 1363, 18, 588, 4666, 1383, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 29431, 18, 2469, 31, 277, 27245, 288, 1082, 202, 3445, 93, 7901, 1046, 930, 273, 446, 31, 1082, 202, 921, 4516, 273, 29431, 63, 77, 8009, 588, 6946, 1210, 7675, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 1082, 202, 430, 261, 10204, 1276, 467, 812, 13, 288, 9506, 202, 780, 1640, 273, 8005, 7901, 3773, 2 ]
return (IResource[]) result.toArray(new IResource[result.size()]); }
return (IResource[]) result.toArray(new IResource[result.size()]); }
IResource[] getResourcesInWorkingSet() { if (workingSet == null) { return new IResource[0]; } IAdaptable[] elements = workingSet.getElements(); List result = new ArrayList(elements.length); for (int idx = 0; idx < elements.length; idx++) { IResource next = (IResource) elements[idx] .getAdapter(IResource.class); if (next != null) { result.add(next); } } return (IResource[]) result.toArray(new IResource[result.size()]); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 467, 1420, 8526, 14590, 382, 14836, 694, 1435, 288, 3639, 309, 261, 20478, 694, 422, 446, 13, 288, 5411, 327, 394, 467, 1420, 63, 20, 15533, 3639, 289, 3639, 467, 13716, 429, 8526, 2186, 273, 5960, 694, 18, 588, 3471, 5621, 3639, 987, 563, 273, 394, 2407, 12, 6274, 18, 2469, 1769, 3639, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 2186, 18, 2469, 31, 2067, 27245, 288, 5411, 467, 1420, 1024, 273, 261, 45, 1420, 13, 2186, 63, 3465, 65, 10792, 263, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 5411, 309, 261, 4285, 480, 446, 13, 288, 7734, 563, 18, 1289, 12, 4285, 1769, 5411, 289, 3639, 289, 3639, 327, 261, 45, 1420, 63, 5717, 563, 18, 31447, 12, 2704, 467, 1420, 63, 2088, 18, 1467, 1435, 19226, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 467, 1420, 8526, 14590, 382, 14836, 694, 1435, 288, 3639, 309, 261, 20478, 694, 422, 446, 13, 288, 5411, 327, 394, 467, 1420, 63, 20, 15533, 3639, 289, 3639, 467, 13716, 429, 8526, 2186, 273, 5960, 694, 18, 588, 3471, 5621, 3639, 987, 563, 273, 394, 2407, 12, 6274, 18, 2469, 1769, 3639, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 2186, 18, 2469, 31, 2067, 27245, 288, 5411, 467, 1420, 1024, 273, 261, 45, 1420, 13, 2186, 63, 3465, 65, 10792, 263, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 5411, 309, 261, 4285, 480, 446, 13, 288, 7734, 563, 18, 1289, 12, 4285, 1769, 5411, 289, 3639, 289, 3639, 327, 261, 45, 1420, 63, 5717, 2 ]
this.decodedSimpleName = entryResult.extractSimpleName().toCharArray();
this.decodedSimpleName = entryResult.getName().toCharArray();
protected void decodeIndexEntry(IEntryResult entryResult) { this.decodedSimpleName = entryResult.extractSimpleName().toCharArray(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/9688b97f435efea392b7a7a7986ceacfc6d38982/IncludePattern.java/clean/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/IncludePattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2495, 1016, 1622, 12, 45, 1622, 1253, 1241, 1253, 13, 288, 202, 202, 2211, 18, 26646, 5784, 461, 273, 1241, 1253, 18, 8004, 5784, 461, 7675, 869, 15936, 5621, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1117, 918, 2495, 1016, 1622, 12, 45, 1622, 1253, 1241, 1253, 13, 288, 202, 202, 2211, 18, 26646, 5784, 461, 273, 1241, 1253, 18, 8004, 5784, 461, 7675, 869, 15936, 5621, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IAttachmentHandler handler = getAttachmentHandler();
IAttachmentHandler handler = getAttachmentHandler();
public void attachContext(TaskRepository repository, AbstractRepositoryTask task, String longComment) throws CoreException { if (!repository.hasCredentials()) { MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), MylarTaskListPlugin.TITLE_DIALOG, "Repository credentials missing or invalid."); return; } else { MylarPlugin.getContextManager().saveContext(task.getHandleIdentifier()); File sourceContextFile = MylarPlugin.getContextManager().getFileForContext(task.getHandleIdentifier()); if (sourceContextFile != null && sourceContextFile.exists()) { try { List<File> filesToZip = new ArrayList<File>(); filesToZip.add(sourceContextFile); File destinationFile = File.createTempFile(sourceContextFile.getName(), ZIPFILE_EXTENSION); destinationFile.deleteOnExit(); ZipFileUtil.createZipFile(destinationFile, filesToZip, new NullProgressMonitor()); IAttachmentHandler handler = getAttachmentHandler(); if (handler != null) { handler.uploadAttachment(repository, task, longComment, MYLAR_CONTEXT_DESCRIPTION, destinationFile, APPLICATION_OCTET_STREAM, false, null); synchronize(task, false, null); } else { MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), MylarTaskListPlugin.TITLE_DIALOG, MESSAGE_ATTACHMENTS_NOT_SUPPORTED + getLabel()); } } catch (Exception e) { MylarStatusHandler.fail(e, "Could not export task context as zip file", true); } } } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bd06163815f53b71fd521e373e43eaf1d9d51cf8/AbstractRepositoryConnector.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/AbstractRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3306, 1042, 12, 2174, 3305, 3352, 16, 4115, 3305, 2174, 1562, 16, 514, 1525, 4469, 13, 1082, 202, 15069, 30015, 288, 202, 202, 430, 16051, 9071, 18, 5332, 6163, 10756, 288, 1082, 202, 1079, 6353, 18, 3190, 5369, 12, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 13220, 9334, 6862, 202, 12062, 7901, 2174, 682, 3773, 18, 14123, 67, 2565, 18683, 16, 315, 3305, 4448, 3315, 578, 2057, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 469, 288, 1082, 202, 12062, 7901, 3773, 18, 29120, 1318, 7675, 5688, 1042, 12, 4146, 18, 588, 3259, 3004, 10663, 1082, 202, 812, 1084, 1042, 812, 273, 8005, 7901, 3773, 18, 29120, 1318, 7675, 29925, 1290, 1042, 12, 4146, 18, 588, 3259, 3004, 10663, 1082, 202, 430, 261, 3168, 1042, 812, 480, 446, 597, 1084, 1042, 812, 18, 1808, 10756, 288, 9506, 202, 698, 288, 6862, 202, 682, 32, 812, 34, 1390, 774, 9141, 273, 394, 2407, 32, 812, 34, 5621, 6862, 202, 2354, 774, 9141, 18, 1289, 12, 3168, 1042, 812, 1769, 6862, 202, 812, 2929, 812, 273, 1387, 18, 2640, 20181, 12, 3168, 1042, 812, 18, 17994, 9334, 18277, 3776, 67, 12796, 1769, 6862, 202, 10590, 812, 18, 3733, 1398, 6767, 5621, 6862, 202, 29394, 1304, 18, 2640, 29394, 12, 10590, 812, 16, 1390, 774, 9141, 16, 394, 4112, 5491, 7187, 10663, 6862, 25083, 202, 45, 6803, 1503, 1838, 273, 31134, 1503, 5621, 6862, 25083, 202, 430, 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, 225, 202, 482, 918, 3306, 1042, 12, 2174, 3305, 3352, 16, 4115, 3305, 2174, 1562, 16, 514, 1525, 4469, 13, 1082, 202, 15069, 30015, 288, 202, 202, 430, 16051, 9071, 18, 5332, 6163, 10756, 288, 1082, 202, 1079, 6353, 18, 3190, 5369, 12, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 13220, 9334, 6862, 202, 12062, 7901, 2174, 682, 3773, 18, 14123, 67, 2565, 18683, 16, 315, 3305, 4448, 3315, 578, 2057, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 469, 288, 1082, 202, 12062, 7901, 3773, 18, 29120, 1318, 7675, 5688, 1042, 12, 4146, 18, 588, 3259, 3004, 10663, 1082, 202, 812, 1084, 1042, 812, 273, 8005, 7901, 3773, 18, 29120, 2 ]
rows.setSize(0);
public void close() throws SQLException { // No-op }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/49740c5fb99094b3942d7b8588f545907fd17074/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 1071, 2595, 18, 542, 1225, 12, 20, 1769, 918, 2595, 18, 542, 1225, 12, 20, 1769, 1746, 1435, 2595, 18, 542, 1225, 12, 20, 1769, 1216, 2595, 18, 542, 1225, 12, 20, 1769, 6483, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 288, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 368, 2595, 18, 542, 1225, 12, 20, 1769, 2631, 17, 556, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 1071, 2595, 18, 542, 1225, 12, 20, 1769, 918, 2595, 18, 542, 1225, 12, 20, 1769, 1746, 1435, 2595, 18, 542, 1225, 12, 20, 1769, 1216, 2595, 18, 542, 1225, 12, 20, 1769, 6483, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 288, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 1225, 12, 20, 1769, 368, 2595, 18, 542, 1225, 12, 20, 1769, 2631, 17, 556, 2595, 18, 542, 1225, 12, 20, 1769, 225, 2595, 18, 542, 2 ]
PsiClass psiClass = DebuggerUtilsEx.findClass(filter.getPattern(), myDebugProcess.getProject());
PsiClass psiClass = DebuggerUtilsEx.findClass(filter.getPattern(), myDebugProcess.getProject(), myDebugProcess.getSession().getSearchScope());
private void addLocatableRequest(Breakpoint requestor, EventRequest request) { if(DebuggerSettings.SUSPEND_ALL.equals(requestor.SUSPEND_POLICY)) { request.setSuspendPolicy(EventRequest.SUSPEND_ALL); } else { //when requestor.SUSPEND_POLICY == SUSPEND_NONE //we should pause thread in order to evaluate conditions request.setSuspendPolicy(EventRequest.SUSPEND_EVENT_THREAD); } if (requestor.COUNT_FILTER_ENABLED) { request.addCountFilter(requestor.COUNT_FILTER); } if (requestor.CLASS_FILTERS_ENABLED) { ClassFilter[] classFilters = requestor.getClassFilters(); for (int idx = 0; idx < classFilters.length; idx++) { final ClassFilter filter = classFilters[idx]; if (!filter.isEnabled()) { continue; } final JVMName jvmClassName = ApplicationManager.getApplication().runReadAction(new Computable<JVMName>() { public JVMName compute() { PsiClass psiClass = DebuggerUtilsEx.findClass(filter.getPattern(), myDebugProcess.getProject()); if(psiClass == null) { return null; } return JVMNameUtil.getJVMQualifiedName(psiClass); } }); String pattern = filter.getPattern(); try { if(jvmClassName != null) { pattern = jvmClassName.getName(myDebugProcess); } } catch (EvaluateException e) { } addClassFilter(request, pattern); } final ClassFilter[] iclassFilters = requestor.getClassExclusionFilters(); for (int idx = 0; idx < iclassFilters.length; idx++) { ClassFilter filter = iclassFilters[idx]; if (filter.isEnabled()) { addClassExclusionFilter(request, filter.getPattern()); } } } registerRequestInternal(requestor, request); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0f15354ee57831fe7d090f8a2667551f7fe5f047/RequestManagerImpl.java/buggy/debugger/impl/com/intellij/debugger/engine/requests/RequestManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 527, 1333, 8163, 691, 12, 20552, 590, 280, 16, 2587, 691, 590, 13, 288, 565, 309, 12, 24113, 2628, 18, 6639, 3118, 4415, 67, 4685, 18, 14963, 12, 2293, 280, 18, 6639, 3118, 4415, 67, 26366, 3719, 288, 1377, 590, 18, 542, 55, 18815, 2582, 12, 1133, 691, 18, 6639, 3118, 4415, 67, 4685, 1769, 565, 289, 565, 469, 288, 1377, 368, 13723, 590, 280, 18, 6639, 3118, 4415, 67, 26366, 422, 11726, 3118, 4415, 67, 9826, 1377, 368, 1814, 1410, 11722, 2650, 316, 1353, 358, 5956, 4636, 1377, 590, 18, 542, 55, 18815, 2582, 12, 1133, 691, 18, 6639, 3118, 4415, 67, 10454, 67, 21730, 1769, 565, 289, 565, 309, 261, 2293, 280, 18, 7240, 67, 11126, 67, 13560, 13, 288, 1377, 590, 18, 1289, 1380, 1586, 12, 2293, 280, 18, 7240, 67, 11126, 1769, 565, 289, 565, 309, 261, 2293, 280, 18, 5237, 67, 11126, 55, 67, 13560, 13, 288, 1377, 1659, 1586, 8526, 667, 5422, 273, 590, 280, 18, 588, 797, 5422, 5621, 1377, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 667, 5422, 18, 2469, 31, 2067, 27245, 288, 3639, 727, 1659, 1586, 1034, 273, 667, 5422, 63, 3465, 15533, 3639, 309, 16051, 2188, 18, 291, 1526, 10756, 288, 1850, 1324, 31, 3639, 289, 3639, 727, 14131, 461, 13555, 3834, 273, 4257, 1318, 18, 588, 3208, 7675, 2681, 1994, 1803, 12, 2704, 14169, 429, 32, 46, 7397, 461, 34, 1435, 288, 1850, 1071, 14131, 461, 3671, 1435, 288, 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, 282, 3238, 918, 527, 1333, 8163, 691, 12, 20552, 590, 280, 16, 2587, 691, 590, 13, 288, 565, 309, 12, 24113, 2628, 18, 6639, 3118, 4415, 67, 4685, 18, 14963, 12, 2293, 280, 18, 6639, 3118, 4415, 67, 26366, 3719, 288, 1377, 590, 18, 542, 55, 18815, 2582, 12, 1133, 691, 18, 6639, 3118, 4415, 67, 4685, 1769, 565, 289, 565, 469, 288, 1377, 368, 13723, 590, 280, 18, 6639, 3118, 4415, 67, 26366, 422, 11726, 3118, 4415, 67, 9826, 1377, 368, 1814, 1410, 11722, 2650, 316, 1353, 358, 5956, 4636, 1377, 590, 18, 542, 55, 18815, 2582, 12, 1133, 691, 18, 6639, 3118, 4415, 67, 10454, 67, 21730, 1769, 565, 289, 565, 309, 261, 2293, 280, 18, 7240, 2 ]
}
public long increment() { synchronized (lock_) { lock_.notifyAll(); return super.increment(); } }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/WaitableLong.java/buggy/src/java/org/logicalcobwebs/concurrent/WaitableLong.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1525, 5504, 1435, 288, 377, 3852, 261, 739, 67, 13, 288, 1377, 2176, 27799, 12336, 1595, 5621, 1377, 327, 2240, 18, 15016, 5621, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1525, 5504, 1435, 288, 377, 3852, 261, 739, 67, 13, 288, 1377, 2176, 27799, 12336, 1595, 5621, 1377, 327, 2240, 18, 15016, 5621, 377, 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 ]
getContentPane().add(buildContentPanel(), BorderLayout.CENTER);
Container c = getContentPane(); c.add(buildAbout(aboutMessage), BorderLayout.NORTH); c.add(buildContentPanel(), BorderLayout.CENTER);
private void buildGUI() { getContentPane().add(buildContentPanel(), BorderLayout.CENTER); JPanel p = UIUtilities.buildComponentPanelRight(buildToolBar()); p.setBorder(BorderFactory.createEtchedBorder()); p.setOpaque(true); getContentPane().add(p, BorderLayout.SOUTH); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/bbd964029121f2811ba2b7cf47a392087032888c/SoftwareUpdateDialog.java/buggy/SRC/org/openmicroscopy/shoola/env/ui/SoftwareUpdateDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 43, 5370, 1435, 565, 288, 3639, 4039, 276, 273, 5154, 8485, 5621, 276, 18, 1289, 12, 3510, 24813, 12, 21071, 1079, 3631, 30814, 18, 50, 28212, 1769, 276, 18, 1289, 12, 3510, 1350, 5537, 9334, 30814, 18, 19835, 1769, 3639, 24048, 293, 273, 6484, 11864, 18, 3510, 1841, 5537, 4726, 12, 3510, 6364, 5190, 10663, 3639, 293, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 41, 88, 2049, 8107, 10663, 3639, 293, 18, 542, 3817, 14886, 12, 3767, 1769, 3639, 5154, 8485, 7675, 1289, 12, 84, 16, 30814, 18, 3584, 5844, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 43, 5370, 1435, 565, 288, 3639, 4039, 276, 273, 5154, 8485, 5621, 276, 18, 1289, 12, 3510, 24813, 12, 21071, 1079, 3631, 30814, 18, 50, 28212, 1769, 276, 18, 1289, 12, 3510, 1350, 5537, 9334, 30814, 18, 19835, 1769, 3639, 24048, 293, 273, 6484, 11864, 18, 3510, 1841, 5537, 4726, 12, 3510, 6364, 5190, 10663, 3639, 293, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 41, 88, 2049, 8107, 10663, 3639, 293, 18, 542, 3817, 14886, 12, 3767, 1769, 3639, 5154, 8485, 7675, 1289, 12, 84, 16, 30814, 18, 3584, 5844, 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 ]
setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(),
setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(),
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAccept((String) evalAttr("accept", getAccept(), String.class)); } catch (NullAttributeException ex) { setAccept(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setMaxlength((String) evalAttr("maxlength", getMaxlength(), String.class)); } catch (NullAttributeException ex) { setMaxlength(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELFileTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFileTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 5933, 12443, 780, 13, 5302, 3843, 2932, 9436, 3113, 4506, 4474, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 5933, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 653, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 8853, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 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, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 1862, 856, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 5933, 12443, 780, 13, 5302, 3843, 2932, 9436, 3113, 4506, 4474, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 5933, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 2 ]
public static final String bytesToHex(byte[] bs) { return bytesToHex(bs, 0, bs.length);
public static final String bytesToHex(byte[] bs, int off, int length) { StringBuffer sb = new StringBuffer(length * 2); bytesToHexAppend(bs, off, length, sb); return sb.toString();
public static final String bytesToHex(byte[] bs) { return bytesToHex(bs, 0, bs.length); }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/03d1c3dfc05a19bebb9ca5ebd9b78a6299dcf977/HexUtil.java/buggy/src/freenet/support/HexUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 514, 1731, 774, 7037, 12, 7229, 8526, 7081, 13, 288, 202, 202, 2463, 1731, 774, 7037, 12, 2038, 16, 374, 16, 7081, 18, 2469, 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, 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, 760, 727, 514, 1731, 774, 7037, 12, 7229, 8526, 7081, 13, 288, 202, 202, 2463, 1731, 774, 7037, 12, 2038, 16, 374, 16, 7081, 18, 2469, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
true, true, getContext( ), true );
LabelAttributesComposite.ALLOW_VERTICAL_POSITION );
protected Composite getComponent( Composite parent ) { ChartUIUtil.bindHelp( parent, ChartHelpContextIds.POPUP_CHART_TITLE_FORMAT ); // Layout for the content composite GridLayout glContent = new GridLayout( ); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; glContent.marginHeight = 7; glContent.marginWidth = 7; // Sheet content composite cmpContent = new Composite( parent, SWT.NONE ); cmpContent.setLayout( glContent ); lacDeco = new LabelAttributesComposite( cmpContent, SWT.NONE, Messages.getString( "DecorationSheet.Label.DecorationLabels" ), //$NON-NLS-1$ Position.ABOVE_LITERAL, series.getDecorationLabel( ), getChart( ).getUnits( ), true, true, getContext( ), true ); GridData gdLACLabel = new GridData( GridData.FILL_HORIZONTAL ); gdLACLabel.horizontalSpan = 2; lacDeco.setLayoutData( gdLACLabel ); lacDeco.addListener( this ); return cmpContent; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d45f4aab6fc4c57904be449e97c63e0933a34b62/DecorationSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/series/DecorationSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 14728, 10322, 12, 14728, 982, 262, 202, 95, 202, 202, 7984, 5370, 1304, 18, 4376, 6696, 12, 982, 16, 9506, 202, 7984, 6696, 1042, 2673, 18, 30374, 3079, 67, 1792, 4928, 67, 14123, 67, 7254, 11272, 202, 202, 759, 9995, 364, 326, 913, 9635, 202, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 1350, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 1350, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 1350, 18, 10107, 2384, 273, 2371, 31, 202, 202, 759, 18707, 913, 9635, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 202, 202, 80, 1077, 1799, 83, 273, 394, 5287, 2498, 9400, 12, 9411, 1350, 16, 9506, 202, 55, 8588, 18, 9826, 16, 9506, 202, 5058, 18, 588, 780, 12, 315, 7859, 367, 8229, 18, 2224, 18, 7859, 367, 5888, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2555, 18, 2090, 51, 3412, 67, 23225, 16, 9506, 202, 10222, 18, 588, 7859, 367, 2224, 12, 262, 16, 9506, 202, 588, 7984, 12, 262, 18, 588, 7537, 12, 262, 16, 9506, 202, 3767, 16, 9506, 202, 3767, 16, 9506, 202, 29120, 12, 262, 16, 9506, 202, 3767, 11272, 202, 202, 6313, 751, 15551, 48, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 14728, 10322, 12, 14728, 982, 262, 202, 95, 202, 202, 7984, 5370, 1304, 18, 4376, 6696, 12, 982, 16, 9506, 202, 7984, 6696, 1042, 2673, 18, 30374, 3079, 67, 1792, 4928, 67, 14123, 67, 7254, 11272, 202, 202, 759, 9995, 364, 326, 913, 9635, 202, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 1350, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 1350, 18, 18396, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 1350, 18, 10107, 2686, 273, 2371, 31, 202, 202, 7043, 1350, 18, 10107, 2384, 273, 2371, 31, 202, 202, 759, 18707, 913, 9635, 202, 202, 9625, 1350, 2 ]
public void doClick(int pressTime)
public void doClick()
public void doClick(int pressTime) { getModel().setArmed(true); getModel().setPressed(true); try { java.lang.Thread.sleep(pressTime); } catch (java.lang.InterruptedException e) { // probably harmless } getModel().setPressed(false); getModel().setArmed(false); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 6563, 1435, 225, 288, 565, 7454, 7675, 542, 686, 2937, 12, 3767, 1769, 565, 7454, 7675, 542, 24624, 12, 3767, 1769, 565, 775, 225, 288, 3639, 2252, 18, 4936, 18, 3830, 18, 19607, 12, 1028, 950, 1769, 225, 289, 565, 1044, 261, 6290, 18, 4936, 18, 24485, 503, 425, 13, 225, 288, 3639, 368, 8656, 17895, 781, 403, 225, 289, 565, 7454, 7675, 542, 24624, 12, 5743, 1769, 565, 7454, 7675, 542, 686, 2937, 12, 5743, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 6563, 1435, 225, 288, 565, 7454, 7675, 542, 686, 2937, 12, 3767, 1769, 565, 7454, 7675, 542, 24624, 12, 3767, 1769, 565, 775, 225, 288, 3639, 2252, 18, 4936, 18, 3830, 18, 19607, 12, 1028, 950, 1769, 225, 289, 565, 1044, 261, 6290, 18, 4936, 18, 24485, 503, 425, 13, 225, 288, 3639, 368, 8656, 17895, 781, 403, 225, 289, 565, 7454, 7675, 542, 24624, 12, 5743, 1769, 565, 7454, 7675, 542, 686, 2937, 12, 5743, 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 ]
ruby.getRuntime().getOutputStream().println("");
protected static void runInterpreter(String iString2Eval, String iFileName, String[] args) { // Initialize Runtime Ruby ruby = Ruby.getDefaultInstance(sRegexpAdapter); // Parse and interpret file RubyString rs = RubyString.newString(ruby, iString2Eval); RubyObject lArgv = JavaUtil.convertJavaToRuby(ruby, args); ruby.setVerbose(warning); ruby.defineReadonlyVariable("$VERBOSE", warning ? ruby.getTrue() : ruby.getNil()); ruby.defineGlobalConstant("ARGV", lArgv); ruby.defineReadonlyVariable("$-p", (sDoPrint ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$-n", (sDoLoop ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$-a", (sDoSplit ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$-l", (sDoLine ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$*", lArgv); ruby.defineVariable(new RubyGlobal.StringGlobalVariable(ruby, "$0", RubyString.newString(ruby, iFileName))); ruby.initLoad(sLoadDirectories); //require additional libraries int lNbRequire = sRequireFirst.size(); try { for (int i = 0; i < lNbRequire; i++) RubyKernel.require(ruby, null, new RubyString(ruby, (String) sRequireFirst.get(i))); // +++ INode lScript = ruby.compile(iString2Eval, iFileName, 0); // DumpVisitor laVisitor = new DumpVisitor(); // lScript.accept(laVisitor); // ruby.getRuntime().getOutputStream().println(laVisitor.dump()); if (sDoPrint) { // FIXME lScript = new ParserSupport().appendPrintToBlock(lScript); // ruby.getParserHelper().rb_parser_append_print(); } if (sDoLoop) { // FIXME lScript = new ParserSupport().appendWhileLoopToBlock(lScript, sDoLine, sDoSplit); // ruby.getParserHelper().rb_parser_while_loop(sDoLine, sDoSplit); } if (sCheckOnly) { DumpVisitor lVisitor = new DumpVisitor(); lScript.accept(lVisitor); ruby.getRuntime().getOutputStream().println(lVisitor.dump()); } else { ruby.getRubyTopSelf().eval(lScript); } } catch (RaiseException rExcptn) { ruby.getRuntime().printError(rExcptn.getActException()); } catch (ThrowJump throwJump) { ruby.getRuntime().printError(throwJump.getNameError()); } catch (RubyBugException lBug) { ruby.getRuntime().getErrorStream().print(lBug.getMessage()); } // --- // to look nicer ruby.getRuntime().getOutputStream().println(""); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/2f4a216103cb998e34c6091da940ee46804e0991/Main.java/buggy/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1086, 30010, 12, 780, 277, 780, 22, 13904, 16, 514, 277, 4771, 16, 514, 8526, 833, 13, 288, 3639, 368, 9190, 2509, 3639, 19817, 22155, 273, 19817, 18, 588, 1868, 1442, 12, 87, 14621, 4216, 1769, 3639, 368, 2884, 471, 10634, 585, 3639, 19817, 780, 3597, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 277, 780, 22, 13904, 1769, 3639, 19817, 921, 328, 4117, 90, 273, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 833, 1769, 3639, 22155, 18, 542, 14489, 12, 8551, 1769, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 21900, 3113, 3436, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 10663, 3639, 22155, 18, 11255, 5160, 6902, 2932, 10973, 58, 3113, 328, 4117, 90, 1769, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 84, 3113, 261, 87, 3244, 5108, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 82, 3113, 261, 87, 3244, 6452, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 69, 3113, 261, 87, 3244, 5521, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 80, 3113, 261, 87, 3244, 1670, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 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, 4750, 760, 918, 1086, 30010, 12, 780, 277, 780, 22, 13904, 16, 514, 277, 4771, 16, 514, 8526, 833, 13, 288, 3639, 368, 9190, 2509, 3639, 19817, 22155, 273, 19817, 18, 588, 1868, 1442, 12, 87, 14621, 4216, 1769, 3639, 368, 2884, 471, 10634, 585, 3639, 19817, 780, 3597, 273, 19817, 780, 18, 2704, 780, 12, 27768, 16, 277, 780, 22, 13904, 1769, 3639, 19817, 921, 328, 4117, 90, 273, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 833, 1769, 3639, 22155, 18, 542, 14489, 12, 8551, 1769, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 21900, 3113, 3436, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 10663, 3639, 22155, 18, 2 ]
while ( lt() == Token.LOGICAL_OR )
while ( lt_bare() == Token.LOGICAL_OR )
protected CSTNode logicalOrExpression() throws IOException, SyntaxException { CSTNode expr = logicalAndExpression(); while ( lt() == Token.LOGICAL_OR ) { expr = rootNode( Token.LOGICAL_OR, expr ); expr.addChild( logicalAndExpression() ); } return expr; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/9e0c233050a0866b1197ce476e057d33914a6442/Parser.java/clean/src/main/org/codehaus/groovy/syntax/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 385, 882, 907, 6374, 23695, 1435, 3639, 1216, 1860, 16, 11517, 503, 565, 288, 3639, 385, 882, 907, 3065, 273, 6374, 1876, 2300, 5621, 3639, 1323, 261, 13489, 67, 70, 834, 1435, 422, 3155, 18, 29249, 67, 916, 262, 3639, 288, 5411, 3065, 273, 10181, 12, 3155, 18, 29249, 67, 916, 16, 11794, 3065, 11272, 5411, 3065, 18, 1289, 1763, 12, 6374, 1876, 2300, 1435, 11272, 3639, 289, 3639, 327, 3065, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 385, 882, 907, 6374, 23695, 1435, 3639, 1216, 1860, 16, 11517, 503, 565, 288, 3639, 385, 882, 907, 3065, 273, 6374, 1876, 2300, 5621, 3639, 1323, 261, 13489, 67, 70, 834, 1435, 422, 3155, 18, 29249, 67, 916, 262, 3639, 288, 5411, 3065, 273, 10181, 12, 3155, 18, 29249, 67, 916, 16, 11794, 3065, 11272, 5411, 3065, 18, 1289, 1763, 12, 6374, 1876, 2300, 1435, 11272, 3639, 289, 3639, 327, 3065, 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 ]
mWindowPropsPanel.add(mEventSourceCheckbox, new TableLayoutConstraints(0, 3, 0, 3, TableLayout.LEFT, TableLayout.CENTER));
private void jbInit() throws Exception { double main_size[][] = {{TableLayout.MINIMUM, 5, TableLayout.FILL}, {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED}}; mMainLayout = new TableLayout(main_size); double bounds_size[][] = {{TableLayout.MINIMUM, TableLayout.MINIMUM}, {TableLayout.PREFERRED, TableLayout.PREFERRED}}; mBoundsPanelLayout = new TableLayout(bounds_size); double fb_size[][] = {{TableLayout.MINIMUM, TableLayout.FILL, 5}, {TableLayout.PREFERRED}}; mFrameBufferPanelLayout = new TableLayout(fb_size); double fb_settings_size[][] = {{TableLayout.FILL, TableLayout.MINIMUM}, {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED}}; mFBSettingsLayout = new TableLayout(fb_settings_size); double window_props_size[][] = {{TableLayout.FILL}, {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED}}; mWindowPropsPanelLayout = new TableLayout(window_props_size); mBoundsPanelBorder = new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(161, 161, 161)), "Window Bounds"); mFrameBufferPanelBorder = new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(142, 142, 142)), "Visual Quality Settings"); mWindowPropsPanelBorder = new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(142, 142, 142)), "Window Behavior Settings"); mFBSettingsPanelBorder = new EtchedBorder(EtchedBorder.RAISED, Color.white, new Color(142, 142, 142)); mMainPanel.setLayout(mMainLayout); mNameLabel.setHorizontalAlignment(SwingConstants.TRAILING); mNameLabel.setLabelFor(mNameField); mNameLabel.setText("Window Name"); mNameField.setMinimumSize(new Dimension(60, 21)); mNameField.setPreferredSize(new Dimension(60, 21)); mNameField.setText("Display Window"); mSizeLabel.setHorizontalAlignment(SwingConstants.TRAILING); mSizeLabel.setLabelFor(mSizePanel); mSizeLabel.setText("Size"); mPositionLabel.setHorizontalAlignment(SwingConstants.TRAILING); mPositionLabel.setLabelFor(mPositionPanel); mPositionLabel.setText("Position"); mWidthField.setMinimumSize(new Dimension(40, 21)); mWidthField.setPreferredSize(new Dimension(40, 21)); mWidthField.setValue(new Integer(200)); mWidthField.setHorizontalAlignment(SwingConstants.TRAILING); mSizeXLabel.setText("\u00D7"); mHeightField.setMinimumSize(new Dimension(40, 21)); mHeightField.setPreferredSize(new Dimension(40, 21)); mHeightField.setValue(new Integer(200)); mPositionXField.setMinimumSize(new Dimension(40, 21)); mPositionXField.setPreferredSize(new Dimension(40, 21)); mPositionXField.setValue(new Integer(0)); mPositionXField.setHorizontalAlignment(SwingConstants.TRAILING); mPositionXLabel.setText(","); mPositionYField.setMinimumSize(new Dimension(40, 21)); mPositionYField.setPreferredSize(new Dimension(40, 21)); mPositionYField.setValue(new Integer(0)); mPositionYField.setHorizontalAlignment(SwingConstants.TRAILING); mFBSettingsLabel.setHorizontalAlignment(SwingConstants.TRAILING); mFBSettingsLabel.setLabelFor(mFBSettingsPanel); mFBSettingsLabel.setText("OpenGL Frame Buffer Settings"); mFBSettingsPanel.setLayout(mFBSettingsLayout); mRedDepthLabel.setHorizontalAlignment(SwingConstants.TRAILING); mRedDepthLabel.setLabelFor(mRedDepthSpinner); mRedDepthLabel.setText("Red Depth"); mGreenDepthLabel.setHorizontalAlignment(SwingConstants.TRAILING); mGreenDepthLabel.setLabelFor(mGreenDepthSpinner); mGreenDepthLabel.setText("Green Depth"); mBlueDepthLabel.setHorizontalAlignment(SwingConstants.TRAILING); mBlueDepthLabel.setLabelFor(mBlueDepthSpinner); mBlueDepthLabel.setText("Blue Depth"); mAlphaDepthLabel.setHorizontalAlignment(SwingConstants.TRAILING); mAlphaDepthLabel.setLabelFor(mAlphaDepthSpinner); mAlphaDepthLabel.setText("Alpha Depth"); mDepthBufferLabel.setHorizontalAlignment(SwingConstants.TRAILING); mDepthBufferLabel.setLabelFor(mDepthBufferSpinner); mDepthBufferLabel.setText("Depth Buffer Size"); mBorderCheckbox.setSelected(true); mBorderCheckbox.setText("Has border"); mStereoCheckbox.setText("Render in stereo"); mHideMouseCheckbox.setText("Hide mouse inside window"); mEventSourceCheckbox.setText("Act as an event source"); mOkButton.setEnabled(false); mOkButton.setMnemonic('0'); mOkButton.setSelected(false); mOkButton.setText("OK"); mOkButton.addActionListener(new DisplayWindowStartDialog_mOkButton_actionAdapter(this)); mCancelButton.setMnemonic('0'); mCancelButton.setText("Cancel"); mCancelButton.addActionListener(new DisplayWindowStartDialog_mCancelButton_actionAdapter(this)); mHelpButton.setEnabled(false); mHelpButton.setMnemonic('0'); mHelpButton.setText("Help"); mHelpButton.addActionListener(new DisplayWindowStartDialog_mHelpButton_actionAdapter(this)); mFSAACheckbox.setText("Enable full-screen anti-aliasing"); mBoundsPanel.setLayout(mBoundsPanelLayout); mBoundsPanel.setBorder(mBoundsPanelBorder); mFrameBufferPanel.setLayout(mFrameBufferPanelLayout); mFrameBufferPanel.setBorder(mFrameBufferPanelBorder); mWindowPropsPanel.setLayout(mWindowPropsPanelLayout); mWindowPropsPanel.setBorder(mWindowPropsPanelBorder); mFBSettingsPanel.setBorder(mFBSettingsPanelBorder); mButtonPanel.setLayout(mButtonPanelLayout); mButtonPanelLayout.setAlignment(FlowLayout.RIGHT); mVisualIdLabel.setHorizontalAlignment(SwingConstants.TRAILING); mVisualIdLabel.setLabelFor(mVisualIdField); mVisualIdLabel.setText("Visual ID"); mVisualIdField.setMinimumSize(new Dimension(19, 20)); mVisualIdField.setPreferredSize(new Dimension(28, 20)); mVisualIdField.setToolTipText("Enter a GLX or WGL visual ID in hexadecimal notation or -1 to ignore"); mVisualIdField.setText("-1"); mVisualIdField.addActionListener(new DisplayWindowStartDialog_mVisualIdField_actionAdapter(this)); mVisualIdField.addFocusListener(new DisplayWindowStartDialog_mVisualIdField_focusAdapter(this)); this.getContentPane().add(mMainPanel, BorderLayout.CENTER); mMainPanel.add(mNameLabel, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.RIGHT, TableLayout.CENTER)); mMainPanel.add(mNameField, new TableLayoutConstraints(2, 0, 2, 0, TableLayout.FULL, TableLayout.CENTER)); mMainPanel.add(mBoundsPanel, new TableLayoutConstraints(0, 1, 2, 1, TableLayout.FULL, TableLayout.FULL)); mBoundsPanel.add(mSizeLabel, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.RIGHT, TableLayout.CENTER)); mBoundsPanel.add(mSizePanel, new TableLayoutConstraints(1, 0, 1, 0, TableLayout.LEFT, TableLayout.CENTER)); mBoundsPanel.add(mPositionLabel, new TableLayoutConstraints(0, 1, 0, 1, TableLayout.RIGHT, TableLayout.CENTER)); mBoundsPanel.add(mPositionPanel, new TableLayoutConstraints(1, 1, 1, 1, TableLayout.LEFT, TableLayout.CENTER)); mPositionPanel.add(mPositionXField, null); mPositionPanel.add(mPositionXLabel, null); mPositionPanel.add(mPositionYField, null); mSizePanel.add(mWidthField, null); mSizePanel.add(mSizeXLabel, null); mSizePanel.add(mHeightField, null); mFrameBufferPanel.setMinimumSize(new Dimension(450, 180)); mFrameBufferPanel.setPreferredSize(new Dimension(450, 180)); mMainPanel.add(mFrameBufferPanel, new TableLayoutConstraints(0, 2, 2, 2, TableLayout.FULL, TableLayout.FULL)); mFrameBufferPanel.add(mFBSettingsLabel, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.RIGHT, TableLayout.CENTER)); mFrameBufferPanel.add(mFBSettingsPanel, new TableLayoutConstraints(1, 0, 1, 0, TableLayout.RIGHT, TableLayout.FULL)); mFBSettingsPanel.add(mVisualIdLabel, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mVisualIdField, new TableLayoutConstraints(1, 0, 1, 0, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mRedDepthLabel, new TableLayoutConstraints(0, 1, 0, 1, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mRedDepthSpinner, new TableLayoutConstraints(1, 1, 1, 1, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mGreenDepthLabel, new TableLayoutConstraints(0, 2, 0, 2, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mGreenDepthSpinner, new TableLayoutConstraints(1, 2, 1, 2, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mBlueDepthLabel, new TableLayoutConstraints(0, 3, 0, 3, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mBlueDepthSpinner, new TableLayoutConstraints(1, 3, 1, 3, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mAlphaDepthLabel, new TableLayoutConstraints(0, 4, 0, 4, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mAlphaDepthSpinner, new TableLayoutConstraints(1, 4, 1, 4, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mDepthBufferLabel, new TableLayoutConstraints(0, 5, 0, 5, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mDepthBufferSpinner, new TableLayoutConstraints(1, 5, 1, 5, TableLayout.FULL, TableLayout.CENTER)); mFBSettingsPanel.add(mFSAACheckbox, new TableLayoutConstraints(0, 6, 1, 6, TableLayout.LEFT, TableLayout.CENTER)); mMainPanel.add(mWindowPropsPanel, new TableLayoutConstraints(0, 3, 2, 3, TableLayout.FULL, TableLayout.FULL)); mWindowPropsPanel.add(mBorderCheckbox, new TableLayoutConstraints(0, 0, 0, 0, TableLayout.LEFT, TableLayout.CENTER)); mWindowPropsPanel.add(mStereoCheckbox, new TableLayoutConstraints(0, 1, 0, 1, TableLayout.LEFT, TableLayout.CENTER)); mWindowPropsPanel.add(mHideMouseCheckbox, new TableLayoutConstraints(0, 2, 0, 2, TableLayout.LEFT, TableLayout.CENTER)); mWindowPropsPanel.add(mEventSourceCheckbox, new TableLayoutConstraints(0, 3, 0, 3, TableLayout.LEFT, TableLayout.CENTER)); this.getContentPane().add(mButtonPanel, BorderLayout.SOUTH); mButtonPanel.add(mOkButton, null); mButtonPanel.add(mCancelButton, null); mButtonPanel.add(mHelpButton, null); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/ad8701251d03e405e8efce8e37e3b4975fb2f4da/DisplayWindowStartDialog.java/buggy/modules/vrjuggler/vrjconfig/customeditors/display_window/org/vrjuggler/vrjconfig/customeditors/display_window/DisplayWindowStartDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 20515, 2570, 1435, 1216, 1185, 282, 288, 1377, 1645, 2774, 67, 1467, 63, 6362, 65, 273, 540, 10179, 1388, 3744, 18, 6236, 18605, 16, 1381, 16, 3555, 3744, 18, 29818, 5779, 1850, 288, 1388, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 6647, 3555, 3744, 18, 3670, 17356, 9090, 31, 1377, 312, 6376, 3744, 273, 394, 3555, 3744, 12, 5254, 67, 1467, 1769, 1377, 1645, 4972, 67, 1467, 63, 6362, 65, 273, 540, 10179, 1388, 3744, 18, 6236, 18605, 16, 3555, 3744, 18, 6236, 18605, 5779, 1850, 288, 1388, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 9090, 31, 1377, 312, 5694, 5537, 3744, 273, 394, 3555, 3744, 12, 10576, 67, 1467, 1769, 1377, 1645, 12754, 67, 1467, 63, 6362, 65, 273, 10179, 1388, 3744, 18, 6236, 18605, 16, 3555, 3744, 18, 29818, 16, 1381, 5779, 18701, 288, 1388, 3744, 18, 3670, 17356, 9090, 31, 1377, 312, 3219, 1892, 5537, 3744, 273, 394, 3555, 3744, 12, 19192, 67, 1467, 1769, 1377, 1645, 12754, 67, 4272, 67, 1467, 63, 6362, 65, 273, 540, 10179, 1388, 3744, 18, 29818, 16, 3555, 3744, 18, 6236, 18605, 5779, 1850, 288, 1388, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 6647, 3555, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 6647, 3555, 3744, 18, 3670, 17356, 9090, 31, 1377, 312, 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, 20515, 2570, 1435, 1216, 1185, 282, 288, 1377, 1645, 2774, 67, 1467, 63, 6362, 65, 273, 540, 10179, 1388, 3744, 18, 6236, 18605, 16, 1381, 16, 3555, 3744, 18, 29818, 5779, 1850, 288, 1388, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 16, 6647, 3555, 3744, 18, 3670, 17356, 9090, 31, 1377, 312, 6376, 3744, 273, 394, 3555, 3744, 12, 5254, 67, 1467, 1769, 1377, 1645, 4972, 67, 1467, 63, 6362, 65, 273, 540, 10179, 1388, 3744, 18, 6236, 18605, 16, 3555, 3744, 18, 6236, 18605, 5779, 1850, 288, 1388, 3744, 18, 3670, 17356, 16, 3555, 3744, 18, 3670, 17356, 9090, 31, 1377, 312, 5694, 5537, 3744, 273, 2 ]
if (this.date != this.date)
if (this.date != this.date) {
public double jsFunction_setYear(double year) { double day, result; if (year != year || Double.isInfinite(year)) { this.date = ScriptRuntime.NaN; return this.date; } if (this.date != this.date) this.date = 0; if (year >= 0 && year <= 99) year += 1900; day = MakeDay(year, MonthFromTime(this.date), DateFromTime(this.date)); result = MakeDate(day, TimeWithinDay(this.date)); result = internalUTC(result); this.date = TimeClip(result); return this.date; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/ef122d55520d008c17aa3430ebe381cdf7ece066/NativeDate.java/clean/js/rhino/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 3828, 2083, 67, 542, 5593, 12, 9056, 3286, 13, 288, 3639, 1645, 2548, 16, 563, 31, 3639, 309, 261, 6874, 480, 3286, 747, 3698, 18, 291, 382, 9551, 12, 6874, 3719, 288, 5411, 333, 18, 712, 273, 7739, 5576, 18, 21172, 31, 5411, 327, 333, 18, 712, 31, 3639, 289, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 288, 5411, 333, 18, 712, 273, 374, 31, 3639, 309, 261, 6874, 1545, 374, 597, 3286, 1648, 14605, 13, 5411, 3286, 1011, 5342, 713, 31, 3639, 2548, 273, 4344, 4245, 12, 6874, 16, 10337, 1265, 950, 12, 2211, 18, 712, 3631, 2167, 1265, 950, 12, 2211, 18, 712, 10019, 3639, 563, 273, 4344, 1626, 12, 2881, 16, 2647, 18949, 4245, 12, 2211, 18, 712, 10019, 3639, 563, 273, 2713, 11471, 12, 2088, 1769, 3639, 333, 18, 712, 273, 2647, 15339, 12, 2088, 1769, 3639, 327, 333, 18, 712, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 3828, 2083, 67, 542, 5593, 12, 9056, 3286, 13, 288, 3639, 1645, 2548, 16, 563, 31, 3639, 309, 261, 6874, 480, 3286, 747, 3698, 18, 291, 382, 9551, 12, 6874, 3719, 288, 5411, 333, 18, 712, 273, 7739, 5576, 18, 21172, 31, 5411, 327, 333, 18, 712, 31, 3639, 289, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 288, 5411, 333, 18, 712, 273, 374, 31, 3639, 309, 261, 6874, 1545, 374, 597, 3286, 1648, 14605, 13, 5411, 3286, 1011, 5342, 713, 31, 3639, 2548, 273, 4344, 4245, 12, 6874, 16, 10337, 1265, 950, 12, 2211, 18, 712, 3631, 2167, 1265, 950, 12, 2211, 18, 712, 10019, 3639, 563, 273, 4344, 1626, 12, 2 ]
link = ModelMapper.unlinkChildFromParent( ((DataObject) i.next()).asImage(), mParent); if (link != null) links.add(link);
link = gateway.findLink(Category.class, mParent, ((DataObject) i.next()).asImage()); if (link != null) links.add(link);
public void declassify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The images set only contains ImageData elements."); } try { categories.toArray(new CategoryData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The categories set only contains CategoryData elements."); } Iterator category = categories.iterator(); List links = new ArrayList(); Iterator i; IObject mParent; IObject link; while (category.hasNext()) { mParent = ((DataObject) category.next()).asIObject(); i = images.iterator(); while (i.hasNext()) { link = ModelMapper.unlinkChildFromParent( ((DataObject) i.next()).asImage(), mParent); if (link != null) links.add(link); } } if (links != null) { gateway.deleteObjects((IObject[]) links.toArray(new IObject[links.size()])); } }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/3be9d381a3d593d28d0b987df4bc2963a9fa97b8/OmeroDataServiceImpl.java/clean/SRC/org/openmicroscopy/shoola/env/data/OmeroDataServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 443, 1106, 1164, 12, 694, 4602, 16, 1000, 6477, 13, 5411, 1216, 8678, 11224, 15133, 16, 8678, 9773, 565, 288, 3639, 775, 288, 5411, 4602, 18, 31447, 12, 2704, 3421, 751, 8526, 2618, 1769, 3639, 289, 1044, 261, 1076, 21151, 26561, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 1986, 4602, 444, 1338, 1914, 3421, 751, 2186, 1199, 1769, 3639, 289, 3639, 775, 288, 5411, 6477, 18, 31447, 12, 2704, 9856, 751, 8526, 2618, 1769, 3639, 289, 1044, 261, 1076, 21151, 26561, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 1986, 6477, 444, 1338, 1914, 9856, 751, 2186, 1199, 1769, 3639, 289, 3639, 4498, 3150, 273, 6477, 18, 9838, 5621, 3639, 987, 4716, 273, 394, 2407, 5621, 3639, 4498, 277, 31, 3639, 467, 921, 312, 3054, 31, 3639, 467, 921, 1692, 31, 3639, 1323, 261, 4743, 18, 5332, 2134, 10756, 288, 5411, 312, 3054, 273, 14015, 21881, 13, 3150, 18, 4285, 1435, 2934, 345, 45, 921, 5621, 5411, 277, 273, 4602, 18, 9838, 5621, 5411, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 7734, 1692, 273, 3164, 4597, 18, 318, 1232, 1763, 1265, 3054, 12, 13491, 14015, 21881, 13, 277, 18, 4285, 1435, 2934, 345, 2040, 9334, 312, 3054, 1769, 7734, 309, 261, 1232, 480, 446, 13, 10792, 4716, 18, 1289, 12, 1232, 1769, 5411, 289, 6647, 289, 3639, 309, 261, 7135, 480, 446, 13, 288, 5411, 6878, 18, 3733, 4710, 12443, 45, 921, 63, 5717, 5397, 4716, 18, 31447, 12, 2704, 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, 443, 1106, 1164, 12, 694, 4602, 16, 1000, 6477, 13, 5411, 1216, 8678, 11224, 15133, 16, 8678, 9773, 565, 288, 3639, 775, 288, 5411, 4602, 18, 31447, 12, 2704, 3421, 751, 8526, 2618, 1769, 3639, 289, 1044, 261, 1076, 21151, 26561, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 1986, 4602, 444, 1338, 1914, 3421, 751, 2186, 1199, 1769, 3639, 289, 3639, 775, 288, 5411, 6477, 18, 31447, 12, 2704, 9856, 751, 8526, 2618, 1769, 3639, 289, 1044, 261, 1076, 21151, 26561, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 1986, 6477, 444, 1338, 1914, 9856, 751, 2186, 1199, 1769, 3639, 289, 3639, 4498, 3150, 273, 6477, 18, 9838, 5621, 3639, 987, 4716, 273, 2 ]
public static void removeCustomerFromPosition(CustomerBO customer) throws CustomerException { if(customer != null) { for(CustomerPositionEntity customerPositionEntity : customer.getCustomerPositions())
public static void removeCustomerFromPosition(CustomerBO customer) throws CustomerException { if (customer != null) { for (CustomerPositionEntity customerPositionEntity : customer .getCustomerPositions())
public static void removeCustomerFromPosition(CustomerBO customer) throws CustomerException { if(customer != null) { for(CustomerPositionEntity customerPositionEntity : customer.getCustomerPositions()) customerPositionEntity.setCustomer(null); customer.update(); HibernateUtil.commitTransaction(); } }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/e300276629f3f22c1315b077dbc65514fcd457ed/TestObjectFactory.java/clean/mifos/test/org/mifos/framework/util/helpers/TestObjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1206, 8883, 1265, 2555, 12, 8883, 5315, 6666, 13, 1216, 13702, 503, 288, 202, 202, 430, 12, 10061, 480, 446, 13, 288, 1082, 202, 1884, 12, 8883, 2555, 1943, 6666, 2555, 1943, 294, 6666, 18, 588, 8883, 11024, 10756, 9506, 202, 10061, 2555, 1943, 18, 542, 8883, 12, 2011, 1769, 1082, 202, 10061, 18, 2725, 5621, 1082, 202, 44, 24360, 1304, 18, 7371, 3342, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 918, 1206, 8883, 1265, 2555, 12, 8883, 5315, 6666, 13, 1216, 13702, 503, 288, 202, 202, 430, 12, 10061, 480, 446, 13, 288, 1082, 202, 1884, 12, 8883, 2555, 1943, 6666, 2555, 1943, 294, 6666, 18, 588, 8883, 11024, 10756, 9506, 202, 10061, 2555, 1943, 18, 542, 8883, 12, 2011, 1769, 1082, 202, 10061, 18, 2725, 5621, 1082, 202, 44, 24360, 1304, 18, 7371, 3342, 5621, 202, 202, 97, 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 ]
ignoreConstructor(jniClassLoader, "quickfix.Message", new Class[] { Message.Header.class, Message.Trailer.class });
ignoreConstructor(jniClassLoader, "quickfix.Message", new Class[] { Message.Header.class, Message.Trailer.class });
public IgnoredItems(ClassLoader jniClassLoader) throws ClassNotFoundException, SecurityException, NoSuchMethodException { ignoreConstructor(jniClassLoader, "quickfix.Message", new Class[] { Message.Header.class, Message.Trailer.class }); ignoredClasses.add(jniClassLoader.loadClass("quickfix.CppLog")); ignoredClasses.add(jniClassLoader.loadClass("quickfix.CppMessageStore")); ignoredClasses.add(jniClassLoader.loadClass("quickfix.Group$Iterator")); ignoredClasses.add(jniClassLoader.loadClass("quickfix.Group$Iterator")); ignoredClasses.add(jniClassLoader.loadClass("quickfix.Message$Iterator")); // The following string is split so that CVS will insert log data during commit ignoredClasses.add(jniClassLoader.loadClass("quickfix.Message$" + "Header$Iterator")); ignoredClasses.add(jniClassLoader.loadClass("quickfix.Message$Trailer$Iterator")); ignoreConstructor(jniClassLoader, "quickfix.FileStore", null); ignoreConstructor(jniClassLoader, "quickfix.FileStore", new Class[] { int.class }); ignoreConstructor(jniClassLoader, "quickfix.MemoryStore", new Class[] { int.class }); ignoreConstructor(jniClassLoader, "quickfix.MySQLStore", null); ignoreConstructor(jniClassLoader, "quickfix.MySQLStore", new Class[] { int.class }); ignoreConstructor(jniClassLoader, "quickfix.Message$Header", new Class[] { Message.class, Message.class }); ignoreConstructor(jniClassLoader, "quickfix.Message$Trailer", new Class[] { Message.class, Message.class }); }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/b43da597739d00f108684e8e6e06e2c63bf44191/ApiCompatibilityTest.java/buggy/test/quickfix/ApiCompatibilityTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 8049, 72, 3126, 12, 7805, 525, 15834, 7805, 13, 1216, 10403, 16, 7734, 17780, 16, 15959, 288, 5411, 2305, 6293, 12, 78, 15834, 7805, 16, 315, 19525, 904, 18, 1079, 3113, 10792, 394, 1659, 8526, 288, 2350, 18, 1864, 18, 1106, 16, 2350, 18, 1609, 2895, 18, 1106, 15549, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 39, 11858, 1343, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 39, 11858, 1079, 2257, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 1114, 8, 3198, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 1114, 8, 3198, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 1079, 8, 3198, 7923, 1769, 5411, 368, 1021, 3751, 533, 353, 1416, 1427, 716, 385, 14640, 903, 2243, 613, 501, 4982, 3294, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 1079, 12911, 397, 315, 1864, 8, 3198, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 1079, 8, 1609, 2895, 8, 3198, 7923, 1769, 5411, 2305, 6293, 12, 78, 15834, 7805, 16, 315, 19525, 904, 18, 812, 2257, 3113, 446, 1769, 5411, 2305, 6293, 12, 78, 15834, 7805, 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, 8049, 72, 3126, 12, 7805, 525, 15834, 7805, 13, 1216, 10403, 16, 7734, 17780, 16, 15959, 288, 5411, 2305, 6293, 12, 78, 15834, 7805, 16, 315, 19525, 904, 18, 1079, 3113, 10792, 394, 1659, 8526, 288, 2350, 18, 1864, 18, 1106, 16, 2350, 18, 1609, 2895, 18, 1106, 15549, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 39, 11858, 1343, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 39, 11858, 1079, 2257, 7923, 1769, 5411, 5455, 4818, 18, 1289, 12, 78, 15834, 7805, 18, 945, 797, 2932, 19525, 904, 18, 1114, 8, 3198, 7923, 1769, 5411, 5455, 4818, 18, 2 ]
protected InspectionGadgetsFix buildFix(PsiElement location) {
protected InspectionGadgetsFix buildFix(PsiElement location){
protected InspectionGadgetsFix buildFix(PsiElement location) { return fix; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/bd57f07c33c419f20715b114b71a7e93425b34c9/InnerClassMayBeStaticInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/performance/InnerClassMayBeStaticInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 22085, 7017, 43, 361, 14665, 8585, 1361, 8585, 12, 52, 7722, 1046, 2117, 15329, 3639, 327, 2917, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 4750, 22085, 7017, 43, 361, 14665, 8585, 1361, 8585, 12, 52, 7722, 1046, 2117, 15329, 3639, 327, 2917, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (!mayFireAgain()) return INSTRUCTION_DELETE_TRIGGER;
if (!mayFireAgain()) { return INSTRUCTION_DELETE_TRIGGER; }
public int executionComplete(JobExecutionContext context, JobExecutionException result) { if (result != null && result.refireImmediately()) return INSTRUCTION_RE_EXECUTE_JOB; if (result != null && result.unscheduleFiringTrigger()) return INSTRUCTION_SET_TRIGGER_COMPLETE; if (result != null && result.unscheduleAllTriggers()) return INSTRUCTION_SET_ALL_JOB_TRIGGERS_COMPLETE; if (!mayFireAgain()) return INSTRUCTION_DELETE_TRIGGER; return INSTRUCTION_NOOP; }
15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/f6eeea5a952e67d6b7fc8b54ae64d0b9e7098a98/SimpleTrigger.java/clean/src/java/org/quartz/SimpleTrigger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 4588, 6322, 12, 31498, 1042, 819, 16, 5411, 3956, 14576, 563, 13, 288, 3639, 309, 261, 2088, 480, 446, 597, 563, 18, 1734, 577, 1170, 7101, 10756, 7734, 327, 2120, 3902, 27035, 67, 862, 67, 15271, 9099, 67, 18321, 31, 3639, 309, 261, 2088, 480, 446, 597, 563, 18, 318, 10676, 42, 11256, 6518, 10756, 7734, 327, 2120, 3902, 27035, 67, 4043, 67, 6566, 27399, 67, 15795, 31, 3639, 309, 261, 2088, 480, 446, 597, 563, 18, 318, 10676, 1595, 15114, 10756, 7734, 327, 2120, 3902, 27035, 67, 4043, 67, 4685, 67, 18321, 67, 6566, 27399, 55, 67, 15795, 31, 3639, 309, 16051, 24877, 9723, 23530, 10756, 288, 327, 2120, 3902, 27035, 67, 6460, 67, 6566, 27399, 31, 289, 3639, 327, 2120, 3902, 27035, 67, 3417, 3665, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 4588, 6322, 12, 31498, 1042, 819, 16, 5411, 3956, 14576, 563, 13, 288, 3639, 309, 261, 2088, 480, 446, 597, 563, 18, 1734, 577, 1170, 7101, 10756, 7734, 327, 2120, 3902, 27035, 67, 862, 67, 15271, 9099, 67, 18321, 31, 3639, 309, 261, 2088, 480, 446, 597, 563, 18, 318, 10676, 42, 11256, 6518, 10756, 7734, 327, 2120, 3902, 27035, 67, 4043, 67, 6566, 27399, 67, 15795, 31, 3639, 309, 261, 2088, 480, 446, 597, 563, 18, 318, 10676, 1595, 15114, 10756, 7734, 327, 2120, 3902, 27035, 67, 4043, 67, 4685, 67, 18321, 67, 6566, 27399, 55, 67, 15795, 31, 3639, 309, 16051, 24877, 9723, 23530, 10756, 288, 327, 2120, 3902, 27035, 67, 6460, 67, 6566, 2 ]
pattern = pattern.substring( 1 );
workingPattern = workingPattern.substring( 1 );
private short determineSearchType( String pattern ) { if ( pattern.charAt( 0 ) == '+' ){ /* strip first caracter: */ pattern = pattern.substring( 1 ); return AND; } else if ( pattern.charAt( 0 ) == '-' ){ /* strip first caracter: */ pattern = pattern.substring( 1 ); return ANDNOT; } else if ( pattern.equals( "OR" ) ){ /* set pattern to "null", take this as sign to use the following pattern */ pattern = null; return OR; } else if ( pattern.equals( "AND" ) ){ /* set pattern to "null", take this as sign to use the following pattern */ pattern = null; return AND; } else if ( pattern.equals( "ANDNOT" ) ){ /* set pattern to "null", take this as sign to use the following pattern */ pattern = null; return ANDNOT; } else return AND; }
11075 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11075/90444793e98747779f659192dc3f3c497d9af24c/SearchQuery.java/buggy/g2gui/src/net/mldonkey/g2gui/model/SearchQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3025, 4199, 2979, 559, 12, 514, 1936, 262, 288, 202, 202, 430, 261, 1936, 18, 3001, 861, 12, 374, 262, 422, 10058, 262, 95, 1082, 202, 20308, 2569, 1122, 5926, 3946, 30, 1195, 1082, 202, 4951, 273, 1936, 18, 28023, 12, 404, 11272, 25083, 202, 2463, 4116, 31, 6862, 202, 97, 6862, 202, 12107, 309, 261, 1936, 18, 3001, 861, 12, 374, 262, 422, 4014, 262, 95, 1082, 202, 20308, 2569, 1122, 5926, 3946, 30, 1195, 1082, 202, 4951, 273, 1936, 18, 28023, 12, 404, 11272, 1082, 202, 2463, 4116, 4400, 31, 6862, 202, 97, 202, 202, 12107, 309, 261, 1936, 18, 14963, 12, 315, 916, 6, 262, 262, 95, 1082, 202, 20308, 444, 1936, 358, 315, 2011, 3113, 4862, 333, 487, 1573, 358, 999, 326, 3751, 1936, 1195, 1082, 202, 4951, 273, 446, 31, 1082, 202, 2463, 4869, 31, 6862, 202, 97, 202, 202, 12107, 309, 261, 1936, 18, 14963, 12, 315, 4307, 6, 262, 262, 95, 1082, 202, 20308, 444, 1936, 358, 315, 2011, 3113, 4862, 333, 487, 1573, 358, 999, 326, 3751, 1936, 1195, 1082, 202, 4951, 273, 446, 31, 1082, 202, 2463, 4116, 31, 6862, 202, 97, 202, 202, 12107, 309, 261, 1936, 18, 14963, 12, 315, 4307, 4400, 6, 262, 262, 95, 1082, 202, 20308, 444, 1936, 358, 315, 2011, 3113, 4862, 333, 487, 1573, 358, 999, 326, 3751, 1936, 1195, 1082, 202, 4951, 273, 446, 31, 1082, 202, 2463, 4116, 4400, 31, 6862, 202, 97, 6862, 6862, 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, 3025, 4199, 2979, 559, 12, 514, 1936, 262, 288, 202, 202, 430, 261, 1936, 18, 3001, 861, 12, 374, 262, 422, 10058, 262, 95, 1082, 202, 20308, 2569, 1122, 5926, 3946, 30, 1195, 1082, 202, 4951, 273, 1936, 18, 28023, 12, 404, 11272, 25083, 202, 2463, 4116, 31, 6862, 202, 97, 6862, 202, 12107, 309, 261, 1936, 18, 3001, 861, 12, 374, 262, 422, 4014, 262, 95, 1082, 202, 20308, 2569, 1122, 5926, 3946, 30, 1195, 1082, 202, 4951, 273, 1936, 18, 28023, 12, 404, 11272, 1082, 202, 2463, 4116, 4400, 31, 6862, 202, 97, 202, 202, 12107, 309, 261, 1936, 18, 14963, 12, 315, 916, 6, 262, 262, 95, 1082, 202, 20308, 444, 1936, 358, 2 ]
firstLocationCheck = false;
private void createLocationListener() { Listener listener = new Listener() { public void handleEvent(Event event) { applyValidationResult(checkValid()); } }; this.locationPathField.addListener(SWT.Modify, listener);}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0ddfe8868d86f83d0348e2d7421af2e675b72a4a/ProjectLocationSelectionDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/ProjectLocationSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 3645, 2735, 1564, 273, 629, 31, 918, 3645, 2735, 1564, 273, 629, 31, 752, 2735, 2223, 1435, 3645, 2735, 1564, 273, 629, 31, 288, 202, 2223, 3645, 2735, 1564, 273, 629, 31, 2991, 3645, 2735, 1564, 273, 629, 31, 273, 3645, 2735, 1564, 273, 629, 31, 394, 3645, 2735, 1564, 273, 629, 31, 10652, 1435, 3645, 2735, 1564, 273, 629, 31, 288, 202, 202, 482, 3645, 2735, 1564, 273, 629, 31, 918, 3645, 2735, 1564, 273, 629, 31, 1640, 1133, 12, 1133, 3645, 2735, 1564, 273, 629, 31, 871, 13, 3645, 2735, 1564, 273, 629, 31, 288, 1082, 202, 9010, 4354, 1253, 12, 1893, 1556, 10663, 202, 202, 97, 202, 20451, 202, 2211, 18, 3562, 743, 974, 18, 1289, 2223, 12, 55, 8588, 18, 11047, 16, 3645, 2735, 1564, 273, 629, 31, 2991, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 3645, 2735, 1564, 273, 629, 31, 918, 3645, 2735, 1564, 273, 629, 31, 752, 2735, 2223, 1435, 3645, 2735, 1564, 273, 629, 31, 288, 202, 2223, 3645, 2735, 1564, 273, 629, 31, 2991, 3645, 2735, 1564, 273, 629, 31, 273, 3645, 2735, 1564, 273, 629, 31, 394, 3645, 2735, 1564, 273, 629, 31, 10652, 1435, 3645, 2735, 1564, 273, 629, 31, 288, 202, 202, 482, 3645, 2735, 1564, 273, 629, 31, 918, 3645, 2735, 1564, 273, 629, 31, 1640, 1133, 12, 1133, 3645, 2735, 1564, 273, 629, 31, 871, 13, 3645, 2735, 1564, 273, 629, 31, 288, 1082, 202, 9010, 4354, 1253, 12, 1893, 1556, 10663, 202, 202, 97, 202, 20451, 202, 2211, 18, 3562, 743, 974, 18, 2 ]
return m_Missiles;
return m_MissilesWME.GetValue();
public int getMissiles() { return m_Missiles; }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/8303ae1dd73ed9c9b47ad5cf72ee701f4e79aa19/Tank.java/clean/SoarSuite/Environments/JavaTankSoar/source/tanksoar/Tank.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 2108, 1054, 1449, 1435, 288, 202, 202, 2463, 312, 67, 27797, 1449, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 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, 225, 202, 482, 509, 2108, 1054, 1449, 1435, 288, 202, 202, 2463, 312, 67, 27797, 1449, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
context.pencil.clippath();
if (context.peekOperand() instanceof Number) { double data[]; double[] transformedData = new double[2]; data = context.popNumberOperands(2); AffineTransform at = context.pencil.graphics.getTransform(); at.transform(data, 0, transformedData, 0, 1); context.operands.push(new Double(transformedData[0])); context.operands.push(new Double(transformedData[1])); } else { Object data[]; data = context.popOperands(3); if (! (data[0] instanceof Number)) { throw new PainterException("transform: wrong arguments"); } if (! (data[1] instanceof Number)) { throw new PainterException("transform: wrong arguments"); } if (! (data[2] instanceof ArrayList)) { throw new PainterException("transform: wrong arguments"); } ArrayList array = (ArrayList) data[2]; double[] entries = new double[6]; if (! (array.size() == 6)) { throw new PainterException("transform: wrong arguments"); } for (int i = 0; i < 6; i++) { entries[i] = ( (Number) array.get(i)).doubleValue(); } AffineTransform at = new AffineTransform(entries); double numberdata[] = new double[2]; numberdata[0] = ( (Number) data[0]).doubleValue(); numberdata[1] = ( (Number) data[1]).doubleValue(); double[] transformedData = new double[2]; at.transform(numberdata, 0, transformedData, 0, 1); context.operands.push(new Double(transformedData[0])); context.operands.push(new Double(transformedData[1])); }
public void execute(PAContext context) throws PainterException { context.pencil.clippath(); }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAContext.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 309, 261, 2472, 18, 347, 3839, 10265, 1435, 1276, 3588, 13, 288, 1645, 501, 8526, 31, 1645, 8526, 10220, 751, 273, 394, 1645, 63, 22, 15533, 501, 273, 819, 18, 5120, 1854, 3542, 5708, 12, 22, 1769, 23906, 558, 4059, 622, 273, 819, 18, 84, 21620, 18, 31586, 18, 588, 4059, 5621, 622, 18, 6547, 12, 892, 16, 374, 16, 10220, 751, 16, 374, 16, 404, 1769, 819, 18, 4063, 5708, 18, 6206, 12, 2704, 3698, 12, 6547, 329, 751, 63, 20, 5717, 1769, 819, 18, 4063, 5708, 18, 6206, 12, 2704, 3698, 12, 6547, 329, 751, 63, 21, 5717, 1769, 289, 469, 288, 1033, 501, 8526, 31, 225, 501, 273, 819, 18, 5120, 3542, 5708, 12, 23, 1769, 309, 16051, 261, 892, 63, 20, 65, 1276, 3588, 3719, 288, 604, 394, 453, 11606, 503, 2932, 6547, 30, 7194, 1775, 8863, 289, 309, 16051, 261, 892, 63, 21, 65, 1276, 3588, 3719, 288, 604, 394, 453, 11606, 503, 2932, 6547, 30, 7194, 1775, 8863, 289, 309, 16051, 261, 892, 63, 22, 65, 1276, 2407, 3719, 288, 604, 394, 453, 11606, 503, 2932, 6547, 30, 7194, 1775, 8863, 289, 225, 2407, 526, 273, 261, 19558, 13, 501, 63, 22, 15533, 225, 1645, 8526, 3222, 273, 394, 1645, 63, 26, 15533, 225, 309, 16051, 261, 1126, 18, 1467, 1435, 422, 1666, 3719, 288, 604, 394, 453, 11606, 503, 2932, 6547, 30, 7194, 1775, 8863, 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, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 309, 261, 2472, 18, 347, 3839, 10265, 1435, 1276, 3588, 13, 288, 1645, 501, 8526, 31, 1645, 8526, 10220, 751, 273, 394, 1645, 63, 22, 15533, 501, 273, 819, 18, 5120, 1854, 3542, 5708, 12, 22, 1769, 23906, 558, 4059, 622, 273, 819, 18, 84, 21620, 18, 31586, 18, 588, 4059, 5621, 622, 18, 6547, 12, 892, 16, 374, 16, 10220, 751, 16, 374, 16, 404, 1769, 819, 18, 4063, 5708, 18, 6206, 12, 2704, 3698, 12, 6547, 329, 751, 63, 20, 5717, 1769, 819, 18, 4063, 5708, 18, 6206, 12, 2704, 3698, 12, 6547, 329, 751, 63, 21, 5717, 1769, 289, 469, 288, 2 ]
String name = OsgiVendor.VENDOR_NAME; IOsgiVendor v = Osgi.getVendor(name);
private void updateOsgiInstalls() { //String name = wOsgiVendorCombo.getText(); String name = OsgiVendor.VENDOR_NAME; IOsgiVendor v = Osgi.getVendor(name); wOsgiInstallCombo.removeAll(); List l = null; if (v != null && (l = v.getOsgiInstalls()) != null) { for(int i=0; i<l.size();i++) { wOsgiInstallCombo.add( ((IOsgiInstall) l.get(i)).getName()); } } }
14547 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14547/e4172fc5d39fd99380b5511390182661c07a0f1a/MainTab.java/buggy/org.knopflerfish.eclipse.core.ui/src/org/knopflerfish/eclipse/core/ui/launcher/main/MainTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1089, 51, 17537, 6410, 87, 1435, 288, 565, 368, 780, 508, 273, 341, 51, 17537, 14786, 16156, 18, 588, 1528, 5621, 565, 514, 508, 273, 531, 17537, 14786, 18, 58, 30014, 67, 1985, 31, 565, 1665, 17537, 14786, 331, 273, 531, 17537, 18, 588, 14786, 12, 529, 1769, 565, 341, 51, 17537, 6410, 16156, 18, 4479, 1595, 5621, 565, 987, 328, 273, 446, 31, 565, 309, 261, 90, 480, 446, 597, 261, 80, 273, 331, 18, 588, 51, 17537, 6410, 87, 10756, 480, 446, 13, 288, 1377, 364, 12, 474, 277, 33, 20, 31, 277, 32, 80, 18, 1467, 5621, 77, 27245, 288, 3639, 341, 51, 17537, 6410, 16156, 18, 1289, 12, 14015, 4294, 17537, 6410, 13, 328, 18, 588, 12, 77, 13, 2934, 17994, 10663, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3238, 918, 1089, 51, 17537, 6410, 87, 1435, 288, 565, 368, 780, 508, 273, 341, 51, 17537, 14786, 16156, 18, 588, 1528, 5621, 565, 514, 508, 273, 531, 17537, 14786, 18, 58, 30014, 67, 1985, 31, 565, 1665, 17537, 14786, 331, 273, 531, 17537, 18, 588, 14786, 12, 529, 1769, 565, 341, 51, 17537, 6410, 16156, 18, 4479, 1595, 5621, 565, 987, 328, 273, 446, 31, 565, 309, 261, 90, 480, 446, 597, 261, 80, 273, 331, 18, 588, 51, 17537, 6410, 87, 10756, 480, 446, 13, 288, 1377, 364, 12, 474, 277, 33, 20, 31, 277, 32, 80, 18, 1467, 5621, 77, 27245, 288, 3639, 341, 51, 17537, 6410, 16156, 18, 1289, 12, 14015, 4294, 17537, 6410, 2 ]
VersionString = HTMLEncoder.encode(pn.getVersion());
versionString = HTMLEncoder.encode(pn.getVersion());
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx, 200, "text/plain", "OK", sw.toString()); return; } StringBuffer buf = new StringBuffer(1024); //HTTPRequest request = new HTTPRequest(uri); ctx.getPageMaker().makeHead(buf, "Darknet Peers"); // FIXME! We need some nice images PeerNode[] peerNodes = node.getDarknetConnections(); long now = System.currentTimeMillis(); final boolean advancedEnabled = node.getToadletContainer().isAdvancedDarknetEnabled(); node.alerts.toSummaryHtml(buf); /* node status values */ int bwlimitDelayTime = (int) node.getBwlimitDelayTime(); int nodeAveragePingTime = (int) node.getNodeAveragePingTime(); int networkSizeEstimate = (int) node.getNetworkSizeEstimate( 0 ); String nodeUptimeString = timeIntervalToString(( now - node.startupTime ) / 1000); /* gather connection statistics */ int numberOfConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_CONNECTED); int numberOfRoutingBackedOff = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF); int numberOfTooNew = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_NEW); int numberOfTooOld = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_OLD); int numberOfDisconnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_DISCONNECTED); int numberOfNeverConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_NEVER_CONNECTED); buf.append("<table class=\"column\"><tr><td class=\"first\">"); /* node status overview box */ if(advancedEnabled) { buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Node status overview</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("<ul>"); buf.append("<li>bwlimitDelayTime:&nbsp;").append(bwlimitDelayTime).append("ms</li>"); buf.append("<li>nodeAveragePingTime:&nbsp;").append(nodeAveragePingTime).append("ms</li>"); buf.append("<li>networkSizeEstimate:&nbsp;").append(networkSizeEstimate).append("&nbsp;nodes</li>"); buf.append("<li>nodeUptime:&nbsp;").append(nodeUptimeString).append("</li>"); buf.append("</ul></div>"); buf.append("</div>\n"); buf.append("</td><td>"); } // Activity box int numInserts = node.getNumInserts(); int numRequests = node.getNumRequests(); int numTransferringRequests = node.getNumTransferringRequests(); int numARKFetchers = node.getNumARKFetchers(); buf.append("<div class=\"infobox\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Current Activity\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); if ((numInserts == 0) && (numRequests == 0) && (numTransferringRequests == 0) && (numARKFetchers == 0)) { buf.append("Your node is not processing any requests right now."); } else { buf.append("<ul id=\"activity\">\n"); if (numInserts > 0) { buf.append("<li>Inserts:&nbsp;").append(numInserts).append("</li>"); } if (numRequests > 0) { buf.append("<li>Requests:&nbsp;").append(numRequests).append("</li>"); } if (numTransferringRequests > 0) { buf.append("<li>Transferring&nbsp;Requests:&nbsp;").append(numTransferringRequests).append("</li>"); } if(advancedEnabled) { if (numARKFetchers > 0) { buf.append("<li>ARK&nbsp;Fetch&nbsp;Requests:&nbsp;").append(numARKFetchers).append("</li>"); } } buf.append("</ul>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); buf.append("</td><td>"); // Peer statistics box buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Peer statistics</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("<ul>"); if (numberOfConnected > 0) { buf.append("<li><span class=\"peer_connected\">Connected:&nbsp;").append(numberOfConnected).append("</span></li>"); } if (numberOfRoutingBackedOff > 0) { buf.append("<li><span class=\"peer_backedoff\">Backed off:&nbsp;").append(numberOfRoutingBackedOff).append("</span></li>"); } if (numberOfTooNew > 0) { buf.append("<li><span class=\"peer_too_new\">Too new:&nbsp;").append(numberOfTooNew).append("</span></li>"); } if (numberOfTooOld > 0) { buf.append("<li><span class=\"peer_too_old\">Too old:&nbsp;").append(numberOfTooOld).append("</span></li>"); } if (numberOfDisconnected > 0) { buf.append("<li><span class=\"peer_disconnected\">Disconnected:&nbsp;").append(numberOfDisconnected).append("</span></li>"); } if (numberOfNeverConnected > 0) { buf.append("<li><span class=\"peer_never_connected\">Never Connected:&nbsp;").append(numberOfNeverConnected).append("</span></li>"); } buf.append("</ul>"); buf.append("</div>"); buf.append("</div>\n"); // Peer routing backoff reason box if(advancedEnabled) { buf.append("</td><td class=\"last\">"); buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Peer backoff reasons</div>"); buf.append("<div class=\"infobox-content\">"); String [] routingBackoffReasons = node.getPeerNodeRoutingBackoffReasons(); if(routingBackoffReasons.length == 0) { buf.append("Good, your node is not backed off from any peers!<br/>\n"); } else { buf.append("<ul>\n"); for(int i=0;i<routingBackoffReasons.length;i++) { int reasonCount = node.getPeerNodeRoutingBackoffReasonSize(routingBackoffReasons[i]); if(reasonCount > 0) { buf.append("<li>").append(routingBackoffReasons[i]).append(":&nbsp;").append(reasonCount).append("</li>\n"); } } buf.append("</ul>\n"); } buf.append("</div>"); buf.append("</div>\n"); } buf.append("</td></tr></table>\n"); buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("My Peers"); if(advancedEnabled) { if (!path.endsWith("displaymessagetypes.html")) { buf.append(" <a href=\"displaymessagetypes.html\">(more detailed)</a>"); } } buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); StringBuffer buf2 = new StringBuffer(1024); buf2.append("<table class=\"darknet_connections\">\n"); buf2.append(" <tr>\n"); buf2.append(" <th></th>\n"); buf2.append(" <th>Status</th>\n"); buf2.append(" <th><span title=\"Click on the nodename link to send a N2NTM\" style=\"border-bottom:1px dotted;cursor:help;\">Name</span></th>\n"); if(advancedEnabled) { buf2.append(" <th><span title=\"Address:Port\" style=\"border-bottom:1px dotted;cursor:help;\">Address</span></th>\n"); } buf2.append(" <th>Version</th>\n"); if(advancedEnabled) { buf2.append(" <th>Location</th>\n"); buf2.append(" <th><span title=\"Temporarily disconnected. Other node busy? Wait time(s) remaining/total\" style=\"border-bottom:1px dotted;cursor:help;\">Backoff</span></th>\n"); } buf2.append(" <th><span title=\"How long since the node was last seen\" style=\"border-bottom:1px dotted;cursor:help;\">Idle</span></th>\n"); buf2.append(" </tr>\n"); if (peerNodes.length == 0) { buf2.append("<tr><td colspan=\"8\">Freenet can't work - you have not added any peers so far. <a href=\"/\">Go here</a> and read the top infobox to see how it's done.</td></tr>\n"); buf2.append("</table>\n"); // buf.append(buf2); } else { // Create array Object[][] rows = new Object[peerNodes.length][]; for(int i=0;i<peerNodes.length;i++) { PeerNode pn = peerNodes[i]; long routingBackedOffUntil = pn.getRoutingBackedOffUntil(); int backoff = (int)(Math.max(routingBackedOffUntil - now, 0)); // Don't list the backoff as zero before it's actually zero if(backoff > 0 && backoff < 1000 ) backoff = 1000; // Elements must be HTML encoded. Object[] row = new Object[10]; // where [0] is the pn object and 9 is the node name only for sorting! rows[i] = row; Object status = new Integer(pn.getPeerNodeStatus()); long idle = pn.lastReceivedPacketTime(); if(((Integer) status).intValue() == Node.PEER_NODE_STATUS_NEVER_CONNECTED) idle = pn.getPeerAddedTime(); String lastBackoffReasonOutputString = ""; if(advancedEnabled) { String backoffReason = pn.getLastBackoffReason(); if( backoffReason != null ) { lastBackoffReasonOutputString = "/"+backoffReason; } else { lastBackoffReasonOutputString = "/"; } } String avgPingTimeString = ""; if(advancedEnabled) { if(pn.isConnected()) { avgPingTimeString = " ("+(int) pn.averagePingTime()+"ms)"; } } String VersionPrefixString = ""; String VersionString = ""; String VersionSuffixString = ""; if(pn.publicInvalidVersion() || pn.publicReverseInvalidVersion()) { VersionPrefixString = "<span class=\"peer_version_problem\">"; VersionSuffixString = "</span>"; } String NamePrefixString = ""; String NameSuffixString = ""; if(pn.isConnected()) { NamePrefixString = "<a href=\"/send_n2ntm/?peernode_hashcode="+pn.hashCode()+"\">"; NameSuffixString = "</a>"; } if(advancedEnabled) { VersionString = HTMLEncoder.encode(pn.getVersion()); } else { VersionString = HTMLEncoder.encode(pn.getSimpleVersion()); } row[0] = pn; row[1] = "<input type=\"checkbox\" name=\"delete_node_"+pn.hashCode()+"\" />"; row[2] = status; row[3] = NamePrefixString+HTMLEncoder.encode(pn.getName())+NameSuffixString; row[4] = ( pn.getDetectedPeer() != null ? HTMLEncoder.encode(pn.getDetectedPeer().toString()) : "(address unknown)" ) + avgPingTimeString; row[5] = VersionPrefixString+VersionString+VersionSuffixString; row[6] = new Double(pn.getLocation().getValue()); row[7] = backoff/1000 + "/" + pn.getRoutingBackoffLength()/1000+lastBackoffReasonOutputString; row[8] = idleToString(now, idle, ((Integer) status).intValue()); row[9] = HTMLEncoder.encode(pn.getName()); } // Sort array Arrays.sort(rows, new MyComparator()); // Convert status codes into status strings for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; String arkAsterisk = ""; if(advancedEnabled) { if(((PeerNode) row[0]).isFetchingARK()) { arkAsterisk = "*"; } } row[2] = "<span class=\""+((PeerNode) row[0]).getPeerNodeStatusCSSClassName()+"\">"+((PeerNode) row[0]).getPeerNodeStatusString()+arkAsterisk+"</span>"; } // Turn array into HTML for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; buf2.append("<tr>"); for(int j=1;j<row.length;j++) { // skip index 0 as it's the PeerNode object if(j == 9) { // skip index 9 as it's used for sorting purposes only continue; } if(!advancedEnabled) { // if not in advanced Darknet page output mode if( j == 4 || j == 6 || j == 7 ) { // skip IP address/name, location and backoff times continue; } } buf2.append("<td>"+row[j]+"</td>"); } buf2.append("</tr>\n"); if (path.endsWith("displaymessagetypes.html")) { buf2.append("<tr class=\"messagetypes\"><td colspan=\"8\">\n"); buf2.append("<table class=\"sentmessagetypes\">\n"); buf2.append("<tr><th>Sent Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("<table class=\"receivedmessagetypes\">\n"); buf2.append("<tr><th>Received Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("</td></tr>\n"); } } buf2.append("</table>\n"); // buf.append(buf2); // buf.append("<input type=\"submit\" name=\"remove\" value=\"Remove selected peers\" />"); if(advancedEnabled) { buf.append("&nbsp;&nbsp;&nbsp;<span class=\"darknet_connections\">* Requesting ARK</span>\n"); } buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); buf.append("</form>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); // new peer addition box buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Add another peer\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); buf.append("Reference:<br />\n"); buf.append("<textarea id=\"reftext\" name=\"ref\" rows=\"8\" cols=\"74\"></textarea>\n"); buf.append("<br />\n"); buf.append("or URL:\n"); buf.append("<input id=\"refurl\" type=\"text\" name=\"url\" />\n"); buf.append("<br />\n"); buf.append("or file:\n"); buf.append("<input id=\"reffile\" type=\"file\" name=\"reffile\" />\n"); buf.append("<br />\n"); buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); buf.append("<input type=\"submit\" name=\"add\" value=\"Add\" />\n"); buf.append("</form>\n"); buf.append("</div>\n"); buf.append("</div>\n"); // our reference buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("<a href=\"myref.txt\">My Reference</a>\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<pre id=\"reference\">\n"); buf.append(HTMLEncoder.encode(this.node.exportPublicFieldSet().toString())); buf.append("</pre>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/7504214b3d33c663389e1b6e19d52cddf236c0d8/DarknetConnectionsToadlet.java/clean/src/freenet/clients/http/DarknetConnectionsToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 12, 803, 18, 5839, 1190, 2932, 4811, 1734, 18, 5830, 6, 3719, 288, 1082, 202, 5784, 974, 694, 2662, 273, 756, 18, 6530, 4782, 974, 694, 5621, 1082, 202, 780, 2289, 1352, 273, 394, 17436, 5621, 1082, 202, 2556, 18, 2626, 774, 12, 5328, 1769, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 4044, 16, 315, 955, 19, 7446, 3113, 315, 3141, 3113, 1352, 18, 10492, 10663, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 1892, 1681, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 202, 759, 23891, 590, 273, 394, 25238, 12, 1650, 1769, 202, 202, 5900, 18, 588, 1964, 12373, 7675, 6540, 1414, 12, 4385, 16, 315, 40, 1313, 2758, 19622, 414, 8863, 9506, 202, 759, 9852, 5, 1660, 1608, 2690, 13752, 4602, 202, 202, 6813, 907, 8526, 4261, 3205, 273, 756, 18, 588, 40, 1313, 2758, 9314, 5621, 9506, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 9506, 202, 6385, 1250, 16111, 1526, 273, 756, 18, 588, 774, 361, 1810, 2170, 7675, 291, 23618, 40, 1313, 2758, 1526, 5621, 9506, 202, 2159, 18, 11798, 87, 18, 869, 4733, 4353, 12, 4385, 1769, 9506, 202, 20308, 756, 1267, 924, 1195, 202, 202, 474, 12986, 3595, 6763, 950, 273, 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, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 12, 803, 18, 5839, 1190, 2932, 4811, 1734, 18, 5830, 6, 3719, 288, 1082, 202, 5784, 974, 694, 2662, 273, 756, 18, 6530, 4782, 974, 694, 5621, 1082, 202, 780, 2289, 1352, 273, 394, 17436, 5621, 1082, 202, 2556, 18, 2626, 774, 12, 5328, 1769, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 4044, 16, 315, 955, 19, 7446, 3113, 315, 3141, 3113, 1352, 18, 10492, 10663, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2 ]
if (trim_right == 0)
} if (trim_right == 0) {
public Rectangle getTrimRect(Composite window, int areaId) { Rectangle bb = window.getBounds(); Rectangle cr = window.getClientArea(); Rectangle tr = window.computeTrim(cr.x, cr.y, cr.width, cr.height); // Place the Client Area 'within' its window Geometry.moveRectangle(cr, new Point(bb.x - tr.x, bb.y - tr.y)); TrimArea top = (TrimArea) fTrimArea.get(TOP_ID); TrimArea bottom = (TrimArea) fTrimArea.get(BOTTOM_ID); TrimArea left = (TrimArea) fTrimArea.get(LEFT_ID); TrimArea right = (TrimArea) fTrimArea.get(RIGHT_ID); int trim_top = top.calculateTrimSize(cr.width, cr.height); int trim_bottom = bottom.calculateTrimSize(cr.width, cr.height); int trim_left = left.calculateTrimSize(cr.width, cr.height); int trim_right = right.calculateTrimSize(cr.width, cr.height); // Adjust the trim sizes to incorporate the margins for sides that // don't currently have trim if (trim_top == 0) trim_top = marginHeight; if (trim_bottom == 0) trim_bottom = marginHeight; if (trim_left == 0) trim_left = marginWidth; if (trim_right == 0) trim_right = marginWidth; Rectangle trimRect = new Rectangle(0, 0, 0, 0); switch (areaId) { case TOP: trimRect.x = cr.x; trimRect.width = cr.width; trimRect.y = cr.y; trimRect.height = trim_top; break; case BOTTOM: trimRect.x = cr.x; trimRect.width = cr.width; trimRect.y = (cr.y + cr.height) - trim_bottom; trimRect.height = trim_bottom; break; case LEFT: trimRect.x = cr.x; trimRect.width = trim_left; trimRect.y = cr.y + trim_top; trimRect.height = cr.height - (trim_top + trim_bottom); break; case RIGHT: trimRect.x = (cr.x + cr.width) - trim_right; trimRect.width = trim_right; trimRect.y = cr.y + trim_top; trimRect.height = cr.height - (trim_top + trim_bottom); break; } return trimRect; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/TrimLayout.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/layout/TrimLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13264, 336, 14795, 6120, 12, 9400, 2742, 16, 509, 5091, 548, 13, 288, 202, 202, 19463, 7129, 273, 2742, 18, 588, 5694, 5621, 202, 202, 19463, 4422, 273, 2742, 18, 588, 1227, 5484, 5621, 202, 202, 19463, 433, 273, 2742, 18, 9200, 14795, 12, 3353, 18, 92, 16, 4422, 18, 93, 16, 4422, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 759, 13022, 326, 2445, 16668, 296, 25850, 11, 2097, 2742, 202, 202, 9823, 18, 8501, 19463, 12, 3353, 16, 394, 4686, 12, 9897, 18, 92, 300, 433, 18, 92, 16, 7129, 18, 93, 300, 433, 18, 93, 10019, 202, 202, 14795, 5484, 1760, 273, 261, 14795, 5484, 13, 284, 14795, 5484, 18, 588, 12, 10462, 67, 734, 1769, 202, 202, 14795, 5484, 5469, 273, 261, 14795, 5484, 13, 284, 14795, 5484, 18, 588, 12, 28891, 67, 734, 1769, 202, 202, 14795, 5484, 2002, 273, 261, 14795, 5484, 13, 284, 14795, 5484, 18, 588, 12, 10066, 67, 734, 1769, 202, 202, 14795, 5484, 2145, 273, 261, 14795, 5484, 13, 284, 14795, 5484, 18, 588, 12, 11847, 67, 734, 1769, 202, 202, 474, 2209, 67, 3669, 273, 1760, 18, 11162, 14795, 1225, 12, 3353, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 474, 2209, 67, 9176, 273, 5469, 18, 11162, 14795, 1225, 12, 3353, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 474, 2209, 67, 4482, 273, 2002, 18, 11162, 14795, 1225, 12, 3353, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13264, 336, 14795, 6120, 12, 9400, 2742, 16, 509, 5091, 548, 13, 288, 202, 202, 19463, 7129, 273, 2742, 18, 588, 5694, 5621, 202, 202, 19463, 4422, 273, 2742, 18, 588, 1227, 5484, 5621, 202, 202, 19463, 433, 273, 2742, 18, 9200, 14795, 12, 3353, 18, 92, 16, 4422, 18, 93, 16, 4422, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 759, 13022, 326, 2445, 16668, 296, 25850, 11, 2097, 2742, 202, 202, 9823, 18, 8501, 19463, 12, 3353, 16, 394, 4686, 12, 9897, 18, 92, 300, 433, 18, 92, 16, 7129, 18, 93, 300, 433, 18, 93, 10019, 202, 202, 14795, 5484, 1760, 273, 261, 14795, 5484, 13, 284, 14795, 5484, 18, 588, 12, 2 ]
throws NotImplementedException
public void serviceAvailable (BeanContextServiceAvailableEvent bcssae) throws NotImplementedException { throw new Error ("Not implemented"); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/354ad8e724c65b6b6984f632455ce4b17f1fb1d0/BeanContextServicesSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextServicesSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1156, 5268, 261, 3381, 1042, 1179, 5268, 1133, 324, 5212, 8906, 13, 1377, 288, 565, 604, 394, 1068, 7566, 1248, 8249, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1156, 5268, 261, 3381, 1042, 1179, 5268, 1133, 324, 5212, 8906, 13, 1377, 288, 565, 604, 394, 1068, 7566, 1248, 8249, 8863, 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 ]
state = BACKWARD;
currentStep.resetP(); state = BACKWARD;
public int evalNodeSet(VTDNav vn) throws XPathEvalException, NavException { AutoPilot ap = null; int result; boolean b = false; if (currentStep == null) { if ( pathType == ABSOLUTE_PATH){ vn.toElement(VTDNav.ROOT); vn.toElement(VTDNav.PARENT); } currentStep = s; if (currentStep == null){ if ( state == START){ state = END; return 0; } else{ return -1; } } } while (true) { switch (currentStep.axis_type) { case AxisType.CHILD: switch ( state) { case START: if (currentStep.nt.testType != NodeTest.TEXT){ vn.toElement(VTDNav.FIRST_CHILD); state = END; do { if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } break; } } while (vn.toElement(VTDNav.NS)); } else { if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; result = vn.getText(); if (result!=-1){ return result; } } } break; case END: currentStep =null; // reset(); return -1; case FORWARD: if (currentStep.nt.testType != NodeTest.TEXT) { //currentStep = currentStep.getNextStep(); state = BACKWARD; forward: if (vn.toElement(VTDNav.FC)) { do { if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } break forward; } } while (vn.toElement(VTDNav.NS)); vn.toElement(VTDNav.P); currentStep = currentStep.getPrevStep(); } else { //vn.toElement(VTDNav.P); currentStep = currentStep.getPrevStep(); } } else { if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; result = vn.getText(); if (result!=-1){ return result; } } } break; case BACKWARD: if (currentStep.nt.testType != NodeTest.TEXT) { //currentStep = currentStep.getPrevStep(); b = false; while (vn.toElement(VTDNav.NS)) { if (currentStep.eval(vn)) { b = true; break; } } if (b == true) { state = FORWARD; currentStep = currentStep.getNextStep(); } else if (currentStep.getPrevStep() == null) state = END; else { state = BACKWARD; vn.toElement(VTDNav.P); currentStep = currentStep.getPrevStep(); } }else { if (currentStep.getPrevStep() == null) state = END; else { state = BACKWARD; currentStep = currentStep.getPrevStep(); } } break; case TERMINAL: if (currentStep.nt.testType != NodeTest.TEXT) { while (vn.toElement(VTDNav.NS)) { if (currentStep.eval(vn)) { // state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } if (currentStep.getPrevStep() == null) state = END; else { vn.toElement(VTDNav.P); state = BACKWARD; currentStep = currentStep.getPrevStep(); } }else { if (currentStep.getPrevStep() == null) state = END; else { state = BACKWARD; currentStep = currentStep.getPrevStep(); } } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.DESCENDANT_OR_SELF: case AxisType.DESCENDANT: case AxisType.PRECEDING: case AxisType.FOLLOWING: switch ( state) { case START: case FORWARD: // currentStep.o; String helper = null; if (currentStep.nt.testType == NodeTest.NODE){ helper = "*"; }else { helper = currentStep.nt.nodeName; } if (currentStep.o == null) currentStep.o = ap = new AutoPilot(vn); else ap = (AutoPilot) currentStep.o; if (currentStep.get_ft() == true) { if (currentStep.axis_type == AxisType.DESCENDANT_OR_SELF ) if (currentStep.nt.testType == NodeTest.NODE) ap.setSpecial(true); else ap.setSpecial(false); //currentStep.o = ap = new AutoPilot(vn); if (currentStep.axis_type == AxisType.DESCENDANT_OR_SELF) ap.selectElement(helper); else if (currentStep.axis_type == AxisType.DESCENDANT) ap.selectElement_D(helper); else if (currentStep.axis_type == AxisType.PRECEDING) ap.selectElement_P(helper); else ap.selectElement_F(helper); currentStep.set_ft(false); } if ( state == START) state = END; vn.push2(); // not the most efficient. good for now //System.out.println(" --++ push in //"); b = false; while(ap.iterate()){ if (currentStep.evalPredicates(vn)){ b = true; break; } } if (b == false) { vn.pop2(); //System.out.println(" --++ pop in //"); currentStep.set_ft(true); if ( state == FORWARD){ state = BACKWARD; currentStep = currentStep.getPrevStep(); } } else { if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } break; case END: currentStep = null; // reset(); return -1; case BACKWARD: //currentStep = currentStep.getPrevStep(); ap = (AutoPilot) currentStep.o; //vn.push(); b = false; while(ap.iterate()){ if (currentStep.evalPredicates(vn)){ b = true; break; } } if (b == false) { vn.pop2(); currentStep.set_ft(true); //System.out.println(" --++ pop in //"); if (currentStep.getPrevStep() != null) { state = BACKWARD; currentStep = currentStep.getPrevStep(); } else state = END; } else { if (currentStep.getNextStep() != null) { //vn.push(); //System.out.println(" --++ push in //"); state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } break; case TERMINAL: ap = (AutoPilot) currentStep.o; b = false; while(ap.iterate()){ if (currentStep.evalPredicates(vn)){ b = true; break; } } if (b == true){ if (currentStep.evalPredicates(vn)){ result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } else if (currentStep.getPrevStep() == null) { state = END; } else { vn.pop2(); currentStep.set_ft(true); //System.out.println(" --++ pop in //"); state = BACKWARD; //currentStep.ft = true; currentStep = currentStep.getPrevStep(); } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.PARENT: switch ( state) { case START: case FORWARD: // assuming .. without specifying element name // makes the qname = null //if (vn.matchElement("b")){ // System.out.println(" b encountered ==> "+ vn.getCurrentDepth()); //} if (vn.getCurrentDepth() == -1) { if ( state == START) state = END; else { //vn.pop(); state = BACKWARD; currentStep = currentStep.getPrevStep(); } } else { vn.push2(); vn.toElement(VTDNav.P); // must return true if (currentStep.eval(vn)){ if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } }else{ vn.pop2(); if ( state == START) state = END; else { state = BACKWARD; currentStep = currentStep.getPrevStep(); } } } break; case END: currentStep = null; // reset(); return -1; case BACKWARD: case TERMINAL: if (currentStep.getPrevStep() == null) { state = END; break; }else { vn.pop2(); state = BACKWARD; currentStep = currentStep.getPrevStep(); break; } default: throw new XPathEvalException("unknown state"); } break; case AxisType.ANCESTOR: // reverse document order switch ( state) { case START: state = END; if (vn.getCurrentDepth()!=-1){ vn.push2(); while(vn.toElement(VTDNav.P)){ if (currentStep.eval(vn)){ if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if ( state == END){ vn.pop2(); } } break; case FORWARD: state = BACKWARD; vn.push2(); while(vn.toElement(VTDNav.P)){ if (currentStep.eval(vn)){ if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if ( state == BACKWARD){ vn.pop2(); currentStep=currentStep.getPrevStep(); } break; case END: currentStep =null; // reset(); return -1; case BACKWARD: b = false; vn.push2(); while (vn.toElement(VTDNav.P)) { if (currentStep.eval(vn)) { if (currentStep.getNextStep()!= null) { state = FORWARD; currentStep = currentStep.getNextStep(); b = true; break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if (b==false){ vn.pop2(); if (currentStep.getPrevStep()!=null) { state = BACKWARD; currentStep = currentStep.getPrevStep(); } else { state = END; } } break; case TERMINAL: while (vn.toElement(VTDNav.P)) { if (currentStep.eval(vn)) { result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } vn.pop2(); if (currentStep.getPrevStep()!=null) { state = BACKWARD; currentStep = currentStep.getPrevStep(); } else { state = END; } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.ANCESTOR_OR_SELF: // reverse doc order switch ( state) { case START: state = END; vn.push2(); if (currentStep.get_ft()== true){ currentStep.set_ft(false); if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } else { while (vn.toElement(VTDNav.P)) { if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } } if ( state == END) { vn.pop2(); } break; case FORWARD: state = BACKWARD; vn.push2(); if (currentStep.get_ft() == true) { currentStep.set_ft(false); if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } else { while (vn.toElement(VTDNav.P)) { if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } } if ( state == BACKWARD) { currentStep.set_ft(true); vn.pop2(); currentStep = currentStep.getPrevStep(); } break; case END: currentStep = null; // reset(); return -1; case BACKWARD: b = false; vn.push2(); while (vn.toElement(VTDNav.P)) { if (currentStep.eval(vn)) { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); b = true; break; } else { //vn.pop(); state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if (b == false) { vn.pop2(); if (currentStep.getPrevStep() != null) { currentStep.set_ft(true); state = BACKWARD; currentStep = currentStep.getPrevStep(); } else { state = END; } } break; case TERMINAL: while (vn.toElement(VTDNav.P)) { if (currentStep.eval(vn)) { result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } vn.pop2(); if (currentStep.getPrevStep()!=null) { currentStep.set_ft(true); state = BACKWARD; currentStep = currentStep.getPrevStep(); } else { state = END; } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.SELF: switch( state){ case START: case FORWARD: if (currentStep.eval(vn)){ if (currentStep.getNextStep()!=null){ state = FORWARD; currentStep = currentStep.getNextStep(); } else{ state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } }else { if ( state == START) state = END; else state = BACKWARD; } break; case END: currentStep = null; // reset(); break; case BACKWARD: if (currentStep.eval(vn)){ if (currentStep.getNextStep()!=null){ state = BACKWARD; currentStep = currentStep.getPrevStep(); } else{ state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } }else { if (currentStep.getPrevStep()!=null){ state = BACKWARD; currentStep= currentStep.getPrevStep(); }else{ state = END; } } break; case TERMINAL: if (currentStep.getPrevStep()!=null){ state = BACKWARD; currentStep= currentStep.getPrevStep(); }else{ state = END; } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.FOLLOWING_SIBLING: switch( state){ case START: case FORWARD: if ( state == START) state = END; else state = BACKWARD; vn.push2(); while (vn.toElement(VTDNav.NS)){ if (currentStep.eval(vn)){ if (currentStep.getNextStep()!=null){ state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if ( state == END){ vn.pop2(); }else if ( state == BACKWARD){ vn.pop2(); currentStep = currentStep.getPrevStep(); } break; case END: currentStep = null; // reset(); return -1; case BACKWARD: while (vn.toElement(VTDNav.NS)){ if (currentStep.eval(vn)){ if (currentStep.getNextStep()!=null){ state = FORWARD; currentStep = currentStep.getNextStep(); b = true; break; } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if (b==false){ vn.pop2(); if (currentStep.getPrevStep()==null){ state = END; }else{ state = BACKWARD; currentStep = currentStep.getPrevStep(); } } break; case TERMINAL: while (vn.toElement(VTDNav.NS)){ if (currentStep.eval(vn)){ // state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } vn.pop2(); if(currentStep.getPrevStep()!=null){ currentStep = currentStep.getPrevStep(); state = BACKWARD; }else{ state = END; } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.PRECEDING_SIBLING: switch( state){ case START: case FORWARD: if ( state == START) state = END; else state = BACKWARD; vn.push2(); while (vn.toElement(VTDNav.PS)){ if (currentStep.eval(vn)){ if (currentStep.getNextStep()!=null){ state = FORWARD; currentStep = currentStep.getNextStep(); break; } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if ( state == END){ vn.pop2(); }else if ( state == BACKWARD){ vn.pop2(); currentStep = currentStep.getPrevStep(); } break; case END: currentStep = null; // reset(); return -1; case BACKWARD: while (vn.toElement(VTDNav.PS)){ if (currentStep.eval(vn)){ if (currentStep.getNextStep()!=null){ state = FORWARD; currentStep = currentStep.getNextStep(); b = true; break; } else { state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } } if (b==false){ vn.pop2(); if (currentStep.getPrevStep()==null){ state = END; }else{ state = BACKWARD; currentStep = currentStep.getPrevStep(); } } break; case TERMINAL: while (vn.toElement(VTDNav.PS)){ if (currentStep.eval(vn)){ // state = TERMINAL; result = vn.getCurrentIndex(); if ( isUnique(result)) return result; } } vn.pop2(); if(currentStep.getPrevStep()!=null){ currentStep = currentStep.getPrevStep(); state = BACKWARD; }else{ state = END; } break; default: throw new XPathEvalException("unknown state"); } break; case AxisType.ATTRIBUTE: switch( state){ case START: case FORWARD: if (currentStep.get_ft() == true) { currentStep.o = ap = new AutoPilot(vn); ap.selectAttr(currentStep.nt.nodeName); currentStep.set_ft(false); } if ( state == START) state = END; int temp; while( (temp = ap.iterateAttr()) != -1){ if (currentStep.evalPredicates(vn)){ break; } } if (temp == -1){ currentStep.set_ft(true); if ( state == FORWARD){ state = BACKWARD; currentStep = currentStep.getPrevStep(); } }else { if (currentStep.getNextStep() != null){ state = FORWARD; currentStep = currentStep.getNextStep(); } else { //vn.pop(); state = TERMINAL; if ( isUnique(temp)) return temp; } } break; case END: currentStep = null; // reset(); return -1; case BACKWARD: ap = (AutoPilot) currentStep.o; //vn.push(); while( (temp = ap.iterateAttr()) != -1){ if (currentStep.evalPredicates(vn)){ break; } } if (temp == -1) { currentStep.set_ft(true); if (currentStep.getPrevStep() != null) { state = BACKWARD; currentStep = currentStep.getPrevStep(); } else state = END; } else { if (currentStep.getNextStep() != null) { state = FORWARD; currentStep = currentStep.getNextStep(); } else { state = TERMINAL; if ( isUnique(temp)) return temp; } } break; case TERMINAL: ap = (AutoPilot) currentStep.o; while( (temp = ap.iterateAttr()) != -1){ if (currentStep.evalPredicates(vn)){ break; } } if (temp != -1) return temp; if (currentStep.getPrevStep() == null) { currentStep.set_ft(true); state = END; } else { state = BACKWARD; currentStep.set_ft(true); currentStep = currentStep.getPrevStep(); } break; default: throw new XPathEvalException("unknown state"); } break; default: throw new XPathEvalException("axis not supported"); } } }
3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/a7d0540d279b7335c2894d53146ba5f6ff834261/LocationPathExpr.java/clean/com/ximpleware/LocationPathExpr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 5302, 907, 694, 12, 58, 56, 8609, 842, 21732, 13, 1216, 10172, 13904, 503, 16, 423, 842, 503, 202, 202, 95, 202, 202, 4965, 52, 22797, 513, 273, 446, 31, 202, 202, 474, 563, 31, 202, 202, 6494, 324, 273, 629, 31, 202, 202, 430, 261, 2972, 4160, 422, 446, 13, 288, 1082, 202, 430, 261, 589, 559, 422, 225, 10336, 26786, 67, 4211, 15329, 9506, 202, 25031, 18, 869, 1046, 12, 58, 56, 8609, 842, 18, 9185, 1769, 9506, 202, 25031, 18, 869, 1046, 12, 58, 56, 8609, 842, 18, 14943, 1769, 1082, 202, 97, 1082, 202, 2972, 4160, 273, 225, 272, 31, 1082, 202, 430, 261, 2972, 4160, 422, 446, 15329, 9506, 202, 430, 261, 225, 919, 422, 225, 10485, 15329, 25083, 919, 273, 225, 7273, 31, 6862, 202, 2463, 374, 31, 9506, 202, 97, 9506, 202, 12107, 95, 6862, 202, 2463, 300, 21, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 9610, 261, 2972, 4160, 18, 4890, 67, 723, 13, 288, 1082, 202, 3593, 15509, 559, 18, 27043, 30, 9506, 202, 9610, 261, 919, 13, 288, 9506, 202, 3593, 225, 10485, 30, 6862, 202, 430, 261, 2972, 4160, 18, 496, 18, 3813, 559, 480, 2029, 4709, 18, 5151, 15329, 25083, 202, 25031, 18, 869, 1046, 12, 58, 56, 8609, 842, 18, 15354, 67, 27043, 1769, 6862, 1082, 919, 273, 225, 7273, 31, 25083, 202, 2896, 288, 6862, 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, 3196, 202, 482, 509, 5302, 907, 694, 12, 58, 56, 8609, 842, 21732, 13, 1216, 10172, 13904, 503, 16, 423, 842, 503, 202, 202, 95, 202, 202, 4965, 52, 22797, 513, 273, 446, 31, 202, 202, 474, 563, 31, 202, 202, 6494, 324, 273, 629, 31, 202, 202, 430, 261, 2972, 4160, 422, 446, 13, 288, 1082, 202, 430, 261, 589, 559, 422, 225, 10336, 26786, 67, 4211, 15329, 9506, 202, 25031, 18, 869, 1046, 12, 58, 56, 8609, 842, 18, 9185, 1769, 9506, 202, 25031, 18, 869, 1046, 12, 58, 56, 8609, 842, 18, 14943, 1769, 1082, 202, 97, 1082, 202, 2972, 4160, 273, 225, 272, 31, 1082, 202, 430, 261, 2972, 4160, 422, 446, 15329, 9506, 202, 2 ]
FunDef funDef, String message) {
FunDef funDef, String message) {
public static RuntimeException newEvalException( FunDef funDef, String message) { Util.discard(funDef); // TODO: use this return new MondrianEvaluationException(message); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/FunUtil.java/clean/src/main/mondrian/olap/fun/FunUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3235, 394, 13904, 503, 12, 1082, 202, 22783, 3262, 9831, 3262, 16, 514, 883, 13, 288, 3639, 3564, 18, 31992, 12, 12125, 3262, 1769, 368, 2660, 30, 999, 333, 202, 202, 2463, 394, 490, 1434, 566, 304, 13468, 503, 12, 2150, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3235, 394, 13904, 503, 12, 1082, 202, 22783, 3262, 9831, 3262, 16, 514, 883, 13, 288, 3639, 3564, 18, 31992, 12, 12125, 3262, 1769, 368, 2660, 30, 999, 333, 202, 202, 2463, 394, 490, 1434, 566, 304, 13468, 503, 12, 2150, 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, -100 ]
protected MailData makeMailData(Mail raw, boolean showEmail) throws NotFoundException { try { InternetAddress addy = raw.getFromAddress(); SubEthaMessage msg = new SubEthaMessage(this.mailSession, raw.getContent()); List<InlinePartData> inlineParts = new ArrayList<InlinePartData>(); List<AttachmentPartData> attachmentParts = new ArrayList<AttachmentPartData>(); for (Part part: msg.getParts()) { if (part.getContentType().startsWith(SubEthaMessage.DETACHMENT_MIME_TYPE)) { String contentType = part.getHeader(SubEthaMessage.HDR_ORIGINAL_CONTENT_TYPE)[0]; part.setHeader(SubEthaMessage.HDR_CONTENT_TYPE, contentType); // Since we set the content type, this should work String name = part.getFileName(); Long id = (Long)part.getContent(); AttachmentPartData apd = new AttachmentPartData(id, contentType, name, part.getSize()); attachmentParts.add(apd); } else { // not an attachment cause it isn't stored as a detached part. Object content = part.getContent(); String name = part.getFileName(); InlinePartData ipd; if (content instanceof String) { ipd = new TextPartData((String)content, part.getContentType(), name, part.getSize()); } else { ipd = new InlinePartData(content, part.getContentType(), name, part.getSize()); } inlineParts.add(ipd); } } return new MailData( raw.getId(), raw.getSubject(), showEmail ? addy.getAddress() : null, addy.getPersonal(), raw.getDateCreated(), Transmute.mailSummaries(raw.getReplies(), showEmail, null), raw.getList().getId(), inlineParts, attachmentParts); } catch (MessagingException ex) { // Should be impossible since everything was already run through // JavaMail when the data was imported. throw new RuntimeException(ex); } catch (IOException ex) { // Ditto throw new RuntimeException(ex); } }
50789 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50789/439d939832cde4ab662767cb5b0b2a808f870d72/ArchiverBean.java/buggy/core/src/org/subethamail/core/lists/ArchiverBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 11542, 751, 1221, 6759, 751, 12, 6759, 1831, 16, 1250, 2405, 4134, 13, 1216, 12323, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 26562, 1887, 527, 93, 273, 1831, 18, 588, 1265, 1887, 5621, 6862, 202, 1676, 41, 451, 69, 1079, 1234, 273, 394, 2592, 41, 451, 69, 1079, 12, 2211, 18, 4408, 2157, 16, 1831, 18, 588, 1350, 10663, 25083, 202, 682, 32, 10870, 1988, 751, 34, 6370, 4305, 273, 394, 2407, 32, 10870, 1988, 751, 34, 5621, 1082, 202, 682, 32, 6803, 1988, 751, 34, 6042, 4305, 273, 394, 2407, 32, 6803, 1988, 751, 34, 5621, 1082, 202, 1884, 261, 1988, 1087, 30, 1234, 18, 588, 4305, 10756, 1875, 202, 95, 9506, 202, 430, 261, 2680, 18, 588, 8046, 7675, 17514, 1190, 12, 1676, 41, 451, 69, 1079, 18, 40, 1584, 18133, 3212, 67, 18178, 67, 2399, 3719, 9506, 202, 95, 6862, 202, 780, 5064, 273, 1087, 18, 588, 1864, 12, 1676, 41, 451, 69, 1079, 18, 44, 6331, 67, 24685, 1013, 67, 9689, 67, 2399, 25146, 20, 15533, 6862, 202, 2680, 18, 542, 1864, 12, 1676, 41, 451, 69, 1079, 18, 44, 6331, 67, 9689, 67, 2399, 16, 5064, 1769, 6862, 25083, 202, 759, 7897, 732, 444, 326, 913, 618, 16, 333, 1410, 1440, 6862, 202, 780, 508, 273, 1087, 18, 588, 4771, 5621, 6862, 25083, 202, 3708, 612, 273, 261, 3708, 13, 2680, 18, 588, 1350, 5621, 6862, 25083, 202, 6803, 1988, 751, 513, 72, 273, 394, 15939, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 11542, 751, 1221, 6759, 751, 12, 6759, 1831, 16, 1250, 2405, 4134, 13, 1216, 12323, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 26562, 1887, 527, 93, 273, 1831, 18, 588, 1265, 1887, 5621, 6862, 202, 1676, 41, 451, 69, 1079, 1234, 273, 394, 2592, 41, 451, 69, 1079, 12, 2211, 18, 4408, 2157, 16, 1831, 18, 588, 1350, 10663, 25083, 202, 682, 32, 10870, 1988, 751, 34, 6370, 4305, 273, 394, 2407, 32, 10870, 1988, 751, 34, 5621, 1082, 202, 682, 32, 6803, 1988, 751, 34, 6042, 4305, 273, 394, 2407, 32, 6803, 1988, 751, 34, 5621, 1082, 202, 1884, 261, 1988, 1087, 30, 1234, 18, 588, 4305, 10756, 1875, 202, 95, 9506, 2 ]
return Boolean.valueOf(removeCalendar(conn, ctxt, calName)); }
return Boolean.valueOf(removeCalendar(conn, ctxt, calName)); }
public Object execute(Connection conn) throws JobPersistenceException { return Boolean.valueOf(removeCalendar(conn, ctxt, calName)); }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/JobStoreSupport.java/clean/src/java/org/quartz/impl/jdbcjobstore/JobStoreSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 1033, 1836, 12, 1952, 1487, 13, 1216, 3956, 13182, 503, 288, 10792, 327, 3411, 18, 1132, 951, 12, 4479, 7335, 12, 4646, 16, 14286, 16, 1443, 461, 10019, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1171, 1071, 1033, 1836, 12, 1952, 1487, 13, 1216, 3956, 13182, 503, 288, 10792, 327, 3411, 18, 1132, 951, 12, 4479, 7335, 12, 4646, 16, 14286, 16, 1443, 461, 10019, 7734, 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 ]
setOutline((LineAttributes)null);
setOutline((LineAttributes) null);
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case ComponentPackage.MARKER_RANGE__OUTLINE: setOutline((LineAttributes)null); return; case ComponentPackage.MARKER_RANGE__FILL: setFill((Fill)null); return; case ComponentPackage.MARKER_RANGE__START_VALUE: setStartValue((DataElement)null); return; case ComponentPackage.MARKER_RANGE__END_VALUE: setEndValue((DataElement)null); return; case ComponentPackage.MARKER_RANGE__LABEL: setLabel((Label)null); return; case ComponentPackage.MARKER_RANGE__LABEL_ANCHOR: unsetLabelAnchor(); return; case ComponentPackage.MARKER_RANGE__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)null); return; } eDynamicUnset(eFeature); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/MarkerRangeImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/MarkerRangeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 5069, 5997, 30, 7734, 444, 21805, 12443, 1670, 2498, 13, 446, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 29818, 30, 7734, 27101, 12443, 8026, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 7570, 67, 4051, 30, 7734, 18171, 620, 12443, 751, 1046, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 4415, 67, 4051, 30, 7734, 19743, 620, 12443, 751, 1046, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 13545, 67, 20360, 916, 30, 7734, 2646, 2224, 11605, 5621, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 7254, 67, 13847, 10591, 30, 7734, 26251, 21416, 12443, 1630, 21416, 13, 2011, 1769, 7734, 327, 31, 3639, 289, 3639, 425, 9791, 13250, 12, 73, 4595, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 5069, 5997, 30, 7734, 444, 21805, 12443, 1670, 2498, 13, 446, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 29818, 30, 7734, 27101, 12443, 8026, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 7570, 67, 4051, 30, 7734, 18171, 620, 12443, 751, 1046, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 5435, 2261, 18, 25989, 67, 15928, 972, 4415, 67, 4051, 30, 7734, 19743, 620, 12443, 751, 1046, 13, 2011, 1769, 2 ]
return f.length;
return f.getLength();
public int getColumnDisplaySize(int column) throws SQLException { Field f = getField(column); String type_name = f.getTypeName(); int sql_type = f.getSQLType(); int typmod = f.mod; // I looked at other JDBC implementations and couldn't find a consistent // interpretation of the "display size" for numeric values, so this is our's // FIXME: currently, only types with a SQL92 or SQL3 pendant are implemented - jens@jens.de // fixed length data types if (type_name.equals( "int2" )) return 6; // -32768 to +32768 (5 digits and a sign) if (type_name.equals( "int4" ) || type_name.equals( "oid" )) return 11; // -2147483648 to +2147483647 if (type_name.equals( "int8" )) return 20; // -9223372036854775808 to +9223372036854775807 if (type_name.equals( "money" )) return 12; // MONEY = DECIMAL(9,2) if (type_name.equals( "float4" )) return 11; // i checked it out ans wasn't able to produce more than 11 digits if (type_name.equals( "float8" )) return 20; // dito, 20 if (type_name.equals( "char" )) return 1; if (type_name.equals( "bool" )) return 1; if (type_name.equals( "date" )) return 14; // "01/01/4713 BC" - "31/12/32767 AD" if (type_name.equals( "time" )) return 8; // 00:00:00-23:59:59 if (type_name.equals( "timestamp" )) return 22; // hhmmm ... the output looks like this: 1999-08-03 22:22:08+02 // variable length fields typmod -= 4; if (type_name.equals( "bpchar" ) || type_name.equals( "varchar" )) return typmod; // VARHDRSZ=sizeof(int32)=4 if (type_name.equals( "numeric" )) return ( (typmod >>16) & 0xffff ) + 1 + ( typmod & 0xffff ); // DECIMAL(p,s) = (p digits).(s digits) // if we don't know better return f.length; }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/76a6da8a1b01e23091da65f5e167d67f5274d740/ResultSetMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSetMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 6716, 4236, 1225, 12, 474, 1057, 13, 1216, 6483, 225, 288, 565, 2286, 284, 273, 5031, 12, 2827, 1769, 565, 514, 618, 67, 529, 273, 284, 18, 588, 7947, 5621, 565, 509, 1847, 67, 723, 273, 284, 18, 588, 3997, 559, 5621, 565, 509, 3815, 1711, 273, 284, 18, 1711, 31, 565, 368, 467, 27321, 622, 1308, 16364, 16164, 471, 17991, 1404, 1104, 279, 11071, 565, 368, 10634, 367, 434, 326, 315, 5417, 963, 6, 364, 6389, 924, 16, 1427, 333, 353, 3134, 1807, 565, 368, 9852, 30, 4551, 16, 1338, 1953, 598, 279, 3063, 9975, 578, 3063, 23, 31472, 970, 854, 8249, 300, 525, 773, 36, 78, 773, 18, 323, 565, 368, 5499, 769, 501, 1953, 565, 309, 261, 723, 67, 529, 18, 14963, 12, 315, 474, 22, 6, 1377, 8623, 225, 327, 1666, 31, 225, 368, 300, 1578, 6669, 28, 358, 397, 1578, 6669, 28, 261, 25, 6815, 471, 279, 1573, 13, 565, 309, 261, 723, 67, 529, 18, 14963, 12, 315, 474, 24, 6, 1377, 262, 1377, 747, 618, 67, 529, 18, 14963, 12, 315, 839, 6, 4202, 8623, 225, 327, 4648, 31, 368, 300, 22, 3461, 30623, 27382, 358, 397, 22, 3461, 30623, 30792, 565, 309, 261, 723, 67, 529, 18, 14963, 12, 315, 474, 28, 6, 1377, 8623, 225, 327, 4200, 31, 368, 300, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 27714, 3672, 28, 358, 397, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 27714, 3672, 27, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 6716, 4236, 1225, 12, 474, 1057, 13, 1216, 6483, 225, 288, 565, 2286, 284, 273, 5031, 12, 2827, 1769, 565, 514, 618, 67, 529, 273, 284, 18, 588, 7947, 5621, 565, 509, 1847, 67, 723, 273, 284, 18, 588, 3997, 559, 5621, 565, 509, 3815, 1711, 273, 284, 18, 1711, 31, 565, 368, 467, 27321, 622, 1308, 16364, 16164, 471, 17991, 1404, 1104, 279, 11071, 565, 368, 10634, 367, 434, 326, 315, 5417, 963, 6, 364, 6389, 924, 16, 1427, 333, 353, 3134, 1807, 565, 368, 9852, 30, 4551, 16, 1338, 1953, 598, 279, 3063, 9975, 578, 3063, 23, 31472, 970, 854, 8249, 300, 525, 773, 36, 78, 773, 18, 323, 565, 368, 5499, 769, 501, 2 ]
public ResponseParser(IResponseHandler responseProcessor) {
public ResponseParser(IResponseHandler responseProcessor, String charset) {
public ResponseParser(IResponseHandler responseProcessor) { BugLog.getInstance().assertNotNull(responseProcessor); this.responseProcessor = responseProcessor; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3de0fd6612b01325d3a8e2dd29c980447948f32c/ResponseParser.java/buggy/plugins/cvs2/javacvs-src/org/netbeans/lib/cvsclient/response/ResponseParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2306, 2678, 12, 45, 1064, 1503, 766, 5164, 13, 288, 202, 202, 19865, 1343, 18, 588, 1442, 7675, 11231, 5962, 12, 2740, 5164, 1769, 202, 202, 2211, 18, 2740, 5164, 273, 766, 5164, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2306, 2678, 12, 45, 1064, 1503, 766, 5164, 13, 288, 202, 202, 19865, 1343, 18, 588, 1442, 7675, 11231, 5962, 12, 2740, 5164, 1769, 202, 202, 2211, 18, 2740, 5164, 273, 766, 5164, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (dropExpr != null)
if (dropExpr != null && anElement != null)
public boolean isDropElementSupported(Object anElement) { if (dropExpr != null) try { return dropExpr .evaluate(new EvaluationContext(null, anElement)) == EvaluationResult.TRUE; } catch (CoreException e) { NavigatorPlugin.logError(0, e.getMessage(), e); } return false; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/49eb96577ec0522e254b4f6e46dc20eebd9aad2c/CommonDropAdapterDescriptor.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/dnd/CommonDropAdapterDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 7544, 1046, 7223, 12, 921, 392, 1046, 13, 288, 202, 202, 430, 261, 7285, 4742, 480, 446, 13, 1082, 202, 698, 288, 9506, 202, 2463, 3640, 4742, 25083, 202, 18, 21024, 12, 2704, 17340, 1042, 12, 2011, 16, 392, 1046, 3719, 422, 17340, 1253, 18, 18724, 31, 1082, 202, 97, 1044, 261, 25341, 425, 13, 288, 9506, 202, 22817, 3773, 18, 1330, 668, 12, 20, 16, 425, 18, 24906, 9334, 425, 1769, 1082, 202, 97, 202, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 7544, 1046, 7223, 12, 921, 392, 1046, 13, 288, 202, 202, 430, 261, 7285, 4742, 480, 446, 13, 1082, 202, 698, 288, 9506, 202, 2463, 3640, 4742, 25083, 202, 18, 21024, 12, 2704, 17340, 1042, 12, 2011, 16, 392, 1046, 3719, 422, 17340, 1253, 18, 18724, 31, 1082, 202, 97, 1044, 261, 25341, 425, 13, 288, 9506, 202, 22817, 3773, 18, 1330, 668, 12, 20, 16, 425, 18, 24906, 9334, 425, 1769, 1082, 202, 97, 202, 202, 2463, 629, 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 ]
return duple;
return name;
protected ITokenDuple idExpression() throws EndOfFileException, BacktrackException { ITokenDuple duple = null; try { duple = name(); } catch (BacktrackException bt) { IToken mark = mark(); if (LT(1) == IToken.tCOLONCOLON || LT(1) == IToken.tIDENTIFIER) { IToken start = consume(); IToken end = null; if (start.getType() == IToken.tIDENTIFIER) end = consumeTemplateParameters(null); while (LT(1) == IToken.tCOLONCOLON || LT(1) == IToken.tIDENTIFIER) { end = consume(); if (end.getType() == IToken.tIDENTIFIER) end = consumeTemplateParameters(end); } if (LT(1) == IToken.t_operator) duple = operatorId(start, null); else { backup(mark); throwBacktrack(start.getOffset(), end.getEndOffset() - start.getOffset()); } } else if (LT(1) == IToken.t_operator) duple = operatorId(null, null); } return duple; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/26b0ae693a936b6ff2f75cd147f4275b2bb27109/GNUCPPSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 1345, 40, 2268, 612, 2300, 1435, 1216, 4403, 951, 812, 503, 16, 540, 4297, 4101, 503, 288, 1377, 467, 1345, 40, 2268, 302, 2268, 273, 446, 31, 1377, 775, 288, 540, 302, 2268, 273, 508, 5621, 1377, 289, 1044, 261, 2711, 4101, 503, 10921, 13, 288, 540, 467, 1345, 2267, 273, 2267, 5621, 540, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 4935, 673, 4935, 673, 747, 11807, 12, 21, 13, 422, 467, 1345, 18, 88, 16606, 13, 288, 5411, 467, 1345, 787, 273, 7865, 5621, 5411, 467, 1345, 679, 273, 446, 31, 5411, 309, 261, 1937, 18, 588, 559, 1435, 422, 467, 1345, 18, 88, 16606, 13, 9079, 679, 273, 7865, 2283, 2402, 12, 2011, 1769, 5411, 1323, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 4935, 673, 4935, 673, 747, 11807, 12, 21, 13, 422, 467, 1345, 18, 88, 16606, 13, 288, 9079, 679, 273, 7865, 5621, 9079, 309, 261, 409, 18, 588, 559, 1435, 422, 467, 1345, 18, 88, 16606, 13, 5375, 679, 273, 7865, 2283, 2402, 12, 409, 1769, 5411, 289, 5411, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 67, 9497, 13, 9079, 302, 2268, 273, 3726, 548, 12, 1937, 16, 446, 1769, 5411, 469, 288, 9079, 5114, 12, 3355, 1769, 9079, 604, 2711, 4101, 12, 1937, 18, 588, 2335, 9334, 679, 18, 588, 1638, 2335, 1435, 5397, 300, 787, 18, 588, 2335, 10663, 5411, 289, 540, 289, 469, 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, 565, 4750, 467, 1345, 40, 2268, 612, 2300, 1435, 1216, 4403, 951, 812, 503, 16, 540, 4297, 4101, 503, 288, 1377, 467, 1345, 40, 2268, 302, 2268, 273, 446, 31, 1377, 775, 288, 540, 302, 2268, 273, 508, 5621, 1377, 289, 1044, 261, 2711, 4101, 503, 10921, 13, 288, 540, 467, 1345, 2267, 273, 2267, 5621, 540, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 4935, 673, 4935, 673, 747, 11807, 12, 21, 13, 422, 467, 1345, 18, 88, 16606, 13, 288, 5411, 467, 1345, 787, 273, 7865, 5621, 5411, 467, 1345, 679, 273, 446, 31, 5411, 309, 261, 1937, 18, 588, 559, 1435, 422, 467, 1345, 18, 88, 16606, 13, 9079, 679, 273, 7865, 2283, 2 ]
setBit(1<<BITVertexIsNotEndpointOfParent,val);
setBit(BITVertexIsNotEndpointOfParent,val);
public void setVertexIsNotEndpointOfParent(boolean val) { setBit(1<<BITVertexIsNotEndpointOfParent,val); }
1716 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1716/c981b170f1c94cbcfd8bac8c2da34ea4623b48e2/IMCParticle.java/clean/src/java/hep/lcio/implementation/event/IMCParticle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 444, 6475, 28041, 3293, 951, 3054, 12, 6494, 1244, 13, 282, 288, 1377, 444, 5775, 12, 15650, 6475, 28041, 3293, 951, 3054, 16, 1125, 1769, 282, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 444, 6475, 28041, 3293, 951, 3054, 12, 6494, 1244, 13, 282, 288, 1377, 444, 5775, 12, 15650, 6475, 28041, 3293, 951, 3054, 16, 1125, 1769, 282, 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 ]
lastc = (char) nchars; for (c = 0; c < nchars; c++) if (!Character.isWhitespace(c))
lastc = nchars; for (c = 0; c < nchars; c++) if (!Character.isWhitespace((char)c))
void buildBitmap(MatchState state, char[] s, boolean fold) { int index = ((Integer) kid).intValue(); int end = kid2; byte fill = 0; int i,n,ocp; boolean not = false; kid2 = 0; if (s[index] == '^') { not = true; kid2 = -1; index++; } calcBMSize(s, index, end, fold); bitmap = new byte[bmsize]; if (not) { fill = (byte)0xff; for (i = 0; i < bmsize; i++) bitmap[i] = (byte)0xff; bitmap[0] = (byte)0xfe; } int nchars = bmsize * NativeRegExp.JS_BITS_PER_BYTE; char lastc = (char)nchars; boolean inrange = false; while (index < end) { char c = s[index++]; if (c == '\\') { c = s[index++]; switch (c) { case 'b': case 'f': case 'n': case 'r': case 't': case 'v': c = NativeRegExp.getEscape(c); break; case 'd': if (inrange) checkRange(lastc, fill); lastc = (char) nchars; for (c = '0'; c <= '9'; c++) matchBit(c, fill); continue; case 'D': if (inrange) checkRange(lastc, fill); lastc = (char) nchars; for (c = 0; c < '0'; c++) matchBit(c, fill); for (c = '9' + 1; c < nchars; c++) matchBit(c, fill); continue; case 'w': if (inrange) checkRange(lastc, fill); lastc = (char) nchars; for (c = 0; c < nchars; c++) if (NativeRegExp.isWord(c)) matchBit(c, fill); continue; case 'W': if (inrange) checkRange(lastc, fill); lastc = (char) nchars; for (c = 0; c < nchars; c++) if (!NativeRegExp.isWord(c)) matchBit(c, fill); continue; case 's': if (inrange) checkRange(lastc, fill); lastc = (char) nchars; for (c = 0; c < nchars; c++) if (Character.isWhitespace(c)) matchBit(c, fill); continue; case 'S': if (inrange) checkRange(lastc, fill); lastc = (char) nchars; for (c = 0; c < nchars; c++) if (!Character.isWhitespace(c)) matchBit(c, fill); continue; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': n = NativeRegExp.unDigit(c); ocp = index - 2; c = s[index]; if ('0' <= c && c <= '7') { index++; n = 8 * n + NativeRegExp.unDigit(c); c = s[index]; if ('0' <= c && c <= '7') { index++; i = 8 * n + NativeRegExp.unDigit(c); if (i <= 0377) n = i; else index--; } } c = (char) n; break; case 'x': ocp = index; if (index < s.length && NativeRegExp.isHex(c = s[index++])) { n = NativeRegExp.unHex(c); if (index < s.length && NativeRegExp.isHex(c = s[index++])) { n <<= 4; n += NativeRegExp.unHex(c); } } else { index = ocp; /* \xZZ is xZZ (Perl does \0ZZ!) */ n = 'x'; } c = (char) n; break; case 'u': if (s.length > index+3 && NativeRegExp.isHex(s[index+0]) && NativeRegExp.isHex(s[index+1]) && NativeRegExp.isHex(s[index+2]) && NativeRegExp.isHex(s[index+3])) { n = (((((NativeRegExp.unHex(s[index+0]) << 4) + NativeRegExp.unHex(s[index+1])) << 4) + NativeRegExp.unHex(s[index+2])) << 4) + NativeRegExp.unHex(s[index+3]); c = (char) n; index += 4; } break; case 'c': c = s[index++]; c = Character.toUpperCase(c); c = (char) (c ^ 64); // JS_TOCTRL break; } } if (inrange) { if (lastc > c) { throw NativeGlobal.constructError( Context.getCurrentContext(), "RangeError", ScriptRuntime.getMessage( "msg.bad.range", null), state.scope); } inrange = false; } else { // Set lastc so we match just c's bit in the for loop. lastc = c; // [balance: if (index + 1 < end && s[index] == '-' && s[index+1] != ']') { index++; inrange = true; continue; } } // Match characters in the range [lastc, c]. for (; lastc <= c; lastc++) { matchBit(lastc, fill); if (fold) { /* * Must do both upper and lower for Turkish dotless i, * Georgian, etc. */ char foldc = Character.toUpperCase(lastc); matchBit(foldc, fill); foldc = Character.toLowerCase(foldc); matchBit(foldc, fill); } } lastc = c; } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/417a8d0c18ceeff5e4c882201aa221a92004b3b0/NativeRegExp.java/clean/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1361, 12224, 12, 2060, 1119, 919, 16, 1149, 8526, 272, 16, 1250, 11590, 13, 288, 3639, 509, 770, 273, 14015, 4522, 13, 17395, 2934, 474, 620, 5621, 3639, 509, 679, 273, 17395, 22, 31, 3639, 1160, 3636, 273, 374, 31, 3639, 509, 277, 16, 82, 16, 504, 84, 31, 7734, 1250, 486, 273, 629, 31, 3639, 17395, 22, 273, 374, 31, 3639, 309, 261, 87, 63, 1615, 65, 422, 10731, 6134, 288, 5411, 486, 273, 638, 31, 5411, 17395, 22, 273, 300, 21, 31, 5411, 770, 9904, 31, 3639, 289, 7734, 7029, 38, 49, 1225, 12, 87, 16, 770, 16, 679, 16, 11590, 1769, 3639, 9389, 273, 394, 1160, 63, 70, 959, 554, 15533, 3639, 309, 261, 902, 13, 288, 5411, 3636, 273, 261, 7229, 13, 20, 5297, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 324, 959, 554, 31, 277, 27245, 7734, 9389, 63, 77, 65, 273, 261, 7229, 13, 20, 5297, 31, 5411, 9389, 63, 20, 65, 273, 261, 7229, 13, 20, 26947, 31, 3639, 289, 3639, 509, 290, 7549, 273, 324, 959, 554, 380, 16717, 13673, 18, 6479, 67, 25171, 67, 3194, 67, 15377, 31, 3639, 1149, 1142, 71, 273, 261, 3001, 13, 82, 7549, 31, 3639, 1250, 316, 3676, 273, 629, 31, 7734, 1323, 261, 1615, 411, 679, 13, 288, 5411, 1149, 276, 273, 272, 63, 1615, 9904, 15533, 5411, 309, 261, 71, 422, 5282, 13, 288, 7734, 276, 273, 272, 63, 1615, 9904, 15533, 7734, 1620, 261, 71, 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, 1361, 12224, 12, 2060, 1119, 919, 16, 1149, 8526, 272, 16, 1250, 11590, 13, 288, 3639, 509, 770, 273, 14015, 4522, 13, 17395, 2934, 474, 620, 5621, 3639, 509, 679, 273, 17395, 22, 31, 3639, 1160, 3636, 273, 374, 31, 3639, 509, 277, 16, 82, 16, 504, 84, 31, 7734, 1250, 486, 273, 629, 31, 3639, 17395, 22, 273, 374, 31, 3639, 309, 261, 87, 63, 1615, 65, 422, 10731, 6134, 288, 5411, 486, 273, 638, 31, 5411, 17395, 22, 273, 300, 21, 31, 5411, 770, 9904, 31, 3639, 289, 7734, 7029, 38, 49, 1225, 12, 87, 16, 770, 16, 679, 16, 11590, 1769, 3639, 9389, 273, 394, 1160, 63, 70, 959, 554, 15533, 3639, 309, 261, 2 ]
public String getId(AnAction action) { if (LOG.isDebugEnabled()) { LOG.debug("enter: getId(" + action + ")"); } if (action == null) { throw new IllegalArgumentException("action cannot be null"); } LOG.assertTrue(!(action instanceof ActionStub)); synchronized (myLock) { return myAction2Id.get(action); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 780, 26321, 12, 979, 1803, 1128, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 26321, 2932, 15, 1128, 9078, 2225, 1769, 97, 430, 12, 1128, 631, 2011, 15329, 12849, 2704, 31237, 2932, 1128, 12892, 19425, 420, 8863, 97, 4842, 18, 11231, 5510, 12, 5, 12, 1128, 1336, 792, 1803, 11974, 10019, 22043, 12, 4811, 2531, 15329, 2463, 4811, 1803, 22, 548, 18, 588, 12, 1128, 1769, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 780, 26321, 12, 979, 1803, 1128, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 26321, 2932, 15, 1128, 9078, 2225, 1769, 97, 430, 12, 1128, 631, 2011, 15329, 12849, 2704, 31237, 2932, 1128, 12892, 19425, 420, 8863, 97, 4842, 18, 11231, 5510, 12, 5, 12, 1128, 1336, 792, 1803, 11974, 10019, 22043, 12, 4811, 2531, 15329, 2463, 4811, 1803, 22, 548, 18, 588, 12, 1128, 1769, 9090, 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 ]
public static void main (String [] args) throws Exception { String USAGE = "Usage: java SchedulerReport [options] <date (YYYY-MM-DD)> Enter -help for a list of options\n"; String HELP = "Where [options] are:\n"+ " -help Displays help\n"+ " -step <day|month> Specifies size of step (day by default)\n"+ " -n <steps> Specifies number of steps to do\n"; if (args.length == 0){ System.err.println(USAGE); System.exit(1); } else if (args.length == 1 && args[0].equalsIgnoreCase("-help")){ System.err.println(USAGE); System.err.println(HELP); System.exit(1); } int n = 1; String stepStr = "day"; for (int i=0;i<args.length-1;i++){ if (args[i].equals("-n")) { n = Integer.parseInt(args[++i]); } else if (args[i].equals("-step")) { stepStr = args[++i]; } else if (args[i].equalsIgnoreCase("-help")) { System.err.println(USAGE); System.err.println(HELP); System.exit(1); } else { System.err.println("Unknown argument: " + args[i]); System.exit(1); } } String inputDate = args[args.length-1]; TimeStep ts = new TimeStep (stepStr, n, inputDate); HistogramParser transferHist = new HistogramParser("Number of Packets Shown by Transfer Type", "GFTPtransferhistogram", "Number of GFTP Packets with Given Transfer Type", n); HistogramParser responseHist = new HistogramParser("Number of Packets Shown by FTP Reponse Code", "GFTPresponsehistogram", "Number of GFTP Packets with Given Response Code", n); HistogramParser versionHist = new HistogramParser("Number of Packets shown by GFTP Version", "GFTPversionhistogram", "Number of Packets of Given Version", n); DatabaseRetriever dbr = new DatabaseRetriever(); while (ts.next()){ String startTime = ts.getFormattedTime(); Date startDate = ts.getTime(); ts.stepTime(); versionHist.nextEntry(startTime, ts.getFormattedTime()); transferHist.nextEntry(startTime, ts.getFormattedTime()); responseHist.nextEntry(startTime, ts.getFormattedTime()); ResultSet rs = dbr.retrieve("gftp_packets", new String [] {"gftp_version","stor_or_retr","ftp_return_code"}, startDate, ts.getTime()); while(rs.next()){ versionHist.addData(rs.getString(1).substring(0,rs.getString(1).indexOf("(")), 1); if(rs.getInt(2)==0){ transferHist.addData("STOR", 1); } else if(rs.getInt(2)==1){ transferHist.addData("RETR", 1); } else if (rs.getInt(2)==2){ transferHist.addData("Other", 1); } responseHist.addData(rs.getString(3), 1); } rs.close(); } dbr.close(); System.out.println("<report>"); versionHist.output(System.out); transferHist.output(System.out); responseHist.output(System.out); System.out.println("</report>"); }
8754 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8754/efb83d08bf3214ba362adb9486345c128a00bae7/ReturnReport.java/buggy/usage/java/reports/source/src/org/globus/usage/report/gftp/ReturnReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 288, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 12620, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 5698, 13, 34, 15439, 300, 5201, 364, 279, 666, 434, 702, 64, 82, 14432, 3639, 514, 22557, 52, 273, 315, 5262, 306, 2116, 65, 854, 5581, 82, 6, 15, 5411, 315, 300, 5201, 1171, 9311, 87, 2809, 64, 82, 6, 15, 5411, 315, 300, 4119, 411, 2881, 96, 7496, 34, 377, 4185, 5032, 963, 434, 2235, 261, 2881, 635, 805, 5153, 82, 6, 15, 5411, 315, 300, 82, 411, 8986, 34, 5411, 4185, 5032, 1300, 434, 6075, 358, 741, 64, 82, 14432, 3639, 309, 261, 1968, 18, 2469, 422, 374, 15329, 5411, 2332, 18, 370, 18, 8222, 12, 29550, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 469, 309, 261, 1968, 18, 2469, 422, 404, 597, 833, 63, 20, 8009, 14963, 5556, 2932, 17, 5201, 6, 3719, 95, 5411, 2332, 18, 370, 18, 8222, 12, 29550, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 27396, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 509, 290, 273, 404, 31, 3639, 514, 2235, 1585, 273, 315, 2881, 14432, 3639, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1968, 18, 2469, 17, 21, 31, 77, 27245, 95, 5411, 309, 261, 1968, 63, 77, 8009, 14963, 2932, 17, 82, 6, 3719, 288, 7734, 290, 273, 2144, 18, 2670, 1702, 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, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 288, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 12620, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 5698, 13, 34, 15439, 300, 5201, 364, 279, 666, 434, 702, 64, 82, 14432, 3639, 514, 22557, 52, 273, 315, 5262, 306, 2116, 65, 854, 5581, 82, 6, 15, 5411, 315, 300, 5201, 1171, 9311, 87, 2809, 64, 82, 6, 15, 5411, 315, 300, 4119, 411, 2881, 96, 7496, 34, 377, 4185, 5032, 963, 434, 2235, 261, 2881, 635, 805, 5153, 82, 6, 15, 5411, 315, 300, 82, 411, 8986, 34, 5411, 4185, 5032, 1300, 434, 6075, 358, 741, 64, 82, 14432, 3639, 309, 261, 2 ]
Field(VM_Field f) { field = f;
private Field() { field = null;
Field(VM_Field f) { field = f; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3dbe292ede14a9f617f3a936edaf9c7fdef2c93c/Field.java/buggy/rvm/src/vm/libSupport/java/lang/reflect/Field.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 2286, 12, 7397, 67, 974, 284, 13, 288, 565, 652, 273, 284, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2286, 12, 7397, 67, 974, 284, 13, 288, 565, 652, 273, 284, 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, -100, -100, -100, -100, -100, -100 ]
if ((_data == null) || (_data.length() == 0)) _data = "number";
public Type typeCheck(SymbolTable stable) throws TypeCheckError { final Type tselect = _select.typeCheck(stable); // If the sort data-type is not set we use the natural data-type // of the data we will sort if (tselect instanceof IntType) { _select = new CastExpr(_select, Type.String); if ((_data == null) || (_data.length() == 0)) _data = "number"; } else if (tselect instanceof StringType) { if ((_data == null) || (_data.length() == 0)) _data = "text"; } else { _select = new CastExpr(_select, Type.String); if ((_data == null) || (_data.length() == 0)) _data = "text"; } _dataType = AttributeValue.create(this, _data, getParser()); _order.typeCheck(stable); _caseOrder.typeCheck(stable); _dataType.typeCheck(stable); return Type.Void; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/a1b405d7c45563a37ffaf7cfc7c9bd7d9dc2af48/Sort.java/buggy/src/org/apache/xalan/xsltc/compiler/Sort.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1412, 618, 1564, 12, 5335, 1388, 14114, 13, 1216, 1412, 1564, 668, 288, 202, 6385, 1412, 268, 4025, 273, 389, 4025, 18, 723, 1564, 12, 15021, 1769, 202, 759, 971, 326, 1524, 501, 17, 723, 353, 486, 444, 732, 999, 326, 15145, 501, 17, 723, 202, 759, 434, 326, 501, 732, 903, 1524, 202, 430, 261, 88, 4025, 1276, 3094, 559, 13, 288, 202, 565, 389, 4025, 273, 394, 19782, 4742, 24899, 4025, 16, 1412, 18, 780, 1769, 202, 565, 309, 14015, 67, 892, 422, 446, 13, 747, 261, 67, 892, 18, 2469, 1435, 422, 374, 3719, 389, 892, 273, 315, 2696, 14432, 202, 97, 202, 12107, 309, 261, 88, 4025, 1276, 31570, 13, 288, 202, 565, 309, 14015, 67, 892, 422, 446, 13, 747, 261, 67, 892, 18, 2469, 1435, 422, 374, 3719, 389, 892, 273, 315, 955, 14432, 202, 97, 202, 12107, 288, 202, 565, 389, 4025, 273, 394, 19782, 4742, 24899, 4025, 16, 1412, 18, 780, 1769, 202, 565, 309, 14015, 67, 892, 422, 446, 13, 747, 261, 67, 892, 18, 2469, 1435, 422, 374, 3719, 389, 892, 273, 315, 955, 14432, 202, 97, 202, 67, 892, 559, 273, 18876, 18, 2640, 12, 2211, 16, 389, 892, 16, 20804, 10663, 202, 67, 1019, 18, 723, 1564, 12, 15021, 1769, 202, 67, 3593, 2448, 18, 723, 1564, 12, 15021, 1769, 202, 67, 892, 559, 18, 723, 1564, 12, 15021, 1769, 202, 2463, 1412, 18, 19038, 31, 565, 289, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1412, 618, 1564, 12, 5335, 1388, 14114, 13, 1216, 1412, 1564, 668, 288, 202, 6385, 1412, 268, 4025, 273, 389, 4025, 18, 723, 1564, 12, 15021, 1769, 202, 759, 971, 326, 1524, 501, 17, 723, 353, 486, 444, 732, 999, 326, 15145, 501, 17, 723, 202, 759, 434, 326, 501, 732, 903, 1524, 202, 430, 261, 88, 4025, 1276, 3094, 559, 13, 288, 202, 565, 389, 4025, 273, 394, 19782, 4742, 24899, 4025, 16, 1412, 18, 780, 1769, 202, 565, 309, 14015, 67, 892, 422, 446, 13, 747, 261, 67, 892, 18, 2469, 1435, 422, 374, 3719, 389, 892, 273, 315, 2696, 14432, 202, 97, 202, 12107, 309, 261, 88, 4025, 1276, 31570, 13, 288, 202, 565, 2 ]
public ForceFieldTools() { }
public ForceFieldTools() { logger = new LoggingTool(this); }
public ForceFieldTools() { }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/9adcbd5769512fe518277f87ee5cc7c84de1ccb0/ForceFieldTools.java/buggy/src/org/openscience/cdk/modeling/forcefield/ForceFieldTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11889, 974, 10348, 1435, 288, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11889, 974, 10348, 1435, 288, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static double jsStaticFunction_parse(String s) {
private static double jsStaticFunction_parse(String s) {
public static double jsStaticFunction_parse(String s) { return date_parseString(s); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/1f40b84b6c54487dd6f26829d1ebda36a7567a38/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1645, 3828, 5788, 2083, 67, 2670, 12, 780, 272, 13, 288, 3639, 327, 1509, 67, 2670, 780, 12, 87, 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, 3238, 760, 1645, 3828, 5788, 2083, 67, 2670, 12, 780, 272, 13, 288, 3639, 327, 1509, 67, 2670, 780, 12, 87, 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 ]
return (Unit) ciMap.get(name);
return ciMap.get(name);
private Unit lookupCIUnit(String name) { return (Unit) ciMap.get(name); }
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/13ad140ab718f86203f8e83ff9849b83b918dd82/UnitManager.java/clean/sphinx4/src/sphinx4/edu/cmu/sphinx/linguist/acoustic/UnitManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8380, 3689, 7266, 2802, 12, 780, 508, 13, 288, 3639, 327, 9039, 863, 18, 588, 12, 529, 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, 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, 377, 3238, 8380, 3689, 7266, 2802, 12, 780, 508, 13, 288, 3639, 327, 9039, 863, 18, 588, 12, 529, 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, -100, -100, -100 ]
boolean eof = false; while (buffer.hasRemaining()) { int bytesRead = ((ReadableByteChannel) channel).read(buffer); if (bytesRead < 0) { eof = true; break;
int bytes_read = 0; do { bytes_read = ((ReadableByteChannel) channel).read(buffer); if (bytes_read < 0) { throw new EOFException();
public String sysread(int length) throws EOFException, BadDescriptorException, IOException { checkReadable(); checkBuffered(); ByteBuffer buffer = ByteBuffer.allocate(length); boolean eof = false; while (buffer.hasRemaining()) { int bytesRead = ((ReadableByteChannel) channel).read(buffer); if (bytesRead < 0) { eof = true; break; } if (bytesRead == 0) { // only should happen for nonblocking IO...break and allow the next call to try again break; } } if (buffer.position() == 0 && eof == true) { throw new EOFException(); } byte[] ret; if (buffer.hasRemaining()) { buffer.flip(); ret = new byte[buffer.remaining()]; buffer.get(ret); } else { ret = buffer.array(); } return RubyString.bytesToString(ret); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/404fdac0a79f1b57c3fb97914fbafb91618ca119/IOHandlerNio.java/buggy/src/org/jruby/util/IOHandlerNio.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2589, 896, 12, 474, 769, 13, 1216, 30051, 16, 6107, 3187, 503, 16, 1860, 288, 3639, 866, 14151, 5621, 3639, 866, 17947, 5621, 202, 3639, 7400, 1613, 273, 7400, 18, 16247, 12, 2469, 1769, 3639, 1250, 14813, 273, 629, 31, 3639, 1323, 261, 4106, 18, 5332, 11429, 10756, 288, 540, 202, 474, 17244, 273, 14015, 14151, 3216, 2909, 13, 1904, 2934, 896, 12, 4106, 1769, 540, 202, 430, 261, 3890, 1994, 411, 374, 13, 288, 7734, 14813, 273, 638, 31, 7734, 898, 31, 5411, 289, 540, 202, 430, 261, 3890, 1994, 422, 374, 13, 288, 540, 202, 565, 368, 1338, 1410, 5865, 364, 1661, 18926, 1665, 2777, 8820, 471, 1699, 326, 1024, 745, 358, 775, 3382, 540, 202, 565, 898, 31, 540, 202, 97, 3639, 289, 3639, 309, 261, 4106, 18, 3276, 1435, 422, 374, 597, 14813, 422, 638, 13, 288, 5411, 604, 394, 30051, 5621, 3639, 289, 3639, 1160, 8526, 325, 31, 3639, 309, 261, 4106, 18, 5332, 11429, 10756, 288, 5411, 1613, 18, 12357, 5621, 5411, 325, 273, 394, 1160, 63, 4106, 18, 17956, 1435, 15533, 5411, 1613, 18, 588, 12, 1349, 1769, 3639, 289, 469, 288, 5411, 325, 273, 1613, 18, 1126, 5621, 3639, 289, 3639, 327, 19817, 780, 18, 3890, 5808, 12, 1349, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2589, 896, 12, 474, 769, 13, 1216, 30051, 16, 6107, 3187, 503, 16, 1860, 288, 3639, 866, 14151, 5621, 3639, 866, 17947, 5621, 202, 3639, 7400, 1613, 273, 7400, 18, 16247, 12, 2469, 1769, 3639, 1250, 14813, 273, 629, 31, 3639, 1323, 261, 4106, 18, 5332, 11429, 10756, 288, 540, 202, 474, 17244, 273, 14015, 14151, 3216, 2909, 13, 1904, 2934, 896, 12, 4106, 1769, 540, 202, 430, 261, 3890, 1994, 411, 374, 13, 288, 7734, 14813, 273, 638, 31, 7734, 898, 31, 5411, 289, 540, 202, 430, 261, 3890, 1994, 422, 374, 13, 288, 540, 202, 565, 368, 1338, 1410, 5865, 364, 1661, 18926, 1665, 2777, 8820, 471, 1699, 326, 1024, 745, 358, 775, 3382, 2 ]
Node node = (Node)nd;
Node node = (Node) nd;
public boolean isLeaf( Object nd ) { Node node = (Node)nd; return !node.hasChildNodes(); }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/93d814d7886e593bc9bd7f476b2a18571a009aa6/DOMInspector.java/buggy/src/java/org/xhtmlrenderer/swing/DOMInspector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 31356, 12, 1033, 5346, 262, 288, 3639, 2029, 756, 273, 261, 907, 13, 5346, 31, 3639, 327, 401, 2159, 18, 5332, 22460, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31356, 12, 1033, 5346, 262, 288, 3639, 2029, 756, 273, 261, 907, 13, 5346, 31, 3639, 327, 401, 2159, 18, 5332, 22460, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("Send credit: "+cc);
if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc);
int nextPhase() { Vector phase = new Vector(); System.out.println("-------------------------------------"); for (int y = 0; y < ph; y++) { HashSet p = sched.getAllOperatorsInPhase(y); Iterator it = p.iterator(); while (it.hasNext()) { SIROperator oper = (SIROperator)it.next(); int id = NodeEnumerator.getSIROperatorId(oper); int steady_count = ((Integer)ClusterBackend.steadyExecutionCounts.get(NodeEnumerator.getFlatNode(id))).intValue(); int _iter = ((Integer)iteration.get(oper)).intValue(); int _credit = ((Integer)credit.get(oper)).intValue(); int exec = steady_count; if (_credit >= 0 && _iter + steady_count > _credit) { exec = _credit - _iter; } int input = 2000000000; Vector in = RegisterStreams.getNodeInStreams(oper); Vector out = RegisterStreams.getNodeOutStreams(oper); for (int z = 0; z < in.size(); z++) { NetStream ns = (NetStream)in.get(z); SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = ((Integer)queue_size.get(makeVector(src, oper))).intValue(); int peek = getPeek(oper, z); int pop = getPop(oper, z); if (peek < pop) peek = pop; int extra = peek - pop; int can = (qsize-extra)/pop; if (can < 0) can = 0; if (can < input) input = can; } if (input < exec) exec = input; //System.out.println("CREDIT = "+_credit+" INPUT = "+input+" EXEC = "+exec); for (int z = 0; z < in.size(); z++) { NetStream ns = (NetStream)in.get(z); SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = ((Integer)queue_size.get(makeVector(src, oper))).intValue(); qsize -= getPop(oper, z) * exec; queue_size.put(makeVector(src, oper), new Integer(qsize)); } for (int z = 0; z < out.size(); z++) { NetStream ns = (NetStream)out.get(z); SIROperator dst = NodeEnumerator.getOperator(ns.getDest()); int qsize = ((Integer)queue_size.get(makeVector(oper, dst))).intValue(); qsize += getPush(oper, z) * exec; queue_size.put(makeVector(oper, dst), new Integer(qsize)); } System.out.println(oper.getName()+" Exec = "+exec+"/"+steady_count); phase.add(new Integer(exec)); // push exec count to phase vector for (int z = 0; z < exec; z++, _iter++) { if (!(oper instanceof SIRFilter)) continue; HashSet cons = LatencyConstraints.getOutgoingConstraints((SIRFilter)oper); Iterator ci = cons.iterator(); while (ci.hasNext()) { //System.out.println("latency constraint"); LatencyConstraint c = (LatencyConstraint)ci.next(); SIRFilter dst = (SIRFilter)c.getReceiver(); boolean down = LatencyConstraints.isMessageDirectionDownstream((SIRFilter)oper, (SIRFilter)dst); int init_c = c.getSourceInit(); if (down) { if (_iter >= init_c) { int s_steady = c.getSourceSteadyExec(); int cycle = (_iter - init_c) / s_steady; int offs = (_iter - init_c) % s_steady; int dep = c.getDependencyData(offs); //System.out.println("dep = "+dep); //System.out.println("c = "+cycle); //System.out.println("o = "+offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); System.out.println("Send credit: "+cc); } } } else { int s_steady = c.getSourceSteadyExec(); int cycle = _iter / s_steady; int offs = _iter % s_steady; int dep = c.getDependencyData(offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); System.out.println("Send credit: "+cc); } } } } iteration.put(oper, new Integer(_iter)); } } boolean match = false; int ratio = -1; if (phase_last_seen.containsKey(phase)) { int last = ((Integer)phase_last_seen.get(phase)).intValue(); match = true; int node_id = 0; for (int y = 0; y < ph; y++) { HashSet p = sched.getAllOperatorsInPhase(y); Iterator it = p.iterator(); while (it.hasNext()) { SIROperator oper = (SIROperator)it.next(); int id = NodeEnumerator.getSIROperatorId(oper); int steady_count = ((Integer)ClusterBackend.steadyExecutionCounts.get(NodeEnumerator.getFlatNode(id))).intValue(); int sum = 0; for (int z = last; z < phase_num; z++) { sum += ((Integer)((Vector)phases.get(z)).get(node_id)).intValue(); } if (sum % steady_count == 0 && sum / steady_count >= 1) { if (ratio >= 1 && sum / steady_count != ratio) match = false; if (ratio < 1) ratio = sum / steady_count; } else { match = false; } node_id++; } } System.out.println("---- have seen phase at: "+last+" ----"); if (match) { loop_start = last; System.out.println("---- A loop contains "+ratio+" steady states ----"); } } if (!match) { phases.add(phase); phase_last_seen.put(phase, new Integer(phase_num)); phase_num++; } System.out.println("-------------------------------------"); if (match) return ratio; else return 0; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/12b2e0b915b28084f00f6efa345dabfdf9554f9d/Greedy.java/buggy/streams/src/at/dms/kjc/cluster/Greedy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 1024, 11406, 1435, 288, 3639, 5589, 6855, 273, 394, 5589, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 3639, 364, 261, 474, 677, 273, 374, 31, 677, 411, 1844, 31, 677, 27245, 288, 5411, 6847, 293, 273, 23964, 18, 588, 1595, 24473, 382, 11406, 12, 93, 1769, 5411, 4498, 518, 273, 293, 18, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 5705, 1457, 457, 639, 2255, 273, 261, 2320, 1457, 457, 639, 13, 305, 18, 4285, 5621, 7734, 509, 612, 273, 2029, 3572, 7385, 18, 588, 2320, 1457, 457, 639, 548, 12, 4063, 1769, 7734, 509, 384, 684, 93, 67, 1883, 273, 14015, 4522, 13, 3629, 7172, 18, 334, 684, 93, 3210, 9211, 18, 588, 12, 907, 3572, 7385, 18, 588, 16384, 907, 12, 350, 3719, 2934, 474, 620, 5621, 7734, 509, 389, 2165, 273, 14015, 4522, 13, 16108, 18, 588, 12, 4063, 13, 2934, 474, 620, 5621, 7734, 509, 389, 20688, 273, 14015, 4522, 13, 20688, 18, 588, 12, 4063, 13, 2934, 474, 620, 5621, 7734, 509, 1196, 273, 384, 684, 93, 67, 1883, 31, 7734, 309, 261, 67, 20688, 1545, 374, 597, 389, 2165, 397, 384, 684, 93, 67, 1883, 405, 389, 20688, 13, 288, 10792, 1196, 273, 389, 20688, 300, 389, 2165, 31, 1171, 289, 7734, 509, 810, 273, 576, 2787, 11706, 31, 7734, 5589, 316, 273, 5433, 10301, 18, 588, 907, 382, 10301, 12, 4063, 1769, 7734, 5589, 596, 273, 5433, 10301, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 1024, 11406, 1435, 288, 3639, 5589, 6855, 273, 394, 5589, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 3639, 364, 261, 474, 677, 273, 374, 31, 677, 411, 1844, 31, 677, 27245, 288, 5411, 6847, 293, 273, 23964, 18, 588, 1595, 24473, 382, 11406, 12, 93, 1769, 5411, 4498, 518, 273, 293, 18, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 5705, 1457, 457, 639, 2255, 273, 261, 2320, 1457, 457, 639, 13, 305, 18, 4285, 5621, 7734, 509, 612, 273, 2029, 3572, 7385, 18, 588, 2320, 1457, 457, 639, 548, 12, 4063, 1769, 7734, 509, 384, 684, 93, 67, 1883, 273, 14015, 4522, 13, 3629, 7172, 18, 334, 684, 2 ]
for (int i = 0; i < definitions.length; i++) { resetColor(definitions[i]); }
ColorDefinition[] definitionsCopy = new ColorDefinition[definitions.length]; System.arraycopy(definitions, 0, definitionsCopy, 0, definitions.length); Arrays.sort(definitionsCopy, ColorDefinition.HIERARCHY_COMPARATOR); for (int i = 0; i < definitionsCopy.length; i++) resetColor(definitionsCopy[i]);
protected void performDefaults() { ColorDefinition[] definitions = ColorDefinition.getDefinitions(); for (int i = 0; i < definitions.length; i++) { resetColor(definitions[i]); } updateControls( (ColorDefinition) ((IStructuredSelection) colorList.getSelection()) .getFirstElement()); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/176665a28eb41bc372c4bb74f61419489834aeb7/ColorsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/colors/ColorsPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3073, 7019, 1435, 288, 202, 202, 2957, 1852, 8526, 6377, 273, 5563, 1852, 18, 588, 7130, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 6377, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6208, 2957, 12, 13314, 63, 77, 19226, 202, 202, 97, 202, 202, 2725, 16795, 12, 1082, 202, 12, 2957, 1852, 13, 14015, 45, 30733, 6233, 13, 2036, 682, 18, 588, 6233, 10756, 9506, 202, 18, 588, 3759, 1046, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3073, 7019, 1435, 288, 202, 202, 2957, 1852, 8526, 6377, 273, 5563, 1852, 18, 588, 7130, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 6377, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6208, 2957, 12, 13314, 63, 77, 19226, 202, 202, 97, 202, 202, 2725, 16795, 12, 1082, 202, 12, 2957, 1852, 13, 14015, 45, 30733, 6233, 13, 2036, 682, 18, 588, 6233, 10756, 9506, 202, 18, 588, 3759, 1046, 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 ]
BigInteger m = bigIntValue(other); BigInteger result = getValue().mod(m.abs()); if (m.compareTo(BigInteger.ZERO) < 0) { result = m.add(result); } return bigNorm(getRuntime(), result);
return callCoerced("%", other);
public RubyNumeric op_mod(RubyNumeric other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).modulo(other); } BigInteger m = bigIntValue(other); BigInteger result = getValue().mod(m.abs()); if (m.compareTo(BigInteger.ZERO) < 0) { result = m.add(result); } return bigNorm(getRuntime(), result); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyBignum.java/buggy/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 1711, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 1711, 26478, 12, 3011, 1769, 3639, 289, 3639, 10246, 312, 273, 5446, 1702, 620, 12, 3011, 1769, 3639, 10246, 563, 273, 2366, 7675, 1711, 12, 81, 18, 5113, 10663, 3639, 309, 261, 81, 18, 9877, 774, 12, 24198, 18, 24968, 13, 411, 374, 13, 288, 5411, 563, 273, 312, 18, 1289, 12, 2088, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 1711, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 1711, 26478, 12, 3011, 1769, 3639, 289, 3639, 10246, 312, 273, 5446, 1702, 620, 12, 3011, 1769, 3639, 10246, 563, 273, 2366, 7675, 1711, 12, 81, 18, 5113, 10663, 3639, 309, 261, 81, 18, 9877, 774, 12, 24198, 18, 24968, 13, 411, 374, 13, 288, 5411, 563, 273, 312, 18, 1289, 12, 2088, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 563, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
+ "private static final long serialVersionUID = 2;" + EOLN);
+ "private static final long serialVersionUID = 2;" + EOLN);
private String getSerialVersionUID() { return (indenter.indent() + "private static final long serialVersionUID = 2;" + EOLN); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/ClassStub.java/clean/modules/rmi/src/main/java/org/apache/harmony/rmi/compiler/ClassStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 336, 6342, 1444, 3060, 1435, 288, 3639, 327, 261, 728, 2328, 18, 9355, 1435, 10792, 397, 315, 1152, 760, 727, 1525, 30244, 273, 576, 4868, 397, 19995, 50, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 336, 6342, 1444, 3060, 1435, 288, 3639, 327, 261, 728, 2328, 18, 9355, 1435, 10792, 397, 315, 1152, 760, 727, 1525, 30244, 273, 576, 4868, 397, 19995, 50, 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 ]
AST __t1602 = _t; AST tmp1728_AST_in = (AST)_t;
AST __t1606 = _t; AST tmp1731_AST_in = (AST)_t;
public final void ldbnamefunc(AST _t) throws RecognitionException { AST ldbnamefunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1600 = _t; AST tmp1726_AST_in = (AST)_t; match(_t,LDBNAME); _t = _t.getFirstChild(); AST tmp1727_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==BUFFER)) { AST __t1602 = _t; AST tmp1728_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getFirstChild(); AST tmp1729_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); _t = __t1602; _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } AST tmp1730_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1600; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 328, 20979, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 328, 20979, 644, 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, 2313, 713, 273, 389, 88, 31, 202, 202, 9053, 1853, 4033, 5558, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 48, 2290, 1985, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 4033, 5324, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 11302, 3719, 288, 1082, 202, 9053, 1001, 88, 2313, 3103, 273, 389, 88, 31, 1082, 202, 9053, 1853, 4033, 6030, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 11302, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 9053, 1853, 4033, 5540, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 22261, 67, 1985, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 328, 20979, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 328, 20979, 644, 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, 2313, 713, 273, 389, 88, 31, 202, 202, 9053, 1853, 4033, 5558, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 48, 2290, 1985, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 4033, 5324, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 2 ]
ModifierCorrectionSubProcessor.addNonAccessibleMemberProposal(context, problem, proposals, ModifierCorrectionSubProcessor.TO_VISIBLE, 10);
ModifierCorrectionSubProcessor.addNonAccessibleReferenceProposal(context, problem, proposals, ModifierCorrectionSubProcessor.TO_VISIBLE, 10);
private void process(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException { int id= problem.getProblemId(); if (id == 0) { // no proposals for none-problem locations return; } switch (id) { case IProblem.UnterminatedString: String quoteLabel= CorrectionMessages.getString("JavaCorrectionProcessor.addquote.description"); //$NON-NLS-1$ int pos= moveBack(problem.getOffset() + problem.getLength(), problem.getOffset(), "\n\r", context.getCompilationUnit()); //$NON-NLS-1$ proposals.add(new ReplaceCorrectionProposal(quoteLabel, context.getCompilationUnit(), pos, 0, "\"", 0)); //$NON-NLS-1$ break; case IProblem.UnusedImport: case IProblem.DuplicateImport: case IProblem.CannotImportPackage: case IProblem.ConflictingImport: ReorgCorrectionsSubProcessor.removeImportStatementProposals(context, problem, proposals); break; case IProblem.ImportNotFound: ReorgCorrectionsSubProcessor.importNotFoundProposals(context, problem, proposals); ReorgCorrectionsSubProcessor.removeImportStatementProposals(context, problem, proposals); break; case IProblem.UndefinedMethod: UnresolvedElementsSubProcessor.getMethodProposals(context, problem, false, proposals); break; case IProblem.UndefinedConstructor: UnresolvedElementsSubProcessor.getConstructorProposals(context, problem, proposals); break; case IProblem.ParameterMismatch: UnresolvedElementsSubProcessor.getMethodProposals(context, problem, true, proposals); break; case IProblem.MethodButWithConstructorName: ReturnTypeSubProcessor.addMethodWithConstrNameProposals(context, problem, proposals); break; case IProblem.UndefinedField: case IProblem.UndefinedName: UnresolvedElementsSubProcessor.getVariableProposals(context, problem, proposals); break; case IProblem.FieldTypeAmbiguous: case IProblem.ArgumentTypeAmbiguous: case IProblem.ExceptionTypeAmbiguous: case IProblem.ReturnTypeAmbiguous: case IProblem.SuperclassAmbiguous: case IProblem.InterfaceAmbiguous: case IProblem.AmbiguousType: case IProblem.JavadocAmbiguousType: UnresolvedElementsSubProcessor.getAmbiguosTypeReferenceProposals(context, problem, proposals); break; case IProblem.PublicClassMustMatchFileName: ReorgCorrectionsSubProcessor.getWrongTypeNameProposals(context, problem, proposals); break; case IProblem.PackageIsNotExpectedPackage: ReorgCorrectionsSubProcessor.getWrongPackageDeclNameProposals(context, problem, proposals); break; case IProblem.UndefinedType: case IProblem.FieldTypeNotFound: case IProblem.ArgumentTypeNotFound: case IProblem.ReturnTypeNotFound: case IProblem.SuperclassNotFound: case IProblem.ExceptionTypeNotFound: case IProblem.InterfaceNotFound: case IProblem.JavadocUndefinedType: UnresolvedElementsSubProcessor.getTypeProposals(context, problem, proposals); break; case IProblem.TypeMismatch: TypeMismatchSubProcessor.addTypeMismatchProposals(context, problem, proposals); break; case IProblem.UnhandledException: LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(context, problem, proposals); break; case IProblem.UnreachableCatch: case IProblem.InvalidCatchBlockSequence: LocalCorrectionsSubProcessor.addUnreachableCatchProposals(context, problem, proposals); break; case IProblem.VoidMethodReturnsValue: ReturnTypeSubProcessor.addVoidMethodReturnsProposals(context, problem, proposals); break; case IProblem.MissingReturnType: ReturnTypeSubProcessor.addMissingReturnTypeProposals(context, problem, proposals); break; case IProblem.ShouldReturnValue: ReturnTypeSubProcessor.addMissingReturnStatementProposals(context, problem, proposals); break; case IProblem.NonExternalizedStringLiteral: LocalCorrectionsSubProcessor.addNLSProposals(context, problem, proposals); break; case IProblem.NonStaticAccessToStaticField: case IProblem.NonStaticAccessToStaticMethod: case IProblem.IndirectAccessToStaticField: case IProblem.IndirectAccessToStaticMethod: LocalCorrectionsSubProcessor.addCorrectAccessToStaticProposals(context, problem, proposals); break; case IProblem.StaticMethodRequested: case IProblem.NonStaticFieldFromStaticInvocation: case IProblem.InstanceMethodDuringConstructorInvocation: case IProblem.InstanceFieldDuringConstructorInvocation: ModifierCorrectionSubProcessor.addNonAccessibleMemberProposal(context, problem, proposals, ModifierCorrectionSubProcessor.TO_STATIC, 5); break; case IProblem.NonBlankFinalLocalAssignment: case IProblem.DuplicateFinalLocalInitialization: case IProblem.FinalFieldAssignment: case IProblem.DuplicateBlankFinalFieldInitialization: ModifierCorrectionSubProcessor.addNonAccessibleMemberProposal(context, problem, proposals, ModifierCorrectionSubProcessor.TO_NON_FINAL, 9); break; case IProblem.InheritedMethodReducesVisibility: case IProblem.MethodReducesVisibility: case IProblem.OverridingNonVisibleMethod: ModifierCorrectionSubProcessor.addOverridesFinalProposals(context, problem, proposals, ModifierCorrectionSubProcessor.TO_VISIBLE); break; case IProblem.FinalMethodCannotBeOverridden: ModifierCorrectionSubProcessor.addOverridesFinalProposals(context, problem, proposals, ModifierCorrectionSubProcessor.TO_NON_FINAL); break; case IProblem.NotVisibleMethod: case IProblem.NotVisibleConstructor: case IProblem.NotVisibleType: case IProblem.SuperclassNotVisible: case IProblem.InterfaceNotVisible: case IProblem.FieldTypeNotVisible: case IProblem.ArgumentTypeNotVisible: case IProblem.ReturnTypeNotVisible: case IProblem.ExceptionTypeNotVisible: case IProblem.NotVisibleField: case IProblem.ImportNotVisible: case IProblem.JavadocNotVisibleType: ModifierCorrectionSubProcessor.addNonAccessibleMemberProposal(context, problem, proposals, ModifierCorrectionSubProcessor.TO_VISIBLE, 10); break; case IProblem.BodyForAbstractMethod: case IProblem.AbstractMethodInAbstractClass: ModifierCorrectionSubProcessor.addAbstractMethodProposals(context, problem, proposals); break; case IProblem.AbstractMethodMustBeImplemented: LocalCorrectionsSubProcessor.addUnimplementedMethodsProposals(context, problem, proposals); break; case IProblem.BodyForNativeMethod: ModifierCorrectionSubProcessor.addNativeMethodProposals(context, problem, proposals); break; case IProblem.MethodRequiresBody: ModifierCorrectionSubProcessor.addMethodRequiresBodyProposals(context, problem, proposals); break; case IProblem.OuterLocalMustBeFinal: ModifierCorrectionSubProcessor.addNonFinalLocalProposal(context, problem, proposals); break; case IProblem.UninitializedLocalVariable: LocalCorrectionsSubProcessor.addUninitializedLocalVariableProposal(context, problem, proposals); break; case IProblem.UnhandledExceptionInDefaultConstructor: case IProblem.UndefinedConstructorInDefaultConstructor: case IProblem.NotVisibleConstructorInDefaultConstructor: LocalCorrectionsSubProcessor.addConstructorFromSuperclassProposal(context, problem, proposals); break; case IProblem.UnusedPrivateMethod: case IProblem.UnusedPrivateConstructor: case IProblem.UnusedPrivateField: case IProblem.UnusedPrivateType: case IProblem.LocalVariableIsNeverUsed: case IProblem.ArgumentIsNeverUsed: LocalCorrectionsSubProcessor.addUnusedMemberProposal(context, problem, proposals); break; case IProblem.NeedToEmulateFieldReadAccess: case IProblem.NeedToEmulateFieldWriteAccess: case IProblem.NeedToEmulateMethodAccess: case IProblem.NeedToEmulateConstructorAccess: ModifierCorrectionSubProcessor.addNonAccessibleMemberProposal(context, problem, proposals, ModifierCorrectionSubProcessor.TO_NON_PRIVATE, 5); break; case IProblem.SuperfluousSemicolon: LocalCorrectionsSubProcessor.addSuperfluousSemicolonProposal(context, problem, proposals); break; case IProblem.UnnecessaryCast: case IProblem.UnnecessaryArgumentCast: LocalCorrectionsSubProcessor.addUnnecessaryCastProposal(context, problem, proposals); break; case IProblem.UnnecessaryInstanceof: LocalCorrectionsSubProcessor.addUnnecessaryInstanceofProposal(context, problem, proposals); break; case IProblem.UnusedMethodDeclaredThrownException: case IProblem.UnusedConstructorDeclaredThrownException: LocalCorrectionsSubProcessor.addUnnecessaryThrownExceptionProposal(context, problem, proposals); break; case IProblem.UnqualifiedFieldAccess: LocalCorrectionsSubProcessor.addUnqualifiedFieldAccessProposal(context, problem, proposals); break; case IProblem.Task: proposals.add(new TaskMarkerProposal(context.getCompilationUnit(), problem, 10)); break; case IProblem.JavadocMissing: JavadocTagsSubProcessor.getMissingJavadocCommentProposals(context, problem, proposals); break; case IProblem.JavadocMissingParamTag: case IProblem.JavadocMissingReturnTag: case IProblem.JavadocMissingThrowsTag: JavadocTagsSubProcessor.getMissingJavadocTagProposals(context, problem, proposals); break; case IProblem.LocalVariableHidingLocalVariable: case IProblem.LocalVariableHidingField: case IProblem.FieldHidingLocalVariable: case IProblem.FieldHidingField: case IProblem.ArgumentHidingLocalVariable: case IProblem.ArgumentHidingField: LocalCorrectionsSubProcessor.addHidingVariablesProposals(context, problem, proposals); default: } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/af36ef68977ba60198e5076557a1ddfe5649a6ab/QuickFixProcessor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1207, 12, 45, 9267, 1042, 819, 16, 467, 13719, 2735, 6199, 16, 2200, 450, 22536, 13, 1216, 30015, 288, 202, 202, 474, 612, 33, 6199, 18, 588, 13719, 548, 5621, 202, 202, 430, 261, 350, 422, 374, 13, 288, 368, 1158, 450, 22536, 364, 6555, 17, 18968, 7838, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 9610, 261, 350, 13, 288, 1082, 202, 3593, 467, 13719, 18, 984, 29133, 780, 30, 9506, 202, 780, 3862, 2224, 33, 9557, 9329, 5058, 18, 588, 780, 2932, 5852, 20884, 5164, 18, 1289, 6889, 18, 3384, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 474, 949, 33, 3635, 2711, 12, 18968, 18, 588, 2335, 1435, 397, 6199, 18, 588, 1782, 9334, 6199, 18, 588, 2335, 9334, 1548, 82, 64, 86, 3113, 819, 18, 588, 19184, 2802, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 685, 22536, 18, 1289, 12, 2704, 6910, 20884, 14592, 12, 6889, 2224, 16, 819, 18, 588, 19184, 2802, 9334, 949, 16, 374, 16, 7023, 3113, 374, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 4697, 202, 8820, 31, 1082, 202, 3593, 467, 13719, 18, 21106, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 11826, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 4515, 5010, 2261, 30, 1082, 202, 3593, 467, 13719, 18, 10732, 310, 5010, 30, 9506, 202, 426, 3341, 20884, 87, 1676, 5164, 18, 4479, 5010, 3406, 626, 22536, 12, 2472, 16, 6199, 16, 450, 22536, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1207, 12, 45, 9267, 1042, 819, 16, 467, 13719, 2735, 6199, 16, 2200, 450, 22536, 13, 1216, 30015, 288, 202, 202, 474, 612, 33, 6199, 18, 588, 13719, 548, 5621, 202, 202, 430, 261, 350, 422, 374, 13, 288, 368, 1158, 450, 22536, 364, 6555, 17, 18968, 7838, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 9610, 261, 350, 13, 288, 1082, 202, 3593, 467, 13719, 18, 984, 29133, 780, 30, 9506, 202, 780, 3862, 2224, 33, 9557, 9329, 5058, 18, 588, 780, 2932, 5852, 20884, 5164, 18, 1289, 6889, 18, 3384, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 474, 949, 33, 3635, 2711, 12, 18968, 18, 588, 2335, 1435, 397, 2 ]
String newOrder = "XYC"; if (order.indexOf("Z") > order.indexOf("T")) newOrder += "TZ"; else newOrder += "ZT"; return newOrder;
if (reader.isRGB(id)) { String newOrder = "XYC"; if (order.indexOf("Z") > order.indexOf("T")) newOrder += "TZ"; else newOrder += "ZT"; return newOrder; } return order;
public String getDimensionOrder(String id) throws FormatException, IOException { String order = super.getDimensionOrder(id); String newOrder = "XYC"; if (order.indexOf("Z") > order.indexOf("T")) newOrder += "TZ"; else newOrder += "ZT"; return newOrder; }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/35326399e5856594c8272f8e7b6afafae9258d4f/ChannelSeparator.java/clean/loci/formats/ChannelSeparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 20283, 2448, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 225, 288, 565, 514, 1353, 273, 2240, 18, 588, 8611, 2448, 12, 350, 1769, 565, 514, 394, 2448, 273, 315, 8546, 39, 14432, 565, 309, 261, 1019, 18, 31806, 2932, 62, 7923, 405, 1353, 18, 31806, 2932, 56, 6, 3719, 394, 2448, 1011, 315, 21647, 14432, 565, 469, 394, 2448, 1011, 315, 62, 56, 14432, 565, 327, 394, 2448, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 20283, 2448, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 225, 288, 565, 514, 1353, 273, 2240, 18, 588, 8611, 2448, 12, 350, 1769, 565, 514, 394, 2448, 273, 315, 8546, 39, 14432, 565, 309, 261, 1019, 18, 31806, 2932, 62, 7923, 405, 1353, 18, 31806, 2932, 56, 6, 3719, 394, 2448, 1011, 315, 21647, 14432, 565, 469, 394, 2448, 1011, 315, 62, 56, 14432, 565, 327, 394, 2448, 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 ]
throw new Error ("Not implemented");
if (! tryLockImpl(position, size, shared)) return null; boolean completed = false; try { boolean lockable = tryLockImpl(position, size, shared); completed = true; return (lockable ? new FileLockImpl(fd, this, position, size, shared) : null); } finally { end(completed); }
public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); throw new Error ("Not implemented"); }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/c75d2847fb297e714ce596b2a5bdb59fb3b1bb11/FileChannelImpl.java/clean/libjava/java/nio/channels/FileChannelImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1387, 2531, 775, 2531, 261, 5748, 1754, 16, 1525, 963, 16, 1250, 5116, 13, 565, 1216, 1860, 225, 288, 565, 309, 261, 3276, 411, 374, 3639, 747, 963, 411, 374, 13, 1377, 604, 394, 2754, 261, 1769, 565, 309, 16051, 291, 3678, 1832, 13, 1377, 604, 394, 25582, 2909, 503, 261, 1769, 565, 309, 16051, 775, 2531, 2828, 12, 3276, 16, 963, 16, 5116, 3719, 327, 446, 31, 225, 1250, 5951, 273, 629, 31, 225, 775, 288, 1250, 2176, 429, 273, 775, 2531, 2828, 12, 3276, 16, 963, 16, 5116, 1769, 5951, 273, 638, 31, 327, 261, 739, 429, 692, 394, 1387, 2531, 2828, 12, 8313, 16, 333, 16, 1754, 16, 963, 16, 5116, 13, 294, 446, 1769, 289, 3095, 288, 679, 12, 13615, 1769, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1387, 2531, 775, 2531, 261, 5748, 1754, 16, 1525, 963, 16, 1250, 5116, 13, 565, 1216, 1860, 225, 288, 565, 309, 261, 3276, 411, 374, 3639, 747, 963, 411, 374, 13, 1377, 604, 394, 2754, 261, 1769, 565, 309, 16051, 291, 3678, 1832, 13, 1377, 604, 394, 25582, 2909, 503, 261, 1769, 565, 309, 16051, 775, 2531, 2828, 12, 3276, 16, 963, 16, 5116, 3719, 327, 446, 31, 225, 1250, 5951, 273, 629, 31, 225, 775, 288, 1250, 2176, 429, 273, 775, 2531, 2828, 12, 3276, 16, 963, 16, 5116, 1769, 5951, 273, 638, 31, 327, 261, 739, 429, 692, 394, 1387, 2531, 2828, 12, 8313, 16, 333, 16, 1754, 16, 963, 16, 5116, 13, 294, 446, 2 ]
setTargets(e.getNewTargets());
if (!updatingSelection) { updatingSelection = true; Object[] targets = e.getAddedTargets(); int rows = getRowCount(); for (int i = 0; i < targets.length; i++) { Object target = targets[i]; target = target instanceof Fig ? ((Fig) target).getOwner() : target; for (int j = 0; j < rows; j++) { Object rowItem = ((DefaultMutableTreeNode) getPathForRow( j).getLastPathComponent()).getUserObject(); if (rowItem == target) { addSelectionRow(j); } } } if (getSelectionCount() > 0) { scrollRowToVisible(getSelectionRows()[0]); } updatingSelection = false; }
public void targetAdded(TargetEvent e) { setTargets(e.getNewTargets()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/05418c443f18f9fa8eab4e0d468de1c94e2950f1/ExplorerTree.java/clean/src_new/org/argouml/ui/explorer/ExplorerTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1018, 8602, 12, 2326, 1133, 425, 13, 288, 5411, 309, 16051, 5533, 1776, 6233, 13, 288, 9702, 6233, 273, 638, 31, 1033, 8526, 5774, 273, 425, 18, 588, 8602, 9432, 5621, 225, 509, 2595, 273, 11835, 1380, 5621, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5774, 18, 2469, 31, 277, 27245, 288, 1033, 1018, 273, 5774, 63, 77, 15533, 1018, 273, 1018, 1276, 478, 360, 692, 14015, 42, 360, 13, 1018, 2934, 588, 5541, 1435, 294, 1018, 31, 364, 261, 474, 525, 273, 374, 31, 525, 411, 2595, 31, 525, 27245, 288, 1033, 1027, 1180, 273, 14015, 1868, 19536, 12513, 13, 4339, 1290, 1999, 12, 525, 2934, 588, 3024, 743, 1841, 1435, 2934, 588, 1299, 921, 5621, 309, 261, 492, 1180, 422, 1018, 13, 288, 527, 6233, 1999, 12, 78, 1769, 289, 289, 289, 225, 309, 261, 588, 6233, 1380, 1435, 405, 374, 13, 288, 5532, 1999, 774, 6207, 12, 588, 6233, 4300, 1435, 63, 20, 19226, 289, 9702, 6233, 273, 629, 31, 289, 540, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1018, 8602, 12, 2326, 1133, 425, 13, 288, 5411, 309, 16051, 5533, 1776, 6233, 13, 288, 9702, 6233, 273, 638, 31, 1033, 8526, 5774, 273, 425, 18, 588, 8602, 9432, 5621, 225, 509, 2595, 273, 11835, 1380, 5621, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5774, 18, 2469, 31, 277, 27245, 288, 1033, 1018, 273, 5774, 63, 77, 15533, 1018, 273, 1018, 1276, 478, 360, 692, 14015, 42, 360, 13, 1018, 2934, 588, 5541, 1435, 294, 1018, 31, 364, 261, 474, 525, 273, 374, 31, 525, 411, 2595, 31, 525, 27245, 288, 1033, 1027, 1180, 273, 14015, 1868, 19536, 12513, 13, 4339, 1290, 1999, 12, 525, 2934, 588, 3024, 743, 1841, 1435, 2934, 588, 2 ]
public double getDouble(int field) throws FieldNotFound { String value = getField(field).getValue(); try { return DoubleConverter.convert(value); } catch (FieldConvertError e) { throw newIncorrectDataException(e, field); } }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/ac62cdb33fe9cdcbdda5568204116691fedd13fb/FieldMap.java/buggy/src/quickfix/FieldMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9056, 588, 5265, 12, 474, 1518, 13, 15069, 974, 2768, 95, 780, 1132, 33, 588, 974, 12, 1518, 2934, 24805, 5621, 698, 95, 2463, 5265, 5072, 18, 6283, 12, 1132, 1769, 97, 14683, 12, 974, 2723, 29228, 303, 266, 15329, 12849, 2704, 16268, 22480, 12, 73, 16, 1518, 1769, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9056, 588, 5265, 12, 474, 1518, 13, 15069, 974, 2768, 95, 780, 1132, 33, 588, 974, 12, 1518, 2934, 24805, 5621, 698, 95, 2463, 5265, 5072, 18, 6283, 12, 1132, 1769, 97, 14683, 12, 974, 2723, 29228, 303, 266, 15329, 12849, 2704, 16268, 22480, 12, 73, 16, 1518, 1769, 9090, 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 ]
return supC.isAssignableFrom(this.getClass());
return supC.isAssignableFrom(this.getTestClass());
public boolean isProperSubset(FeatureFilter sup) { if(sup instanceof ByClass) { Class supC = ((ByClass) sup).getTestClass(); return supC.isAssignableFrom(this.getClass()); } return (sup instanceof AcceptAllFilter); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/44d22ccf371fd77a4df9d235206b85c7108c4dfe/FeatureFilter.java/clean/src/org/biojava/bio/seq/FeatureFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 626, 457, 20315, 12, 4595, 1586, 1169, 13, 288, 1377, 309, 12, 2859, 1276, 2525, 797, 13, 288, 3639, 1659, 1169, 39, 273, 14015, 30032, 13, 1169, 2934, 588, 4709, 797, 5621, 3639, 327, 1169, 39, 18, 291, 7961, 1265, 12, 2211, 18, 588, 4709, 797, 10663, 1377, 289, 1377, 327, 261, 2859, 1276, 8662, 1595, 1586, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 626, 457, 20315, 12, 4595, 1586, 1169, 13, 288, 1377, 309, 12, 2859, 1276, 2525, 797, 13, 288, 3639, 1659, 1169, 39, 273, 14015, 30032, 13, 1169, 2934, 588, 4709, 797, 5621, 3639, 327, 1169, 39, 18, 291, 7961, 1265, 12, 2211, 18, 588, 4709, 797, 10663, 1377, 289, 1377, 327, 261, 2859, 1276, 8662, 1595, 1586, 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 ]
for (Iterator ii=sc.getChildren().iterator(); ii.hasNext();) {
for (Iterator ii=sc.getChildren().iterator(); ii.hasNext();) {
public DefaultMutableTreeNode buildTree(DefaultMutableTreeNode parent, Object userObject) { DefaultMutableTreeNode newNode = null; if (userObject instanceof ShapeGraphic) { ShapeGraphic graphic = (ShapeGraphic)userObject; newNode = new ShapeGraphicNode(graphic); if (graphic.hasFrame()) buildTree(newNode, graphic.getFrame()); if (graphic.isContainer()) { ShapeContainer sc = (ShapeContainer) graphic; ShapeGraphic g; for (Iterator ii=sc.getPrototypes().iterator(); ii.hasNext();) { g = (ShapeGraphic) ii.next(); buildTree(newNode, g); } for (Iterator ii=sc.getChildren().iterator(); ii.hasNext();) { g = (ShapeGraphic) ii.next(); buildTree(newNode, g); } } } else if (userObject instanceof org.cougaar.core.qos.frame.Frame) { org.cougaar.core.qos.frame.Frame frame = (org.cougaar.core.qos.frame.Frame)userObject; newNode = new FrameNode(frame); } if (parent != null && newNode != null) parent.add(newNode); return newNode; }
7173 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7173/bc52fc682ef0cc8d45a5c3d85beeee040e605012/ContainerTreeView.java/buggy/qos/src/org/cougaar/core/qos/frame/visualizer/tree/ContainerTreeView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 2989, 19536, 12513, 1361, 2471, 12, 1868, 19536, 12513, 982, 16, 1033, 729, 921, 13, 288, 3639, 2989, 19536, 12513, 10942, 273, 446, 31, 3639, 309, 261, 1355, 921, 1276, 12383, 29459, 13, 288, 5411, 12383, 29459, 19548, 273, 261, 8500, 29459, 13, 1355, 921, 31, 5411, 10942, 273, 394, 12383, 29459, 907, 12, 4660, 335, 1769, 5411, 309, 261, 4660, 335, 18, 5332, 3219, 10756, 7734, 1361, 2471, 12, 2704, 907, 16, 19548, 18, 588, 3219, 10663, 5411, 309, 261, 4660, 335, 18, 291, 2170, 10756, 288, 7734, 12383, 2170, 888, 273, 261, 8500, 2170, 13, 19548, 31, 7734, 12383, 29459, 314, 31, 7734, 364, 261, 3198, 6072, 33, 1017, 18, 588, 626, 3307, 989, 7675, 9838, 5621, 6072, 18, 5332, 2134, 5621, 13, 288, 10792, 314, 273, 261, 8500, 29459, 13, 6072, 18, 4285, 5621, 10792, 1361, 2471, 12, 2704, 907, 16, 314, 1769, 7734, 289, 202, 202, 1884, 261, 3198, 6072, 33, 1017, 18, 588, 4212, 7675, 9838, 5621, 6072, 18, 5332, 2134, 5621, 13, 288, 10792, 314, 273, 261, 8500, 29459, 13, 6072, 18, 4285, 5621, 10792, 1361, 2471, 12, 2704, 907, 16, 314, 1769, 7734, 289, 1082, 5411, 289, 3639, 289, 225, 469, 309, 261, 1355, 921, 1276, 2358, 18, 2894, 637, 69, 297, 18, 3644, 18, 23557, 18, 3789, 18, 3219, 13, 288, 5411, 2358, 18, 2894, 637, 69, 297, 18, 3644, 18, 23557, 18, 3789, 18, 3219, 2623, 273, 261, 3341, 18, 2894, 637, 69, 297, 18, 3644, 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, 1377, 1071, 2989, 19536, 12513, 1361, 2471, 12, 1868, 19536, 12513, 982, 16, 1033, 729, 921, 13, 288, 3639, 2989, 19536, 12513, 10942, 273, 446, 31, 3639, 309, 261, 1355, 921, 1276, 12383, 29459, 13, 288, 5411, 12383, 29459, 19548, 273, 261, 8500, 29459, 13, 1355, 921, 31, 5411, 10942, 273, 394, 12383, 29459, 907, 12, 4660, 335, 1769, 5411, 309, 261, 4660, 335, 18, 5332, 3219, 10756, 7734, 1361, 2471, 12, 2704, 907, 16, 19548, 18, 588, 3219, 10663, 5411, 309, 261, 4660, 335, 18, 291, 2170, 10756, 288, 7734, 12383, 2170, 888, 273, 261, 8500, 2170, 13, 19548, 31, 7734, 12383, 29459, 314, 31, 7734, 364, 261, 3198, 6072, 33, 1017, 18, 588, 626, 3307, 989, 7675, 2 ]
doDefaultCloseAction();
debugManager.print( "Creating TableViewer Popup..."); doTableViewer( );
public void actionPerformed(ActionEvent e) { // close the frame doDefaultCloseAction(); }
48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/59047001db9d7296c3b68e6334eb83f835f6c032/GramControlFrame.java/clean/frog/src/main/uk/ac/starlink/frog/iface/GramControlFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 11794, 368, 1746, 326, 2623, 2398, 1198, 1318, 18, 1188, 12, 315, 11092, 3555, 18415, 10264, 416, 7070, 1769, 741, 1388, 18415, 12, 11272, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 11794, 368, 1746, 326, 2623, 2398, 1198, 1318, 18, 1188, 12, 315, 11092, 3555, 18415, 10264, 416, 7070, 1769, 741, 1388, 18415, 12, 11272, 6647, 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 ]
getBaseDonnees ().begin () ;
public void initialiserParametres () throws ServletException { OQLQuery lRequete ; // Requte raliser sur la base QueryResults lResultat ; // Rsultat de la requte sur la base MMesureIndicateur lMesureIndicateur ; try { // pour chaque indicateur du projet for (int i = 0 ; i < mProjet.getNbIndicateurs() ; i++) { // rcupration des identifiants de l indicateur, du collaborateur et de l itration MIndicateur lIndicateur = (MIndicateur)mProjet.getIndicateur(i) ; int lIdIndicateur = lIndicateur.getId() ; MCollaborateur lCollaborateur = mSession.getCollaborateur () ; int lIdCollab = lCollaborateur.getId () ; // recherche de l iteration en cours for (int j = 0; j < mProjet.getNbIterations() ; j++) { if (mProjet.getIteration(j).getEtat()==1) mIteration = mProjet.getIteration(j); } int lIdIteration = mIteration.getId() ; // Rcupre la mesure dans la base de donnes getBaseDonnees ().begin () ; // Rcupre la mesure dans la base de donnes lRequete = getBaseDonnees () .getOQLQuery ("select MESUREINDICATEUR from owep.modele.execution.MMesureIndicateur MESUREINDICATEUR where mIndicateur = $1 and mCollaborateur = $2 and mIteration = $3") ; lRequete.bind (lIdIndicateur) ; lRequete.bind (lIdCollab) ; lRequete.bind (lIdIteration) ; lResultat = lRequete.execute () ; try { lMesureIndicateur = (MMesureIndicateur) lResultat.next () ; } // si la mesure associ l indicateur n'a pas encore t cr, on la cre catch (NoSuchElementException eException) { // creation dans la bd de la mesure lMesureIndicateur = new MMesureIndicateur() ; lMesureIndicateur.setCollaborateur(lCollaborateur) ; lMesureIndicateur.setIndicateur(lIndicateur) ; lMesureIndicateur.setIteration(mIteration) ; getBaseDonnees ().create(lMesureIndicateur) ; // ajout de l indicateur a la liste des indicateurs du projet mProjet.setListe(new Integer(i),lMesureIndicateur) ; } getBaseDonnees ().commit () ; // ajout de l indicateur a la liste des indicateurs du projet mProjet.setListe(new Integer(i),lMesureIndicateur) ; } } catch (Exception eException) { eException.printStackTrace () ; throw new ServletException (CConstante.EXC_TRAITEMENT) ; } // Ferme la connexion la base de donnes. finally { try { getBaseDonnees ().close () ; } catch (PersistenceException eException) { eException.printStackTrace () ; throw new ServletException (CConstante.EXC_DECONNEXION) ; } } }
8474 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8474/1e9e977d7cfd03e68eec5267e46682c760512583/CListeIndicateurs.java/buggy/owep/Java/owep/controle/iteration/CListeIndicateurs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2172, 15914, 786, 278, 455, 1832, 1216, 16517, 225, 288, 565, 531, 2024, 1138, 328, 426, 372, 12865, 274, 368, 17945, 624, 225, 436, 287, 15914, 5056, 7125, 1026, 565, 2770, 3447, 328, 1253, 270, 274, 368, 29409, 406, 270, 443, 7125, 1111, 624, 5056, 7125, 1026, 565, 18295, 281, 594, 3866, 2659, 295, 328, 49, 281, 594, 3866, 2659, 295, 274, 3639, 775, 565, 288, 4202, 368, 24601, 462, 14886, 10768, 295, 9978, 10296, 278, 1377, 364, 261, 474, 277, 273, 374, 274, 277, 411, 312, 626, 78, 278, 18, 588, 22816, 3866, 2659, 25152, 1435, 274, 277, 27245, 1377, 288, 3639, 368, 4519, 416, 7034, 2832, 3390, 704, 4388, 443, 328, 10768, 295, 16, 9978, 21326, 280, 23149, 3393, 443, 328, 11176, 367, 3639, 490, 3866, 2659, 295, 328, 3866, 2659, 295, 273, 261, 49, 3866, 2659, 295, 13, 81, 626, 78, 278, 18, 588, 3866, 2659, 295, 12, 77, 13, 274, 3639, 509, 328, 548, 3866, 2659, 295, 273, 328, 3866, 2659, 295, 18, 26321, 1435, 274, 7734, 490, 22894, 280, 23149, 328, 22894, 280, 23149, 273, 312, 2157, 18, 588, 22894, 280, 23149, 1832, 274, 3639, 509, 328, 548, 22894, 273, 328, 22894, 280, 23149, 18, 26321, 1832, 274, 7734, 368, 283, 19322, 18706, 443, 328, 6532, 570, 276, 4390, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 312, 626, 78, 278, 18, 588, 22816, 21213, 1435, 274, 525, 27245, 3639, 288, 1850, 309, 261, 81, 626, 78, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2172, 15914, 786, 278, 455, 1832, 1216, 16517, 225, 288, 565, 531, 2024, 1138, 328, 426, 372, 12865, 274, 368, 17945, 624, 225, 436, 287, 15914, 5056, 7125, 1026, 565, 2770, 3447, 328, 1253, 270, 274, 368, 29409, 406, 270, 443, 7125, 1111, 624, 5056, 7125, 1026, 565, 18295, 281, 594, 3866, 2659, 295, 328, 49, 281, 594, 3866, 2659, 295, 274, 3639, 775, 565, 288, 4202, 368, 24601, 462, 14886, 10768, 295, 9978, 10296, 278, 1377, 364, 261, 474, 277, 273, 374, 274, 277, 411, 312, 626, 78, 278, 18, 588, 22816, 3866, 2659, 25152, 1435, 274, 277, 27245, 1377, 288, 3639, 368, 4519, 416, 7034, 2832, 3390, 704, 4388, 443, 328, 10768, 295, 16, 2 ]
Assert.assertNotNull(greaterOrEqual);
assertNotNull(greaterOrEqual);
public void testDecodeSearchRequestCompareFiltersNoControls() { Asn1Decoder ldapDecoder = new LdapDecoder(); ByteBuffer stream = ByteBuffer.allocate( 0x90 ); stream.put( new byte[] { 0x30, (byte)0x81, (byte)0x8D, // LDAPMessage ::=SEQUENCE { 0x02, 0x01, 0x01, // messageID MessageID 0x63, (byte)0x81, (byte)0x87, // CHOICE { ..., searchRequest SearchRequest, ... // SearchRequest ::= APPLICATION[3] SEQUENCE { 0x04, 0x1F, // baseObject LDAPDN, 'u', 'i', 'd', '=', 'a', 'k', 'a', 'r', 'a', 's', 'u', 'l', 'u', ',', 'd', 'c', '=', 'e', 'x', 'a', 'm', 'p', 'l', 'e', ',', 'd', 'c', '=', 'c', 'o', 'm', 0x0A, 0x01, 0x01, // scope ENUMERATED { // baseObject (0), // singleLevel (1), // wholeSubtree (2) }, 0x0A, 0x01, 0x03, // derefAliases ENUMERATED { // neverDerefAliases (0), // derefInSearching (1), // derefFindingBaseObj (2), // derefAlways (3) }, // sizeLimit INTEGER (0 .. maxInt), (1000) 0x02, 0x02, 0x03, (byte)0xE8, // timeLimit INTEGER (0 .. maxInt), (1000) 0x02, 0x02, 0x03, (byte)0xE8, 0x01, 0x01, (byte)0xFF, // typesOnly BOOLEAN, (TRUE) // filter Filter, (byte)0xA0, 0x3C, // Filter ::= CHOICE { // and [0] SET OF Filter, (byte)0xA1, 0x24, // or [1] SET of Filter, (byte)0xA8, 0x12, // approxMatch [8] AttributeValueAssertion, // AttributeValueAssertion ::= SEQUENCE { // attributeDesc AttributeDescription (LDAPString), 0x04, 0x0B, 'o', 'b', 'j', 'e', 'c', 't', 'c', 'l', 'a', 's', 's', // assertionValue AssertionValue (OCTET STRING) } 0x04, 0x03, 't', 'o', 'p', (byte)0xA6, 0x0E, // lessOrEqual [3] AttributeValueAssertion, // AttributeValueAssertion ::= SEQUENCE { 0x04, 0x02, 'o', 'u', // attributeDesc AttributeDescription (LDAPString), // assertionValue AssertionValue (OCTET STRING) } 0x04, 0x08, 'c', 'o', 'n', 't', 'a', 'c', 't', 's', (byte)0xA2, 0x14, // not [2] Filter, (byte)0xA5, 0x12, // greaterOrEqual [5] AttributeValueAssertion, // AttributeValueAssertion ::= SEQUENCE { // attributeDesc AttributeDescription (LDAPString), 0x04, 0x0B, 'o', 'b', 'j', 'e', 'c', 't', 'c', 'l', 'a', 's', 's', // assertionValue AssertionValue (OCTET STRING) } 0x04, 0x03, 't', 't', 't', // attributes AttributeDescriptionList } 0x30, 0x15, // AttributeDescriptionList ::= SEQUENCE OF AttributeDescription 0x04, 0x05, 'a', 't', 't', 'r', '0', // AttributeDescription ::= LDAPString 0x04, 0x05, 'a', 't', 't', 'r', '1', // AttributeDescription ::= LDAPString 0x04, 0x05, 'a', 't', 't', 'r', '2' // AttributeDescription ::= LDAPString } ); String decodedPdu = StringTools.dumpBytes( stream.array() ); stream.flip(); // Allocate a BindRequest Container IAsn1Container ldapMessageContainer = new LdapMessageContainer(); try { ldapDecoder.decode( stream, ldapMessageContainer ); } catch ( DecoderException de ) { de.printStackTrace(); Assert.fail( de.getMessage() ); } LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage(); SearchRequest sr = message.getSearchRequest(); Assert.assertEquals( 1, message.getMessageId() ); Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", sr.getBaseObject().toString() ); Assert.assertEquals( LdapConstants.SCOPE_SINGLE_LEVEL, sr.getScope() ); Assert.assertEquals( LdapConstants.DEREF_ALWAYS, sr.getDerefAliases() ); Assert.assertEquals( 1000, sr.getSizeLimit() ); Assert.assertEquals( 1000, sr.getTimeLimit() ); Assert.assertEquals( true, sr.isTypesOnly() ); // (& (... AndFilter andFilter = (AndFilter)sr.getFilter(); Assert.assertNotNull(andFilter); ArrayList andFilters = andFilter.getAndFilter(); // (& (| (... Assert.assertEquals(2, andFilters.size()); OrFilter orFilter = (OrFilter)andFilters.get(0); Assert.assertNotNull(orFilter); // (& (| (objectclass~=top) (... ArrayList orFilters = orFilter.getOrFilter(); Assert.assertEquals(2, orFilters.size()); AttributeValueAssertionFilter approxMatch = (AttributeValueAssertionFilter)orFilters.get(0); Assert.assertNotNull(approxMatch); AttributeValueAssertion assertion = approxMatch.getAssertion(); Assert.assertNotNull(assertion); Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString()); Assert.assertEquals("top", assertion.getAssertionValue().toString()); // (& (| (objectclass~=top) (ou<=contacts) ) (... AttributeValueAssertionFilter lessOrEqual = (AttributeValueAssertionFilter)orFilters.get(1); Assert.assertNotNull(lessOrEqual); assertion = lessOrEqual.getAssertion(); Assert.assertNotNull(assertion); Assert.assertEquals("ou", assertion.getAttributeDesc().toString()); Assert.assertEquals("contacts", assertion.getAssertionValue().toString()); // (& (| (objectclass~=top) (ou<=contacts) ) (! ... NotFilter notFilter = (NotFilter)andFilters.get(1); Assert.assertNotNull(notFilter); // (& (| (objectclass~=top) (ou<=contacts) ) (! (objectclass>=ttt) ) ) AttributeValueAssertionFilter greaterOrEqual = (AttributeValueAssertionFilter)notFilter.getNotFilter(); Assert.assertNotNull(greaterOrEqual); assertion = greaterOrEqual.getAssertion(); Assert.assertNotNull(assertion); Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString()); Assert.assertEquals("ttt", assertion.getAssertionValue().toString()); // The attributes Attributes attributes = sr.getAttributes(); for (int i = 0; i < attributes.size(); i++) { Assert.assertNotNull( attributes.get( "attr" + i ) ); } // Check the length Assert.assertEquals(0x90, message.computeLength()); // Check the encoding // We won't check the whole PDU, as it may differs because // attributes may have been reordered try { ByteBuffer bb = message.encode( null ); String encodedPdu = StringTools.dumpBytes( bb.array() ); Assert.assertEquals(encodedPdu.substring( 0, 0x81 ), decodedPdu.substring( 0, 0x81 ) ); } catch ( EncoderException ee ) { ee.printStackTrace(); Assert.fail( ee.getMessage() ); } }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/3561f4cdd29c534a78cee8464a6bc4c88d5b1783/SearchRequestTest.java/buggy/ldap/src/test/java/org/apache/ldap/common/codec/search/SearchRequestTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6615, 2979, 691, 8583, 5422, 2279, 16795, 1435, 565, 288, 3639, 31277, 21, 7975, 8079, 7975, 273, 394, 18053, 7975, 5621, 3639, 7400, 225, 1407, 1377, 273, 7400, 18, 16247, 12, 374, 92, 9349, 11272, 3639, 1407, 18, 458, 12, 5411, 394, 1160, 8526, 5411, 288, 7734, 374, 92, 5082, 16, 261, 7229, 13, 20, 92, 11861, 16, 261, 7229, 13, 20, 92, 28, 40, 16, 368, 11916, 1079, 493, 33, 25330, 288, 9506, 202, 20, 92, 3103, 16, 374, 92, 1611, 16, 374, 92, 1611, 16, 3196, 1850, 368, 3639, 883, 734, 2350, 734, 9506, 202, 20, 92, 4449, 16, 261, 7229, 13, 20, 92, 11861, 16, 261, 7229, 13, 20, 92, 11035, 16, 10402, 368, 202, 1377, 6469, 51, 11774, 288, 1372, 16, 1623, 691, 5167, 691, 16, 1372, 7682, 9506, 1377, 202, 225, 368, 5167, 691, 493, 33, 14148, 63, 23, 65, 27118, 288, 9506, 202, 20, 92, 3028, 16, 374, 92, 21, 42, 16, 1875, 1377, 202, 225, 368, 565, 1026, 921, 11916, 8609, 16, 9506, 202, 11, 89, 2187, 296, 77, 2187, 296, 72, 2187, 15196, 2187, 296, 69, 2187, 296, 79, 2187, 296, 69, 2187, 296, 86, 2187, 296, 69, 2187, 296, 87, 2187, 296, 89, 2187, 296, 80, 2187, 296, 89, 2187, 2265, 2187, 296, 72, 2187, 296, 71, 2187, 15196, 2187, 7734, 296, 73, 2187, 296, 92, 2187, 296, 69, 2187, 296, 81, 2187, 296, 84, 2187, 296, 80, 2187, 296, 73, 2187, 2265, 2187, 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, 6615, 2979, 691, 8583, 5422, 2279, 16795, 1435, 565, 288, 3639, 31277, 21, 7975, 8079, 7975, 273, 394, 18053, 7975, 5621, 3639, 7400, 225, 1407, 1377, 273, 7400, 18, 16247, 12, 374, 92, 9349, 11272, 3639, 1407, 18, 458, 12, 5411, 394, 1160, 8526, 5411, 288, 7734, 374, 92, 5082, 16, 261, 7229, 13, 20, 92, 11861, 16, 261, 7229, 13, 20, 92, 28, 40, 16, 368, 11916, 1079, 493, 33, 25330, 288, 9506, 202, 20, 92, 3103, 16, 374, 92, 1611, 16, 374, 92, 1611, 16, 3196, 1850, 368, 3639, 883, 734, 2350, 734, 9506, 202, 20, 92, 4449, 16, 261, 7229, 13, 20, 92, 11861, 16, 261, 7229, 13, 20, 92, 11035, 16, 2 ]
MylarStatusHandler.fail(event.getJob().getResult().getException(), IBugzillaConstants.REPORT_SUBMIT_ERROR+"\n"+event.getJob().getResult().getMessage(), true);
MylarStatusHandler.fail(event.getJob().getResult().getException(), IBugzillaConstants.REPORT_SUBMIT_ERROR + "\n" + event.getJob().getResult().getMessage(), true);
public void submitToRepository() { submitButton.setEnabled(false); showBusy(true); if (isDirty()) { doSave(new NullProgressMonitor()); } BugzillaReportSubmitForm bugzillaReportSubmitForm; try { if (taskData.isLocallyCreated()) { boolean wrap = IBugzillaConstants.BugzillaServerVersion.SERVER_218.equals(repository.getVersion()); bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeNewBugPost(repository.getUrl(), repository .getUserName(), repository.getPassword(), repository.getCharacterEncoding(), taskData, wrap); } else { bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeExistingBugPost(taskData, repository.getUrl(), repository.getUserName(), repository.getPassword(), repository.getCharacterEncoding()); } } catch (UnsupportedEncodingException e) { // should never get here but just in case... MessageDialog.openError(null, "Posting Error", "Ensure proper encoding selected in " + TaskRepositoriesView.NAME + "."); return; } final BugzillaRepositoryConnector bugzillaRepositoryConnector = (BugzillaRepositoryConnector) TasksUiPlugin .getRepositoryManager().getRepositoryConnector(BugzillaCorePlugin.REPOSITORY_KIND); final AbstractRepositoryTask modifiedTask = (AbstractRepositoryTask) TasksUiPlugin.getTaskListManager() .getTaskList().getTask(AbstractRepositoryTask.getHandle(repository.getUrl(), taskData.getId())); JobChangeAdapter submitJobListener = new JobChangeAdapter() { public void done(final IJobChangeEvent event) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { if (event.getJob().getResult().getCode() == Status.OK && event.getJob().getResult().getMessage() != null) {// // Attach context if (getAttachContext()) { IWorkbench wb = PlatformUI.getWorkbench(); IProgressService ps = wb.getProgressService(); try { ps.busyCursorWhile(new IRunnableWithProgress() { public void run(IProgressMonitor pm) { try { bugzillaRepositoryConnector.attachContext(repository, modifiedTask, ""); } catch (Exception e) { MylarStatusHandler.fail(e, "Failed to attach task context.\n\n" + e.getMessage(), true); } } }); } catch (InvocationTargetException e1) { MylarStatusHandler.fail(e1.getCause(), "Failed to attach task context.\n\n" + e1.getMessage(), true); } catch (InterruptedException e1) { // ignore } } if (modifiedTask != null) { // TODO: This is set to null in order for update // to bypass // ui override check with user // Need to change how this is achieved. // modifiedTask.setTaskData(null); TasksUiPlugin.getSynchronizationManager().synchronize(connector, modifiedTask, true, new JobChangeAdapter() { @Override public void done(IJobChangeEvent event) { close(); TaskUiUtil.openEditor(modifiedTask, false); } }); Set<AbstractRepositoryQuery> queriesWithHandle = TasksUiPlugin.getTaskListManager() .getTaskList().getQueriesForHandle(modifiedTask.getHandleIdentifier()); // Sync Queries that have this task TasksUiPlugin.getSynchronizationManager().synchronize(connector, queriesWithHandle, null, Job.SHORT, 0, false); // Sync any tasks that might have changed as a // result of this action // TODO: removed since we don't have a way to // exclude currently submitted task // and others will be synched later by // background sync anyway (or manual sync) // TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, // repository); } else { TaskUiUtil.openRepositoryTask(repository.getUrl(), BugzillaTaskEditor.this .getRepositoryTaskData().getId(), repository.getUrl() + IBugzillaConstants.URL_GET_SHOW_BUG + BugzillaTaskEditor.this.getRepositoryTaskData().getId()); close(); } return; } else if (event.getJob().getResult().getCode() == Status.INFO) { WebBrowserDialog.openAcceptAgreement(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event .getJob().getResult().getMessage(), event.getJob().getResult().getException() .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } else if (event.getJob().getResult().getCode() == Status.ERROR) { MylarStatusHandler.fail(event.getJob().getResult().getException(), IBugzillaConstants.REPORT_SUBMIT_ERROR+"\n"+event.getJob().getResult().getMessage(), true);// MessageDialog.openError(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event.getResult()// .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } } }); } }; submissionHandler.submitBugReport(bugzillaReportSubmitForm, submitJobListener, false, false); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/e5daff07911ed3e186ab3ff3c26a76000b55e167/BugzillaTaskEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4879, 774, 3305, 1435, 288, 202, 202, 9297, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 4500, 29289, 12, 3767, 1769, 202, 202, 430, 261, 291, 10785, 10756, 288, 1082, 202, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 202, 202, 97, 202, 202, 19865, 15990, 4820, 11620, 1204, 7934, 15990, 4820, 11620, 1204, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 4146, 751, 18, 291, 1333, 1230, 6119, 10756, 288, 9506, 202, 6494, 2193, 273, 467, 19865, 15990, 2918, 18, 19865, 15990, 2081, 1444, 18, 4370, 67, 22, 2643, 18, 14963, 12, 9071, 18, 588, 1444, 10663, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 12, 9071, 18, 588, 1489, 9334, 3352, 25083, 202, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 3352, 18, 588, 7069, 4705, 9334, 1562, 751, 16, 2193, 1769, 1082, 202, 97, 469, 288, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 9895, 19865, 3349, 12, 4146, 751, 16, 3352, 18, 588, 1489, 9334, 25083, 202, 9071, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 3352, 18, 588, 7069, 4705, 10663, 1082, 202, 97, 202, 202, 97, 1044, 261, 8544, 13836, 425, 13, 288, 1082, 202, 759, 1410, 5903, 336, 2674, 1496, 2537, 316, 648, 2777, 1082, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 3349, 310, 1068, 3113, 315, 12512, 5338, 2688, 3170, 316, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4879, 774, 3305, 1435, 288, 202, 202, 9297, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 4500, 29289, 12, 3767, 1769, 202, 202, 430, 261, 291, 10785, 10756, 288, 1082, 202, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 202, 202, 97, 202, 202, 19865, 15990, 4820, 11620, 1204, 7934, 15990, 4820, 11620, 1204, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 4146, 751, 18, 291, 1333, 1230, 6119, 10756, 288, 9506, 202, 6494, 2193, 273, 467, 19865, 15990, 2918, 18, 19865, 15990, 2081, 1444, 18, 4370, 67, 22, 2643, 18, 14963, 12, 9071, 18, 588, 1444, 10663, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 2 ]
_duDirectory = dir; _name = dir.getName(); _descriptorFile = new File(_duDirectory, "deploy.xml");
_duDirectory = dir; _name = dir.getName(); _descriptorFile = new File(_duDirectory, "deploy.xml");
public DeploymentUnitImpl(File dir) { if (!dir.exists()) throw new IllegalArgumentException("Directory " + dir + " does not exist!"); _duDirectory = dir; _name = dir.getName(); _descriptorFile = new File(_duDirectory, "deploy.xml"); if (!_descriptorFile.exists()) throw new IllegalArgumentException("Directory " + dir + " does not contain a deploy.xml file!"); _lastModified = _descriptorFile.lastModified(); }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/7622ffd0b40d0eb70799f28fc221a2dfc101f427/DeploymentUnitImpl.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/deploy/DeploymentUnitImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8587, 2802, 2828, 12, 812, 1577, 13, 288, 565, 309, 16051, 1214, 18, 1808, 10756, 1377, 604, 394, 2754, 2932, 2853, 315, 225, 397, 1577, 397, 315, 1552, 486, 1005, 4442, 1769, 565, 389, 2544, 2853, 273, 1577, 31, 565, 389, 529, 273, 1577, 18, 17994, 5621, 565, 389, 12628, 812, 273, 394, 1387, 24899, 2544, 2853, 16, 315, 12411, 18, 2902, 8863, 565, 309, 16051, 67, 12628, 812, 18, 1808, 10756, 1377, 604, 394, 2754, 2932, 2853, 315, 397, 1577, 397, 315, 1552, 486, 912, 279, 7286, 18, 2902, 585, 4442, 1769, 565, 389, 2722, 4575, 273, 389, 12628, 812, 18, 2722, 4575, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8587, 2802, 2828, 12, 812, 1577, 13, 288, 565, 309, 16051, 1214, 18, 1808, 10756, 1377, 604, 394, 2754, 2932, 2853, 315, 225, 397, 1577, 397, 315, 1552, 486, 1005, 4442, 1769, 565, 389, 2544, 2853, 273, 1577, 31, 565, 389, 529, 273, 1577, 18, 17994, 5621, 565, 389, 12628, 812, 273, 394, 1387, 24899, 2544, 2853, 16, 315, 12411, 18, 2902, 8863, 565, 309, 16051, 67, 12628, 812, 18, 1808, 10756, 1377, 604, 394, 2754, 2932, 2853, 315, 397, 1577, 397, 315, 1552, 486, 912, 279, 7286, 18, 2902, 585, 4442, 1769, 565, 389, 2722, 4575, 273, 389, 12628, 812, 18, 2722, 4575, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public AddCompilationUnitToIndex(IFile resource, IPath indexedContainer, IndexManager manager) { super(resource, indexedContainer, manager);
public AddCompilationUnitToIndex(IFile resource, IPath indexedContainer, IndexManager manager, boolean checkEncounteredHeaders) { super(resource, indexedContainer, manager, checkEncounteredHeaders);
public AddCompilationUnitToIndex(IFile resource, IPath indexedContainer, IndexManager manager) { super(resource, indexedContainer, manager); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/92d190f0ab1c3db65bb37b50929e0604e86e87b4/AddCompilationUnitToIndex.java/clean/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1436, 19184, 2802, 19418, 12, 45, 812, 1058, 16, 467, 743, 8808, 2170, 16, 3340, 1318, 3301, 13, 288, 202, 202, 9565, 12, 3146, 16, 8808, 2170, 16, 3301, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1436, 19184, 2802, 19418, 12, 45, 812, 1058, 16, 467, 743, 8808, 2170, 16, 3340, 1318, 3301, 13, 288, 202, 202, 9565, 12, 3146, 16, 8808, 2170, 16, 3301, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List ArgumentList = (List) getRhsSym(3); setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; }
TypeNode DataType = (TypeNode) getRhsSym(1); setResult(DataType); break; }
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 100: ResultType ::= void // case 100: { //#line 675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 101: FormalParameterList ::= LastFormalParameter // case 101: { //#line 695 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 102: FormalParameterList ::= FormalParameters , LastFormalParameter // case 102: { //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 103: FormalParameters ::= FormalParameter // case 103: { //#line 709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 711 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 104: FormalParameters ::= FormalParameters , FormalParameter // case 104: { //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 105: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 105: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 107: VariableModifiers ::= VariableModifiers VariableModifier // case 107: { //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 735 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 108: VariableModifier ::= final // case 108: { //#line 741 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 109: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 109: { //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 749 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 111: MethodModifiers ::= MethodModifiers MethodModifier // case 111: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 112: MethodModifier ::= public // case 112: { //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 113: MethodModifier ::= protected // case 113: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 114: MethodModifier ::= private // case 114: { //#line 781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 115: MethodModifier ::= abstract // case 115: { //#line 786 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 116: MethodModifier ::= static // case 116: { //#line 791 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 117: MethodModifier ::= final // case 117: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 118: MethodModifier ::= native // case 118: { //#line 806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 119: MethodModifier ::= strictfp // case 119: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 120: Throws ::= throws ExceptionTypeList // case 120: { //#line 815 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 817 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 121: ExceptionTypeList ::= ExceptionType // case 121: { //#line 821 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 823 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 122: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 122: { //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 830 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 125: MethodBody ::= ; // case 125: setResult(null); break; // // Rule 127: StaticInitializer ::= static Block // case 127: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 128: SimpleTypeName ::= identifier // case 128: { //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 869 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 130: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 130: { //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 876 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 131: ConstructorModifier ::= public // case 131: { //#line 884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 132: ConstructorModifier ::= protected // case 132: { //#line 889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 133: ConstructorModifier ::= private // case 133: { //#line 894 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 134: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 134: { //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 900 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; l = new TypedList(new LinkedList(), Stmt.class, false); if (ExplicitConstructorInvocationopt == null) { l.add(nf.SuperCall(pos(), Collections.EMPTY_LIST)); } else { l.add(ExplicitConstructorInvocationopt); } l.addAll(BlockStatementsopt); setResult(nf.Block(pos(), l)); break; } // // Rule 135: Arguments ::= ( ArgumentListopt ) // case 135: { //#line 933 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 935 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 138: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 138: { //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 139: InterfaceModifier ::= public // case 139: { //#line 961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 140: InterfaceModifier ::= protected // case 140: { //#line 966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 141: InterfaceModifier ::= private // case 141: { //#line 971 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 142: InterfaceModifier ::= abstract // case 142: { //#line 976 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 143: InterfaceModifier ::= static // case 143: { //#line 981 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 144: InterfaceModifier ::= strictfp // case 144: { //#line 986 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 145: ExtendsInterfaces ::= extends InterfaceType // case 145: { //#line 990 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 146: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 146: { //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 999 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 147: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 147: { //#line 1009 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 149: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 149: { //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1018 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 151: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 151: { //#line 1024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1026 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= ClassDeclaration // case 152: { //#line 1031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1033 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 153: { //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= ; // case 154: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 155: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 155: { //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 157: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 157: { //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1073 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 158: ConstantModifier ::= public // case 158: { //#line 1081 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 159: ConstantModifier ::= static // case 159: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 160: ConstantModifier ::= final // case 160: { //#line 1091 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 162: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 162: { //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 163: AbstractMethodModifier ::= public // case 163: { //#line 1108 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 164: AbstractMethodModifier ::= abstract // case 164: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 165: SimpleName ::= identifier // case 165: { //#line 1169 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 166: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 166: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 167: VariableInitializers ::= VariableInitializer // case 167: { //#line 1206 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 168: VariableInitializers ::= VariableInitializers , VariableInitializer // case 168: { //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 169: Block ::= { BlockStatementsopt } // case 169: { //#line 1234 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 170: BlockStatements ::= BlockStatement // case 170: { //#line 1240 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1242 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 171: BlockStatements ::= BlockStatements BlockStatement // case 171: { //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1249 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 173: BlockStatement ::= ClassDeclaration // case 173: { //#line 1255 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 174: BlockStatement ::= Statement // case 174: { //#line 1262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 176: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 176: { //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1274 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 200: IfThenStatement ::= if ( Expression ) Statement // case 200: { //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 201: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 201: { //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1343 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 202: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 202: { //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 203: EmptyStatement ::= ; // case 203: { //#line 1355 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 204: LabeledStatement ::= identifier : Statement // case 204: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1361 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 205: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 205: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 206: ExpressionStatement ::= StatementExpression ; // case 206: { //#line 1370 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1372 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 214: AssertStatement ::= assert Expression ; // case 214: { //#line 1393 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1395 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 215: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 215: { //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1400 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 216: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 216: { //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 217: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 217: { //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 219: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 219: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 220: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 220: { //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1427 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 221: SwitchLabels ::= SwitchLabel // case 221: { //#line 1434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1436 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabels SwitchLabel // case 222: { //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1443 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 223: SwitchLabel ::= case ConstantExpression : // case 223: { //#line 1448 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1450 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 224: SwitchLabel ::= default : // case 224: { //#line 1457 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 225: WhileStatement ::= while ( Expression ) Statement // case 225: { //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 226: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 226: { //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1472 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 227: DoStatement ::= do Statement while ( Expression ) ; // case 227: { //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1478 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 230: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 230: { //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1487 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 231: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 231: { //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1493 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 233: ForInit ::= LocalVariableDeclaration // case 233: { //#line 1498 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 235: StatementExpressionList ::= StatementExpression // case 235: { //#line 1508 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1510 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 236: { //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 237: BreakStatement ::= break identifieropt ; // case 237: { //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1527 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 238: ContinueStatement ::= continue identifieropt ; // case 238: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 239: ReturnStatement ::= return Expressionopt ; // case 239: { //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1543 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 240: ThrowStatement ::= throw Expression ; // case 240: { //#line 1547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 241: TryStatement ::= try Block Catches // case 241: { //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1561 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 242: TryStatement ::= try Block Catchesopt Finally // case 242: { //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1566 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 243: Catches ::= CatchClause // case 243: { //#line 1570 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1572 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 244: Catches ::= Catches CatchClause // case 244: { //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1579 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 245: CatchClause ::= catch ( FormalParameter ) Block // case 245: { //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 246: Finally ::= finally Block // case 246: { //#line 1590 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1592 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 250: PrimaryNoNewArray ::= Type . class // case 250: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 251: PrimaryNoNewArray ::= void . class // case 251: { //#line 1631 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 252: PrimaryNoNewArray ::= this // case 252: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 253: PrimaryNoNewArray ::= ClassName . this // case 253: { //#line 1640 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1642 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 254: PrimaryNoNewArray ::= ( Expression ) // case 254: { //#line 1645 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1647 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 259: Literal ::= IntegerLiteral$IntegerLiteral // case 259: { //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1657 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 260: Literal ::= LongLiteral$LongLiteral // case 260: { //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1663 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 261: Literal ::= FloatingPointLiteral$FloatLiteral // case 261: { //#line 1667 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1669 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 262: Literal ::= DoubleLiteral$DoubleLiteral // case 262: { //#line 1673 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 263: Literal ::= BooleanLiteral // case 263: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 264: Literal ::= CharacterLiteral$CharacterLiteral // case 264: { //#line 1684 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 265: Literal ::= StringLiteral$str // case 265: { //#line 1690 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1692 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 266: Literal ::= null // case 266: { //#line 1698 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 267: BooleanLiteral ::= true$trueLiteral // case 267: { //#line 1702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 268: BooleanLiteral ::= false$falseLiteral // case 268: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: ArgumentList ::= Expression // case 269: { //#line 1722 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1724 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 270: ArgumentList ::= ArgumentList , Expression // case 270: { //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1731 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 271: DimExprs ::= DimExpr // case 271: { //#line 1765 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1767 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 272: DimExprs ::= DimExprs DimExpr // case 272: { //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1774 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 273: DimExpr ::= [ Expression ] // case 273: { //#line 1779 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 274: Dims ::= [ ] // case 274: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 275: Dims ::= Dims [ ] // case 275: { //#line 1790 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1792 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 276: FieldAccess ::= Primary . identifier // case 276: { //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 277: FieldAccess ::= super . identifier // case 277: { //#line 1801 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= ClassName . super$sup . identifier // case 278: { //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1808 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 279: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 279: { //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1814 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 281: PostfixExpression ::= ExpressionName // case 281: { //#line 1837 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1839 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 284: PostIncrementExpression ::= PostfixExpression ++ // case 284: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 285: PostDecrementExpression ::= PostfixExpression -- // case 285: { //#line 1851 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1853 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 288: UnaryExpression ::= + UnaryExpression // case 288: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 289: UnaryExpression ::= - UnaryExpression // case 289: { //#line 1864 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1866 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 291: PreIncrementExpression ::= ++ UnaryExpression // case 291: { //#line 1871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 292: PreDecrementExpression ::= -- UnaryExpression // case 292: { //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1879 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 294: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 294: { //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1886 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 295: { //#line 1889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1891 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 298: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 298: { //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1905 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 299: { //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1910 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 300: { //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 302: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 302: { //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 303: { //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1927 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 305: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 305: { //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1934 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 306: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 307: { //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1945 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 309: RelationalExpression ::= RelationalExpression < ShiftExpression // case 309: { //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression > ShiftExpression // case 310: { //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1958 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 311: { //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1963 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 312: { //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1968 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 314: EqualityExpression ::= EqualityExpression == RelationalExpression // case 314: { //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1984 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression != RelationalExpression // case 315: { //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1989 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 317: AndExpression ::= AndExpression & EqualityExpression // case 317: { //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1996 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 319: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 319: { //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 321: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 321: { //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2010 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 323: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 323: { //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 325: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 325: { //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 327: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 327: { //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 330: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 330: { //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 331: LeftHandSide ::= ExpressionName // case 331: { //#line 2044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2046 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 334: AssignmentOperator ::= = // case 334: { //#line 2054 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 335: AssignmentOperator ::= *= // case 335: { //#line 2059 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 336: AssignmentOperator ::= /= // case 336: { //#line 2064 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= %= // case 337: { //#line 2069 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= += // case 338: { //#line 2074 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= -= // case 339: { //#line 2079 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= <<= // case 340: { //#line 2084 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= > > = // case 341: { //#line 2089 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > > = // case 342: { //#line 2095 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= &= // case 343: { //#line 2101 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= ^= // case 344: { //#line 2106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= |= // case 345: { //#line 2111 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 348: Dimsopt ::= $Empty // case 348: { //#line 2124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 350: Catchesopt ::= $Empty // case 350: { //#line 2131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 352: identifieropt ::= $Empty // case 352: setResult(null); break; // // Rule 353: identifieropt ::= identifier // case 353: { //#line 2138 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2140 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 354: ForUpdateopt ::= $Empty // case 354: { //#line 2146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 356: Expressionopt ::= $Empty // case 356: setResult(null); break; // // Rule 358: ForInitopt ::= $Empty // case 358: { //#line 2157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 360: SwitchLabelsopt ::= $Empty // case 360: { //#line 2164 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 362: SwitchBlockStatementGroupsopt ::= $Empty // case 362: { //#line 2171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 364: VariableModifiersopt ::= $Empty // case 364: { //#line 2178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 366: VariableInitializersopt ::= $Empty // case 366: setResult(null); break; // // Rule 368: AbstractMethodModifiersopt ::= $Empty // case 368: { //#line 2208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 370: ConstantModifiersopt ::= $Empty // case 370: { //#line 2215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 372: InterfaceMemberDeclarationsopt ::= $Empty // case 372: { //#line 2222 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 374: ExtendsInterfacesopt ::= $Empty // case 374: { //#line 2229 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 376: InterfaceModifiersopt ::= $Empty // case 376: { //#line 2236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 378: ClassBodyopt ::= $Empty // case 378: setResult(null); break; // // Rule 380: Argumentsopt ::= $Empty // case 380: setResult(null); break; // // Rule 381: Argumentsopt ::= Arguments // case 381: throw new Error("No action specified for rule " + 381); // // Rule 382: ,opt ::= $Empty // case 382: setResult(null); break; // // Rule 384: ArgumentListopt ::= $Empty // case 384: { //#line 2266 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 386: BlockStatementsopt ::= $Empty // case 386: { //#line 2273 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 388: ExplicitConstructorInvocationopt ::= $Empty // case 388: setResult(null); break; // // Rule 390: ConstructorModifiersopt ::= $Empty // case 390: { //#line 2284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 392: ...opt ::= $Empty // case 392: setResult(null); break; // // Rule 394: FormalParameterListopt ::= $Empty // case 394: { //#line 2295 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 396: Throwsopt ::= $Empty // case 396: { //#line 2302 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 398: MethodModifiersopt ::= $Empty // case 398: { //#line 2309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 400: FieldModifiersopt ::= $Empty // case 400: { //#line 2316 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 402: ClassBodyDeclarationsopt ::= $Empty // case 402: { //#line 2323 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 404: Interfacesopt ::= $Empty // case 404: { //#line 2330 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 406: Superopt ::= $Empty // case 406: { //#line 2337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 408: ClassModifiersopt ::= $Empty // case 408: { //#line 2348 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 410: TypeDeclarationsopt ::= $Empty // case 410: { //#line 2360 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 412: ImportDeclarationsopt ::= $Empty // case 412: { //#line 2367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 414: PackageDeclarationopt ::= $Empty // case 414: setResult(null); break; // // Rule 416: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 416: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 417: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 734 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: PackageDeclaration ::= package PackageName ; // case 418: { //#line 740 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 742 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 419: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 419: { //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 748 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 421: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 421: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 422: X10ClassModifier ::= ClassModifier // case 422: { //#line 769 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 423: X10ClassModifier ::= safe // case 423: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 424: PropertyList ::= ( Properties WhereClauseopt ) // case 424: { //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 782 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 425: PropertyList ::= ( WhereClause ) // case 425: { //#line 787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 426: Properties ::= Property // case 426: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 427: Properties ::= Properties , Property // case 427: { //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 805 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 428: Property ::= Type identifier // case 428: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 813 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 429: MethodDeclaration ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt MethodBody // case 429: { //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(6); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, MethodBody)); break; } // // Rule 430: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 430: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 431: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 431: { //#line 855 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 857 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 432: { //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 862 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 433: { //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 434: { //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 435: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 435: { //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 890 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 436: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 436: { //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 437: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 930 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 439: { //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 440: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 440: { //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 441: { //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 949 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 443: AssignPropertyCall ::= property ( ArgumentList ) // case 443: { //#line 954 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 444: Type ::= DataType // case 444: { //#line 965 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 967 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 445: Type ::= nullable < Type > DepParametersopt // case 445: { //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 972 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 446: Type ::= future < Type > // case 446: { //#line 978 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 980 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 450: PrimitiveType ::= NumericType DepParametersopt // case 450: { //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 451: PrimitiveType ::= boolean DepParametersopt // case 451: { //#line 1003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1005 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 456: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 456: { //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 457: DepParameters ::= ( DepParameterExpr ) // case 457: { //#line 1036 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 458: DepParameterExpr ::= ArgumentList WhereClauseopt // case 458: { //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 459: DepParameterExpr ::= WhereClause // case 459: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1049 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 460: WhereClause ::= : ConstExpression // case 460: { //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1055 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 461: ConstPrimary ::= Literal // case 461: { //#line 1060 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1062 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 462: ConstPrimary ::= Type . class // case 462: { //#line 1065 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1067 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 463: ConstPrimary ::= void . class // case 463: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 464: ConstPrimary ::= this // case 464: { //#line 1092 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 465: ConstPrimary ::= here // case 465: { //#line 1097 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 466: ConstPrimary ::= ClassName . this // case 466: { //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1102 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 467: ConstPrimary ::= ( ConstExpression ) // case 467: { //#line 1105 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1107 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 469: ConstPrimary ::= self // case 469: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 470: ConstPostfixExpression ::= ConstPrimary // case 470: { //#line 1119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 471: ConstPostfixExpression ::= ExpressionName // case 471: { //#line 1124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 472: ConstUnaryExpression ::= ConstPostfixExpression // case 472: { //#line 1129 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 473: ConstUnaryExpression ::= + ConstUnaryExpression // case 473: { //#line 1134 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 474: ConstUnaryExpression ::= - ConstUnaryExpression // case 474: { //#line 1139 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= ! ConstUnaryExpression // case 475: { //#line 1144 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 476: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 476: { //#line 1150 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 477: { //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 478: { //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1162 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 479: { //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1167 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 480: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 480: { //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1173 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 481: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 481: { //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 482: { //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1183 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstRelationalExpression ::= ConstAdditiveExpression // case 483: { //#line 1188 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1190 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 484: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 484: { //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1195 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 485: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 486: { //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1205 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 487: { //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1210 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 488: ConstEqualityExpression ::= ConstRelationalExpression // case 488: { //#line 1214 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1216 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 489: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 489: { //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1221 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 490: { //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1226 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 491: ConstAndExpression ::= ConstEqualityExpression // case 491: { //#line 1230 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1232 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 492: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 492: { //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1237 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 493: ConstExclusiveOrExpression ::= ConstAndExpression // case 493: { //#line 1241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 494: { //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 495: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 495: { //#line 1252 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1254 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 496: { //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1259 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 497: ConstExpression ::= ConstInclusiveOrExpression // case 497: { //#line 1263 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1265 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 498: { //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1270 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 499: ConstFieldAccess ::= ConstPrimary . identifier // case 499: { //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 500: ConstFieldAccess ::= super . identifier // case 500: { //#line 1280 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= ClassName . super$sup . identifier // case 501: { //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1287 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 503: X10ArrayType ::= Type [ . ] // case 503: { //#line 1303 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1305 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 504: X10ArrayType ::= Type value [ . ] // case 504: { //#line 1308 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1310 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 505: X10ArrayType ::= Type [ DepParameterExpr ] // case 505: { //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1315 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 506: X10ArrayType ::= Type value [ DepParameterExpr ] // case 506: { //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1320 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 507: ObjectKind ::= value // case 507: throw new Error("No action specified for rule " + 507); // // Rule 508: ObjectKind ::= reference // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: MethodModifier ::= atomic // case 509: { //#line 1334 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 510: MethodModifier ::= extern // case 510: { //#line 1339 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 511: MethodModifier ::= safe // case 511: { //#line 1344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 512: MethodModifier ::= sequential // case 512: { //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 513: MethodModifier ::= local // case 513: { //#line 1354 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 514: MethodModifier ::= nonblocking // case 514: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 516: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 516: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1377 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 518: { //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 519: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 519: { //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 520: ThisClause ::= this DepParameters // case 520: { //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1408 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 521: Super ::= extends DataType // case 521: { //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 522: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 522: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 523: MethodDeclarator ::= MethodDeclarator [ ] // case 523: { //#line 1430 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1432 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 524: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 524: { //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1440 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 525: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 525: { //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 526: { //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1482 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 527: { //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1488 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 528: { //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1497 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 529: { //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 530: { //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1507 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 531: Valueopt ::= $Empty // case 531: setResult(null); break; // // Rule 532: Valueopt ::= value // case 532: { //#line 1516 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 535: ArrayBaseType ::= nullable < Type > // case 535: { //#line 1523 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 536: ArrayBaseType ::= future < Type > // case 536: { //#line 1528 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1530 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= ( Type ) // case 537: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 538: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 538: { //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 539: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 539: { //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1548 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 556: NowStatement ::= now ( Clock ) Statement // case 556: { //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1576 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 557: ClockedClause ::= clocked ( ClockList ) // case 557: { //#line 1580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1582 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 558: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 558: { //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 559: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 559: { //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1598 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 560: WhenStatement ::= when ( Expression ) Statement // case 560: { //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1607 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 561: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 561: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 562: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 562: { //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1619 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 563: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1629 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 564: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1639 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 565: FinishStatement ::= finish Statement // case 565: { //#line 1646 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 566: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 566: { //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 567: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 567: { //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 568: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 568: { //#line 1668 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1670 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 569: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 569: { //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1676 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 570: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 571: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 571: { //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1688 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 572: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1699 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 573: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 574: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 574: { //#line 1716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 575: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 575: { //#line 1723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 577: NextStatement ::= next ; // case 577: { //#line 1733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 578: AwaitStatement ::= await Expression ; // case 578: { //#line 1737 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1739 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 579: ClockList ::= Clock // case 579: { //#line 1743 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1745 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 580: ClockList ::= ClockList , Clock // case 580: { //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1752 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 581: Clock ::= Expression // case 581: { //#line 1758 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1760 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 582: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 582: { //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 583: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 583: { //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1777 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: RelationalExpression ::= RelationalExpression instanceof Type // case 584: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 585: IdentifierList ::= identifier // case 585: { //#line 1795 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1797 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 586: IdentifierList ::= IdentifierList , identifier // case 586: { //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1804 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 587: Primary ::= here // case 587: { //#line 1811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 590: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 590: { //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1829 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 591: RegionExpressionList ::= RegionExpression // case 591: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 592: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 592: { //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1854 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 593: Primary ::= [ RegionExpressionList ] // case 593: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 594: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 594: { //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 595: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 595: { //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 596: FieldModifier ::= mutable // case 596: { //#line 1892 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 597: FieldModifier ::= const // case 597: { //#line 1897 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 598: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 598: throw new Error("No action specified for rule " + 598); // // Rule 599: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: MethodModifier ::= synchronized // case 607: { //#line 1928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"synchronized\" is an invalid X10 Method Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.SYNCHRONIZED); break; } // // Rule 608: FieldModifier ::= volatile // case 608: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"volatile\" is an invalid X10 Field Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.VOLATILE); break; } // // Rule 609: SynchronizedStatement ::= synchronized ( Expression ) Block // case 609: { //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1946 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "Synchronized Statement is invalid in X10", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 610: ThisClauseopt ::= $Empty // case 610: setResult(null); break; // // Rule 612: PlaceTypeSpecifieropt ::= $Empty // case 612: setResult(null); break; // // Rule 614: DepParametersopt ::= $Empty // case 614: setResult(null); break; // // Rule 616: PropertyListopt ::= $Empty // case 616: setResult(null); break; // // Rule 618: WhereClauseopt ::= $Empty // case 618: setResult(null); break; // // Rule 620: ObjectKindopt ::= $Empty // case 620: setResult(null); break; // // Rule 622: ArrayInitializeropt ::= $Empty // case 622: setResult(null); break; // // Rule 624: PlaceExpressionSingleListopt ::= $Empty // case 624: setResult(null); break; // // Rule 626: ArgumentListopt ::= $Empty // case 626: setResult(null); break; // // Rule 628: X10ClassModifiersopt ::= $Empty // case 628: { //#line 1992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 630: DepParametersopt ::= $Empty // case 630: setResult(null); break; // // Rule 632: Unsafeopt ::= $Empty // case 632: setResult(null); break; // // Rule 633: Unsafeopt ::= unsafe // case 633: { //#line 2004 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 634: ParamIdopt ::= $Empty // case 634: setResult(null); break; // // Rule 635: ParamIdopt ::= identifier // case 635: { //#line 2011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2013 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 636: ClockedClauseopt ::= $Empty // case 636: { //#line 2019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/c6a9c5919552b91fb0c4af00afd67a30f78acfc4/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, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 1770, 12, 82, 74, 16, 4766, 1377, 3742, 16, 4766, 1377, 949, 12, 588, 3910, 6952, 9334, 16609, 6952, 1435, 3631, 4766, 1377, 21036, 16, 4766, 1377, 10971, 10019, 10792, 898, 31, 5411, 289, 5397, 368, 5411, 368, 6781, 576, 30, 225, 7508, 461, 493, 33, 7508, 461, 263, 1068, 548, 5411, 368, 5411, 648, 576, 30, 288, 7734, 368, 7, 1369, 2872, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 2 ]
exercise(runnable, 3, 100, 4000); }
exercise(runnable, 3, 100, 4000); }
public static void exercise(TestRunnable runnable) throws CoreException { exercise(runnable, 3, 100, 4000); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7946b6460d44217ceadf6c1b4e0462e195d53d80/BasicPerformanceTest.java/buggy/tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/BasicPerformanceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 24165, 12, 4709, 20013, 14685, 13, 1216, 30015, 288, 3639, 24165, 12, 2681, 6914, 16, 890, 16, 2130, 16, 1059, 3784, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 918, 24165, 12, 4709, 20013, 14685, 13, 1216, 30015, 288, 3639, 24165, 12, 2681, 6914, 16, 890, 16, 2130, 16, 1059, 3784, 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 ]
proj.deleteMarkers( IFacetedProjectValidator.BASE_MARKER_ID, true, IResource.DEPTH_INFINITE ); for( Iterator itr = validators.iterator(); itr.hasNext(); )
try
protected IProject[] build( final int kind, final Map args, final IProgressMonitor monitor ) throws CoreException { final IProject proj = getProject(); final IFacetedProject fproj = ProjectFacetsManager.create( proj ); proj.deleteMarkers( IFacetedProjectValidator.BASE_MARKER_ID, true, IResource.DEPTH_INFINITE ); for( Iterator itr = validators.iterator(); itr.hasNext(); ) { final ValidatorDefinition def = (ValidatorDefinition) itr.next(); if( def.isApplicable( fproj.getProjectFacets() ) ) { final IFacetedProjectValidator validator = def.getValidator(); if( validator != null ) { validator.validate( fproj ); } } } return new IProject[0]; }
13789 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13789/faeb52973d8ad0a6076bc6093d5d8c339395d8fa/FacetedProjectValidationBuilder.java/buggy/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/internal/FacetedProjectValidationBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 4109, 8526, 1361, 12, 727, 509, 3846, 16, 4766, 727, 1635, 833, 16, 4766, 727, 467, 5491, 7187, 6438, 262, 2398, 1216, 30015, 5411, 288, 3639, 727, 467, 4109, 10296, 273, 11080, 5621, 3639, 727, 467, 11137, 329, 4109, 284, 17995, 273, 5420, 6645, 2413, 1318, 18, 2640, 12, 10296, 11272, 7734, 10296, 18, 3733, 21644, 12, 467, 11137, 329, 4109, 5126, 18, 8369, 67, 25989, 67, 734, 16, 638, 16, 11794, 467, 1420, 18, 27479, 67, 706, 7263, 5398, 11272, 7734, 364, 12, 4498, 11176, 273, 11632, 18, 9838, 5621, 11176, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 727, 9150, 1852, 1652, 273, 261, 5126, 1852, 13, 11176, 18, 4285, 5621, 13491, 309, 12, 1652, 18, 291, 27873, 12, 284, 17995, 18, 588, 4109, 6645, 2413, 1435, 262, 262, 5411, 288, 7734, 727, 467, 11137, 329, 4109, 5126, 4213, 273, 1652, 18, 588, 5126, 5621, 27573, 309, 12, 4213, 480, 446, 262, 7734, 288, 10792, 4213, 18, 5662, 12, 284, 17995, 11272, 7734, 289, 5411, 289, 3639, 289, 7734, 327, 394, 467, 4109, 63, 20, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 4750, 467, 4109, 8526, 1361, 12, 727, 509, 3846, 16, 4766, 727, 1635, 833, 16, 4766, 727, 467, 5491, 7187, 6438, 262, 2398, 1216, 30015, 5411, 288, 3639, 727, 467, 4109, 10296, 273, 11080, 5621, 3639, 727, 467, 11137, 329, 4109, 284, 17995, 273, 5420, 6645, 2413, 1318, 18, 2640, 12, 10296, 11272, 7734, 10296, 18, 3733, 21644, 12, 467, 11137, 329, 4109, 5126, 18, 8369, 67, 25989, 67, 734, 16, 638, 16, 11794, 467, 1420, 18, 27479, 67, 706, 7263, 5398, 11272, 7734, 364, 12, 4498, 11176, 273, 11632, 18, 9838, 5621, 11176, 18, 5332, 2134, 5621, 262, 3639, 288, 5411, 727, 9150, 1852, 1652, 273, 261, 5126, 1852, 13, 11176, 18, 4285, 5621, 13491, 309, 12, 2 ]
private HashMap createInfoPages( Composite parent )
private void createInfoPages( Composite parent )
private HashMap createInfoPages( Composite parent ) { if ( categoryPageMaps == null ) { categoryPageMaps = new HashMap( ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_GENERAL_DATE, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_LONG_DATE, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_MUDIUM_DATE, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_SHORT_DATE, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_LONG_TIME, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_MEDIUM_TIME, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_SHORT_TIME, getGeneralPage( parent ) ); categoryPageMaps.put( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_CUSTOM, getCustomPage( parent ) ); } return categoryPageMaps; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ed52f1732ec1c1eef0fd79e44d2e45f78973153a/FormatDateTimePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatDateTimePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4317, 752, 966, 5716, 12, 14728, 982, 262, 202, 95, 202, 202, 430, 261, 3150, 1964, 8903, 422, 446, 262, 202, 202, 95, 1082, 202, 4743, 1964, 8903, 273, 394, 4317, 12, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 13990, 1013, 67, 4594, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 14639, 67, 4594, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 49, 57, 2565, 2799, 67, 4594, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 15993, 67, 4594, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 14639, 67, 4684, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 15971, 2799, 67, 4684, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 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, 4317, 752, 966, 5716, 12, 14728, 982, 262, 202, 95, 202, 202, 430, 261, 3150, 1964, 8903, 422, 446, 262, 202, 202, 95, 1082, 202, 4743, 1964, 8903, 273, 394, 4317, 12, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 13990, 1013, 67, 4594, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 45, 3375, 67, 7254, 67, 2399, 67, 14639, 67, 4594, 16, 6862, 202, 588, 12580, 1964, 12, 982, 262, 11272, 1082, 202, 4743, 1964, 8903, 18, 458, 12, 29703, 10538, 2918, 18, 11102, 1584, 2 ]
protected void fireMenuDragMouseExited(MenuDragMouseEvent event) { }
protected void fireMenuDragMouseExited(MenuDragMouseEvent event) { EventListener[] ll = listenerList.getListeners(MenuDragMouseListener.class); for (int i = 0; i < ll.length; i++) ((MenuDragMouseListener) ll[i]).menuDragMouseExited(event); }
protected void fireMenuDragMouseExited(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseExited()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JMenuItem.java/clean/core/src/classpath/javax/javax/swing/JMenuItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4452, 4599, 11728, 9186, 6767, 329, 12, 4599, 11728, 9186, 1133, 871, 13, 288, 202, 202, 759, 2660, 202, 97, 368, 4452, 4599, 11728, 9186, 6767, 329, 1435, 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, 1117, 918, 4452, 4599, 11728, 9186, 6767, 329, 12, 4599, 11728, 9186, 1133, 871, 13, 288, 202, 202, 759, 2660, 202, 97, 368, 4452, 4599, 11728, 9186, 6767, 329, 1435, 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 ]
public void set(int obwLimit) throws InvalidConfigValueException { if(obwLimit <= 0) throw new InvalidConfigValueException("Bandwidth limit must be positive"); outputThrottle.changeNanosAndBucketSizes((1000L * 1000L * 1000L) / obwLimit, obwLimit/2, (obwLimit * 2) / 5); obwLimit = (obwLimit * 4) / 5; requestOutputThrottle.changeNanosAndBucketSize((1000L*1000L*1000L) / obwLimit, Math.max(obwLimit*60, 32768*20)); if(inputLimitDefault) { int ibwLimit = obwLimit * 4; requestInputThrottle.changeNanosAndBucketSize((1000L*1000L*1000L) / ibwLimit, Math.max(ibwLimit*60, 32768*20));
public void set(int ibwLimit) throws InvalidConfigValueException { if(ibwLimit == -1) { inputLimitDefault = true; ibwLimit = (int) ((1000L * 1000L * 1000L) / outputThrottle.getNanosPerTick()) * 4; } else { ibwLimit = ibwLimit * 4 / 5;
public void set(int obwLimit) throws InvalidConfigValueException { if(obwLimit <= 0) throw new InvalidConfigValueException("Bandwidth limit must be positive"); outputThrottle.changeNanosAndBucketSizes((1000L * 1000L * 1000L) / obwLimit, obwLimit/2, (obwLimit * 2) / 5); obwLimit = (obwLimit * 4) / 5; // fudge factor; take into account non-request activity requestOutputThrottle.changeNanosAndBucketSize((1000L*1000L*1000L) / obwLimit, Math.max(obwLimit*60, 32768*20)); if(inputLimitDefault) { int ibwLimit = obwLimit * 4; requestInputThrottle.changeNanosAndBucketSize((1000L*1000L*1000L) / ibwLimit, Math.max(ibwLimit*60, 32768*20)); } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/f43dcd3eaa49682824e40c5d428fa750be4517fe/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 474, 3768, 91, 3039, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 947, 91, 3039, 1648, 374, 13, 604, 394, 1962, 809, 9738, 2932, 24621, 1800, 1297, 506, 6895, 8863, 25083, 202, 2844, 27636, 18, 3427, 15739, 1876, 4103, 11923, 12443, 18088, 48, 380, 4336, 48, 380, 4336, 48, 13, 342, 3768, 91, 3039, 16, 3768, 91, 3039, 19, 22, 16, 261, 947, 91, 3039, 380, 576, 13, 342, 1381, 1769, 25083, 202, 947, 91, 3039, 273, 261, 947, 91, 3039, 380, 1059, 13, 342, 1381, 31, 368, 284, 27110, 5578, 31, 4862, 1368, 2236, 1661, 17, 2293, 5728, 25083, 202, 2293, 1447, 27636, 18, 3427, 15739, 1876, 4103, 1225, 12443, 18088, 48, 14, 18088, 48, 14, 18088, 48, 13, 342, 225, 3768, 91, 3039, 16, 2361, 18, 1896, 12, 947, 91, 3039, 14, 4848, 16, 29317, 28, 14, 3462, 10019, 25083, 202, 430, 12, 2630, 3039, 1868, 13, 288, 6862, 1082, 202, 474, 9834, 91, 3039, 273, 3768, 91, 3039, 380, 1059, 31, 6862, 1082, 202, 2293, 1210, 27636, 18, 3427, 15739, 1876, 4103, 1225, 12443, 18088, 48, 14, 18088, 48, 14, 18088, 48, 13, 342, 225, 9834, 91, 3039, 16, 2361, 18, 1896, 12, 495, 91, 3039, 14, 4848, 16, 29317, 28, 14, 3462, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 474, 3768, 91, 3039, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 947, 91, 3039, 1648, 374, 13, 604, 394, 1962, 809, 9738, 2932, 24621, 1800, 1297, 506, 6895, 8863, 25083, 202, 2844, 27636, 18, 3427, 15739, 1876, 4103, 11923, 12443, 18088, 48, 380, 4336, 48, 380, 4336, 48, 13, 342, 3768, 91, 3039, 16, 3768, 91, 3039, 19, 22, 16, 261, 947, 91, 3039, 380, 576, 13, 342, 1381, 1769, 25083, 202, 947, 91, 3039, 273, 261, 947, 91, 3039, 380, 1059, 13, 342, 1381, 31, 368, 284, 27110, 5578, 31, 4862, 1368, 2236, 1661, 17, 2293, 5728, 25083, 202, 2293, 1447, 27636, 18, 3427, 15739, 1876, 4103, 1225, 12443, 2 ]
null,
(LocalQuickFix [])null,
public ProblemDescriptor[] getDescriptions(PsiElement place, final InspectionManager manager) { final List<ProblemDescriptor> problems = new ArrayList<ProblemDescriptor>(); final List<PsiMethod> patternMethods = new ArrayList<PsiMethod>(); final List<Integer> indices = new ArrayList<Integer>(); try { setupPatternMethods(place.getManager(), place.getResolveScope(), patternMethods, indices); } catch (IncorrectOperationException e) { LOG.error(e); return null; } place.accept(new PsiRecursiveElementVisitor() { public void visitMethodCallExpression(PsiMethodCallExpression methodCall) { final PsiExpression[] args = methodCall.getArgumentList().getExpressions(); if (args.length != 1) return; PsiType argType = args[0].getType(); if (argType instanceof PsiPrimitiveType) { argType = ((PsiPrimitiveType)argType).getBoxedType(methodCall.getManager(), methodCall.getResolveScope()); } if (!(argType instanceof PsiClassType)) return; final PsiReferenceExpression methodExpression = methodCall.getMethodExpression(); final JavaResolveResult resolveResult = methodExpression.advancedResolve(false); final PsiMethod psiMethod = (PsiMethod)resolveResult.getElement(); if (psiMethod == null) return; Iterator<Integer> indicesIterator = indices.iterator(); for (Iterator<PsiMethod> methodsIterator = patternMethods.iterator(); methodsIterator.hasNext();) { PsiMethod patternMethod = methodsIterator.next(); Integer index = indicesIterator.next(); if (!patternMethod.getName().equals(methodExpression.getReferenceName())) continue; if (isInheritorOrSelf(psiMethod, patternMethod)) { PsiTypeParameter[] typeParameters = psiMethod.getContainingClass().getTypeParameters(); int i = index.intValue(); if (typeParameters.length <= i) return; final PsiTypeParameter typeParameter = typeParameters[i]; PsiType typeParamMapping = resolveResult.getSubstitutor().substitute(typeParameter); if (typeParamMapping != null) { String message = null; if (!typeParamMapping.isAssignableFrom(argType)) { if (!typeParamMapping.isConvertibleFrom(argType)) { message = MessageFormat.format("Calling ''{1}'' may not succeed for non-null objects of type ''{0}''", PsiFormatUtil.formatType(argType, 0, PsiSubstitutor.EMPTY), PsiFormatUtil.formatMethod(psiMethod, resolveResult.getSubstitutor(), PsiFormatUtil.SHOW_NAME | PsiFormatUtil.SHOW_CONTAINING_CLASS, PsiFormatUtil.SHOW_TYPE)); } else { message = MessageFormat.format("Suspicious call to ''{0}''", PsiFormatUtil.formatMethod(psiMethod, resolveResult.getSubstitutor(), PsiFormatUtil.SHOW_NAME | PsiFormatUtil.SHOW_CONTAINING_CLASS, PsiFormatUtil.SHOW_TYPE)); } } if (message != null) { problems.add(manager.createProblemDescriptor(args[0], message, null, ProblemHighlightType.GENERIC_ERROR_OR_WARNING)); } } return; } } } private boolean isInheritorOrSelf(PsiMethod inheritorCandidate, PsiMethod base) { PsiClass aClass = inheritorCandidate.getContainingClass(); PsiClass bClass = base.getContainingClass(); if (aClass == null || bClass == null) return false; PsiSubstitutor substitutor = TypeConversionUtil.getClassSubstitutor(bClass, aClass, PsiSubstitutor.EMPTY); if (substitutor == null) return false; return MethodSignatureUtil.findMethodBySignature(bClass, inheritorCandidate.getSignature(substitutor), false) == base; } }); if (problems.isEmpty()) return null; return problems.toArray(new ProblemDescriptor[problems.size()]); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/7d18937b6c277d5ef28a5ed5045f90e8b80e937a/SuspiciousCollectionsMethodCallsInspection.java/clean/source/com/intellij/codeInspection/miscGenerics/SuspiciousCollectionsMethodCallsInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 21685, 3187, 8526, 2343, 9726, 12, 52, 7722, 1046, 3166, 16, 727, 22085, 7017, 1318, 3301, 13, 288, 565, 727, 987, 32, 13719, 3187, 34, 9688, 273, 394, 2407, 32, 13719, 3187, 34, 5621, 565, 727, 987, 32, 52, 7722, 1305, 34, 1936, 4712, 273, 394, 2407, 32, 52, 7722, 1305, 34, 5621, 565, 727, 987, 32, 4522, 34, 4295, 273, 394, 2407, 32, 4522, 34, 5621, 565, 775, 288, 1377, 3875, 3234, 4712, 12, 964, 18, 588, 1318, 9334, 3166, 18, 588, 8460, 3876, 9334, 1936, 4712, 16, 4295, 1769, 565, 289, 565, 1044, 261, 16268, 10602, 425, 13, 288, 1377, 2018, 18, 1636, 12, 73, 1769, 1377, 327, 446, 31, 565, 289, 565, 3166, 18, 9436, 12, 2704, 453, 7722, 10483, 1046, 7413, 1435, 288, 1377, 1071, 918, 3757, 12592, 2300, 12, 52, 7722, 12592, 2300, 707, 1477, 13, 288, 3639, 727, 453, 7722, 2300, 8526, 833, 273, 707, 1477, 18, 588, 1379, 682, 7675, 588, 8927, 5621, 3639, 309, 261, 1968, 18, 2469, 480, 404, 13, 327, 31, 3639, 453, 7722, 559, 1501, 559, 273, 833, 63, 20, 8009, 588, 559, 5621, 3639, 309, 261, 3175, 559, 1276, 453, 7722, 9840, 559, 13, 288, 1850, 1501, 559, 273, 14015, 52, 7722, 9840, 559, 13, 3175, 559, 2934, 588, 3514, 329, 559, 12, 2039, 1477, 18, 588, 1318, 9334, 707, 1477, 18, 588, 8460, 3876, 10663, 3639, 289, 3639, 309, 16051, 12, 3175, 559, 1276, 453, 7722, 18328, 3719, 327, 31, 3639, 727, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 21685, 3187, 8526, 2343, 9726, 12, 52, 7722, 1046, 3166, 16, 727, 22085, 7017, 1318, 3301, 13, 288, 565, 727, 987, 32, 13719, 3187, 34, 9688, 273, 394, 2407, 32, 13719, 3187, 34, 5621, 565, 727, 987, 32, 52, 7722, 1305, 34, 1936, 4712, 273, 394, 2407, 32, 52, 7722, 1305, 34, 5621, 565, 727, 987, 32, 4522, 34, 4295, 273, 394, 2407, 32, 4522, 34, 5621, 565, 775, 288, 1377, 3875, 3234, 4712, 12, 964, 18, 588, 1318, 9334, 3166, 18, 588, 8460, 3876, 9334, 1936, 4712, 16, 4295, 1769, 565, 289, 565, 1044, 261, 16268, 10602, 425, 13, 288, 1377, 2018, 18, 1636, 12, 73, 1769, 1377, 327, 446, 31, 565, 289, 565, 3166, 18, 2 ]
Method targetMethod = findPrototypeMethod(invokeInstruction, cpg);
JavaClassAndMethod targetMethod = findPrototypeMethod(invokeInstruction, cpg);
public static Set<XMethod> resolveMethodCallTargets( InvokeInstruction invokeInstruction, TypeFrame typeFrame, ConstantPoolGen cpg) throws DataflowAnalysisException, ClassNotFoundException { short opcode = invokeInstruction.getOpcode(); if (opcode == Constants.INVOKESTATIC) { HashSet<XMethod> result = new HashSet<XMethod>(); Method targetMethod = findPrototypeMethod(invokeInstruction, cpg); if (targetMethod != null) { JavaClass targetClass = AnalysisContext.currentAnalysisContext().lookupClass( invokeInstruction.getClassName(cpg)); result.add(XMethodFactory.createXMethod(targetClass, targetMethod)); } return result; } if (!typeFrame.isValid()) { return new HashSet<XMethod>(); } Type receiverType; boolean receiverTypeIsExact; if (opcode == Constants.INVOKESPECIAL) { // invokespecial instructions are dispatched to EXACTLY // the class specified by the instruction receiverType = new ObjectType(invokeInstruction.getClassName(cpg)); receiverTypeIsExact = false; // Doesn't actually matter } else { // For invokevirtual and invokeinterface instructions, we have // virtual dispatch. By taking the receiver type (which may be a // subtype of the class specified by the instruction), // we may get a more precise set of call targets. int instanceStackLocation = typeFrame.getInstanceStackLocation(invokeInstruction, cpg); receiverType = typeFrame.getStackValue(instanceStackLocation); if (!(receiverType instanceof ReferenceType)) { return new HashSet<XMethod>(); } receiverTypeIsExact = typeFrame.isExact(instanceStackLocation); } if (DEBUG_METHOD_LOOKUP) { System.out.println("[receiver type is " + receiverType + ", " + (receiverTypeIsExact ? "exact]" : " not exact]")); } return resolveMethodCallTargets((ReferenceType) receiverType, invokeInstruction, cpg, receiverTypeIsExact); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/2246d1206623586f01604e5f85bd6c7c318749ba/Hierarchy.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/Hierarchy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1000, 32, 60, 1305, 34, 2245, 12592, 9432, 12, 1082, 202, 10969, 11983, 4356, 11983, 16, 1082, 202, 559, 3219, 618, 3219, 16, 1082, 202, 6902, 2864, 7642, 3283, 75, 13, 1216, 1910, 2426, 9418, 503, 16, 10403, 288, 9506, 202, 6620, 11396, 273, 4356, 11983, 18, 588, 22808, 5621, 4697, 202, 430, 261, 556, 710, 422, 5245, 18, 706, 17691, 11027, 11781, 13, 288, 1082, 202, 13482, 32, 60, 1305, 34, 563, 273, 394, 6847, 32, 60, 1305, 34, 5621, 1082, 202, 1305, 1018, 1305, 273, 1104, 15846, 1305, 12, 14407, 11983, 16, 3283, 75, 1769, 1082, 202, 430, 261, 3299, 1305, 480, 446, 13, 288, 9506, 202, 5852, 797, 14563, 273, 16318, 1042, 18, 2972, 9418, 1042, 7675, 8664, 797, 12, 25083, 202, 14407, 11983, 18, 588, 3834, 12, 4057, 75, 10019, 9506, 202, 2088, 18, 1289, 12, 60, 1305, 1733, 18, 2640, 60, 1305, 12, 3299, 797, 16, 1018, 1305, 10019, 1082, 202, 97, 1082, 202, 2463, 563, 31, 202, 202, 97, 9506, 202, 430, 16051, 723, 3219, 18, 26810, 10756, 288, 1082, 202, 2463, 394, 6847, 32, 60, 1305, 34, 5621, 202, 202, 97, 202, 202, 559, 5971, 559, 31, 202, 202, 6494, 5971, 559, 2520, 14332, 31, 202, 202, 430, 261, 556, 710, 422, 5245, 18, 706, 17691, 3991, 10106, 6365, 13, 288, 1082, 202, 759, 18058, 705, 649, 12509, 854, 25513, 358, 5675, 6526, 7076, 1082, 202, 759, 326, 667, 1269, 635, 326, 7592, 1082, 202, 24454, 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, 1000, 32, 60, 1305, 34, 2245, 12592, 9432, 12, 1082, 202, 10969, 11983, 4356, 11983, 16, 1082, 202, 559, 3219, 618, 3219, 16, 1082, 202, 6902, 2864, 7642, 3283, 75, 13, 1216, 1910, 2426, 9418, 503, 16, 10403, 288, 9506, 202, 6620, 11396, 273, 4356, 11983, 18, 588, 22808, 5621, 4697, 202, 430, 261, 556, 710, 422, 5245, 18, 706, 17691, 11027, 11781, 13, 288, 1082, 202, 13482, 32, 60, 1305, 34, 563, 273, 394, 6847, 32, 60, 1305, 34, 5621, 1082, 202, 1305, 1018, 1305, 273, 1104, 15846, 1305, 12, 14407, 11983, 16, 3283, 75, 1769, 1082, 202, 430, 261, 3299, 1305, 480, 446, 13, 288, 9506, 202, 5852, 797, 14563, 273, 16318, 1042, 2 ]
set = (Set)one2many.getProperty("ones");
Set set = (Set)one2many.getProperty("ones");
public void testHibernateOneToMany() { GrailsDomainClass one2ManyDomain = grailsApplication.getGrailsDomainClass( "org.codehaus.groovy.grails.domain.RelationshipsTest" ); GroovyObject one2many = one2ManyDomain.newInstance(); GroovyObject many2one = grailsApplication.getGrailsDomainClass( "org.codehaus.groovy.grails.domain.OneToManyTest2" ).newInstance(); HibernateTemplate template = new HibernateTemplate(this.sessionFactory); assertNotNull(many2one); // create one-to-many relationship Set set = new HashSet(); one2many.setProperty("ones", set); ((Set)one2many.getProperty("ones")).add( many2one ); // persist template.save(one2many); // now get it back and check it works as expected one2many = (GroovyObject) template.get(one2ManyDomain.getClazz(),new Long(1)); assertNotNull(one2many); set = (Set)one2many.getProperty("ones"); assertNotNull(set); assertEquals(1, set.size()); }
28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/f10158289e199fd6dded0741ba29caeb6adb52a9/GrailsHibernateConfigurationTests.java/buggy/test/persistence/org/codehaus/groovy/grails/orm/hibernate/GrailsHibernateConfigurationTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 44, 24360, 3335, 12601, 1435, 288, 202, 202, 14571, 14573, 3748, 797, 1245, 22, 5594, 3748, 273, 3087, 14573, 3208, 18, 588, 14571, 14573, 3748, 797, 12, 315, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 4308, 18, 17185, 4709, 6, 11272, 202, 202, 43, 12859, 921, 1245, 22, 9353, 273, 1245, 22, 5594, 3748, 18, 2704, 1442, 5621, 9506, 202, 43, 12859, 921, 4906, 22, 476, 273, 3087, 14573, 3208, 18, 588, 14571, 14573, 3748, 797, 12, 315, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 4308, 18, 3335, 12601, 4709, 22, 6, 262, 18, 2704, 1442, 5621, 9506, 202, 44, 24360, 2283, 1542, 273, 394, 670, 24360, 2283, 12, 2211, 18, 3184, 1733, 1769, 25083, 202, 11231, 5962, 12, 9353, 22, 476, 1769, 6862, 6862, 1082, 202, 759, 752, 1245, 17, 869, 17, 9353, 5232, 202, 202, 694, 444, 273, 394, 6847, 5621, 9506, 202, 476, 22, 9353, 18, 542, 1396, 2932, 5322, 3113, 444, 1769, 9506, 202, 12443, 694, 13, 476, 22, 9353, 18, 588, 1396, 2932, 5322, 7923, 2934, 1289, 12, 4906, 22, 476, 11272, 9506, 202, 759, 3898, 202, 202, 3202, 18, 5688, 12, 476, 22, 9353, 1769, 9506, 202, 759, 2037, 336, 518, 1473, 471, 866, 518, 6330, 487, 2665, 202, 202, 476, 22, 9353, 273, 261, 43, 12859, 921, 13, 1542, 18, 588, 12, 476, 22, 5594, 3748, 18, 588, 14616, 9334, 2704, 3407, 12, 21, 10019, 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, 44, 24360, 3335, 12601, 1435, 288, 202, 202, 14571, 14573, 3748, 797, 1245, 22, 5594, 3748, 273, 3087, 14573, 3208, 18, 588, 14571, 14573, 3748, 797, 12, 315, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 4308, 18, 17185, 4709, 6, 11272, 202, 202, 43, 12859, 921, 1245, 22, 9353, 273, 1245, 22, 5594, 3748, 18, 2704, 1442, 5621, 9506, 202, 43, 12859, 921, 4906, 22, 476, 273, 3087, 14573, 3208, 18, 588, 14571, 14573, 3748, 797, 12, 315, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 4308, 18, 3335, 12601, 4709, 22, 6, 262, 18, 2704, 1442, 5621, 9506, 202, 44, 24360, 2283, 1542, 273, 2 ]
bc2ir.appendInstruction(Move.create(INT_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.zero())));
bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.zero())));
static boolean generatePolymorphicMagic(OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth, VM_Atom methodName) { VM_TypeReference [] paramTypes = meth.getParameterTypes(); VM_TypeReference resultType = meth.getReturnType(); if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordFromIntZeroExtend || methodName == VM_MagicNames.wordFromIntSignExtend) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popInt())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToInt) { // a no-op without even a type-conversion OPT_RegisterOperand reg = gc.temps.makeTempInt(); bc2ir.appendInstruction(Move.create(INT_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToLong) { if (VM.BuildFor32Addr) { // This is a really crappy implementation. // The theory is that this magic isn't going to be used anywhere we // care about performance so we do something stupid here instead of // making a new IR operator that we have to plumb all the way through the compiler. OPT_RegisterOperand reg = gc.temps.makeTempInt(); OPT_RegisterOperand lreg = gc.temps.makeTempLong(); bc2ir.appendInstruction(Move.create(INT_MOVE, reg, bc2ir.popAddress())); bc2ir.appendInstruction(Unary.create(INT_2LONG, lreg, reg.copyD2U())); bc2ir.appendInstruction(Binary.create(LONG_AND, lreg.copyD2D(), lreg.copyD2U(), new OPT_LongConstantOperand(0x00000000ffffffffL))); bc2ir.pushDual(lreg.copyD2U()); } else { // a no-op without even a type-conversion OPT_RegisterOperand reg = gc.temps.makeTempLong(); bc2ir.appendInstruction(Move.create(LONG_MOVE, reg, bc2ir.popAddress())); bc2ir.pushDual(reg.copyD2U()); } } else if (methodName == VM_MagicNames.wordToWord) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Word); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToAddress) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToOffset) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Offset); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToExtent) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Extent); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordAdd) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(INT_ADD, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordSub) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(INT_SUB, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordDiff) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(INT_SUB, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordAnd) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(INT_AND, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordOr) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(INT_OR, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordXor) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(INT_XOR, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordNot) { OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_NOT, op0, o1)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordZero) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(INT_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.zero()))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordOne) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(INT_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.fromIntZeroExtend(1)))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordMax) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(INT_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.max()))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordIsZero) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(INT_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.zero()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond, op0); } else if (methodName == VM_MagicNames.wordIsMax) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(INT_MOVE, op0, new OPT_AddressConstantOperand(VM_Address.max()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond, op0); } else if (methodName == VM_MagicNames.wordEQ) { OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordNE) { OPT_ConditionOperand cond = OPT_ConditionOperand.NOT_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLT) { OPT_ConditionOperand cond = OPT_ConditionOperand.LOWER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLE) { OPT_ConditionOperand cond = OPT_ConditionOperand.LOWER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordGT) { OPT_ConditionOperand cond = OPT_ConditionOperand.HIGHER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordGE) { OPT_ConditionOperand cond = OPT_ConditionOperand.HIGHER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsLT) { OPT_ConditionOperand cond = OPT_ConditionOperand.LESS(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsLE) { OPT_ConditionOperand cond = OPT_ConditionOperand.LESS_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsGT) { OPT_ConditionOperand cond = OPT_ConditionOperand.GREATER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsGE) { OPT_ConditionOperand cond = OPT_ConditionOperand.GREATER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLsh) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); // VM_TypeReference.Int); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SHL : LONG_SHL, res, op1, op2)); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.wordRshl) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_USHR : LONG_USHR, res, op1, op2)); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.wordRsha) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SHR : LONG_SHR, res, op1, op2)); bc2ir.push(res.copyD2U()); } else { return false; } return true; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/f6be0d299be055bdcae484a8a7857797ae0e55e4/OPT_GenerateMagic.java/buggy/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_GenerateMagic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 2103, 5850, 21976, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 6647, 16456, 67, 13842, 1042, 8859, 16, 4766, 6647, 8251, 67, 1305, 2404, 7917, 16, 8251, 67, 3641, 4918, 13, 288, 565, 8251, 67, 7534, 5378, 21265, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 25820, 273, 7917, 18, 588, 9102, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 7170, 16675, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 2766, 16675, 13, 288, 1377, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 1377, 6533, 22, 481, 18, 6923, 11983, 12, 7607, 18, 2640, 12, 10771, 67, 16537, 16, 960, 16, 6533, 22, 481, 18, 5120, 1702, 1435, 10019, 1377, 6533, 22, 481, 18, 6206, 12, 1574, 18, 3530, 40, 22, 57, 10663, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 17864, 13, 288, 1377, 368, 279, 1158, 17, 556, 2887, 5456, 279, 618, 17, 20990, 1377, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 1702, 5621, 1377, 6533, 22, 481, 18, 6923, 11983, 12, 7607, 18, 2640, 12, 3217, 67, 16537, 16, 960, 16, 6533, 22, 481, 18, 5120, 1887, 1435, 10019, 1377, 6533, 22, 481, 18, 6206, 12, 1574, 18, 3530, 40, 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, 760, 1250, 2103, 5850, 21976, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 6647, 16456, 67, 13842, 1042, 8859, 16, 4766, 6647, 8251, 67, 1305, 2404, 7917, 16, 8251, 67, 3641, 4918, 13, 288, 565, 8251, 67, 7534, 5378, 21265, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 25820, 273, 7917, 18, 588, 9102, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 7170, 16675, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 2766, 16675, 13, 288, 1377, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 2 ]
catch (NumberFormatException nfe) { }
catch (NumberFormatException nfe) { }
private LdapManager() { this.host = JiveGlobals.getXMLProperty("ldap.host"); String portStr = JiveGlobals.getXMLProperty("ldap.port"); if (portStr != null) { try { this.port = Integer.parseInt(portStr); } catch (NumberFormatException nfe) { } } if (JiveGlobals.getXMLProperty("ldap.usernameField") != null) { this.usernameField = JiveGlobals.getXMLProperty("ldap.usernameField"); } if (JiveGlobals.getXMLProperty("ldap.baseDN") != null) { this.baseDN = JiveGlobals.getXMLProperty("ldap.baseDN"); } if (JiveGlobals.getXMLProperty("ldap.alternateBaseDN") != null) { this.alternateBaseDN = JiveGlobals.getXMLProperty("ldap.alternateBaseDN"); } if (JiveGlobals.getXMLProperty("ldap.nameField") != null) { this.nameField = JiveGlobals.getXMLProperty("ldap.nameField"); } if (JiveGlobals.getXMLProperty("ldap.emailField") != null) { this.emailField = JiveGlobals.getXMLProperty("ldap.emailField"); } if (JiveGlobals.getXMLProperty("ldap.connectionPoolEnabled") != null) { this.connectionPoolEnabled = Boolean.valueOf( JiveGlobals.getXMLProperty("ldap.connectionPoolEnabled")).booleanValue(); } if (JiveGlobals.getXMLProperty("ldap.searchFilter") != null) { this.searchFilter = JiveGlobals.getXMLProperty("ldap.searchFilter"); } else { StringBuilder filter = new StringBuilder(); filter.append("(").append(usernameField).append("={0})"); this.searchFilter = filter.toString(); } if (JiveGlobals.getXMLProperty("ldap.groupNameField") != null) { this.groupNameField = JiveGlobals.getXMLProperty("ldap.groupNameField"); } if (JiveGlobals.getXMLProperty("ldap.groupMemberField") != null) { this.groupMemberField = JiveGlobals.getXMLProperty("ldap.groupMemberField"); } if (JiveGlobals.getXMLProperty("ldap.groupDescriptionField") != null) { this.groupDescriptionField = JiveGlobals.getXMLProperty("ldap.groupDescriptionField"); } if (JiveGlobals.getXMLProperty("ldap.posixMode") != null) { this.posixMode = Boolean.valueOf(JiveGlobals.getXMLProperty("ldap.posixMode")); } if (JiveGlobals.getXMLProperty("ldap.groupSearchFilter") != null) { this.groupSearchFilter = JiveGlobals.getXMLProperty("ldap.groupSearchFilter"); } else { this.groupSearchFilter = "("+groupMemberField+"={0})"; } this.adminDN = JiveGlobals.getXMLProperty("ldap.adminDN"); if (adminDN != null && adminDN.trim().equals("")) { adminDN = null; } this.adminPassword = JiveGlobals.getXMLProperty("ldap.adminPassword"); this.ldapDebugEnabled = Boolean.valueOf(JiveGlobals.getXMLProperty( "ldap.debugEnabled")).booleanValue(); this.sslEnabled = Boolean.valueOf(JiveGlobals.getXMLProperty( "ldap.sslEnabled")).booleanValue(); this.followReferrals = Boolean.valueOf(JiveGlobals.getXMLProperty( "ldap.autoFollowReferrals")).booleanValue(); this.initialContextFactory = JiveGlobals.getXMLProperty("ldap.initialContextFactory"); if (initialContextFactory != null) { try { Class.forName(initialContextFactory); } catch (ClassNotFoundException cnfe) { Log.error("Initial context factory class failed to load: " + initialContextFactory + ". Using default initial context factory class instead."); initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory"; } } // Use default value if none was set. else { initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory"; } if (Log.isDebugEnabled()) { Log.debug("Created new LdapManager() instance, fields:"); Log.debug("\t host: " + host); Log.debug("\t port: " + port); Log.debug("\t usernamefield: " + usernameField); Log.debug("\t baseDN: " + baseDN); Log.debug("\t alternateBaseDN: " + alternateBaseDN); Log.debug("\t nameField: " + nameField); Log.debug("\t emailField: " + emailField); Log.debug("\t adminDN: " + adminDN); Log.debug("\t adminPassword: " + adminPassword); Log.debug("\t searchFilter: " + searchFilter); Log.debug("\t ldapDebugEnabled: " + ldapDebugEnabled); Log.debug("\t sslEnabled: " + sslEnabled); Log.debug("\t initialContextFactory: " + initialContextFactory); Log.debug("\t connectionPoolEnabled: " + connectionPoolEnabled); Log.debug("\t autoFollowReferrals: " + followReferrals); Log.debug("\t groupNameField: " + groupNameField); Log.debug("\t groupMemberField: " + groupMemberField); Log.debug("\t groupDescriptionField: " + groupDescriptionField); Log.debug("\t posixMode: " + posixMode); Log.debug("\t groupSearchFilter: " + groupSearchFilter); } }
6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/26da5404f91ae0c0102986671c82e45825d3148e/LdapManager.java/buggy/src/java/org/jivesoftware/wildfire/ldap/LdapManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 18053, 1318, 1435, 288, 3639, 333, 18, 2564, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 2564, 8863, 3639, 514, 1756, 1585, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 655, 8863, 3639, 309, 261, 655, 1585, 480, 446, 13, 288, 5411, 775, 288, 7734, 333, 18, 655, 273, 2144, 18, 2670, 1702, 12, 655, 1585, 1769, 5411, 289, 5411, 1044, 261, 1854, 9291, 25386, 13, 288, 225, 289, 3639, 289, 3639, 309, 261, 46, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 5053, 974, 7923, 480, 446, 13, 288, 5411, 333, 18, 5053, 974, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 5053, 974, 8863, 3639, 289, 3639, 309, 261, 46, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 1969, 8609, 7923, 480, 446, 13, 288, 5411, 333, 18, 1969, 8609, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 1969, 8609, 8863, 3639, 289, 3639, 309, 261, 46, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 16025, 340, 2171, 8609, 7923, 480, 446, 13, 288, 5411, 333, 18, 16025, 340, 2171, 8609, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 16025, 340, 2171, 8609, 8863, 3639, 289, 3639, 309, 261, 46, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 529, 974, 7923, 480, 446, 13, 288, 5411, 333, 18, 529, 974, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 529, 974, 8863, 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, 18053, 1318, 1435, 288, 3639, 333, 18, 2564, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 2564, 8863, 3639, 514, 1756, 1585, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 655, 8863, 3639, 309, 261, 655, 1585, 480, 446, 13, 288, 5411, 775, 288, 7734, 333, 18, 655, 273, 2144, 18, 2670, 1702, 12, 655, 1585, 1769, 5411, 289, 5411, 1044, 261, 1854, 9291, 25386, 13, 288, 225, 289, 3639, 289, 3639, 309, 261, 46, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 5053, 974, 7923, 480, 446, 13, 288, 5411, 333, 18, 5053, 974, 273, 804, 688, 19834, 18, 588, 4201, 1396, 2932, 14394, 18, 5053, 974, 8863, 3639, 2 ]
public List getGlobalTriggerListeners() throws RemoteException;
List getGlobalTriggerListeners() throws RemoteException;
public List getGlobalTriggerListeners() throws RemoteException;
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/RemotableQuartzScheduler.java/clean/src/java/org/quartz/core/RemotableQuartzScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 20591, 6518, 5583, 1435, 1216, 18361, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 987, 20591, 6518, 5583, 1435, 1216, 18361, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static void setupVerticalAlign(Context c, Node node, InlineBox box) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if(node.getNodeType() == node.TEXT_NODE) { parent = parent.getParentNode(); elem = (Element)node.getParentNode(); } else { elem = (Element)node; } //u.p("parent = " + parent + " elem = " + elem); //int parent_height = FontUtil.lineHeight(c,parent); Font parent_font = FontUtil.getFont(c,parent); LineMetrics parent_metrics = null; if(!InlineLayout.isReplaced(node)) { if(!InlineLayout.isFloatedBlock(node,c)) { parent_metrics = parent_font.getLineMetrics(box.text, ((Graphics2D)c.getGraphics()).getFontRenderContext()); } else { parent_metrics = parent_font.getLineMetrics("Test", ((Graphics2D)c.getGraphics()).getFontRenderContext()); } } else { parent_metrics = parent_font.getLineMetrics("Test", ((Graphics2D)c.getGraphics()).getFontRenderContext()); } // the height of the font float parent_height = parent_metrics.getHeight(); //u.p("parent strikethrough height = " + parent_metrics.getStrikethroughOffset()); String vertical_align = c.css.getStringProperty(elem,"vertical-align"); // set the height of the box to the height of the font if(!InlineLayout.isReplaced(node)) { box.height = FontUtil.lineHeight(c,node); } //u.p("vertical align = " + vertical_align); if(vertical_align == null) { vertical_align = "baseline"; } box.baseline = 0; // box.y is relative to the parent's baseline box.y = 0; // do nothing for 'baseline' box.vset = true; if(vertical_align.equals("baseline")) { //noop box.y = box.y; } // works okay i think if(vertical_align.equals("super")) { box.y = box.y + (int) (parent_metrics.getStrikethroughOffset()*2.0); } // works okay, i think if(vertical_align.equals("sub")) { box.y = box.y - (int) parent_metrics.getStrikethroughOffset(); } // joshy: this is using the current baseline instead of the parent's baseline // must fix if(vertical_align.equals("text-top")) { // the top of this text is equal to the top of the parent's text // so we take the parent's height above the baseline and subtract our // height above the baseline box.y = -((int)parent_height - box.height);//(int) (parent_metrics.getStrikethroughOffset()*2.0); } // not implemented correctly yet if(vertical_align.equals("text-bottom")) { box.y = 0; } // not implemented correctly yet. if(vertical_align.equals("top")) { //u.p("before y = " + box.y); //u.p("baseline = " + box.baseline); box.y = box.y - box.baseline;//(int) (parent_metrics.getStrikethroughOffset()*2.0); box.top_align = true; //u.p("after y = " + box.y); box.vset = false; } if(vertical_align.equals("bottom")) { //u.p("before y = " + box.y); //u.p("baseline = " + box.baseline); box.y = box.y - box.baseline;//(int) (parent_metrics.getStrikethroughOffset()*2.0); box.bottom_align = true; //u.p("after y = " + box.y); box.vset = false; } //u.p("returning box: " + box);}
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/bc096001a7ca1e7d5b4aec95b8083245ec783d3a/FontUtil.java/clean/src/java/org/joshy/html/util/FontUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 6459, 8401, 15704, 10044, 12, 1042, 71, 16, 50, 369, 20680, 16, 10870, 3514, 2147, 15329, 759, 89, 18, 84, 2932, 8401, 17824, 7989, 30, 2159, 1546, 15, 2159, 9078, 2147, 1546, 15, 2147, 1769, 759, 588, 451, 881, 817, 2159, 1884, 334, 93, 2456, 907, 2938, 33, 2159, 18, 588, 3054, 907, 5621, 759, 89, 18, 84, 2932, 2938, 1546, 15, 2938, 1769, 1046, 10037, 33, 2011, 31, 430, 12, 2159, 18, 588, 15101, 1435, 631, 2159, 18, 5151, 67, 8744, 15329, 2938, 33, 2938, 18, 588, 3054, 907, 5621, 10037, 28657, 1046, 13, 2159, 18, 588, 3054, 907, 5621, 97, 12107, 95, 10037, 28657, 1046, 13, 2159, 31, 97, 759, 89, 18, 84, 2932, 2938, 1546, 15, 2938, 9078, 10037, 1546, 15, 10037, 1769, 759, 474, 2938, 67, 4210, 33, 5711, 1304, 18, 1369, 2686, 12, 71, 16, 2938, 1769, 5711, 2938, 67, 5776, 33, 5711, 1304, 18, 588, 5711, 12, 71, 16, 2938, 1769, 1670, 5396, 1752, 817, 67, 9597, 33, 2011, 31, 430, 12, 5, 10870, 3744, 18, 291, 5729, 72, 12, 2159, 3719, 95, 430, 12, 5, 10870, 3744, 18, 291, 42, 383, 690, 1768, 12, 2159, 16, 71, 3719, 95, 2938, 67, 9597, 33, 2938, 67, 5776, 18, 588, 1670, 5653, 12, 2147, 18, 955, 16, 12443, 17558, 22, 40, 13, 71, 18, 588, 17558, 1435, 2934, 588, 5711, 3420, 1042, 10663, 97, 12107, 95, 2938, 67, 9597, 33, 2938, 67, 5776, 18, 588, 1670, 5653, 2932, 4709, 3113, 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, 3845, 6459, 8401, 15704, 10044, 12, 1042, 71, 16, 50, 369, 20680, 16, 10870, 3514, 2147, 15329, 759, 89, 18, 84, 2932, 8401, 17824, 7989, 30, 2159, 1546, 15, 2159, 9078, 2147, 1546, 15, 2147, 1769, 759, 588, 451, 881, 817, 2159, 1884, 334, 93, 2456, 907, 2938, 33, 2159, 18, 588, 3054, 907, 5621, 759, 89, 18, 84, 2932, 2938, 1546, 15, 2938, 1769, 1046, 10037, 33, 2011, 31, 430, 12, 2159, 18, 588, 15101, 1435, 631, 2159, 18, 5151, 67, 8744, 15329, 2938, 33, 2938, 18, 588, 3054, 907, 5621, 10037, 28657, 1046, 13, 2159, 18, 588, 3054, 907, 5621, 97, 12107, 95, 10037, 28657, 1046, 13, 2159, 31, 97, 759, 89, 18, 84, 2932, 2938, 2 ]
if (index >= 0 && index < history.size())
if (index >= 0 && index < history.size()) {
private PreferenceHistoryEntry getHistoryEntry(int index) { if (index >= 0 && index < history.size()) return (PreferenceHistoryEntry) history.get(index); return null; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/PreferencePageHistory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PreferencePageHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 29125, 5623, 1622, 336, 5623, 1622, 12, 474, 770, 13, 288, 202, 202, 430, 261, 1615, 1545, 374, 597, 770, 411, 4927, 18, 1467, 10756, 1082, 202, 2463, 261, 9624, 5623, 1622, 13, 4927, 18, 588, 12, 1615, 1769, 202, 202, 2463, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 29125, 5623, 1622, 336, 5623, 1622, 12, 474, 770, 13, 288, 202, 202, 430, 261, 1615, 1545, 374, 597, 770, 411, 4927, 18, 1467, 10756, 1082, 202, 2463, 261, 9624, 5623, 1622, 13, 4927, 18, 588, 12, 1615, 1769, 202, 202, 2463, 446, 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 ]
((Text) firstNameEditor.getControl()).setText("Bill"); ((Text) ((TextCellEditor) cellEditors[0]).getControl()) .notifyListeners(SWT.DefaultSelection, null); Account account = (Account) accounts[0];
enterText((Text) firstNameEditor.getControl(), "Bill"); Account account = accounts[0];
public void testScenario02() throws BindingException, SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException { // Show that a TableViewer with three columns can be used to update // columns Account[] accounts = catalog.getAccounts(); TableViewerDescription tableViewerDescription = new TableViewerDescription( tableViewer); tableViewerDescription.addColumn("firstName"); tableViewerDescription.addColumn("lastName", null, new PhoneConverter()); tableViewerDescription.addColumn("state", null, new StateConverter()); getDbc().bind(tableViewerDescription, new PropertyDescription(catalog, "accounts"), null); // Select the first item in the table tableViewer.getTable().setSelection(0); // Send a mouse down event at 19,21 which should activate the cell editor Event event = new Event(); event.button = 1; // The left mouse button to activate the cell editor // We position the event in the center of the first table column Rectangle firstNameColBounds = tableViewer.getTable().getItem(0).getBounds(0); event.x = firstNameColBounds.width/2 + firstNameColBounds.x; event.y = firstNameColBounds.height/2 + firstNameColBounds.y; tableViewer.getTable().notifyListeners(SWT.MouseDown,event); // Set the text property of the cell editor which is now active over the "firstName" column CellEditor[] cellEditors = tableViewer.getCellEditors(); TextCellEditor firstNameEditor = (TextCellEditor) cellEditors[0]; // Change the firstName and test it goes to the model ((Text) firstNameEditor.getControl()).setText("Bill"); // Send a selection event in the cell editor so it pushes the change to the table ((Text) ((TextCellEditor) cellEditors[0]).getControl()) .notifyListeners(SWT.DefaultSelection, null); Account account = (Account) accounts[0]; // Check whether the model has changed assertEquals("Bill",account.getFirstName()); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/26b1fb0990e50f7293fe40d4539f63cc8060b1d0/TableScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/TableScenarios.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 21390, 3103, 1435, 1216, 15689, 503, 16, 17780, 16, 1082, 202, 28341, 28846, 16, 2754, 16, 1082, 202, 12195, 9773, 288, 202, 202, 759, 9674, 716, 279, 3555, 18415, 598, 8925, 2168, 848, 506, 1399, 358, 1089, 202, 202, 759, 2168, 202, 202, 3032, 8526, 9484, 273, 6222, 18, 588, 13971, 5621, 202, 202, 1388, 18415, 3291, 1014, 18415, 3291, 273, 394, 3555, 18415, 3291, 12, 9506, 202, 2121, 18415, 1769, 202, 202, 2121, 18415, 3291, 18, 1289, 1494, 2932, 3645, 461, 8863, 202, 202, 2121, 18415, 3291, 18, 1289, 1494, 2932, 2722, 461, 3113, 446, 16, 9506, 202, 2704, 12895, 5072, 10663, 202, 202, 2121, 18415, 3291, 18, 1289, 1494, 2932, 2019, 3113, 446, 16, 9506, 202, 2704, 3287, 5072, 10663, 202, 202, 588, 4331, 71, 7675, 4376, 12, 2121, 18415, 3291, 16, 9506, 202, 2704, 4276, 3291, 12, 7199, 16, 315, 13739, 6, 3631, 446, 1769, 202, 202, 759, 6766, 326, 1122, 761, 316, 326, 1014, 202, 202, 2121, 18415, 18, 588, 1388, 7675, 542, 6233, 12, 20, 1769, 202, 202, 759, 2479, 279, 7644, 2588, 871, 622, 5342, 16, 5340, 1492, 1410, 10235, 326, 2484, 4858, 202, 202, 1133, 871, 273, 394, 2587, 5621, 202, 202, 2575, 18, 5391, 273, 404, 31, 225, 368, 1021, 2002, 7644, 3568, 358, 10235, 326, 2484, 4858, 202, 202, 759, 1660, 1754, 326, 871, 316, 326, 4617, 434, 326, 1122, 1014, 1057, 202, 202, 19463, 22033, 914, 5694, 273, 1014, 18415, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 21390, 3103, 1435, 1216, 15689, 503, 16, 17780, 16, 1082, 202, 28341, 28846, 16, 2754, 16, 1082, 202, 12195, 9773, 288, 202, 202, 759, 9674, 716, 279, 3555, 18415, 598, 8925, 2168, 848, 506, 1399, 358, 1089, 202, 202, 759, 2168, 202, 202, 3032, 8526, 9484, 273, 6222, 18, 588, 13971, 5621, 202, 202, 1388, 18415, 3291, 1014, 18415, 3291, 273, 394, 3555, 18415, 3291, 12, 9506, 202, 2121, 18415, 1769, 202, 202, 2121, 18415, 3291, 18, 1289, 1494, 2932, 3645, 461, 8863, 202, 202, 2121, 18415, 3291, 18, 1289, 1494, 2932, 2722, 461, 3113, 446, 16, 9506, 202, 2704, 12895, 5072, 10663, 202, 202, 2121, 18415, 3291, 18, 1289, 1494, 2932, 2019, 3113, 2 ]
return new Vector(); }
return new Vector(); }
public Vector getOutEdges(Object port) { return new Vector(); // TODO? }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/DeploymentDiagramGraphModel.java/buggy/src_new/org/argouml/uml/diagram/deployment/DeploymentDiagramGraphModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5589, 23141, 10697, 12, 921, 1756, 13, 288, 565, 327, 394, 5589, 5621, 368, 2660, 35, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5589, 23141, 10697, 12, 921, 1756, 13, 288, 565, 327, 394, 5589, 5621, 368, 2660, 35, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return RC_SPACE;
return (bytes > LOS_SIZE_THRESHOLD) ? LOS_SPACE : RC_SPACE;
public final int getAllocator(Type type, int bytes, CallSite callsite, AllocAdvice hint) { return RC_SPACE; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/b140a2b7371955b80cf503a0ee6b25d60caef46b/Plan.java/buggy/rvm/src/vm/memoryManagers/JMTk/plan/refCount/Plan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 509, 336, 21156, 12, 559, 618, 16, 509, 1731, 16, 3049, 4956, 4097, 1137, 16, 9506, 202, 8763, 1871, 633, 7380, 13, 288, 565, 327, 261, 3890, 405, 1806, 55, 67, 4574, 67, 23840, 13, 692, 1806, 55, 67, 6616, 294, 24206, 67, 6616, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 509, 336, 21156, 12, 559, 618, 16, 509, 1731, 16, 3049, 4956, 4097, 1137, 16, 9506, 202, 8763, 1871, 633, 7380, 13, 288, 565, 327, 261, 3890, 405, 1806, 55, 67, 4574, 67, 23840, 13, 692, 1806, 55, 67, 6616, 294, 24206, 67, 6616, 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 ]