rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
try { fproj = ProjectFacetsManager.create( project ); } catch (CoreException e1) { Logger.getLogger().logError(e1); }
if(project.isAccessible()){ try { fproj = ProjectFacetsManager.create( project ); } catch (CoreException e1) { Logger.getLogger().logError(e1); } }
public boolean testAttribute( final Object target, final String name, final String value ) { if( name.equals( "facet" ) ) //$NON-NLS-1$ { IProject project = (IProject)target; IFacetedProject fproj = null; try { fproj = ProjectFacetsManager.create( project ); } catch (CoreException e1) { Logger.getLogger().logError(e1); } if( fproj != null ){ final int colon = value.indexOf( ':' ); final String fid; final String vexprstr; if( colon == -1 || colon == value.length() - 1 ) { fid = value; vexprstr = null; } else { fid = value.substring( 0, colon ); vexprstr = value.substring( colon + 1 ); } if( ! ProjectFacetsManager.isProjectFacetDefined( fid ) ) { return false; } final IProjectFacet f = ProjectFacetsManager.getProjectFacet( fid ); if( ! fproj.hasProjectFacet( f ) ) { return false; } if( vexprstr == null ) { return true; } else { final IProjectFacetVersion fv = fproj.getInstalledVersion( f ); try { if( f.getVersions( vexprstr ).contains( fv ) ) { return true; } } catch( CoreException e ) { //EJBUIPlugin.getDefault().log } } return false; } else { return false; } } return true; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/0a25ef914d9db538c4638e1263211f66c7f60709/FacetedProjectActionFilter.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/plugin/FacetedProjectActionFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1842, 1499, 12, 727, 1033, 1018, 16, 4766, 282, 727, 514, 508, 16, 4766, 282, 727, 514, 460, 262, 565, 288, 377, 202, 3639, 309, 12, 508, 18, 14963, 12, 315, 21568, 6, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 288, 540, 202, 45, 4109, 1984, 273, 261, 45, 4109, 13, 3299, 31, 540, 202, 5501, 1077, 278, 329, 4109, 284, 17995, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 74, 17995, 273, 5420, 6645, 2413, 1318, 18, 2640, 12, 1984, 11272, 1082, 202, 97, 1044, 261, 25341, 425, 21, 13, 288, 9506, 202, 3328, 18, 588, 3328, 7675, 1330, 668, 12, 73, 21, 1769, 1082, 202, 97, 5411, 309, 12, 284, 17995, 480, 446, 262, 95, 202, 5411, 727, 509, 13336, 273, 460, 18, 31806, 12, 3921, 11272, 202, 5411, 727, 514, 13444, 31, 202, 5411, 727, 514, 331, 8638, 701, 31, 202, 2398, 202, 5411, 309, 12, 13336, 422, 300, 21, 747, 13336, 422, 460, 18, 2469, 1435, 300, 404, 262, 202, 5411, 288, 202, 7734, 13444, 273, 460, 31, 202, 7734, 331, 8638, 701, 273, 446, 31, 202, 5411, 289, 202, 5411, 469, 202, 5411, 288, 202, 7734, 13444, 273, 460, 18, 28023, 12, 374, 16, 13336, 11272, 202, 7734, 331, 8638, 701, 273, 460, 18, 28023, 12, 13336, 397, 404, 11272, 202, 5411, 289, 202, 2398, 202, 5411, 309, 12, 401, 5420, 6645, 2413, 1318, 18, 291, 4109, 11137, 8116, 12, 13444, 262, 262, 202, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1842, 1499, 12, 727, 1033, 1018, 16, 4766, 282, 727, 514, 508, 16, 4766, 282, 727, 514, 460, 262, 565, 288, 377, 202, 3639, 309, 12, 508, 18, 14963, 12, 315, 21568, 6, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 288, 540, 202, 45, 4109, 1984, 273, 261, 45, 4109, 13, 3299, 31, 540, 202, 5501, 1077, 278, 329, 4109, 284, 17995, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 74, 17995, 273, 5420, 6645, 2413, 1318, 18, 2640, 12, 1984, 11272, 1082, 202, 97, 1044, 261, 25341, 425, 21, 13, 288, 9506, 202, 3328, 18, 588, 3328, 7675, 1330, 668, 12, 73, 21, 1769, 1082, 202, 97, 5411, 309, 12, 284, 2 ]
assertNotNull("Should be Stub Builder", builder.withNoArguments());
assertNotNull("Should be Stub Builder", builder.withNoArguments());
public void testNoParamsAddsNoArgumentMatcher() { mocker.addedMatcher.setExpected(NoArgumentsMatcher.INSTANCE); assertNotNull("Should be Stub Builder", builder.withNoArguments()); mocker.verifyExpectations(); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InvocationMockerBuilderTest.java/buggy/jmock/core/src/test/jmock/builder/InvocationMockerBuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2279, 1370, 3655, 2279, 1379, 6286, 1435, 288, 202, 202, 81, 6203, 18, 9665, 6286, 18, 542, 6861, 12, 2279, 4628, 6286, 18, 13341, 1769, 202, 202, 11231, 5962, 2932, 14309, 506, 26483, 5008, 3113, 2089, 18, 1918, 2279, 4628, 10663, 202, 202, 81, 6203, 18, 8705, 11988, 1012, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2279, 1370, 3655, 2279, 1379, 6286, 1435, 288, 202, 202, 81, 6203, 18, 9665, 6286, 18, 542, 6861, 12, 2279, 4628, 6286, 18, 13341, 1769, 202, 202, 11231, 5962, 2932, 14309, 506, 26483, 5008, 3113, 2089, 18, 1918, 2279, 4628, 10663, 202, 202, 81, 6203, 18, 8705, 11988, 1012, 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 ]
if( scope == NameScope.CHILD ) { String childPath = m_parser.getChildPath( m_absPath, name ); return new DefaultFileName( m_parser, m_rootPrefix, childPath ); } else if( scope == NameScope.FILE_SYSTEM ) { String absPath = m_parser.resolvePath( m_absPath, name ); return new DefaultFileName( m_parser, m_rootPrefix, absPath ); } else { throw new IllegalArgumentException(); }
final String absPath = m_parser.resolvePath( m_absPath, name, scope ); return new DefaultFileName( m_parser, m_rootPrefix, absPath );
public FileName resolveName( String name, NameScope scope ) throws FileSystemException { if( scope == NameScope.CHILD ) { String childPath = m_parser.getChildPath( m_absPath, name ); return new DefaultFileName( m_parser, m_rootPrefix, childPath ); } else if( scope == NameScope.FILE_SYSTEM ) { String absPath = m_parser.resolvePath( m_absPath, name ); return new DefaultFileName( m_parser, m_rootPrefix, absPath ); } else { throw new IllegalArgumentException(); } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c56ed18654e1297e71b71109eb85329da5b2baee/DefaultFileName.java/clean/proposal/myrmidon/src/java/org/apache/aut/vfs/provider/DefaultFileName.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 25075, 2245, 461, 12, 514, 508, 16, 1770, 3876, 2146, 262, 1216, 10931, 503, 565, 288, 3639, 309, 12, 2146, 422, 1770, 3876, 18, 27043, 262, 3639, 288, 5411, 514, 1151, 743, 273, 312, 67, 4288, 18, 588, 1763, 743, 12, 312, 67, 5113, 743, 16, 508, 11272, 5411, 327, 394, 2989, 4771, 12, 312, 67, 4288, 16, 312, 67, 3085, 2244, 16, 1151, 743, 11272, 3639, 289, 3639, 469, 309, 12, 2146, 422, 1770, 3876, 18, 3776, 67, 14318, 262, 3639, 288, 5411, 514, 24939, 273, 312, 67, 4288, 18, 10828, 743, 12, 312, 67, 5113, 743, 16, 508, 11272, 5411, 327, 394, 2989, 4771, 12, 312, 67, 4288, 16, 312, 67, 3085, 2244, 16, 24939, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 604, 394, 2754, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 25075, 2245, 461, 12, 514, 508, 16, 1770, 3876, 2146, 262, 1216, 10931, 503, 565, 288, 3639, 309, 12, 2146, 422, 1770, 3876, 18, 27043, 262, 3639, 288, 5411, 514, 1151, 743, 273, 312, 67, 4288, 18, 588, 1763, 743, 12, 312, 67, 5113, 743, 16, 508, 11272, 5411, 327, 394, 2989, 4771, 12, 312, 67, 4288, 16, 312, 67, 3085, 2244, 16, 1151, 743, 11272, 3639, 289, 3639, 469, 309, 12, 2146, 422, 1770, 3876, 18, 3776, 67, 14318, 262, 3639, 288, 5411, 514, 24939, 273, 312, 67, 4288, 18, 10828, 743, 12, 312, 67, 5113, 743, 16, 508, 11272, 5411, 327, 394, 2989, 4771, 12, 312, 67, 4288, 16, 312, 67, 3085, 2244, 16, 24939, 2 ]
return endDate;
return endDate != null ? (java.util.Date) endDate.clone() : null;
public java.util.Date getEndDate() { return endDate; }
50360 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50360/cb2f0bd71479ba42dd02fe37aff6b74fb6ddd347/DateRangeQuery.java/clean/src/main/java/org/photovault/imginfo/DateRangeQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 1367, 18, 1626, 9968, 1626, 1435, 288, 202, 2463, 13202, 480, 446, 692, 261, 6290, 18, 1367, 18, 1626, 13, 13202, 18, 14056, 1435, 294, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 1367, 18, 1626, 9968, 1626, 1435, 288, 202, 2463, 13202, 480, 446, 692, 261, 6290, 18, 1367, 18, 1626, 13, 13202, 18, 14056, 1435, 294, 446, 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 ]
return outputStream != null ? outputStream : System.out; }
return new PrintStream(((RubyIO) ruby.getGlobalVar("$stdout")).getOutStream()); }
public PrintStream getOutputStream() { return outputStream != null ? outputStream : System.out; }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/d31a76ee29d5978a9bec41e3ac9134cee024bcab/RubyRuntime.java/clean/org/jruby/runtime/RubyRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 21677, 22553, 1435, 288, 202, 202, 2463, 14956, 480, 446, 692, 14956, 294, 2332, 18, 659, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 21677, 22553, 1435, 288, 202, 202, 2463, 14956, 480, 446, 692, 14956, 294, 2332, 18, 659, 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 ]
else
catch ( EngineException e )
void render() throws EngineException { try { IContentEmitter emitter = createContentEmitter( ); Report reportDesign = executionContext.getReport( ); String format = executionContext.getOutputFormat( ); if ( ExtensionManager.PAPER_SIZE_PAGINATION.equals( pagination ) ) //$NON-NLS-1$ { IReportExecutor executor = createReader( ); executor = new LocalizedReportExecutor( executionContext, executor ); executionContext.setExecutor( executor ); initializeContentEmitter( emitter, executor ); IReportLayoutEngine layoutEngine = LayoutEngineFactory .createLayoutEngine( pagination ); OnPageBreakLayoutPageHandle handle = new OnPageBreakLayoutPageHandle( executionContext ); layoutEngine.setPageHandler( handle ); CompositeContentEmitter outputEmitters = new CompositeContentEmitter( format ); outputEmitters.addEmitter( emitter ); outputEmitters.addEmitter( handle.getEmitter( ) ); startRender( ); layoutEngine.layout( executor, outputEmitters, false ); closeRender( ); executor.close( ); } else { IReportExecutor executor = new ReportExecutor( executionContext, reportDesign, null ); executor = new LocalizedReportExecutor( executionContext, executor ); executionContext.setExecutor( executor ); initializeContentEmitter( emitter, executor ); // start the render ReportContentLoader loader = new ReportContentLoader( executionContext ); startRender( ); load( loader, emitter ); closeRender( ); executor.close( ); } } catch ( EngineException e ) { log.log( Level.SEVERE, "An error happened while running the report. Cause:", e ); //$NON-NLS-1$ throw e; } catch ( Exception ex ) { log.log( Level.SEVERE, "An error happened while running the report. Cause:", ex ); //$NON-NLS-1$ throw new EngineException( "Error happened while running the report", ex ); //$NON-NLS-1$ } catch ( OutOfMemoryError err ) { log.log( Level.SEVERE, "An OutOfMemory error happened while running the report." ); //$NON-NLS-1$ throw err; } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/8f64bb4fea01e605768f414b6427380511e77ce9/RenderTask.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RenderTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6459, 1743, 1435, 1216, 10507, 503, 202, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 45, 1350, 13476, 11520, 273, 752, 1350, 13476, 12, 11272, 1082, 202, 4820, 2605, 15478, 273, 30521, 18, 588, 4820, 12, 11272, 1082, 202, 780, 740, 273, 30521, 18, 588, 1447, 1630, 12, 11272, 1082, 202, 430, 261, 10021, 1318, 18, 52, 2203, 654, 67, 4574, 67, 30633, 706, 2689, 18, 14963, 12, 8842, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 95, 9506, 202, 45, 4820, 6325, 6601, 273, 752, 2514, 12, 11272, 9506, 202, 21097, 273, 394, 3566, 1235, 4820, 6325, 12, 30521, 16, 25083, 202, 21097, 11272, 9506, 202, 16414, 1042, 18, 542, 6325, 12, 6601, 11272, 9506, 202, 11160, 1350, 13476, 12, 11520, 16, 6601, 11272, 9506, 202, 45, 4820, 3744, 4410, 3511, 4410, 273, 9995, 4410, 1733, 25083, 202, 18, 2640, 3744, 4410, 12, 8842, 11272, 6862, 9506, 202, 1398, 1964, 7634, 3744, 1964, 3259, 1640, 273, 394, 2755, 1964, 7634, 3744, 1964, 3259, 12, 25083, 202, 16414, 1042, 11272, 9506, 202, 6741, 4410, 18, 542, 1964, 1503, 12, 1640, 11272, 6862, 9506, 202, 9400, 1350, 13476, 876, 17982, 5432, 273, 394, 14728, 1350, 13476, 12, 740, 11272, 9506, 202, 2844, 17982, 5432, 18, 1289, 13476, 12, 11520, 11272, 9506, 202, 2844, 17982, 5432, 18, 1289, 13476, 12, 1640, 18, 588, 13476, 12, 262, 11272, 6862, 9506, 202, 1937, 3420, 12, 11272, 9506, 202, 6741, 4410, 18, 6741, 12, 6601, 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, 6459, 1743, 1435, 1216, 10507, 503, 202, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 45, 1350, 13476, 11520, 273, 752, 1350, 13476, 12, 11272, 1082, 202, 4820, 2605, 15478, 273, 30521, 18, 588, 4820, 12, 11272, 1082, 202, 780, 740, 273, 30521, 18, 588, 1447, 1630, 12, 11272, 1082, 202, 430, 261, 10021, 1318, 18, 52, 2203, 654, 67, 4574, 67, 30633, 706, 2689, 18, 14963, 12, 8842, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 95, 9506, 202, 45, 4820, 6325, 6601, 273, 752, 2514, 12, 11272, 9506, 202, 21097, 273, 394, 3566, 1235, 4820, 6325, 12, 30521, 16, 25083, 202, 21097, 11272, 9506, 202, 16414, 1042, 18, 542, 6325, 2 ]
synchronized (this) { try { loadedFeaturesInternal.add(file); loadedFeatures.add(runtime.newString(loadName));
try { loadedFeaturesInternal.add(loadName); loadedFeatures.add(runtime.newString(loadName));
public void smartLoad(String file) { Library library = null; String loadName = file; String[] extensionsToSearch = null; // if an extension is specified, try more targetted searches if (file.indexOf('.') >= 0) { Matcher matcher = null; if ((matcher = sourcePattern.matcher(file)).matches()) { // source extensions extensionsToSearch = sourceSuffixes; // trim extension to try other options file = matcher.group(1); } else if ((matcher = extensionPattern.matcher(file)).matches()) { // extension extensions extensionsToSearch = extensionSuffixes; // trim extension to try other options file = matcher.group(1); } else { // unknown extension throw runtime.newLoadError("no such file to load -- " + file); } } else { // try all extensions extensionsToSearch = allSuffixes; } // First try suffixes with normal loading for (int i = 0; i < extensionsToSearch.length; i++) { library = findLibrary(file + extensionsToSearch[i]); if (library != null) { loadName = file + extensionsToSearch[i]; break; } } // Then try suffixes with classloader loading if (library == null) { for (int i = 0; i < extensionsToSearch.length; i++) { library = findLibraryWithClassloaders(file + extensionsToSearch[i]); if (library != null) { loadName = file + extensionsToSearch[i]; break; } } } library = tryLoadExtension(library,file); // no library or extension found, bail out if (library == null) { throw runtime.newLoadError("no such file to load -- " + file); } // attempt to load the found library synchronized (this) { try { loadedFeaturesInternal.add(file); loadedFeatures.add(runtime.newString(loadName)); library.load(runtime); } catch (IOException e) { loadedFeaturesInternal.remove(file); loadedFeatures.remove(runtime.newString(loadName)); throw runtime.newLoadError("IO error -- " + file); } } }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/df365ec2c2e8b2c1348f22f8102d3515fbe4217c/LoadService.java/clean/src/org/jruby/runtime/load/LoadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13706, 2563, 12, 780, 585, 13, 288, 3639, 18694, 5313, 273, 446, 31, 3639, 514, 1262, 461, 273, 585, 31, 3639, 514, 8526, 4418, 774, 2979, 273, 446, 31, 7734, 368, 309, 392, 2710, 353, 1269, 16, 775, 1898, 1018, 2344, 16662, 3639, 309, 261, 768, 18, 31806, 2668, 1093, 13, 1545, 374, 13, 288, 5411, 9757, 4546, 273, 446, 31, 5411, 309, 14015, 22761, 273, 1084, 3234, 18, 22761, 12, 768, 13, 2934, 8436, 10756, 288, 7734, 368, 1084, 4418, 7734, 4418, 774, 2979, 273, 1084, 5791, 281, 31, 27573, 368, 2209, 2710, 358, 775, 1308, 702, 7734, 585, 273, 4546, 18, 1655, 12, 21, 1769, 5411, 289, 469, 309, 14015, 22761, 273, 2710, 3234, 18, 22761, 12, 768, 13, 2934, 8436, 10756, 288, 7734, 368, 2710, 4418, 7734, 4418, 774, 2979, 273, 2710, 5791, 281, 31, 27573, 368, 2209, 2710, 358, 775, 1308, 702, 7734, 585, 273, 4546, 18, 1655, 12, 21, 1769, 5411, 289, 469, 288, 7734, 368, 5917, 2710, 7734, 604, 3099, 18, 2704, 2563, 668, 2932, 2135, 4123, 585, 358, 1262, 1493, 315, 397, 585, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 368, 775, 777, 4418, 5411, 4418, 774, 2979, 273, 777, 5791, 281, 31, 3639, 289, 7734, 368, 5783, 775, 18333, 598, 2212, 7153, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 774, 2979, 18, 2469, 31, 277, 27245, 288, 5411, 5313, 273, 1104, 9313, 12, 768, 397, 4418, 774, 2979, 63, 77, 19226, 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, 13706, 2563, 12, 780, 585, 13, 288, 3639, 18694, 5313, 273, 446, 31, 3639, 514, 1262, 461, 273, 585, 31, 3639, 514, 8526, 4418, 774, 2979, 273, 446, 31, 7734, 368, 309, 392, 2710, 353, 1269, 16, 775, 1898, 1018, 2344, 16662, 3639, 309, 261, 768, 18, 31806, 2668, 1093, 13, 1545, 374, 13, 288, 5411, 9757, 4546, 273, 446, 31, 5411, 309, 14015, 22761, 273, 1084, 3234, 18, 22761, 12, 768, 13, 2934, 8436, 10756, 288, 7734, 368, 1084, 4418, 7734, 4418, 774, 2979, 273, 1084, 5791, 281, 31, 27573, 368, 2209, 2710, 358, 775, 1308, 702, 7734, 585, 273, 4546, 18, 1655, 12, 21, 1769, 5411, 289, 469, 309, 14015, 22761, 273, 2710, 3234, 2 ]
File siteDescriptor = new File( siteDirectory, "site_" + locale.getLanguage() + ".xml" );
File siteDescriptor = new File( basedir, "src/site/site_" + locale.getLanguage() + ".xml" );
protected File getSiteDescriptorFile( File basedir, Locale locale ) { File siteDescriptor = new File( siteDirectory, "site_" + locale.getLanguage() + ".xml" ); if ( !siteDescriptor.exists() ) { siteDescriptor = new File( siteDirectory, "site.xml" ); } return siteDescriptor; }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/8da37286fa7f67bd687e080e5fe6f240bac254c4/AbstractSiteMojo.java/buggy/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1387, 11021, 3187, 812, 12, 1387, 15573, 16, 6458, 2573, 262, 565, 288, 1850, 1387, 2834, 3187, 273, 394, 1387, 12, 15573, 16, 315, 4816, 19, 4256, 19, 4256, 9548, 397, 2573, 18, 588, 3779, 1435, 397, 3552, 2902, 6, 11272, 540, 309, 261, 401, 4256, 3187, 18, 1808, 1435, 262, 3639, 288, 5411, 2834, 3187, 273, 394, 1387, 12, 2834, 2853, 16, 315, 4256, 18, 2902, 6, 11272, 3639, 289, 3639, 327, 2834, 3187, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1387, 11021, 3187, 812, 12, 1387, 15573, 16, 6458, 2573, 262, 565, 288, 1850, 1387, 2834, 3187, 273, 394, 1387, 12, 15573, 16, 315, 4816, 19, 4256, 19, 4256, 9548, 397, 2573, 18, 588, 3779, 1435, 397, 3552, 2902, 6, 11272, 540, 309, 261, 401, 4256, 3187, 18, 1808, 1435, 262, 3639, 288, 5411, 2834, 3187, 273, 394, 1387, 12, 2834, 2853, 16, 315, 4256, 18, 2902, 6, 11272, 3639, 289, 3639, 327, 2834, 3187, 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 ]
(new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0,
(new KnuthGlue(0, 3 * LineLayoutManager.DEFAULT_SPACE_WIDTH, 0,
public LinkedList getChangedKnuthElements(List oldList, int flaggedPenalty, int alignment) { if (isFinished()) { return null; } LinkedList returnList = new LinkedList(); while (iReturnedIndex < vecAreaInfo.size()) { AreaInfo ai = (AreaInfo) vecAreaInfo.get(iReturnedIndex); if (ai.iWScount == 0) { // ai refers either to a word or a word fragment if (letterSpaceIPD.min == letterSpaceIPD.max) { returnList.add (new KnuthBox(ai.ipdArea.opt, 0, 0, 0, new LeafPosition(this, iReturnedIndex), false)); } else { returnList.add (new KnuthBox(ai.ipdArea.opt - ai.iLScount * letterSpaceIPD.opt, 0, 0, 0, new LeafPosition(this, iReturnedIndex), false)); returnList.add (new KnuthPenalty(0, KnuthElement.INFINITE, false, new LeafPosition(this, -1), true)); returnList.add (new KnuthGlue(ai.iLScount * letterSpaceIPD.opt, ai.iLScount * (letterSpaceIPD.max - letterSpaceIPD.opt), ai.iLScount * (letterSpaceIPD.opt - letterSpaceIPD.min), new LeafPosition(this, -1), true)); returnList.add (new KnuthBox(0, 0, 0, 0, new LeafPosition(this, -1), true)); } if (ai.bHyphenated) { returnList.add (new KnuthPenalty(hyphIPD, flaggedPenalty, true, new LeafPosition(this, -1), false)); } iReturnedIndex ++; } else { // ai refers to a space switch (alignment) { case CENTER : returnList.add (new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0, new LeafPosition(this, iReturnedIndex), false)); returnList.add (new KnuthPenalty(0, 0, false, new LeafPosition(this, -1), true)); returnList.add (new KnuthGlue(wordSpaceIPD.opt, - 6 * wordSpaceIPD.opt, 0, new LeafPosition(this, -1), true)); returnList.add (new KnuthBox(0, 0, 0, 0, new LeafPosition(this, -1), true)); returnList.add (new KnuthPenalty(0, KnuthElement.INFINITE, false, new LeafPosition(this, -1), true)); returnList.add (new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0, new LeafPosition(this, -1), true)); iReturnedIndex ++; break; case START : // fall through case END : returnList.add (new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0, new LeafPosition(this, iReturnedIndex), false)); returnList.add (new KnuthPenalty(0, 0, false, new LeafPosition(this, -1), true)); returnList.add (new KnuthGlue(wordSpaceIPD.opt, - 3 * wordSpaceIPD.opt, 0, new LeafPosition(this, -1), true)); iReturnedIndex ++; break; case JUSTIFY: returnList.add (new KnuthGlue(wordSpaceIPD.opt, wordSpaceIPD.max - wordSpaceIPD.opt, wordSpaceIPD.opt - wordSpaceIPD.min, new LeafPosition(this, iReturnedIndex), false)); iReturnedIndex ++; break; default: returnList.add (new KnuthGlue(wordSpaceIPD.opt, wordSpaceIPD.max - wordSpaceIPD.opt, 0, new LeafPosition(this, iReturnedIndex), false)); iReturnedIndex ++; } } } // end of while setFinished(true); return returnList; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/609da8edaad8f2baf8f306e4d90d006b933ef30c/TextLayoutManager.java/clean/src/java/org/apache/fop/layoutmgr/TextLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10688, 336, 5033, 47, 82, 795, 3471, 12, 682, 1592, 682, 16, 4766, 2868, 509, 2982, 2423, 24251, 15006, 16, 4766, 2868, 509, 8710, 13, 288, 3639, 309, 261, 291, 10577, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 10688, 327, 682, 273, 394, 10688, 5621, 3639, 1323, 261, 77, 22360, 1016, 411, 7062, 5484, 966, 18, 1467, 10756, 288, 5411, 16668, 966, 14679, 273, 261, 5484, 966, 13, 7062, 5484, 966, 18, 588, 12, 77, 22360, 1016, 1769, 5411, 309, 261, 10658, 18, 77, 59, 1541, 592, 422, 374, 13, 288, 7734, 368, 14679, 21368, 3344, 358, 279, 2076, 578, 279, 2076, 5481, 7734, 309, 261, 13449, 3819, 2579, 40, 18, 1154, 422, 9471, 3819, 2579, 40, 18, 1896, 13, 288, 10792, 327, 682, 18, 1289, 13491, 261, 2704, 1475, 82, 795, 3514, 12, 10658, 18, 625, 72, 5484, 18, 3838, 16, 374, 16, 374, 16, 374, 16, 4766, 1377, 394, 23383, 2555, 12, 2211, 16, 277, 22360, 1016, 3631, 629, 10019, 7734, 289, 469, 288, 10792, 327, 682, 18, 1289, 13491, 261, 2704, 1475, 82, 795, 3514, 12, 10658, 18, 625, 72, 5484, 18, 3838, 4766, 1377, 300, 14679, 18, 77, 48, 1541, 592, 380, 9471, 3819, 2579, 40, 18, 3838, 16, 4766, 1377, 374, 16, 374, 16, 374, 16, 4766, 4202, 394, 23383, 2555, 12, 2211, 16, 277, 22360, 1016, 3631, 629, 10019, 10792, 327, 682, 18, 1289, 13491, 261, 2704, 1475, 82, 795, 24251, 15006, 12, 20, 16, 1475, 82, 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, 10688, 336, 5033, 47, 82, 795, 3471, 12, 682, 1592, 682, 16, 4766, 2868, 509, 2982, 2423, 24251, 15006, 16, 4766, 2868, 509, 8710, 13, 288, 3639, 309, 261, 291, 10577, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 10688, 327, 682, 273, 394, 10688, 5621, 3639, 1323, 261, 77, 22360, 1016, 411, 7062, 5484, 966, 18, 1467, 10756, 288, 5411, 16668, 966, 14679, 273, 261, 5484, 966, 13, 7062, 5484, 966, 18, 588, 12, 77, 22360, 1016, 1769, 5411, 309, 261, 10658, 18, 77, 59, 1541, 592, 422, 374, 13, 288, 7734, 368, 14679, 21368, 3344, 358, 279, 2076, 578, 279, 2076, 5481, 7734, 309, 261, 13449, 3819, 2579, 40, 18, 1154, 422, 9471, 3819, 2 ]
RubyArray lines = RubyArray.newArray(recv.getRuntime());
RubyArray lines = recv.getRuntime().newArray();
public static RubyArray readlines(IRubyObject recv, IRubyObject[] args) { RubyArgsFile argsFile = (RubyArgsFile) recv.getRuntime().getGlobalVariables().get("$<"); RubyArray lines = RubyArray.newArray(recv.getRuntime()); RubyString line = argsFile.internalGets(args); while (!line.isNil()) { lines.append(line); line = argsFile.internalGets(args); } return lines; }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 1076, 17546, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 19817, 2615, 812, 833, 812, 273, 261, 54, 10340, 2615, 812, 13, 10665, 18, 588, 5576, 7675, 588, 5160, 6158, 7675, 588, 2932, 8, 32, 8863, 3639, 19817, 1076, 2362, 273, 10665, 18, 588, 5576, 7675, 2704, 1076, 5621, 3639, 19817, 780, 980, 273, 833, 812, 18, 7236, 3002, 12, 1968, 1769, 3639, 1323, 16051, 1369, 18, 291, 12616, 10756, 288, 5411, 2362, 18, 6923, 12, 1369, 1769, 5411, 980, 273, 833, 812, 18, 7236, 3002, 12, 1968, 1769, 3639, 289, 3639, 327, 2362, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 1076, 17546, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 19817, 2615, 812, 833, 812, 273, 261, 54, 10340, 2615, 812, 13, 10665, 18, 588, 5576, 7675, 588, 5160, 6158, 7675, 588, 2932, 8, 32, 8863, 3639, 19817, 1076, 2362, 273, 10665, 18, 588, 5576, 7675, 2704, 1076, 5621, 3639, 19817, 780, 980, 273, 833, 812, 18, 7236, 3002, 12, 1968, 1769, 3639, 1323, 16051, 1369, 18, 291, 12616, 10756, 288, 5411, 2362, 18, 6923, 12, 1369, 1769, 5411, 980, 273, 833, 812, 18, 7236, 3002, 12, 1968, 1769, 3639, 289, 3639, 327, 2362, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return sb;
} else { sb.append( " .append( " Collection global_typedef_statements = findTagValues( cls, "typedef_global_source" ); if (!global_typedef_statements.isEmpty()) { Iterator typedef_enum = global_typedef_statements.iterator(); while (typedef_enum.hasNext()) sb.append( "typedef " ).append( typedef_enum.next() ).append( ";\n" ); } }
private StringBuffer generateGlobalTypedefs( MClassifier cls ) { StringBuffer sb = new StringBuffer(); if (cls instanceof MClass || cls instanceof MInterface ) { // add typedefs if ( GeneratorPass == header_pass ) { sb.append( "// global type definitions for header defined by Tag entries in ArgoUML\n" ) .append( "// Result: typedef <typedef_global_header> <tag_value>;\n" ); Collection global_typedef_statements = findTagValues( cls, "typedef_global_header" ); if (!global_typedef_statements.isEmpty()) { Iterator typedef_enum = global_typedef_statements.iterator(); while (typedef_enum.hasNext()) sb.append( "typedef " ).append( typedef_enum.next() ).append( ";\n" ); } } else { sb.append( "// global type definitions for class implementation in source file defined by Tag entries in ArgoUML\n" ) .append( "// Result: typedef <typedef_global_source> <tag_value>;\n" ); Collection global_typedef_statements = findTagValues( cls, "typedef_global_source" ); if (!global_typedef_statements.isEmpty()) { Iterator typedef_enum = global_typedef_statements.iterator(); while (typedef_enum.hasNext()) sb.append( "typedef " ).append( typedef_enum.next() ).append( ";\n" ); } } } return sb; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5cee6094c7b77e3bcf6338f68456e6e531e781b7/GeneratorCpp.java/buggy/modules/cpp/src/org/argouml/language/cpp/generator/GeneratorCpp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6674, 2103, 5160, 559, 12537, 12, 490, 13860, 2028, 262, 288, 282, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 282, 202, 430, 261, 6429, 1276, 490, 797, 747, 2028, 1276, 490, 1358, 262, 282, 202, 95, 368, 527, 618, 12537, 1082, 202, 430, 261, 10159, 6433, 422, 1446, 67, 5466, 262, 288, 9506, 202, 18366, 18, 6923, 12, 16177, 2552, 618, 6377, 364, 1446, 2553, 635, 4034, 3222, 316, 1201, 3240, 57, 1495, 64, 82, 6, 262, 6862, 225, 263, 6923, 12, 16177, 3438, 30, 618, 536, 411, 723, 536, 67, 6347, 67, 3374, 34, 411, 2692, 67, 1132, 34, 9747, 82, 6, 11272, 9506, 202, 2532, 2552, 67, 723, 536, 67, 18393, 273, 1104, 1805, 1972, 12, 2028, 16, 315, 723, 536, 67, 6347, 67, 3374, 6, 11272, 9506, 202, 430, 16051, 6347, 67, 723, 536, 67, 18393, 18, 291, 1921, 10756, 288, 377, 1082, 202, 3198, 618, 536, 67, 7924, 273, 2552, 67, 723, 536, 67, 18393, 18, 9838, 5621, 377, 1082, 202, 17523, 261, 723, 536, 67, 7924, 18, 5332, 2134, 10756, 2393, 18, 6923, 12, 315, 723, 536, 315, 262, 18, 6923, 12, 618, 536, 67, 7924, 18, 4285, 1435, 262, 18, 6923, 12, 30750, 82, 6, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 18366, 18, 6923, 12, 16177, 2552, 618, 6377, 364, 667, 4471, 316, 1084, 585, 2553, 635, 4034, 3222, 316, 1201, 3240, 57, 1495, 64, 82, 6, 262, 6862, 225, 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, 6674, 2103, 5160, 559, 12537, 12, 490, 13860, 2028, 262, 288, 282, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 282, 202, 430, 261, 6429, 1276, 490, 797, 747, 2028, 1276, 490, 1358, 262, 282, 202, 95, 368, 527, 618, 12537, 1082, 202, 430, 261, 10159, 6433, 422, 1446, 67, 5466, 262, 288, 9506, 202, 18366, 18, 6923, 12, 16177, 2552, 618, 6377, 364, 1446, 2553, 635, 4034, 3222, 316, 1201, 3240, 57, 1495, 64, 82, 6, 262, 6862, 225, 263, 6923, 12, 16177, 3438, 30, 618, 536, 411, 723, 536, 67, 6347, 67, 3374, 34, 411, 2692, 67, 1132, 34, 9747, 82, 6, 11272, 9506, 202, 2532, 2552, 67, 723, 536, 67, 18393, 273, 1104, 2 ]
public static void main(String[] aS_Arguments) { try { System.out.println(SQLDataSetService.getTableNameFromSelectSQL("SELECT * FROM helloworldisthis ")); } catch(Exception l_Exception) { l_Exception.printStackTrace(); } }
3283 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3283/5881aafd571ee350e4c7e808016dcb4d0a2fd34e/SQLWriteEngine.java/clean/src/com/sohlman/dataset/sql/SQLWriteEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 279, 55, 67, 4628, 13, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 12, 3997, 13676, 1179, 18, 588, 7147, 1265, 3391, 3997, 2932, 4803, 380, 4571, 366, 11394, 6245, 376, 76, 291, 9369, 1769, 202, 202, 97, 202, 202, 14683, 12, 503, 328, 67, 503, 13, 202, 202, 95, 1082, 202, 80, 67, 503, 18, 1188, 6332, 5621, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 279, 55, 67, 4628, 13, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 12, 3997, 13676, 1179, 18, 588, 7147, 1265, 3391, 3997, 2932, 4803, 380, 4571, 366, 11394, 6245, 376, 76, 291, 9369, 1769, 202, 202, 97, 202, 202, 14683, 12, 503, 328, 67, 503, 13, 202, 202, 95, 1082, 202, 80, 67, 503, 18, 1188, 6332, 5621, 202, 202, 97, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
&& string.startsWith( "\"" ) && string.endsWith( "\"" ) )
&& string.startsWith( "\"" ) && string.endsWith( "\"" ) )
public static String RemoveQuote( String string ) { if ( string != null && string.length( ) >= 2 && string.startsWith( "\"" ) && string.endsWith( "\"" ) ) { return string.substring( 1, string.length( ) - 1 ); } return string; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/f06fb5699fc635c9c62b83fb721c2da353cf68a6/UIUtil.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 3581, 10257, 12, 514, 533, 262, 202, 95, 202, 202, 430, 261, 533, 480, 446, 9506, 202, 10, 10, 533, 18, 2469, 12, 262, 1545, 576, 9506, 202, 10, 10, 533, 18, 17514, 1190, 12, 11143, 262, 9506, 202, 10, 10, 533, 18, 5839, 1190, 12, 11143, 262, 262, 202, 202, 95, 1082, 202, 2463, 533, 18, 28023, 12, 404, 16, 533, 18, 2469, 12, 262, 300, 404, 11272, 202, 202, 97, 202, 202, 2463, 533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 3581, 10257, 12, 514, 533, 262, 202, 95, 202, 202, 430, 261, 533, 480, 446, 9506, 202, 10, 10, 533, 18, 2469, 12, 262, 1545, 576, 9506, 202, 10, 10, 533, 18, 17514, 1190, 12, 11143, 262, 9506, 202, 10, 10, 533, 18, 5839, 1190, 12, 11143, 262, 262, 202, 202, 95, 1082, 202, 2463, 533, 18, 28023, 12, 404, 16, 533, 18, 2469, 12, 262, 300, 404, 11272, 202, 202, 97, 202, 202, 2463, 533, 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 ]
private void buildGlobalElement(ElementInfo ei) { ElementEntry ee = new ElementEntry(ei); if (ee.name == null) throw new IllegalArgumentException("Name is null for element : " + ee.name); System.out.println("building global element " + ee.name); // DEBUG if (ee.substGroup != null) { ArrayList al = (ArrayList) hmSubsGrp.get(ee.substGroup); if (al == null) { al = new ArrayList(); hmSubsGrp.put(ee.substGroup, al); } al.add(ee); hmSubsLink.put(ee.name, al); } if (ee.abstrElem) { if (hmAbsElems.containsKey(ee.name)) throw new IllegalArgumentException("Namespace collision for : " + ee.name); hmAbsElems.put(ee.name, ee.type); System.out.println("- abstract element"); // DEBUG return; } if (ee.complexType != null) { String type = ee.name+"#I"; ee.complexType.name = type; ee.type = type; if (hmElements.containsKey(ee.name)) throw new IllegalArgumentException("Namespace collision for : " + ee.name); hmElements.put(ee.name, type); hmTypes.put(type, ee.complexType); System.out.println("- complex type"); // DEBUG } else if (ee.simpleType != null) { if (ee.type == null) throw new IllegalArgumentException("Type is null for element : " + ee.name); if (hmElements.containsKey(ee.name)) throw new IllegalArgumentException("Namespace collision for : " + ee.name); hmElements .put(ee.name, ee.type); hmElemRestr.put(ee.name, ee.simpleType.alEnum); System.out.println("- simple type"); // DEBUG } else { hmElements.put(ee.name, ee.type); System.out.println("- element"); // DEBUG } }
55092 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55092/3acd633fc3fd9533194b5d02ae6b2e02f8dd97e4/SchemaLoader.java/buggy/src/org/fao/geonet/kernel/schema/SchemaLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1361, 5160, 1046, 12, 1046, 966, 13247, 13, 202, 95, 202, 202, 1046, 1622, 14657, 273, 394, 3010, 1622, 12, 73, 77, 1769, 202, 202, 430, 261, 1340, 18, 529, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 461, 353, 446, 364, 930, 294, 315, 397, 14657, 18, 529, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 3510, 310, 2552, 930, 315, 397, 14657, 18, 529, 1769, 368, 6369, 9506, 202, 430, 261, 1340, 18, 1717, 334, 1114, 480, 446, 13, 202, 202, 95, 1082, 202, 19558, 524, 273, 261, 19558, 13, 16349, 26123, 43, 13832, 18, 588, 12, 1340, 18, 1717, 334, 1114, 1769, 1082, 202, 430, 261, 287, 422, 446, 13, 1082, 202, 95, 9506, 202, 287, 273, 394, 2407, 5621, 9506, 202, 76, 81, 26123, 43, 13832, 18, 458, 12, 1340, 18, 1717, 334, 1114, 16, 524, 1769, 1082, 202, 97, 1082, 202, 287, 18, 1289, 12, 1340, 1769, 1082, 202, 76, 81, 26123, 2098, 18, 458, 12, 1340, 18, 529, 16, 524, 1769, 202, 202, 97, 202, 202, 430, 261, 1340, 18, 378, 701, 7498, 13, 202, 202, 95, 1082, 202, 430, 261, 76, 81, 9382, 23207, 18, 12298, 653, 12, 1340, 18, 529, 3719, 9506, 202, 12849, 394, 2754, 2932, 3402, 17740, 364, 294, 315, 397, 14657, 18, 529, 1769, 1082, 202, 76, 81, 9382, 23207, 18, 458, 12, 1340, 18, 529, 16, 14657, 18, 723, 1769, 25083, 202, 3163, 18, 659, 18, 8222, 2932, 17, 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, 1361, 5160, 1046, 12, 1046, 966, 13247, 13, 202, 95, 202, 202, 1046, 1622, 14657, 273, 394, 3010, 1622, 12, 73, 77, 1769, 202, 202, 430, 261, 1340, 18, 529, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 461, 353, 446, 364, 930, 294, 315, 397, 14657, 18, 529, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 3510, 310, 2552, 930, 315, 397, 14657, 18, 529, 1769, 368, 6369, 9506, 202, 430, 261, 1340, 18, 1717, 334, 1114, 480, 446, 13, 202, 202, 95, 1082, 202, 19558, 524, 273, 261, 19558, 13, 16349, 26123, 43, 13832, 18, 588, 12, 1340, 18, 1717, 334, 1114, 1769, 1082, 202, 430, 261, 287, 422, 446, 13, 2 ]
public boolean checkHasIncoming(AbstractRepositoryTask repositoryTask, RepositoryTaskData newData) { String lastModified = repositoryTask.getLastSyncDateStamp(); if (newData != null) { RepositoryTaskData oldTaskData = repositoryTask.getTaskData(); if (oldTaskData != null) { lastModified = oldTaskData.getLastModified(); } else if(lastModified == null && repositoryTask.getSyncState() != RepositoryTaskSyncState.INCOMING) { // both lastModified and oldTaskData is null! // (don't have a sync time or any offline data) // HACK: Assume this is a query hit. // We can't get proper date stamp from query hits // so mark read doesn't set proper date stamp. // Once we have this data this should be fixed. return false; } } RepositoryTaskAttribute modifiedDateAttribute = newData.getAttribute(RepositoryTaskAttribute.DATE_MODIFIED); if (lastModified != null && modifiedDateAttribute != null && modifiedDateAttribute.getValue() != null) { if (lastModified.trim().compareTo(modifiedDateAttribute.getValue().trim()) == 0 && repositoryTask.getSyncState() != RepositoryTaskSyncState.INCOMING) { // Only set to synchronized state if not in incoming state. // Case of incoming->sync handled by markRead upon opening // or a forced synchronization on the task only. return false; } } return true; // DND - relves // RepositoryTaskAttribute modifiedDateAttribute = // newData.getAttribute(RepositoryTaskAttribute.DATE_MODIFIED); // if (repositoryTask.getLastSyncDateStamp() != null && // modifiedDateAttribute != null // && modifiedDateAttribute.getValue() != null) { // Date newModifiedDate = // connector.getOfflineTaskHandler().getDateForAttributeType( // RepositoryTaskAttribute.DATE_MODIFIED, // modifiedDateAttribute.getValue()); // Date oldModifiedDate = // connector.getOfflineTaskHandler().getDateForAttributeType( // RepositoryTaskAttribute.DATE_MODIFIED, lastModified); // if (oldModifiedDate != null && newModifiedDate != null) { // if (newModifiedDate.compareTo(oldModifiedDate) <= 0 && // repositoryTask.getSyncState() != RepositoryTaskSyncState.INCOMING) { // // Only move to synchronized state if not in incoming state. // // Case of incoming->sync handled by markRead upon opening // // or a forced synchronization on the task. // return false; // } // } // } // return true; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/a2a908fb82dbed0c25887341683cf9d058b5723a/RepositorySynchronizationManager.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/RepositorySynchronizationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 866, 5582, 20370, 12, 7469, 3305, 2174, 3352, 2174, 16, 6281, 2174, 751, 16026, 13, 288, 202, 202, 780, 12709, 273, 3352, 2174, 18, 588, 3024, 4047, 1626, 8860, 5621, 202, 202, 430, 261, 2704, 751, 480, 446, 13, 288, 1082, 202, 3305, 2174, 751, 1592, 2174, 751, 273, 3352, 2174, 18, 588, 2174, 751, 5621, 1082, 202, 430, 261, 1673, 2174, 751, 480, 446, 13, 288, 9506, 202, 2722, 4575, 273, 1592, 2174, 751, 18, 588, 14747, 5621, 1082, 202, 97, 469, 309, 12, 2722, 4575, 422, 446, 597, 3352, 2174, 18, 588, 4047, 1119, 1435, 480, 6281, 2174, 4047, 1119, 18, 706, 4208, 1360, 13, 288, 9506, 202, 759, 3937, 12709, 471, 1592, 2174, 751, 353, 446, 5, 9506, 202, 759, 261, 19752, 1404, 1240, 279, 3792, 813, 578, 1281, 13493, 501, 13, 9506, 202, 759, 670, 3649, 30, 15983, 333, 353, 279, 843, 6800, 18, 4697, 202, 759, 1660, 848, 1404, 336, 5338, 1509, 14429, 628, 843, 11076, 9506, 202, 759, 1427, 2267, 855, 3302, 1404, 444, 5338, 1509, 14429, 18, 9506, 202, 759, 12419, 732, 1240, 333, 501, 333, 1410, 506, 5499, 18, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 3196, 202, 3305, 2174, 1499, 4358, 1626, 1499, 273, 16026, 18, 588, 1499, 12, 3305, 2174, 1499, 18, 4594, 67, 21143, 1769, 202, 202, 430, 261, 2722, 4575, 480, 446, 597, 4358, 1626, 1499, 480, 446, 597, 4358, 1626, 1499, 18, 24805, 1435, 480, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 866, 5582, 20370, 12, 7469, 3305, 2174, 3352, 2174, 16, 6281, 2174, 751, 16026, 13, 288, 202, 202, 780, 12709, 273, 3352, 2174, 18, 588, 3024, 4047, 1626, 8860, 5621, 202, 202, 430, 261, 2704, 751, 480, 446, 13, 288, 1082, 202, 3305, 2174, 751, 1592, 2174, 751, 273, 3352, 2174, 18, 588, 2174, 751, 5621, 1082, 202, 430, 261, 1673, 2174, 751, 480, 446, 13, 288, 9506, 202, 2722, 4575, 273, 1592, 2174, 751, 18, 588, 14747, 5621, 1082, 202, 97, 469, 309, 12, 2722, 4575, 422, 446, 597, 3352, 2174, 18, 588, 4047, 1119, 1435, 480, 6281, 2174, 4047, 1119, 18, 706, 4208, 1360, 13, 288, 9506, 202, 759, 3937, 12709, 471, 1592, 2 ]
result.append(new File( (String) AccessController .doPrivileged(new GetPropertyAction( "user.dir"))));
result.append(new File((String) AccessController .doPrivileged(new GetPropertyAction("user.dir"))));
protected String prompt() { String prompt = System.getProperty(PROMPT_PROPERTY_NAME); final StringBuffer result = new StringBuffer(); boolean commandMode = false; try { StringReader reader = new StringReader(prompt); int i; while ((i = reader.read()) != -1) { char c = (char) i; if (commandMode) { switch (c) { case 'P': result.append(new File( (String) AccessController .doPrivileged(new GetPropertyAction( "user.dir")))); break; case 'G': result.append("> "); break; case 'D': final Date now = new Date(); DateFormat.getDateTimeInstance().format(now, result, null); break; default: result.append(c); } commandMode = false; } else { switch (c) { case '$': commandMode = true; break; default: result.append(c); } } } } catch (Exception ioex) { // This should never occur log.error("Error in prompt()", ioex); } return result.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b9131f1ddc74c6881f272322f3fc9437ad4f01c/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 6866, 1435, 288, 3639, 514, 6866, 273, 2332, 18, 588, 1396, 12, 3373, 49, 1856, 67, 9900, 67, 1985, 1769, 3639, 727, 6674, 563, 273, 394, 6674, 5621, 3639, 1250, 1296, 2309, 273, 629, 31, 3639, 775, 288, 5411, 26227, 2949, 273, 394, 26227, 12, 13325, 1769, 5411, 509, 277, 31, 5411, 1323, 14015, 77, 273, 2949, 18, 896, 10756, 480, 300, 21, 13, 288, 7734, 1149, 276, 273, 261, 3001, 13, 277, 31, 7734, 309, 261, 3076, 2309, 13, 288, 10792, 1620, 261, 71, 13, 288, 10792, 648, 296, 52, 4278, 13491, 563, 18, 6923, 12, 2704, 1387, 12, 27573, 261, 780, 13, 25556, 4766, 3639, 263, 2896, 18845, 12, 2704, 968, 1396, 1803, 12, 4766, 7734, 315, 1355, 18, 1214, 6, 3719, 10019, 13491, 898, 31, 10792, 648, 296, 43, 4278, 13491, 563, 18, 6923, 2932, 34, 315, 1769, 13491, 898, 31, 10792, 648, 296, 40, 4278, 13491, 727, 2167, 2037, 273, 394, 2167, 5621, 13491, 18371, 18, 588, 5096, 1442, 7675, 2139, 12, 3338, 16, 563, 16, 27573, 446, 1769, 13491, 898, 31, 10792, 805, 30, 13491, 563, 18, 6923, 12, 71, 1769, 10792, 289, 10792, 1296, 2309, 273, 629, 31, 7734, 289, 469, 288, 10792, 1620, 261, 71, 13, 288, 10792, 648, 3365, 4278, 13491, 1296, 2309, 273, 638, 31, 13491, 898, 31, 10792, 805, 30, 13491, 563, 18, 6923, 12, 71, 1769, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 503, 2527, 338, 13, 288, 5411, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 6866, 1435, 288, 3639, 514, 6866, 273, 2332, 18, 588, 1396, 12, 3373, 49, 1856, 67, 9900, 67, 1985, 1769, 3639, 727, 6674, 563, 273, 394, 6674, 5621, 3639, 1250, 1296, 2309, 273, 629, 31, 3639, 775, 288, 5411, 26227, 2949, 273, 394, 26227, 12, 13325, 1769, 5411, 509, 277, 31, 5411, 1323, 14015, 77, 273, 2949, 18, 896, 10756, 480, 300, 21, 13, 288, 7734, 1149, 276, 273, 261, 3001, 13, 277, 31, 7734, 309, 261, 3076, 2309, 13, 288, 10792, 1620, 261, 71, 13, 288, 10792, 648, 296, 52, 4278, 13491, 563, 18, 6923, 12, 2704, 1387, 12, 27573, 261, 780, 13, 25556, 4766, 3639, 263, 2896, 18845, 12, 2704, 968, 1396, 1803, 12, 2 ]
public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/clean/org/jruby/nodes/NodeVisitorAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 14554, 907, 12, 907, 277, 30019, 13, 202, 95, 202, 202, 11658, 12, 77, 30019, 1769, 202, 202, 19574, 12, 77, 30019, 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, 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, 225, 202, 482, 918, 3757, 14554, 907, 12, 907, 277, 30019, 13, 202, 95, 202, 202, 11658, 12, 77, 30019, 1769, 202, 202, 19574, 12, 77, 30019, 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, -100, -100 ]
return TA_RetCode.TA_SUCCESS; }
if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLSEPARATINGLINES_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } ShadowVeryShortPeriodTotal = 0; ShadowVeryShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) ; BodyLongPeriodTotal = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) ; EqualPeriodTotal = 0; EqualTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) ; i = ShadowVeryShortTrailingIdx; while( i < startIdx ) { ShadowVeryShortPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ; i++; } i = BodyLongTrailingIdx; while( i < startIdx ) { BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ; i++; } i = EqualTrailingIdx; while( i < startIdx ) { EqualPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = startIdx; outIdx = 0; do { if( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == - ( inClose[i] >= inOpen[i] ? 1 : -1 ) && inOpen[i] <= inOpen[i-1] + ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) != 0.0? EqualPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && inOpen[i] >= inOpen[i-1] - ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) != 0.0? EqualPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( Math.abs ( inClose[i] - inOpen[i] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( ( ( inClose[i] >= inOpen[i] ? 1 : -1 ) == 1 && ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) < ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) != 0.0? ShadowVeryShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) ) || ( ( inClose[i] >= inOpen[i] ? 1 : -1 ) == -1 && ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) < ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) != 0.0? ShadowVeryShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) ) ) ) outInteger[outIdx++] = ( inClose[i] >= inOpen[i] ? 1 : -1 ) * 100; else outInteger[outIdx++] = 0; ShadowVeryShortPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[ShadowVeryShortTrailingIdx] - inOpen[ShadowVeryShortTrailingIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[ShadowVeryShortTrailingIdx] - inLow[ShadowVeryShortTrailingIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[ShadowVeryShortTrailingIdx] - ( inClose[ShadowVeryShortTrailingIdx] >= inOpen[ShadowVeryShortTrailingIdx] ? inClose[ShadowVeryShortTrailingIdx] : inOpen[ShadowVeryShortTrailingIdx] ) ) + ( ( inClose[ShadowVeryShortTrailingIdx] >= inOpen[ShadowVeryShortTrailingIdx] ? inOpen[ShadowVeryShortTrailingIdx] : inClose[ShadowVeryShortTrailingIdx] ) - inLow[ShadowVeryShortTrailingIdx] ) : 0 ) ) ) ; BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyLongTrailingIdx] - inOpen[BodyLongTrailingIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyLongTrailingIdx] - inLow[BodyLongTrailingIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyLongTrailingIdx] - ( inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inClose[BodyLongTrailingIdx] : inOpen[BodyLongTrailingIdx] ) ) + ( ( inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inOpen[BodyLongTrailingIdx] : inClose[BodyLongTrailingIdx] ) - inLow[BodyLongTrailingIdx] ) : 0 ) ) ) ; EqualPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[EqualTrailingIdx-1] - inOpen[EqualTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[EqualTrailingIdx-1] - inLow[EqualTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[EqualTrailingIdx-1] - ( inClose[EqualTrailingIdx-1] >= inOpen[EqualTrailingIdx-1] ? inClose[EqualTrailingIdx-1] : inOpen[EqualTrailingIdx-1] ) ) + ( ( inClose[EqualTrailingIdx-1] >= inOpen[EqualTrailingIdx-1] ? inOpen[EqualTrailingIdx-1] : inClose[EqualTrailingIdx-1] ) - inLow[EqualTrailingIdx-1] ) : 0 ) ) ) ; i++; ShadowVeryShortTrailingIdx++; BodyLongTrailingIdx++; EqualTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS; }
public TA_RetCode CDLSEPARATINGLINES(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[]) { double ShadowVeryShortPeriodTotal, BodyLongPeriodTotal, EqualPeriodTotal; int i, outIdx, ShadowVeryShortTrailingIdx, BodyLongTrailingIdx, EqualTrailingIdx, lookbackTotal; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLSEPARATINGLINES_Lookback(); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } ShadowVeryShortPeriodTotal = 0; ShadowVeryShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod); BodyLongPeriodTotal = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod); EqualPeriodTotal = 0; EqualTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod); i = ShadowVeryShortTrailingIdx; while (i < startIdx) { ShadowVeryShortPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = BodyLongTrailingIdx; while (i < startIdx) { BodyLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = EqualTrailingIdx; while (i < startIdx) { EqualPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))); i++; } i = startIdx; outIdx = 0; do { if ((inClose[i - 1] >= inOpen[i - 1] ? 1 : -1) == -(inClose[i] >= inOpen[i] ? 1 : -1) && inOpen[i] <= inOpen[i - 1] + ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].avgPeriod) != 0.0 ? EqualPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && inOpen[i] >= inOpen[i - 1] - ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].avgPeriod) != 0.0 ? EqualPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (Math.abs(inClose[i] - inOpen[i])) > ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod) != 0.0 ? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (((inClose[i] >= inOpen[i] ? 1 : -1) == 1 && ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) < ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod) != 0.0 ? ShadowVeryShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))) || ((inClose[i] >= inOpen[i] ? 1 : -1) == -1 && (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) < ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod) != 0.0 ? ShadowVeryShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))))) outInteger[outIdx++] = (inClose[i] >= inOpen[i] ? 1 : -1) * 100; else outInteger[outIdx++] = 0; ShadowVeryShortPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[ShadowVeryShortTrailingIdx] - inOpen[ShadowVeryShortTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[ShadowVeryShortTrailingIdx] - inLow[ShadowVeryShortTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[ShadowVeryShortTrailingIdx] - (inClose[ShadowVeryShortTrailingIdx] >= inOpen[ShadowVeryShortTrailingIdx] ? inClose[ShadowVeryShortTrailingIdx] : inOpen[ShadowVeryShortTrailingIdx])) + ((inClose[ShadowVeryShortTrailingIdx] >= inOpen[ShadowVeryShortTrailingIdx] ? inOpen[ShadowVeryShortTrailingIdx] : inClose[ShadowVeryShortTrailingIdx]) - inLow[ShadowVeryShortTrailingIdx]) : 0))); BodyLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyLongTrailingIdx] - inOpen[BodyLongTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyLongTrailingIdx] - inLow[BodyLongTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyLongTrailingIdx] - (inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inClose[BodyLongTrailingIdx] : inOpen[BodyLongTrailingIdx])) + ((inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inOpen[BodyLongTrailingIdx] : inClose[BodyLongTrailingIdx]) - inLow[BodyLongTrailingIdx]) : 0))); EqualPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[EqualTrailingIdx - 1] - inOpen[EqualTrailingIdx - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[EqualTrailingIdx - 1] - inLow[EqualTrailingIdx - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Equal .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[EqualTrailingIdx - 1] - (inClose[EqualTrailingIdx - 1] >= inOpen[EqualTrailingIdx - 1] ? inClose[EqualTrailingIdx - 1] : inOpen[EqualTrailingIdx - 1])) + ((inClose[EqualTrailingIdx - 1] >= inOpen[EqualTrailingIdx - 1] ? inOpen[EqualTrailingIdx - 1] : inClose[EqualTrailingIdx - 1]) - inLow[EqualTrailingIdx - 1]) : 0))); i++; ShadowVeryShortTrailingIdx++; BodyLongTrailingIdx++; EqualTrailingIdx++; } while (i <= endIdx); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode.TA_SUCCESS; }
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 1090, 2778, 28054, 5997, 55, 12, 474, 27108, 16, 509, 679, 4223, 16, 1082, 202, 9056, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 24915, 58, 627, 4897, 5027, 5269, 16, 5652, 3708, 5027, 5269, 16, 9057, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 24915, 58, 627, 4897, 16808, 4223, 16, 5652, 3708, 16808, 4223, 16, 9057, 16808, 4223, 16, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 202, 202, 430, 14015, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 202, 202, 7330, 823, 5269, 273, 385, 8914, 1090, 2778, 28054, 5997, 55, 67, 9794, 823, 5621, 202, 202, 430, 261, 1937, 4223, 411, 2324, 823, 5269, 13, 1082, 202, 1937, 4223, 273, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 405, 679, 4223, 13, 288, 1082, 202, 659, 24059, 4223, 18, 1132, 273, 374, 31, 1082, 202, 659, 22816, 1046, 18, 1132, 273, 374, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 1090, 2778, 28054, 5997, 55, 12, 474, 27108, 16, 509, 679, 4223, 16, 1082, 202, 9056, 316, 3678, 63, 6487, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 24915, 58, 627, 4897, 5027, 5269, 16, 5652, 3708, 5027, 5269, 16, 9057, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 24915, 58, 627, 4897, 16808, 4223, 16, 5652, 3708, 16808, 4223, 16, 9057, 16808, 4223, 16, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 411, 2 ]
setSeriesIdentifier((Object)newValue);
setSeriesIdentifier((Object) newValue);
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.SCATTER_SERIES__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case TypePackage.SCATTER_SERIES__LABEL: setLabel((Label)newValue); return; case TypePackage.SCATTER_SERIES__DATA_DEFINITION: getDataDefinition().clear(); getDataDefinition().addAll((Collection)newValue); return; case TypePackage.SCATTER_SERIES__SERIES_IDENTIFIER: setSeriesIdentifier((Object)newValue); return; case TypePackage.SCATTER_SERIES__DATA_POINT: setDataPoint((DataPoint)newValue); return; case TypePackage.SCATTER_SERIES__DATA_SET: setDataSet((DataSet)newValue); return; case TypePackage.SCATTER_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)newValue); return; case TypePackage.SCATTER_SERIES__LABEL_POSITION: setLabelPosition((Position)newValue); return; case TypePackage.SCATTER_SERIES__STACKED: setStacked(((Boolean)newValue).booleanValue()); return; case TypePackage.SCATTER_SERIES__TRIGGERS: getTriggers().clear(); getTriggers().addAll((Collection)newValue); return; case TypePackage.SCATTER_SERIES__TRANSLUCENT: setTranslucent(((Boolean)newValue).booleanValue()); return; case TypePackage.SCATTER_SERIES__MARKER: setMarker((Marker)newValue); return; case TypePackage.SCATTER_SERIES__LINE_ATTRIBUTES: setLineAttributes((LineAttributes)newValue); return; case TypePackage.SCATTER_SERIES__CURVE: setCurve(((Boolean)newValue).booleanValue()); return; case TypePackage.SCATTER_SERIES__SHADOW_COLOR: setShadowColor((ColorDefinition)newValue); return; } eDynamicSet(eFeature, newValue); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ScatterSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/ScatterSeriesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 29588, 30, 7734, 16697, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 4303, 1852, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12443, 921, 13, 6129, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 8941, 30, 7734, 7929, 2148, 12443, 751, 2148, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 4043, 30, 7734, 7929, 694, 12443, 13676, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 7254, 67, 13847, 10591, 30, 7734, 26251, 21416, 12443, 1630, 21416, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 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, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 29588, 30, 7734, 16697, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 4303, 1852, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 2 ]
public Object fastpath(int fnid,boolean resulttype,FastpathArg[] args) throws SQLException { // added Oct 7 1998 to give us thread safety synchronized(stream) { // send the function call try { // 70 is 'F' in ASCII. Note: don't use SendChar() here as it adds padding // that confuses the backend. The 0 terminates the command line. stream.SendInteger(70,1); stream.SendInteger(0,1); stream.SendInteger(fnid,4); stream.SendInteger(args.length,4); for(int i=0;i<args.length;i++) args[i].send(stream); // This is needed, otherwise data can be lost stream.flush(); } catch(IOException ioe) { throw new PSQLException("postgresql.fp.send",new Integer(fnid),ioe); } // Now handle the result // We should get 'V' on sucess or 'E' on error. Anything else is treated // as an error. //int in = stream.ReceiveChar(); //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'"); //if(in!='V') { //if(in=='E') //throw new SQLException(stream.ReceiveString(4096)); //throw new SQLException("Fastpath: expected 'V' from backend, got "+((char)in)); //} // Now loop, reading the results Object result = null; // our result while(true) { int in = stream.ReceiveChar(); //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'"); switch(in) { case 'V': break; //------------------------------ // Function returned properly // case 'G': int sz = stream.ReceiveIntegerR(4); //DriverManager.println("G: size="+sz); //debug // Return an Integer if if(resulttype) result = new Integer(stream.ReceiveIntegerR(sz)); else { byte buf[] = new byte[sz]; stream.Receive(buf,0,sz); result = buf; } break; //------------------------------ // Error message returned case 'E': throw new PSQLException("postgresql.fp.error",stream.ReceiveString(4096)); //------------------------------ // Notice from backend case 'N': conn.addWarning(stream.ReceiveString(4096)); break; //------------------------------ // End of results // // Here we simply return res, which would contain the result // processed earlier. If no result, this already contains null case '0': //DriverManager.println("returning "+result); return result; case 'Z': break; default: throw new PSQLException("postgresql.fp.protocol",new Character((char)in)); } } } }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/b08e86d557538c16e482ad10a9bdbc474893d07e/Fastpath.java/clean/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 14469, 12, 474, 2295, 350, 16, 6494, 563, 723, 16, 12305, 803, 4117, 8526, 833, 13, 1216, 6483, 225, 288, 565, 368, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 565, 3852, 12, 3256, 13, 288, 1850, 368, 1366, 326, 445, 745, 565, 775, 288, 1377, 368, 16647, 353, 296, 42, 11, 316, 11768, 18, 3609, 30, 2727, 1404, 999, 2479, 2156, 1435, 2674, 487, 518, 4831, 4992, 1377, 368, 716, 2195, 6117, 326, 4221, 18, 1021, 374, 30559, 326, 1296, 980, 18, 1377, 1407, 18, 3826, 4522, 12, 7301, 16, 21, 1769, 1377, 1407, 18, 3826, 4522, 12, 20, 16, 21, 1769, 1377, 1407, 18, 3826, 4522, 12, 4293, 350, 16, 24, 1769, 1377, 1407, 18, 3826, 4522, 12, 1968, 18, 2469, 16, 24, 1769, 5411, 364, 12, 474, 277, 33, 20, 31, 77, 32, 1968, 18, 2469, 31, 77, 27245, 202, 1968, 63, 77, 8009, 4661, 12, 3256, 1769, 5411, 368, 1220, 353, 3577, 16, 3541, 501, 848, 506, 13557, 1377, 1407, 18, 11330, 5621, 1850, 289, 1044, 12, 14106, 10847, 13, 288, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 7944, 18, 4661, 3113, 2704, 2144, 12, 4293, 350, 3631, 1594, 73, 1769, 565, 289, 3639, 368, 4494, 1640, 326, 563, 3639, 368, 1660, 1410, 336, 296, 58, 11, 603, 1597, 614, 578, 296, 41, 11, 603, 555, 18, 5502, 4274, 469, 353, 13974, 565, 368, 487, 392, 555, 18, 565, 368, 474, 316, 273, 1407, 18, 11323, 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, 1033, 14469, 12, 474, 2295, 350, 16, 6494, 563, 723, 16, 12305, 803, 4117, 8526, 833, 13, 1216, 6483, 225, 288, 565, 368, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 565, 3852, 12, 3256, 13, 288, 1850, 368, 1366, 326, 445, 745, 565, 775, 288, 1377, 368, 16647, 353, 296, 42, 11, 316, 11768, 18, 3609, 30, 2727, 1404, 999, 2479, 2156, 1435, 2674, 487, 518, 4831, 4992, 1377, 368, 716, 2195, 6117, 326, 4221, 18, 1021, 374, 30559, 326, 1296, 980, 18, 1377, 1407, 18, 3826, 4522, 12, 7301, 16, 21, 1769, 1377, 1407, 18, 3826, 4522, 12, 20, 16, 21, 1769, 1377, 1407, 18, 3826, 4522, 12, 4293, 350, 16, 24, 1769, 2 ]
if (this.bInsetsEnabled) { this.insets = lblCurrent.getInsets(); this.icInsets.setInsets(insets, this.sUnits);
if ( this.bInsetsEnabled ) { this.insets = lblCurrent.getInsets( ); this.icInsets.setInsets( insets, this.sUnits );
public void setLabel(org.eclipse.birt.chart.model.component.Label lbl, String sUnits) { this.lblCurrent = lbl; this.sUnits = sUnits; this.fdCurrent = lblCurrent.getCaption().getFont(); this.cdFont = lblCurrent.getCaption().getColor(); this.fBackground = lblCurrent.getBackground(); this.laCurrent = lblCurrent.getOutline(); // update the UI if (this.bVisibilityEnabled) { this.cbVisible.setSelection(lblCurrent.isVisible()); setEnabled(this.cbVisible.getSelection()); } if (this.bInsetsEnabled) { this.insets = lblCurrent.getInsets(); this.icInsets.setInsets(insets, this.sUnits); } if (this.bShadowEnabled) { this.cdShadow = lblCurrent.getShadowColor(); this.fccShadow.setFill(cdShadow); } this.fdcFont.setFontDefinition(fdCurrent); this.fdcFont.setFontColor(cdFont); this.fccBackground.setFill(fBackground); this.liacOutline.setLineAttributes(laCurrent); redraw(); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/500b4482b64451f75339ee5037485c3309647704/LabelAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16558, 12, 3341, 18, 20416, 18, 70, 2714, 18, 11563, 18, 2284, 18, 4652, 18, 2224, 14284, 16, 1082, 202, 780, 272, 7537, 13, 225, 202, 95, 202, 202, 2211, 18, 31885, 3935, 273, 14284, 31, 202, 202, 2211, 18, 87, 7537, 273, 272, 7537, 31, 202, 202, 2211, 18, 8313, 3935, 273, 14284, 3935, 18, 588, 21158, 7675, 588, 5711, 5621, 202, 202, 2211, 18, 4315, 5711, 273, 14284, 3935, 18, 588, 21158, 7675, 588, 2957, 5621, 202, 202, 2211, 18, 74, 8199, 273, 14284, 3935, 18, 588, 8199, 5621, 202, 202, 2211, 18, 11821, 3935, 273, 14284, 3935, 18, 588, 21805, 5621, 202, 202, 759, 1089, 326, 6484, 202, 202, 430, 261, 2211, 18, 70, 10135, 1526, 13, 288, 1082, 202, 2211, 18, 7358, 6207, 18, 542, 6233, 12, 31885, 3935, 18, 291, 6207, 10663, 1082, 202, 542, 1526, 12, 2211, 18, 7358, 6207, 18, 588, 6233, 10663, 202, 202, 97, 202, 202, 430, 261, 2211, 18, 70, 382, 4424, 1526, 13, 288, 1082, 202, 2211, 18, 267, 4424, 273, 14284, 3935, 18, 588, 382, 4424, 5621, 1082, 202, 2211, 18, 335, 382, 4424, 18, 542, 382, 4424, 12, 267, 4424, 16, 333, 18, 87, 7537, 1769, 202, 202, 97, 9506, 202, 430, 261, 2211, 18, 70, 12957, 1526, 13, 202, 202, 95, 1082, 202, 2211, 18, 4315, 12957, 273, 14284, 3935, 18, 588, 12957, 2957, 5621, 1082, 202, 2211, 18, 74, 952, 12957, 18, 542, 8026, 12, 4315, 12957, 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, 482, 918, 16558, 12, 3341, 18, 20416, 18, 70, 2714, 18, 11563, 18, 2284, 18, 4652, 18, 2224, 14284, 16, 1082, 202, 780, 272, 7537, 13, 225, 202, 95, 202, 202, 2211, 18, 31885, 3935, 273, 14284, 31, 202, 202, 2211, 18, 87, 7537, 273, 272, 7537, 31, 202, 202, 2211, 18, 8313, 3935, 273, 14284, 3935, 18, 588, 21158, 7675, 588, 5711, 5621, 202, 202, 2211, 18, 4315, 5711, 273, 14284, 3935, 18, 588, 21158, 7675, 588, 2957, 5621, 202, 202, 2211, 18, 74, 8199, 273, 14284, 3935, 18, 588, 8199, 5621, 202, 202, 2211, 18, 11821, 3935, 273, 14284, 3935, 18, 588, 21805, 5621, 202, 202, 759, 1089, 326, 6484, 202, 202, 430, 261, 2211, 2 ]
updateOverlay(); }
updateOverlay(); }
public void ancestorResized(HierarchyEvent e) { updateOverlay(); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/aacdb294cf35c3812b8bbc3bc393f805aa85185c/OverlayHelper.java/buggy/src/org/springframework/richclient/util/OverlayHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 9731, 607, 1235, 12, 12074, 1133, 425, 13, 288, 7734, 1089, 11627, 5621, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 9731, 607, 1235, 12, 12074, 1133, 425, 13, 288, 7734, 1089, 11627, 5621, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new Column(this, "path", new StringPoemType(false, -1), DefinitionSource.dsd) {
new Column(this, "path", new StringPoemType(false, -1), DefinitionSource.dsd) {
protected void init() throws PoemException { super.init(); defineColumn(col_id = new Column(this, "id", new TroidPoemType(), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getId(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setId((Integer)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getIdField(); } protected boolean defaultUserEditable() { return false; } protected boolean defaultUserCreateable() { return false; } protected int defaultDisplayOrder() { return 0; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getId_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setId_unsafe((Integer)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getId(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setId((Integer)raw); } }); defineColumn(col_message = new Column(this, "message", new ReferencePoemType(getBoardsDatabaseTables().getMessageTable(), false), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getMessage(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setMessage((Message)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getMessageField(); } protected DisplayLevel defaultDisplayLevel() { return DisplayLevel.summary; } protected Searchability defaultSearchability() { return Searchability.yes; } protected Integer defaultDisplayOrderPriority() { return new Integer(0); } protected int defaultDisplayOrder() { return 1; } protected String defaultDescription() { return "The message this attachment belongs to"; } protected boolean defaultIndexed() { return true; } protected String defaultRenderinfo() { return "SelectionWindow"; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getMessage_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setMessage_unsafe((Integer)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getMessageTroid(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setMessageTroid((Integer)raw); } public StandardIntegrityFix defaultIntegrityFix() { return StandardIntegrityFix.delete; } }); defineColumn(col_filename = new Column(this, "filename", new StringPoemType(false, -1), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getFilename(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setFilename((String)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getFilenameField(); } protected boolean defaultUserEditable() { return false; } protected boolean defaultUserCreateable() { return false; } protected DisplayLevel defaultDisplayLevel() { return DisplayLevel.primary; } protected Searchability defaultSearchability() { return Searchability.yes; } protected Integer defaultDisplayOrderPriority() { return new Integer(1); } protected int defaultDisplayOrder() { return 2; } protected String defaultDescription() { return "The filename of this attachment"; } protected int defaultWidth() { return 40; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getFilename_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setFilename_unsafe((String)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getFilename(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setFilename((String)raw); } }); defineColumn(col_path = new Column(this, "path", new StringPoemType(false, -1), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getPath(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setPath((String)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getPathField(); } protected boolean defaultUserCreateable() { return false; } protected DisplayLevel defaultDisplayLevel() { return DisplayLevel.record; } protected Searchability defaultSearchability() { return Searchability.yes; } protected int defaultDisplayOrder() { return 3; } protected String defaultDescription() { return "The path to this attachment"; } protected int defaultWidth() { return 40; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getPath_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setPath_unsafe((String)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getPath(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setPath((String)raw); } }); defineColumn(col_url = new Column(this, "url", new StringPoemType(false, -1), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getUrl(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setUrl((String)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getUrlField(); } protected boolean defaultUserCreateable() { return false; } protected DisplayLevel defaultDisplayLevel() { return DisplayLevel.record; } protected Searchability defaultSearchability() { return Searchability.yes; } protected int defaultDisplayOrder() { return 4; } protected String defaultDescription() { return "A url to this attachment"; } protected int defaultWidth() { return 40; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getUrl_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setUrl_unsafe((String)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getUrl(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setUrl((String)raw); } }); defineColumn(col_size = new Column(this, "size", new IntegerPoemType(false), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getSize(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setSize((Integer)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getSizeField(); } protected boolean defaultUserEditable() { return false; } protected boolean defaultUserCreateable() { return false; } protected DisplayLevel defaultDisplayLevel() { return DisplayLevel.summary; } protected Searchability defaultSearchability() { return Searchability.no; } protected int defaultDisplayOrder() { return 5; } protected String defaultDescription() { return "The size of the file in bytes"; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getSize_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setSize_unsafe((Integer)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getSize(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setSize((Integer)raw); } }); defineColumn(col_type = new Column(this, "type", new ReferencePoemType(getBoardsDatabaseTables().getAttachmentTypeTable(), false), DefinitionSource.dsd) { public Object getCooked(Persistent g) throws AccessPoemException, PoemException { return ((Attachment)g).getType(); } public void setCooked(Persistent g, Object cooked) throws AccessPoemException, ValidationPoemException { ((Attachment)g).setType((AttachmentType)cooked); } public Field asField(Persistent g) { return ((Attachment)g).getTypeField(); } protected DisplayLevel defaultDisplayLevel() { return DisplayLevel.summary; } protected Searchability defaultSearchability() { return Searchability.yes; } protected int defaultDisplayOrder() { return 6; } protected String defaultDescription() { return "The type of this attachment"; } public Object getRaw_unsafe(Persistent g) throws AccessPoemException { return ((Attachment)g).getType_unsafe(); } public void setRaw_unsafe(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setType_unsafe((Integer)raw); } public Object getRaw(Persistent g) throws AccessPoemException { return ((Attachment)g).getTypeTroid(); } public void setRaw(Persistent g, Object raw) throws AccessPoemException { ((Attachment)g).setTypeTroid((Integer)raw); } }); }
7000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7000/be0d94392753a7ff5da9e72f3de81ca9709c0ce6/AttachmentTableBase.java/buggy/MelatiBoards/src/main/java/org/paneris/melati/boards/model/generated/AttachmentTableBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 1435, 1216, 453, 83, 351, 503, 288, 565, 2240, 18, 2738, 5621, 565, 4426, 1494, 12, 1293, 67, 350, 273, 3639, 394, 4753, 12, 2211, 16, 315, 350, 3113, 394, 399, 5560, 29198, 351, 559, 9334, 10849, 1830, 18, 2377, 72, 13, 288, 6647, 1071, 1033, 1927, 1184, 329, 12, 11906, 314, 13, 2868, 1216, 5016, 29198, 351, 503, 16, 453, 83, 351, 503, 288, 5411, 327, 14015, 6803, 13, 75, 2934, 26321, 5621, 1850, 289, 1850, 1071, 918, 11440, 1184, 329, 12, 11906, 314, 16, 1033, 15860, 329, 13, 2868, 1216, 5016, 29198, 351, 503, 16, 5684, 29198, 351, 503, 288, 5411, 14015, 6803, 13, 75, 2934, 542, 548, 12443, 4522, 13, 29854, 329, 1769, 1850, 289, 1850, 1071, 2286, 487, 974, 12, 11906, 314, 13, 288, 5411, 327, 14015, 6803, 13, 75, 2934, 26321, 974, 5621, 1850, 289, 1850, 4750, 1250, 805, 1299, 15470, 1435, 288, 5411, 327, 629, 31, 1850, 289, 1850, 4750, 1250, 805, 1299, 1684, 429, 1435, 288, 5411, 327, 629, 31, 1850, 289, 1850, 4750, 509, 805, 4236, 2448, 1435, 288, 5411, 327, 374, 31, 1850, 289, 1850, 1071, 1033, 10547, 67, 318, 4626, 12, 11906, 314, 13, 2868, 1216, 5016, 29198, 351, 503, 288, 5411, 327, 14015, 6803, 13, 75, 2934, 26321, 67, 318, 4626, 5621, 1850, 289, 1850, 1071, 918, 28141, 67, 318, 4626, 12, 11906, 314, 16, 1033, 1831, 13, 2868, 1216, 5016, 29198, 351, 503, 288, 5411, 14015, 6803, 13, 75, 2934, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 1435, 1216, 453, 83, 351, 503, 288, 565, 2240, 18, 2738, 5621, 565, 4426, 1494, 12, 1293, 67, 350, 273, 3639, 394, 4753, 12, 2211, 16, 315, 350, 3113, 394, 399, 5560, 29198, 351, 559, 9334, 10849, 1830, 18, 2377, 72, 13, 288, 6647, 1071, 1033, 1927, 1184, 329, 12, 11906, 314, 13, 2868, 1216, 5016, 29198, 351, 503, 16, 453, 83, 351, 503, 288, 5411, 327, 14015, 6803, 13, 75, 2934, 26321, 5621, 1850, 289, 1850, 1071, 918, 11440, 1184, 329, 12, 11906, 314, 16, 1033, 15860, 329, 13, 2868, 1216, 5016, 29198, 351, 503, 16, 5684, 29198, 351, 503, 288, 5411, 14015, 6803, 13, 75, 2934, 542, 548, 12443, 4522, 13, 29854, 329, 2 ]
protected void update() { // Update the title bar updateTitle(); // Update the message line updateMessage(); // Update the buttons updateButtons(); //Saved the selected node in the preferences setSelectedNode(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/be95edd129a1deef61176d5d63fd605f9dfe18a5/PreferenceDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6459, 2725, 1435, 95, 202, 202, 759, 1211, 3404, 546, 278, 1280, 3215, 202, 202, 2725, 4247, 5621, 202, 202, 759, 1211, 3404, 546, 351, 403, 346, 3027, 202, 202, 2725, 1079, 5621, 202, 202, 759, 1211, 3404, 546, 73, 16016, 202, 202, 2725, 14388, 5621, 202, 202, 759, 16776, 7915, 292, 828, 2159, 267, 451, 881, 14353, 202, 202, 542, 7416, 907, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6459, 2725, 1435, 95, 202, 202, 759, 1211, 3404, 546, 278, 1280, 3215, 202, 202, 2725, 4247, 5621, 202, 202, 759, 1211, 3404, 546, 351, 403, 346, 3027, 202, 202, 2725, 1079, 5621, 202, 202, 759, 1211, 3404, 546, 73, 16016, 202, 202, 2725, 14388, 5621, 202, 202, 759, 16776, 7915, 292, 828, 2159, 267, 451, 881, 14353, 202, 202, 542, 7416, 907, 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 ]
public void begin(String s, String s1, Attributes attributes) throws Exception { String clazz = attributes.getValue("factory"); String name = attributes.getValue("name"); Object props = digester.peek(); Object obj = ClassHelper.instanciateClass(clazz, ClassHelper.NO_ARGS); if(obj instanceof PropertyFactory) { if(props instanceof Map) { obj= ((PropertyFactory)obj).create((Map)props); } else { obj= ((PropertyFactory)obj).create((Map)digester.peek(1)); } } if(obj !=null) { if(props instanceof Map) { ((Map)props).put(name, obj); }else { ((List)props).add(obj); } }
public void begin(String endpointName, String endpointName1, Attributes attributes) throws Exception { attributes = processAttributes(attributes, endpointName1); super.begin(endpointName, endpointName1, attributes);
public void begin(String s, String s1, Attributes attributes) throws Exception { String clazz = attributes.getValue("factory"); String name = attributes.getValue("name"); Object props = digester.peek(); Object obj = ClassHelper.instanciateClass(clazz, ClassHelper.NO_ARGS); if(obj instanceof PropertyFactory) { if(props instanceof Map) { obj= ((PropertyFactory)obj).create((Map)props); } else { //this must be a list so we'll get the containing properties map obj= ((PropertyFactory)obj).create((Map)digester.peek(1)); } } if(obj !=null) { if(props instanceof Map) { ((Map)props).put(name, obj); }else { ((List)props).add(obj); } } }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/e6c563fdf5977cb0d0ad0992707bd20b07b23e1a/MuleXmlConfigurationBuilder.java/clean/mule/src/java/org/mule/config/builders/MuleXmlConfigurationBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 2376, 12, 780, 272, 16, 514, 272, 21, 16, 9055, 1677, 13, 1216, 1185, 5411, 288, 7734, 514, 4003, 273, 1677, 18, 24805, 2932, 6848, 8863, 7734, 514, 508, 273, 1677, 18, 24805, 2932, 529, 8863, 7734, 1033, 3458, 273, 23821, 18, 347, 3839, 5621, 7734, 1033, 1081, 273, 1659, 2276, 18, 267, 27866, 3840, 797, 12, 830, 3638, 16, 1659, 2276, 18, 3417, 67, 22439, 1769, 7734, 309, 12, 2603, 1276, 4276, 1733, 13, 288, 10792, 309, 12, 9693, 1276, 1635, 13, 288, 13491, 1081, 33, 14015, 1396, 1733, 13, 2603, 2934, 2640, 12443, 863, 13, 9693, 1769, 10792, 289, 469, 288, 13491, 368, 2211, 1297, 506, 279, 666, 1427, 732, 5614, 336, 326, 4191, 1790, 852, 13491, 1081, 33, 14015, 1396, 1733, 13, 2603, 2934, 2640, 12443, 863, 13, 5606, 7654, 18, 347, 3839, 12, 21, 10019, 10792, 289, 7734, 289, 7734, 309, 12, 2603, 480, 2011, 13, 288, 10792, 309, 12, 9693, 1276, 1635, 13, 288, 13491, 14015, 863, 13, 9693, 2934, 458, 12, 529, 16, 1081, 1769, 10792, 289, 12107, 288, 13491, 14015, 682, 13, 9693, 2934, 1289, 12, 2603, 1769, 10792, 289, 7734, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 2376, 12, 780, 272, 16, 514, 272, 21, 16, 9055, 1677, 13, 1216, 1185, 5411, 288, 7734, 514, 4003, 273, 1677, 18, 24805, 2932, 6848, 8863, 7734, 514, 508, 273, 1677, 18, 24805, 2932, 529, 8863, 7734, 1033, 3458, 273, 23821, 18, 347, 3839, 5621, 7734, 1033, 1081, 273, 1659, 2276, 18, 267, 27866, 3840, 797, 12, 830, 3638, 16, 1659, 2276, 18, 3417, 67, 22439, 1769, 7734, 309, 12, 2603, 1276, 4276, 1733, 13, 288, 10792, 309, 12, 9693, 1276, 1635, 13, 288, 13491, 1081, 33, 14015, 1396, 1733, 13, 2603, 2934, 2640, 12443, 863, 13, 9693, 1769, 10792, 289, 469, 288, 13491, 368, 2211, 1297, 506, 279, 666, 1427, 732, 5614, 336, 326, 4191, 2 ]
assertEquals("untitledModel", p.getModel().getName());
assertEquals("untitledModel", ModelFacade.getName(p.getModel()));
public void testMakeUntitledProject() { Project p = ProjectManager.getManager().getCurrentProject(); assertEquals(2, p.getDiagrams().size()); assertEquals("untitledModel", p.getModel().getName()); // maybe next test is going to change in future assertEquals(p.getRoot(), p.getModel()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/358ce7298a4615d1da688b21e7be61f8baab75c6/TestProject.java/buggy/tests/org/argouml/kernel/TestProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6464, 57, 496, 305, 1259, 4109, 1435, 288, 3639, 5420, 293, 273, 5420, 1318, 18, 588, 1318, 7675, 588, 3935, 4109, 5621, 3639, 1815, 8867, 12, 22, 16, 293, 18, 588, 14058, 31454, 7675, 1467, 10663, 3639, 1815, 8867, 2932, 10032, 305, 1259, 1488, 3113, 3164, 12467, 18, 17994, 12, 84, 18, 588, 1488, 1435, 10019, 3639, 368, 6944, 1024, 1842, 353, 8554, 358, 2549, 316, 3563, 3639, 1815, 8867, 12, 84, 18, 588, 2375, 9334, 293, 18, 588, 1488, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 6464, 57, 496, 305, 1259, 4109, 1435, 288, 3639, 5420, 293, 273, 5420, 1318, 18, 588, 1318, 7675, 588, 3935, 4109, 5621, 3639, 1815, 8867, 12, 22, 16, 293, 18, 588, 14058, 31454, 7675, 1467, 10663, 3639, 1815, 8867, 2932, 10032, 305, 1259, 1488, 3113, 3164, 12467, 18, 17994, 12, 84, 18, 588, 1488, 1435, 10019, 3639, 368, 6944, 1024, 1842, 353, 8554, 358, 2549, 316, 3563, 3639, 1815, 8867, 12, 84, 18, 588, 2375, 9334, 293, 18, 588, 1488, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (impl == null) throw new SocketException ("Cannot initialize Socket implementation");
if (isClosed()) throw new SocketException("socket is closed");
public void setBroadcast(boolean on) throws SocketException { if (impl == null) throw new SocketException ("Cannot initialize Socket implementation"); impl.setOption (SocketOptions.SO_BROADCAST, new Boolean (on)); }
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/dcbb69e84e9c71073608efebeefaa86de4bd97d3/DatagramSocket.java/clean/libjava/java/net/DatagramSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 15268, 6608, 12, 6494, 603, 13, 1216, 8758, 503, 225, 288, 565, 309, 261, 11299, 422, 446, 13, 1377, 604, 394, 8758, 503, 7566, 4515, 4046, 8758, 4471, 8863, 565, 9380, 18, 542, 1895, 261, 4534, 1320, 18, 3584, 67, 38, 1457, 1880, 21871, 16, 394, 3411, 261, 265, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 15268, 6608, 12, 6494, 603, 13, 1216, 8758, 503, 225, 288, 565, 309, 261, 11299, 422, 446, 13, 1377, 604, 394, 8758, 503, 7566, 4515, 4046, 8758, 4471, 8863, 565, 9380, 18, 542, 1895, 261, 4534, 1320, 18, 3584, 67, 38, 1457, 1880, 21871, 16, 394, 3411, 261, 265, 10019, 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 ]
return getEditors(filename, null);
return getEditors(filename, guessAtContentType(filename));
public IEditorDescriptor[] getEditors(String filename) { return getEditors(filename, null); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9446aec9fe865538e26f6b6e3fefadb76cfbbace/EditorRegistry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 6946, 3187, 8526, 21221, 1383, 12, 780, 1544, 13, 288, 202, 202, 2463, 21221, 1383, 12, 3459, 16, 446, 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, 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, 1071, 467, 6946, 3187, 8526, 21221, 1383, 12, 780, 1544, 13, 288, 202, 202, 2463, 21221, 1383, 12, 3459, 16, 446, 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, -100, -100, -100, -100, -100, -100, -100 ]
public boolean makeReplacement(SIRStream self) { LinearPrinter.println(" processing " + self.getIdent()); // make sure we can replace this. if (!canReplace(self, this.linearityInformation)) { return false; } LinearFilterRepresentation linearRep = this.linearityInformation.getLinearRepresentation(self); /** set the target FFT size appropriately if it hasn't already been set */ /* now is when we get to the fun part, we have a linear representation * that computes an FIR (ef pop 1, push 1, peek x) and we want to replace it with an FFT. * Note that N is the block size of the input that we are looking at. */ int x = linearRep.getPeekCount(); int N = calculateN(x); int filterSize = N+2*(x-1); // this is the size of the overall filter LinearPrinter.println(" creating frequency filter.\n" + " N+(x-1)=" + (N+x-1) + " (outputs per steady state)\n" + " x=" + x + " (peek, original filter size)\n" + " filterSize=" + filterSize + " (FFT size)"); /////////////// Create the new fields for this filter. int numWeightFields = linearRep.getPushCount(); // Eg the number of columns in the matrix JFieldDeclaration[] newFields = self.getFields(); /* make the fields to hold the transform of the weights. Note that the weights are stored in "half complex array" format which is the output format generated by FFTW. The first weight field corresponds to the weight field of the right most column, the next weight field corresponds to the weight field of the next right most column, etc. */ JVariableDefinition[] weightFields = new JVariableDefinition[numWeightFields]; for (int i=0; i<numWeightFields; i++) { weightFields[i] = makeWeightField(FILTER_WEIGHTS_PREFIX + "_" + i); newFields = appendFieldDeclaration(newFields, weightFields[i]); } /* make the fields to hold the partial results between executions. These fields are also stored in half complex array format, and each corresponds to the same column as does the weight fields. */ JVariableDefinition[] partialFields = new JVariableDefinition[numWeightFields]; for (int i=0; i<numWeightFields; i++) { partialFields[i] = makeWeightField(PARTIAL_BUFFER_PREFIX + "_" + i); newFields = appendFieldDeclaration(newFields, partialFields[i]); } /* make the input and temp buffer fields. */ JVariableDefinition inputBufferField = makeWeightField(INPUT_BUFFER_NAME); newFields = appendFieldDeclaration(newFields, inputBufferField); JVariableDefinition tempBufferField = makeWeightField(TEMP_BUFFER_NAME); newFields = appendFieldDeclaration(newFields, tempBufferField); /** make enough output buffers to hold the appropriate outputs. **/ JVariableDefinition outputBufferFields[] = new JVariableDefinition[numWeightFields]; for (int i=0; i<numWeightFields; i++) { outputBufferFields[i] = makeWeightField(OUTPUT_BUFFER_NAME + "_" + i); newFields = appendFieldDeclaration(newFields, outputBufferFields[i]); } /* make a new init function */ JMethodDeclaration freqInit = makeNewInit(linearRep, weightFields, partialFields, inputBufferField, tempBufferField, outputBufferFields, filterSize, x); /* make the init work function */ JMethodDeclaration freqInitWork = makeNewWork(INITWORK, weightFields, partialFields, inputBufferField, tempBufferField, outputBufferFields, filterSize, x, N); /* make a new work function */ JMethodDeclaration freqWork = makeNewWork(WORK, weightFields, partialFields, inputBufferField, tempBufferField, outputBufferFields, filterSize, x, N); LinearPrinter.println(" done building new IR nodes for " + self.getIdent()); LinearPrinter.println(" creating new two stage filter..."); // Create a new filter that contains all of the new pieces that we have built SIRStream replacement; /* Note, we need to have initPeek-initPop == peek-Pop for some scheduling reason * so therefore, we set the peek rate of the work function to be N+2(x-1) even though * it really only needs to be N+x-1.*/ replacement = new SIRTwoStageFilter(self.getParent(), /* parent */ "TwoStageFreq"+self.getIdent(),/* ident */ newFields, /* fields */ new JMethodDeclaration[0], /* methods Note: -- init, work, and initWork are special. */ new JIntLiteral(N+x-1), /* peek (w/ extra x-1 window...)*/ new JIntLiteral(N+x-1), /* pop */ new JIntLiteral((N+x-1)*numWeightFields), /* push (note that the push count needs to be scaled by the number of outputs (because each FIR filter outputs N+x-1 */ freqWork, /* work */ N+x-1, /* initPeek */ N+x-1, /* initPop */ N*numWeightFields, /* initPush */ freqInitWork, /* initWork */ self.getInputType(), /* input type */ self.getOutputType()); /* output type */ // need to explicitly set the init function replacement.setInit(freqInit); // if we have a pop rate greater than one, then put a decimator next to <replacement> if (linearRep.getPopCount()>1) { SIRPipeline wrapper = new SIRPipeline(self.getParent(), replacement.getIdent()+"_dec_wrap"); wrapper.setInit(SIRStream.makeEmptyInit()); wrapper.add(replacement); wrapper.add(makeDecimatorForFrequencyNode(linearRep.getPushCount(), linearRep.getPopCount(), replacement.getOutputType())); // now remember this new wrapper as our replacement instead of the original replacement = wrapper; } // do unrolling on the new filter. (Unrolling is part of // filter loweing; will get field propagation and stuff node // optimization, etc., as added bonus.) Flattener.lowerFilterContents(replacement, false); // now replace the current filter (self) with the frequency version self.getParent().replace(self, replacement); LinearPrinter.println(" done replacing."); // return true since we replaced something return true; }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/877fef474326a4f1a5797a00dc4f5d78672122fc/LEETFrequencyReplacer.java/clean/streams/src/at/dms/kjc/sir/linear/frequency/LEETFrequencyReplacer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1221, 15201, 12, 2320, 54, 1228, 365, 13, 288, 202, 15982, 12149, 18, 8222, 2932, 4929, 315, 397, 365, 18, 588, 6106, 10663, 202, 759, 1221, 3071, 732, 848, 1453, 333, 18, 202, 430, 16051, 4169, 5729, 12, 2890, 16, 333, 18, 12379, 560, 5369, 3719, 288, 202, 565, 327, 629, 31, 202, 97, 202, 15982, 1586, 13742, 9103, 18933, 273, 333, 18, 12379, 560, 5369, 18, 588, 15982, 13742, 12, 2890, 1769, 202, 26873, 444, 326, 1018, 16816, 963, 21419, 309, 518, 13342, 1404, 1818, 2118, 444, 1195, 202, 20308, 2037, 353, 1347, 732, 336, 358, 326, 9831, 1087, 16, 732, 1240, 279, 9103, 4335, 202, 380, 716, 15881, 392, 4011, 54, 261, 10241, 1843, 404, 16, 1817, 404, 16, 8032, 619, 13, 471, 732, 2545, 358, 1453, 518, 598, 392, 16816, 18, 202, 380, 3609, 716, 423, 353, 326, 1203, 963, 434, 326, 810, 716, 732, 854, 7849, 622, 18, 1195, 202, 474, 619, 273, 9103, 18933, 18, 588, 30950, 1380, 5621, 202, 474, 423, 273, 4604, 50, 12, 92, 1769, 202, 474, 1034, 1225, 273, 423, 15, 22, 21556, 92, 17, 21, 1769, 368, 333, 353, 326, 963, 434, 326, 13914, 1034, 202, 15982, 12149, 18, 8222, 2932, 225, 4979, 8670, 1034, 8403, 82, 6, 397, 9506, 1377, 315, 282, 423, 15, 12, 92, 17, 21, 13, 1546, 397, 261, 50, 15, 92, 17, 21, 13, 397, 315, 261, 12295, 1534, 384, 684, 93, 919, 5153, 82, 6, 397, 4697, 1377, 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, 1250, 1221, 15201, 12, 2320, 54, 1228, 365, 13, 288, 202, 15982, 12149, 18, 8222, 2932, 4929, 315, 397, 365, 18, 588, 6106, 10663, 202, 759, 1221, 3071, 732, 848, 1453, 333, 18, 202, 430, 16051, 4169, 5729, 12, 2890, 16, 333, 18, 12379, 560, 5369, 3719, 288, 202, 565, 327, 629, 31, 202, 97, 202, 15982, 1586, 13742, 9103, 18933, 273, 333, 18, 12379, 560, 5369, 18, 588, 15982, 13742, 12, 2890, 1769, 202, 26873, 444, 326, 1018, 16816, 963, 21419, 309, 518, 13342, 1404, 1818, 2118, 444, 1195, 202, 20308, 2037, 353, 1347, 732, 336, 358, 326, 9831, 1087, 16, 732, 1240, 279, 9103, 4335, 202, 380, 716, 15881, 392, 4011, 54, 261, 10241, 1843, 2 ]
g.drawString(str,
Graphics g2 = g.create(); g2.setClip(insets.left,insets.top, (int)(width * fraction), MemoryStatus.this.getHeight() - insets.top - insets.bottom); g2.setColor(UIManager.getColor("ProgressBar.selectionForeground")); g2.drawString(str,
public void paintComponent(Graphics g) { Insets insets = MemoryStatus.this.getBorder().getBorderInsets(this); Runtime runtime = Runtime.getRuntime(); int freeMemory = (int)(runtime.freeMemory() / 1024 / 1024); int totalMemory = (int)(runtime.totalMemory() / 1024 / 1024); int usedMemory = (totalMemory - freeMemory); int width = MemoryStatus.this.getWidth() - insets.left - insets.right; float fraction = ((float)usedMemory) / totalMemory; g.fillRect(insets.left,insets.top, (int)(width * fraction), MemoryStatus.this.getHeight() - insets.top - insets.bottom); g.setXORMode(MemoryStatus.this.getBackground()); String str = "" + usedMemory + "Mb/" + totalMemory + "Mb"; FontMetrics fm = g.getFontMetrics(); g.drawString(str, insets.left + (width - fm.stringWidth(str)) / 2, insets.top + fm.getAscent()); g.setPaintMode(); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/8bffcf0a00134598a94eb7a41f6f2088f28f6c84/StatusBar.java/buggy/org/gjt/sp/jedit/gui/StatusBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 12574, 1841, 12, 17558, 314, 13, 202, 202, 95, 1082, 202, 382, 4424, 23576, 273, 9251, 1482, 18, 2211, 18, 588, 8107, 7675, 588, 8107, 382, 4424, 12, 2211, 1769, 1082, 202, 5576, 3099, 273, 2509, 18, 588, 5576, 5621, 1082, 202, 474, 4843, 6031, 273, 261, 474, 21433, 9448, 18, 9156, 6031, 1435, 342, 6250, 342, 6250, 1769, 1082, 202, 474, 2078, 6031, 273, 261, 474, 21433, 9448, 18, 4963, 6031, 1435, 342, 6250, 342, 6250, 1769, 1082, 202, 474, 1399, 6031, 273, 261, 4963, 6031, 300, 4843, 6031, 1769, 1082, 202, 474, 1835, 273, 9251, 1482, 18, 2211, 18, 588, 2384, 1435, 9506, 202, 17, 23576, 18, 4482, 300, 23576, 18, 4083, 31, 1082, 202, 5659, 8330, 273, 14015, 5659, 13, 3668, 6031, 13, 342, 2078, 6031, 31, 1082, 202, 75, 18, 5935, 6120, 12, 267, 4424, 18, 4482, 16, 267, 4424, 18, 3669, 16, 9506, 202, 12, 474, 21433, 2819, 380, 8330, 3631, 9506, 202, 6031, 1482, 18, 2211, 18, 588, 2686, 1435, 9506, 202, 17, 23576, 18, 3669, 300, 23576, 18, 9176, 1769, 1082, 202, 75, 18, 542, 60, 916, 2309, 12, 6031, 1482, 18, 2211, 18, 588, 8199, 10663, 1082, 202, 780, 609, 273, 1408, 397, 1399, 6031, 397, 315, 49, 70, 4898, 9506, 202, 15, 2078, 6031, 397, 315, 49, 70, 14432, 1082, 202, 5711, 5653, 10940, 273, 314, 18, 588, 5711, 5653, 5621, 1082, 202, 75, 18, 9446, 780, 12, 701, 16, 9506, 202, 267, 4424, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 12574, 1841, 12, 17558, 314, 13, 202, 202, 95, 1082, 202, 382, 4424, 23576, 273, 9251, 1482, 18, 2211, 18, 588, 8107, 7675, 588, 8107, 382, 4424, 12, 2211, 1769, 1082, 202, 5576, 3099, 273, 2509, 18, 588, 5576, 5621, 1082, 202, 474, 4843, 6031, 273, 261, 474, 21433, 9448, 18, 9156, 6031, 1435, 342, 6250, 342, 6250, 1769, 1082, 202, 474, 2078, 6031, 273, 261, 474, 21433, 9448, 18, 4963, 6031, 1435, 342, 6250, 342, 6250, 1769, 1082, 202, 474, 1399, 6031, 273, 261, 4963, 6031, 300, 4843, 6031, 1769, 1082, 202, 474, 1835, 273, 9251, 1482, 18, 2211, 18, 588, 2384, 1435, 9506, 202, 17, 23576, 18, 4482, 300, 23576, 18, 4083, 31, 2 ]
public IContributionItem getContributionItem() { return new ContributionItem(getId()) { public void fill(Menu parent, int index) { MenuItem newItem = new MenuItem(parent, getStyle(), index); newItem.setText(getLabel()); if (getIconPath() != null) newItem.setImage(getIcon()); newItem.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // Execute through the command service } public void widgetSelected(SelectionEvent e) { // Execute through the command service } }); } public void fill(ToolBar parent, int index) { ToolItem newItem = new ToolItem(parent, getStyle(), index); if (getIconPath() != null) newItem.setImage(getIcon()); else if (getLabel() != null) newItem.setText(getLabel()); if (getTooltip() != null) newItem.setToolTipText(getTooltip()); else newItem.setToolTipText(getLabel()); newItem.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // Execute through the command service } public void widgetSelected(SelectionEvent e) { // Execute through the command service } }); } }; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e96b2e2e909de0c0a5deecfcd9761c7fcaa85560/ItemAddition.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/ItemAddition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 442, 4027, 1180, 336, 442, 4027, 1180, 1435, 288, 202, 202, 2463, 394, 735, 4027, 1180, 12, 26321, 10756, 288, 1082, 202, 482, 918, 3636, 12, 4599, 982, 16, 509, 770, 13, 288, 9506, 202, 12958, 26536, 273, 394, 25085, 12, 2938, 16, 14210, 9334, 770, 1769, 9506, 202, 2704, 1180, 18, 542, 1528, 12, 588, 2224, 10663, 6862, 9506, 202, 430, 261, 588, 5554, 743, 1435, 480, 446, 13, 6862, 202, 2704, 1180, 18, 542, 2040, 12, 588, 5554, 10663, 6862, 9506, 202, 2704, 1180, 18, 1289, 6233, 2223, 12, 2704, 12977, 2223, 1435, 288, 6862, 202, 482, 918, 3604, 1868, 7416, 12, 6233, 1133, 425, 13, 288, 25083, 202, 759, 7903, 3059, 326, 1296, 1156, 6862, 202, 97, 6862, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 25083, 202, 759, 7903, 3059, 326, 1296, 1156, 6862, 202, 97, 9506, 202, 22938, 1082, 202, 97, 1082, 202, 482, 918, 3636, 12, 6364, 5190, 982, 16, 509, 770, 13, 288, 9506, 202, 6364, 1180, 26536, 273, 394, 13288, 1180, 12, 2938, 16, 14210, 9334, 770, 1769, 6862, 9506, 202, 430, 261, 588, 5554, 743, 1435, 480, 446, 13, 6862, 202, 2704, 1180, 18, 542, 2040, 12, 588, 5554, 10663, 9506, 202, 12107, 309, 261, 588, 2224, 1435, 480, 446, 13, 6862, 202, 2704, 1180, 18, 542, 1528, 12, 588, 2224, 10663, 9506, 202, 430, 261, 588, 22444, 1435, 480, 446, 13, 6862, 202, 2704, 1180, 18, 542, 29250, 1528, 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, 225, 202, 482, 467, 442, 4027, 1180, 336, 442, 4027, 1180, 1435, 288, 202, 202, 2463, 394, 735, 4027, 1180, 12, 26321, 10756, 288, 1082, 202, 482, 918, 3636, 12, 4599, 982, 16, 509, 770, 13, 288, 9506, 202, 12958, 26536, 273, 394, 25085, 12, 2938, 16, 14210, 9334, 770, 1769, 9506, 202, 2704, 1180, 18, 542, 1528, 12, 588, 2224, 10663, 6862, 9506, 202, 430, 261, 588, 5554, 743, 1435, 480, 446, 13, 6862, 202, 2704, 1180, 18, 542, 2040, 12, 588, 5554, 10663, 6862, 9506, 202, 2704, 1180, 18, 1289, 6233, 2223, 12, 2704, 12977, 2223, 1435, 288, 6862, 202, 482, 918, 3604, 1868, 7416, 12, 6233, 1133, 425, 13, 288, 25083, 202, 759, 7903, 3059, 326, 2 ]
TaskList taskList = TasksUiPlugin.getTaskListManager().getTaskList(); Set<AbstractRepositoryTask> repositoryTasks = Collections.unmodifiableSet(taskList .getRepositoryTasks(repository.getUrl())); final Set<AbstractRepositoryTask> tasksToSync = new HashSet<AbstractRepositoryTask>(); Set<AbstractRepositoryTask> changedTasks = null; int attempts = 0;
public final void synchronizeChanged(final AbstractRepositoryConnector connector, final TaskRepository repository) { TaskList taskList = TasksUiPlugin.getTaskListManager().getTaskList(); Set<AbstractRepositoryTask> repositoryTasks = Collections.unmodifiableSet(taskList .getRepositoryTasks(repository.getUrl())); final Set<AbstractRepositoryTask> tasksToSync = new HashSet<AbstractRepositoryTask>(); Set<AbstractRepositoryTask> changedTasks = null; int attempts = 0; if (connector.getOfflineTaskHandler() != null) { while (attempts < MAX_QUERY_ATTEMPTS && changedTasks == null) { attempts++; try { changedTasks = connector.getOfflineTaskHandler().getChangedSinceLastSync(repository, repositoryTasks, TasksUiPlugin.getDefault().getProxySettings()); } catch (Exception e) { if (attempts == MAX_QUERY_ATTEMPTS) { if ((e instanceof CoreException && !(((CoreException) e).getStatus().getException() instanceof IOException))) { MylarStatusHandler.log(e, "Could not determine modified tasks for " + repository.getUrl() + "."); } else if (e instanceof UnsupportedEncodingException) { MylarStatusHandler.log(e, "Could not determine modified tasks for " + repository.getUrl() + "."); } else { // ignore, indicates working offline } return; } try { Thread.sleep(RETRY_DELAY); } catch (InterruptedException e1) { return; } } } } if (changedTasks != null) { for (AbstractRepositoryTask task : changedTasks) { if (task.getSyncState() == RepositoryTaskSyncState.SYNCHRONIZED || task.getSyncState() == RepositoryTaskSyncState.INCOMING) { tasksToSync.add(task); } } } if (tasksToSync.size() == 0) { return; } synchronize(connector, tasksToSync, false, new JobChangeAdapter() { @Override public void done(IJobChangeEvent event) { if (!Platform.isRunning() || TasksUiPlugin.getRepositoryManager() == null) { return; } Date mostRecent = new Date(0); String mostRecentTimeStamp = repository.getSyncTimeStamp(); for (AbstractRepositoryTask task : tasksToSync) { Date taskModifiedDate; if (connector.getOfflineTaskHandler() != null && task.getTaskData() != null && task.getTaskData().getLastModified() != null) { taskModifiedDate = connector.getOfflineTaskHandler().getDateForAttributeType( RepositoryTaskAttribute.DATE_MODIFIED, task.getTaskData().getLastModified()); } else { continue; } if (taskModifiedDate != null && taskModifiedDate.after(mostRecent)) { mostRecent = taskModifiedDate; mostRecentTimeStamp = task.getTaskData().getLastModified(); } } // TODO: Get actual time stamp of query from repository rather // than above hack TasksUiPlugin.getRepositoryManager().setSyncTime(repository, mostRecentTimeStamp, TasksUiPlugin.getDefault().getRepositoriesFilePath()); } }); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/be7c58b2e3986b238dfeb0e785ab469ae3f4a9d4/RepositorySynchronizationManager.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/RepositorySynchronizationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 16978, 5033, 12, 6385, 4115, 3305, 7487, 8703, 16, 727, 3837, 3305, 3352, 13, 288, 202, 202, 2174, 682, 1562, 682, 273, 20350, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 5621, 202, 202, 694, 32, 7469, 3305, 2174, 34, 3352, 6685, 273, 5737, 18, 318, 13388, 694, 12, 4146, 682, 9506, 202, 18, 588, 3305, 6685, 12, 9071, 18, 588, 1489, 1435, 10019, 202, 202, 6385, 1000, 32, 7469, 3305, 2174, 34, 4592, 774, 4047, 273, 394, 6847, 32, 7469, 3305, 2174, 34, 5621, 202, 202, 694, 32, 7469, 3305, 2174, 34, 3550, 6685, 273, 446, 31, 202, 202, 474, 7531, 273, 374, 31, 202, 202, 430, 261, 23159, 18, 588, 23106, 2174, 1503, 1435, 480, 446, 13, 288, 1082, 202, 17523, 261, 14359, 411, 4552, 67, 10753, 67, 789, 16988, 1856, 55, 597, 3550, 6685, 422, 446, 13, 288, 9506, 202, 14359, 9904, 31, 9506, 202, 698, 288, 6862, 202, 6703, 6685, 273, 8703, 18, 588, 23106, 2174, 1503, 7675, 588, 5033, 9673, 3024, 4047, 12, 9071, 16, 6862, 1082, 202, 9071, 6685, 16, 20350, 13943, 3773, 18, 588, 1868, 7675, 588, 3886, 2628, 10663, 9506, 202, 97, 1044, 261, 503, 425, 13, 288, 6862, 202, 430, 261, 14359, 422, 4552, 67, 10753, 67, 789, 16988, 1856, 55, 13, 288, 25083, 202, 430, 14015, 73, 1276, 30015, 597, 401, 12443, 12, 25341, 13, 425, 2934, 588, 1482, 7675, 588, 503, 1435, 1276, 1860, 20349, 288, 6862, 1082, 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, 16978, 5033, 12, 6385, 4115, 3305, 7487, 8703, 16, 727, 3837, 3305, 3352, 13, 288, 202, 202, 2174, 682, 1562, 682, 273, 20350, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 5621, 202, 202, 694, 32, 7469, 3305, 2174, 34, 3352, 6685, 273, 5737, 18, 318, 13388, 694, 12, 4146, 682, 9506, 202, 18, 588, 3305, 6685, 12, 9071, 18, 588, 1489, 1435, 10019, 202, 202, 6385, 1000, 32, 7469, 3305, 2174, 34, 4592, 774, 4047, 273, 394, 6847, 32, 7469, 3305, 2174, 34, 5621, 202, 202, 694, 32, 7469, 3305, 2174, 34, 3550, 6685, 273, 446, 31, 202, 202, 474, 7531, 273, 374, 31, 202, 202, 430, 261, 23159, 18, 2 ]
int nullInfo = getNullInfoFromEdge(edge); switch (nullInfo) { case TOS_NULL: fact = replaceValues(fact, numSlots - 1, destBlock, IsNullValue.nullValue()); break; case TOS_NON_NULL: fact = replaceValues(fact, numSlots - 1, destBlock, IsNullValue.nonNullValue()); break; case REF_OPERAND_NON_NULL: { Instruction firstInDest = edge.getDest().getFirstInstruction().getInstruction(); int numSlotsConsumed = firstInDest.consumeStack(methodGen.getConstantPool()); if (numSlotsConsumed == Constants.UNPREDICTABLE) throw new DataflowAnalysisException("Unpredictable stack consumption for " + firstInDest); fact = replaceValues(fact, numSlots - numSlotsConsumed, destBlock, IsNullValue.nonNullValue());
if (edge.getDest().isExceptionHandler()) { IsNullValueFrame tmpFrame = createFact(); tmpFrame.copyFrom(fact); tmpFrame.clearStack(); tmpFrame.pushValue(IsNullValue.nonNullValue()); fact = tmpFrame; } else { final int numSlots = fact.getNumSlots(); final BasicBlock destBlock = edge.getDest(); int nullInfo = getNullInfoFromEdge(edge); switch (nullInfo) { case TOS_NULL: fact = replaceValues(fact, numSlots - 1, destBlock, IsNullValue.nullValue()); break; case TOS_NON_NULL: fact = replaceValues(fact, numSlots - 1, destBlock, IsNullValue.nonNullValue()); break; case REF_OPERAND_NON_NULL: { Instruction firstInDest = edge.getDest().getFirstInstruction().getInstruction(); int numSlotsConsumed = firstInDest.consumeStack(methodGen.getConstantPool()); if (numSlotsConsumed == Constants.UNPREDICTABLE) throw new DataflowAnalysisException("Unpredictable stack consumption for " + firstInDest); fact = replaceValues(fact, numSlots - numSlotsConsumed, destBlock, IsNullValue.nonNullValue()); } break; case NO_INFO: break; default: assert false;
public void meetInto(IsNullValueFrame fact, Edge edge, IsNullValueFrame result) throws DataflowAnalysisException { if (fact.isValid()) { // Determine if the edge conveys any information about the // null/non-null status of operands in the incoming frame. final int numSlots = fact.getNumSlots(); final BasicBlock destBlock = edge.getDest(); int nullInfo = getNullInfoFromEdge(edge); switch (nullInfo) { case TOS_NULL: fact = replaceValues(fact, numSlots - 1, destBlock, IsNullValue.nullValue()); break; case TOS_NON_NULL: fact = replaceValues(fact, numSlots - 1, destBlock, IsNullValue.nonNullValue()); break; case REF_OPERAND_NON_NULL: { // For all of the instructions which have a null-checked // reference operand, it is pushed onto the stack before // all of the other operands to the instruction. Instruction firstInDest = edge.getDest().getFirstInstruction().getInstruction(); int numSlotsConsumed = firstInDest.consumeStack(methodGen.getConstantPool()); if (numSlotsConsumed == Constants.UNPREDICTABLE) throw new DataflowAnalysisException("Unpredictable stack consumption for " + firstInDest); fact = replaceValues(fact, numSlots - numSlotsConsumed, destBlock, IsNullValue.nonNullValue()); } break; case NO_INFO: break; default: assert false; } } // Normal dataflow merge result.mergeWith(fact); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/02e623c5ccba294227bf5e6e63481140c2cf40b8/IsNullValueAnalysis.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/IsNullValueAnalysis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18721, 5952, 12, 2520, 2041, 620, 3219, 5410, 16, 11342, 3591, 16, 30230, 620, 3219, 563, 13, 202, 202, 15069, 1910, 2426, 9418, 503, 288, 202, 202, 430, 261, 3493, 18, 26810, 10756, 288, 1082, 202, 759, 10229, 309, 326, 3591, 6292, 402, 87, 1281, 1779, 2973, 326, 1082, 202, 759, 446, 19, 5836, 17, 2011, 1267, 434, 14883, 316, 326, 6935, 2623, 18, 1082, 202, 6385, 509, 818, 16266, 273, 5410, 18, 588, 2578, 16266, 5621, 1082, 202, 6385, 7651, 1768, 1570, 1768, 273, 3591, 18, 588, 9378, 5621, 1082, 202, 474, 446, 966, 273, 336, 2041, 966, 1265, 6098, 12, 7126, 1769, 1082, 202, 9610, 261, 2011, 966, 13, 288, 1082, 202, 3593, 399, 4618, 67, 8560, 30, 9506, 202, 3493, 273, 1453, 1972, 12, 3493, 16, 818, 16266, 300, 404, 16, 1570, 1768, 16, 30230, 620, 18, 2011, 620, 10663, 9506, 202, 8820, 31, 1082, 202, 3593, 399, 4618, 67, 3993, 67, 8560, 30, 9506, 202, 3493, 273, 1453, 1972, 12, 3493, 16, 818, 16266, 300, 404, 16, 1570, 1768, 16, 30230, 620, 18, 5836, 2041, 620, 10663, 9506, 202, 8820, 31, 1082, 202, 3593, 20557, 67, 13950, 4307, 67, 3993, 67, 8560, 30, 9506, 202, 95, 6862, 202, 759, 2457, 777, 434, 326, 12509, 1492, 1240, 279, 446, 17, 4532, 6862, 202, 759, 2114, 9886, 16, 518, 353, 18543, 10170, 326, 2110, 1865, 6862, 202, 759, 777, 434, 326, 1308, 14883, 358, 326, 7592, 18, 6862, 202, 11983, 1122, 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, 18721, 5952, 12, 2520, 2041, 620, 3219, 5410, 16, 11342, 3591, 16, 30230, 620, 3219, 563, 13, 202, 202, 15069, 1910, 2426, 9418, 503, 288, 202, 202, 430, 261, 3493, 18, 26810, 10756, 288, 1082, 202, 759, 10229, 309, 326, 3591, 6292, 402, 87, 1281, 1779, 2973, 326, 1082, 202, 759, 446, 19, 5836, 17, 2011, 1267, 434, 14883, 316, 326, 6935, 2623, 18, 1082, 202, 6385, 509, 818, 16266, 273, 5410, 18, 588, 2578, 16266, 5621, 1082, 202, 6385, 7651, 1768, 1570, 1768, 273, 3591, 18, 588, 9378, 5621, 1082, 202, 474, 446, 966, 273, 336, 2041, 966, 1265, 6098, 12, 7126, 1769, 1082, 202, 9610, 261, 2011, 966, 13, 288, 1082, 202, 3593, 2 ]
if ( b != null ) { Object obj = getBreakpointMap().get( breakpoints[i] ); if ( obj instanceof BreakpointInProgess ) { ((BreakpointInProgess)obj).setCDIBreakpoint( b ); } }
protected void setBreakpointsOnTarget0( ICBreakpoint[] breakpoints ) { ICDITarget cdiTarget = getCDITarget(); for ( int i = 0; i < breakpoints.length; ++i ) { try { ICDIBreakpoint b = null; if ( breakpoints[i] instanceof ICFunctionBreakpoint ) { ICFunctionBreakpoint breakpoint = (ICFunctionBreakpoint)breakpoints[i]; String function = breakpoint.getFunction(); String fileName = breakpoint.getFileName(); ICDIFunctionLocation location = cdiTarget.createFunctionLocation( fileName, function ); ICDICondition condition = createCondition( breakpoint ); b = cdiTarget.setFunctionBreakpoint( ICDIBreakpoint.REGULAR, location, condition, true ); } else if ( breakpoints[i] instanceof ICAddressBreakpoint ) { ICAddressBreakpoint breakpoint = (ICAddressBreakpoint)breakpoints[i]; String address = breakpoint.getAddress(); ICDIAddressLocation location = cdiTarget.createAddressLocation( new BigInteger ( ( address.startsWith( "0x" ) ) ? address.substring( 2 ) : address, 16 ) ); //$NON-NLS-1$ ICDICondition condition = createCondition( breakpoint ); b = cdiTarget.setAddressBreakpoint( ICDIBreakpoint.REGULAR, location, condition, true ); } else if ( breakpoints[i] instanceof ICLineBreakpoint ) { ICLineBreakpoint breakpoint = (ICLineBreakpoint)breakpoints[i]; String handle = breakpoint.getSourceHandle(); IPath path = convertPath( handle ); ICDILineLocation location = cdiTarget.createLineLocation( path.lastSegment()/*path.toPortableString()*/, breakpoint.getLineNumber() ); ICDICondition condition = createCondition( breakpoint ); b = cdiTarget.setLineBreakpoint( ICDIBreakpoint.REGULAR, location, condition, true ); } else if ( breakpoints[i] instanceof ICWatchpoint ) { ICWatchpoint watchpoint = (ICWatchpoint)breakpoints[i]; int accessType = 0; accessType |= (watchpoint.isWriteType()) ? ICDIWatchpoint.WRITE : 0; accessType |= (watchpoint.isReadType()) ? ICDIWatchpoint.READ : 0; String expression = watchpoint.getExpression(); ICDICondition condition = createCondition( watchpoint ); b = cdiTarget.setWatchpoint( ICDIBreakpoint.REGULAR, accessType, expression, condition ); } // Hack: see bug 105196: [CDI]: Add "enabled" flag to the "set...Breakpoint" methods if ( b != null && b.isEnabled() != breakpoints[i].isEnabled() ) { b.setEnabled( breakpoints[i].isEnabled() ); } } catch( CoreException e ) { } catch( NumberFormatException e ) { } catch( CDIException e ) { } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/fe2b61a78e3334073260c5808f87eab9582738ec/CBreakpointManager.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 65, 11272, 309, 261, 1081, 1276, 17030, 1153, 382, 626, 75, 403, 262, 288, 14015, 20552, 382, 626, 75, 403, 13, 2603, 2934, 542, 39, 2565, 20552, 12, 324, 11272, 289, 289, 225, 918, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 65, 11272, 309, 261, 1081, 1276, 17030, 1153, 382, 626, 75, 403, 262, 288, 14015, 20552, 382, 626, 75, 403, 13, 2603, 2934, 542, 39, 2565, 20552, 12, 324, 11272, 289, 289, 225, 444, 7634, 4139, 1398, 2326, 20, 12, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 65, 11272, 309, 261, 1081, 1276, 17030, 1153, 382, 626, 75, 403, 262, 288, 14015, 20552, 382, 626, 75, 403, 13, 2603, 2934, 542, 39, 2565, 20552, 12, 324, 11272, 289, 289, 225, 26899, 20552, 8526, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 65, 11272, 309, 261, 1081, 1276, 17030, 1153, 382, 626, 75, 403, 262, 288, 14015, 20552, 382, 626, 75, 403, 13, 2603, 2934, 542, 39, 2565, 20552, 12, 324, 11272, 289, 289, 225, 23416, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 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, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 65, 11272, 309, 261, 1081, 1276, 17030, 1153, 382, 626, 75, 403, 262, 288, 14015, 20552, 382, 626, 75, 403, 13, 2603, 2934, 542, 39, 2565, 20552, 12, 324, 11272, 289, 289, 225, 918, 430, 261, 324, 480, 446, 262, 288, 1033, 1081, 273, 2882, 870, 1153, 863, 7675, 588, 12, 23416, 63, 77, 65, 11272, 309, 261, 1081, 1276, 17030, 1153, 382, 626, 75, 403, 262, 288, 14015, 20552, 382, 626, 75, 403, 13, 2603, 2934, 542, 39, 2565, 20552, 12, 324, 11272, 289, 289, 225, 444, 7634, 4139, 1398, 2326, 20, 12, 430, 261, 2 ]
private Entity getUnloadedUnit() { Entity choice = null; // Handle error condition. if ( this.loadedUnits.size() == 0 ) { System.err.println( "MovementDisplay#getUnloadedUnit() called without loaded units." ); } // If we have multiple choices, display a selection dialog. else if ( this.loadedUnits.size() > 1 ) { String[] names = new String[ this.loadedUnits.size() ]; StringBuffer question = new StringBuffer(); question.append( ce().getShortName() ); question.append( " has the following unused space:\n" ); question.append( ce().getUnusedString() ); question.append( "\n\nWhich unit do you want to unload?" ); for ( int loop = 0; loop < names.length; loop++ ) { names[loop] = ( (Entity)this.loadedUnits.elementAt(loop) ).getShortName(); } SingleChoiceDialog choiceDialog = new SingleChoiceDialog( clientgui.frame, "Unload Unit", question.toString(), names ); choiceDialog.show(); if ( choiceDialog.getAnswer() == true ) { choice = (Entity) this.loadedUnits.elementAt( choiceDialog.getChoice() ); } } // End have-choices // Only one choice. else { choice = (Entity) this.loadedUnits.elementAt( 0 ); this.loadedUnits.removeElementAt( 0 ); } // Return the chosen unit. return choice; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/b699e5a59f90a4e225fd4d884329052ef35c52f2/MovementDisplay.java/clean/megamek/src/megamek/client/ui/AWT/MovementDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 1943, 588, 984, 4230, 2802, 1435, 95, 1943, 11569, 33, 2011, 31, 759, 3259, 1636, 4175, 18, 430, 12, 2211, 18, 4230, 7537, 18, 1467, 1435, 631, 20, 15329, 3163, 18, 370, 18, 8222, 2932, 49, 26140, 4236, 7, 588, 984, 4230, 2802, 1435, 11777, 13299, 4230, 7705, 1199, 1769, 97, 759, 2047, 1814, 76, 842, 351, 406, 2444, 11937, 16, 5417, 345, 292, 794, 12730, 18, 12107, 430, 12, 2211, 18, 4230, 7537, 18, 1467, 1435, 34, 21, 15329, 780, 8526, 1973, 33, 2704, 780, 63, 2211, 18, 4230, 7537, 18, 1467, 1435, 15533, 780, 1892, 4173, 33, 2704, 780, 1892, 5621, 4173, 18, 6923, 12, 311, 7675, 588, 29983, 10663, 4173, 18, 6923, 2932, 76, 689, 580, 14641, 310, 14375, 2981, 5581, 82, 8863, 4173, 18, 6923, 12, 311, 7675, 588, 21106, 780, 10663, 4173, 18, 6923, 31458, 82, 64, 82, 2888, 1354, 4873, 2896, 19940, 91, 304, 748, 465, 945, 7225, 1769, 1884, 12, 474, 6498, 33, 20, 31, 6498, 32, 1973, 18, 2469, 31, 6498, 27245, 95, 1973, 63, 6498, 65, 33, 12443, 1943, 13, 2211, 18, 4230, 7537, 18, 2956, 861, 12, 6498, 13, 2934, 588, 29983, 5621, 97, 5281, 10538, 6353, 11569, 6353, 33, 2704, 5281, 10538, 6353, 12, 2625, 20292, 18, 3789, 10837, 984, 945, 2802, 3113, 4173, 18, 10492, 9334, 1973, 1769, 11569, 6353, 18, 4500, 5621, 430, 12, 11569, 6353, 18, 588, 13203, 1435, 631, 3767, 15329, 11569, 28657, 1943, 13, 2211, 18, 4230, 7537, 18, 2956, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 1943, 588, 984, 4230, 2802, 1435, 95, 1943, 11569, 33, 2011, 31, 759, 3259, 1636, 4175, 18, 430, 12, 2211, 18, 4230, 7537, 18, 1467, 1435, 631, 20, 15329, 3163, 18, 370, 18, 8222, 2932, 49, 26140, 4236, 7, 588, 984, 4230, 2802, 1435, 11777, 13299, 4230, 7705, 1199, 1769, 97, 759, 2047, 1814, 76, 842, 351, 406, 2444, 11937, 16, 5417, 345, 292, 794, 12730, 18, 12107, 430, 12, 2211, 18, 4230, 7537, 18, 1467, 1435, 34, 21, 15329, 780, 8526, 1973, 33, 2704, 780, 63, 2211, 18, 4230, 7537, 18, 1467, 1435, 15533, 780, 1892, 4173, 33, 2704, 780, 1892, 5621, 4173, 18, 6923, 12, 311, 7675, 588, 29983, 10663, 4173, 18, 6923, 2932, 76, 689, 2 ]
public static Object getArrayNoBarrier(Object [] src, int index) { return null;
public static char getArrayNoBarrier(char [] src, int index) { return (char)0;
public static Object getArrayNoBarrier(Object [] src, int index) { return null; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/Barriers.java/buggy/MMTk/src/org/mmtk/vm/Barriers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 12634, 2279, 5190, 10342, 12, 921, 5378, 1705, 16, 509, 770, 13, 288, 565, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 12634, 2279, 5190, 10342, 12, 921, 5378, 1705, 16, 509, 770, 13, 288, 565, 327, 446, 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 ]
public void mMISC() throws RecognitionException { int MISC_StartIndex = input.index(); try { int type = MISC; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 44) ) { return ; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:17: ( '!' | '@' | '$' | '%' | '^' | '&' | '*' | '_' | '-' | '+' | '|' | ',' | '{' | '}' | '[' | ']' | '=' | '/' | '(' | ')' | '\'' | '\\' | '||' | '&&' | '<<<' | '++' | '--' | '>>>' | '==' | '+=' | '=+' | '-=' | '=-' | '*=' | '=*' | '/=' | '=/' ) int alt1=37; switch ( input.LA(1) ) { case '!': alt1=1; break; case '@': alt1=2; break; case '$': alt1=3; break; case '%': alt1=4; break; case '^': alt1=5; break; case '&': int LA1_6 = input.LA(2); if ( LA1_6=='&' ) { alt1=24; } else { alt1=6;} break; case '*': int LA1_7 = input.LA(2); if ( LA1_7=='=' ) { alt1=34; } else { alt1=7;} break; case '_': alt1=8; break; case '-': switch ( input.LA(2) ) { case '=': alt1=32; break; case '-': alt1=27; break; default: alt1=9;} break; case '+': switch ( input.LA(2) ) { case '=': alt1=30; break; case '+': alt1=26; break; default: alt1=10;} break; case '|': int LA1_11 = input.LA(2); if ( LA1_11=='|' ) { alt1=23; } else { alt1=11;} break; case ',': alt1=12; break; case '{': alt1=13; break; case '}': alt1=14; break; case '[': alt1=15; break; case ']': alt1=16; break; case '=': switch ( input.LA(2) ) { case '/': alt1=37; break; case '=': alt1=29; break; case '+': alt1=31; break; case '-': alt1=33; break; case '*': alt1=35; break; default: alt1=17;} break; case '/': int LA1_18 = input.LA(2); if ( LA1_18=='=' ) { alt1=36; } else { alt1=18;} break; case '(': alt1=19; break; case ')': alt1=20; break; case '\'': alt1=21; break; case '\\': alt1=22; break; case '<': alt1=25; break; case '>': alt1=28; break; default: if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("938:1: MISC : ( \'!\' | \'@\' | \'$\' | \'%\' | \'^\' | \'&\' | \'*\' | \'_\' | \'-\' | \'+\' | \'|\' | \',\' | \'{\' | \'}\' | \'[\' | \']\' | \'=\' | \'/\' | \'(\' | \')\' | \'\\\'\' | \'\\\\\' | \'||\' | \'&&\' | \'<<<\' | \'++\' | \'--\' | \'>>>\' | \'==\' | \'+=\' | \'=+\' | \'-=\' | \'=-\' | \'*=\' | \'=*\' | \'/=\' | \'=/\' );", 1, 0, input); throw nvae; } switch (alt1) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:17: '!' { match('!'); if (failed) return ; } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:23: '@' { match('@'); if (failed) return ; } break; case 3 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:29: '$' { match('$'); if (failed) return ; } break; case 4 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:35: '%' { match('%'); if (failed) return ; } break; case 5 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:41: '^' { match('^'); if (failed) return ; } break; case 6 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:47: '&' { match('&'); if (failed) return ; } break; case 7 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:53: '*' { match('*'); if (failed) return ; } break; case 8 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:59: '_' { match('_'); if (failed) return ; } break; case 9 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:65: '-' { match('-'); if (failed) return ; } break; case 10 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:939:71: '+' { match('+'); if (failed) return ; } break; case 11 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:19: '|' { match('|'); if (failed) return ; } break; case 12 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:25: ',' { match(','); if (failed) return ; } break; case 13 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:31: '{' { match('{'); if (failed) return ; } break; case 14 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:37: '}' { match('}'); if (failed) return ; } break; case 15 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:43: '[' { match('['); if (failed) return ; } break; case 16 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:49: ']' { match(']'); if (failed) return ; } break; case 17 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:55: '=' { match('='); if (failed) return ; } break; case 18 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:61: '/' { match('/'); if (failed) return ; } break; case 19 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:67: '(' { match('('); if (failed) return ; } break; case 20 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:73: ')' { match(')'); if (failed) return ; } break; case 21 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:79: '\'' { match('\''); if (failed) return ; } break; case 22 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:940:86: '\\' { match('\\'); if (failed) return ; } break; case 23 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:19: '||' { match("||"); if (failed) return ; } break; case 24 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:26: '&&' { match("&&"); if (failed) return ; } break; case 25 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:33: '<<<' { match("<<<"); if (failed) return ; } break; case 26 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:41: '++' { match("++"); if (failed) return ; } break; case 27 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:48: '--' { match("--"); if (failed) return ; } break; case 28 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:55: '>>>' { match(">>>"); if (failed) return ; } break; case 29 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:63: '==' { match("=="); if (failed) return ; } break; case 30 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:70: '+=' { match("+="); if (failed) return ; } break; case 31 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:77: '=+' { match("=+"); if (failed) return ; } break; case 32 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:84: '-=' { match("-="); if (failed) return ; } break; case 33 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:91: '=-' { match("=-"); if (failed) return ; } break; case 34 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:97: '*=' { match("*="); if (failed) return ; } break; case 35 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:941:104: '=*' { match("=*"); if (failed) return ; } break; case 36 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:942:19: '/=' { match("/="); if (failed) return ; } break; case 37 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:942:26: '=/' { match("=/"); if (failed) return ; } break; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 44, MISC_StartIndex); } } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/31d63bcc9d3d8766c62d2c237554a38462a57456/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 509, 20806, 2312, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 13291, 13, 262, 288, 327, 274, 289, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 29, 5520, 30, 4033, 30, 261, 15502, 571, 9175, 571, 11874, 571, 9089, 571, 19161, 571, 9824, 571, 5306, 571, 4427, 571, 4014, 571, 10058, 571, 8030, 571, 3316, 571, 9790, 571, 9571, 571, 8375, 571, 8641, 571, 5214, 571, 2023, 571, 7321, 571, 5777, 571, 15053, 571, 5282, 571, 6699, 16637, 571, 5183, 26045, 571, 2368, 17685, 11, 571, 15126, 6797, 571, 16979, 571, 296, 9778, 1870, 571, 22853, 571, 15126, 2218, 571, 15196, 6797, 571, 2400, 2218, 571, 15196, 6627, 571, 14609, 2218, 571, 15196, 4035, 571, 1173, 2218, 571, 15196, 2473, 262, 5411, 509, 3770, 21, 33, 6418, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 11817, 4278, 7734, 3770, 21, 33, 21, 31, 7734, 898, 31, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 509, 20806, 2312, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 13291, 13, 262, 288, 327, 274, 289, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 2 ]
getClient().invoke(new MessagingMarshallable(v, invocation), null);
cl.invoke(new MessagingMarshallable(v, invocation), null);
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } String methodName = ((MethodInvocation)invocation).getMethod().getName(); Object ret = null; invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, new Integer(id), PayloadKey.AS_IS); if ("createConnectionDelegate".equals(methodName)) { // this must be invoked on the same connection subsequently used by the created JMS // connection JMSRemotingConnection connection = new JMSRemotingConnection(serverLocatorURI); MethodInvocation mi = (MethodInvocation)invocation; Client client = connection.getInvokingClient(); mi.getMetaData().addMetaData(MetaDataConstants.JMS, MetaDataConstants.REMOTING_SESSION_ID, client.getSessionId(), PayloadKey.AS_IS); mi.getMetaData().addMetaData(MetaDataConstants.JMS, MetaDataConstants.JMS_CLIENT_ID, JMSClientIdentifier.instance, PayloadKey.AS_IS); try { MessagingMarshallable mm = (MessagingMarshallable)client.invoke(new MessagingMarshallable(getVersionToUse().getProviderIncrementingVersion(), mi), null); ret = mm.getLoad(); ClientConnectionDelegate delegate = (ClientConnectionDelegate)ret; delegate.setConnnectionState(connection); } catch (Throwable t) { connection.close(); throw t; } } else { byte v = getVersionToUse().getProviderIncrementingVersion(); MessagingMarshallable mm = (MessagingMarshallable) getClient().invoke(new MessagingMarshallable(v, invocation), null); ret = mm.getLoad(); } if (log.isTraceEnabled()) { log.trace("got server response for " + ((MethodInvocation)invocation).getMethod().getName()); } return ret; }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/a0ff6e95cee80189794fc05484fb84183575d739/ClientConnectionFactoryDelegate.java/buggy/src/main/org/jboss/jms/client/delegate/ClientConnectionFactoryDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1033, 4356, 12, 9267, 9495, 13, 1216, 4206, 282, 288, 1377, 309, 261, 1330, 18, 291, 3448, 1526, 10756, 288, 613, 18, 5129, 2932, 5768, 601, 310, 315, 397, 14015, 1305, 9267, 13, 5768, 4431, 2934, 588, 1305, 7675, 17994, 1435, 397, 315, 603, 1438, 8863, 289, 5411, 514, 4918, 273, 14015, 1305, 9267, 13, 5768, 4431, 2934, 588, 1305, 7675, 17994, 5621, 5411, 1033, 325, 273, 446, 31, 5411, 9495, 18, 588, 6998, 7675, 1289, 6998, 12, 6681, 18, 2565, 3118, 5858, 654, 16, 5411, 16710, 18, 12945, 16, 5411, 394, 2144, 12, 350, 3631, 11320, 653, 18, 3033, 67, 5127, 1769, 13491, 309, 7566, 2640, 1952, 9586, 9654, 14963, 12, 2039, 461, 3719, 1377, 288, 5375, 368, 333, 1297, 506, 8187, 603, 326, 1967, 1459, 10815, 715, 1399, 635, 326, 2522, 13270, 540, 368, 1459, 540, 13270, 1933, 17128, 1952, 1459, 273, 394, 13270, 1933, 17128, 1952, 12, 3567, 5786, 3098, 1769, 5375, 2985, 9267, 12837, 273, 261, 1305, 9267, 13, 5768, 4431, 31, 5375, 2445, 1004, 273, 1459, 18, 588, 11354, 26477, 5621, 5397, 12837, 18, 588, 6998, 7675, 1289, 6998, 12, 6998, 2918, 18, 46, 3537, 16, 4766, 1377, 27512, 2918, 18, 862, 49, 1974, 1360, 67, 7042, 67, 734, 16, 4766, 1377, 1004, 18, 588, 18030, 9334, 11320, 653, 18, 3033, 67, 5127, 1769, 5375, 12837, 18, 588, 6998, 7675, 1289, 6998, 12, 6998, 2918, 18, 46, 3537, 16, 4766, 1377, 27512, 2918, 18, 46, 3537, 67, 11935, 67, 734, 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, 1071, 1033, 4356, 12, 9267, 9495, 13, 1216, 4206, 282, 288, 1377, 309, 261, 1330, 18, 291, 3448, 1526, 10756, 288, 613, 18, 5129, 2932, 5768, 601, 310, 315, 397, 14015, 1305, 9267, 13, 5768, 4431, 2934, 588, 1305, 7675, 17994, 1435, 397, 315, 603, 1438, 8863, 289, 5411, 514, 4918, 273, 14015, 1305, 9267, 13, 5768, 4431, 2934, 588, 1305, 7675, 17994, 5621, 5411, 1033, 325, 273, 446, 31, 5411, 9495, 18, 588, 6998, 7675, 1289, 6998, 12, 6681, 18, 2565, 3118, 5858, 654, 16, 5411, 16710, 18, 12945, 16, 5411, 394, 2144, 12, 350, 3631, 11320, 653, 18, 3033, 67, 5127, 1769, 13491, 309, 7566, 2640, 1952, 9586, 9654, 14963, 12, 2039, 461, 3719, 1377, 288, 2 ]
Atom c1 = new Atom("C"); Atom o = new Atom("O"); Atom c2 = new Atom("C"); Atom c3 = new Atom("C");
Atom c1 = builder.newAtom("C"); Atom o = builder.newAtom("O"); Atom c2 = builder.newAtom("C"); Atom c3 = builder.newAtom("C");
public void testIsConnectedTo_Bond() { Atom c1 = new Atom("C"); Atom o = new Atom("O"); Atom c2 = new Atom("C"); Atom c3 = new Atom("C"); Bond b1 = new Bond(c1, o); Bond b2 = new Bond(o, c2); Bond b3 = new Bond(c2, c3); assertTrue(b1.isConnectedTo(b2)); assertTrue(b2.isConnectedTo(b1)); assertTrue(b2.isConnectedTo(b3)); assertTrue(b3.isConnectedTo(b2)); assertFalse(b1.isConnectedTo(b3)); assertFalse(b3.isConnectedTo(b1)); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/4402993b4912186cc96bb80f3a37dcdaef3c924f/BondTest.java/clean/src/org/openscience/cdk/test/BondTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 8932, 774, 67, 9807, 1435, 288, 3639, 7149, 276, 21, 273, 394, 7149, 2932, 39, 8863, 3639, 7149, 320, 273, 394, 7149, 2932, 51, 8863, 3639, 7149, 276, 22, 273, 394, 7149, 2932, 39, 8863, 3639, 7149, 276, 23, 273, 394, 7149, 2932, 39, 8863, 7734, 605, 1434, 324, 21, 273, 394, 605, 1434, 12, 71, 21, 16, 320, 1769, 3639, 605, 1434, 324, 22, 273, 394, 605, 1434, 12, 83, 16, 276, 22, 1769, 3639, 605, 1434, 324, 23, 273, 394, 605, 1434, 12, 71, 22, 16, 276, 23, 1769, 7734, 1815, 5510, 12, 70, 21, 18, 291, 8932, 774, 12, 70, 22, 10019, 3639, 1815, 5510, 12, 70, 22, 18, 291, 8932, 774, 12, 70, 21, 10019, 3639, 1815, 5510, 12, 70, 22, 18, 291, 8932, 774, 12, 70, 23, 10019, 3639, 1815, 5510, 12, 70, 23, 18, 291, 8932, 774, 12, 70, 22, 10019, 3639, 1815, 8381, 12, 70, 21, 18, 291, 8932, 774, 12, 70, 23, 10019, 3639, 1815, 8381, 12, 70, 23, 18, 291, 8932, 774, 12, 70, 21, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 8932, 774, 67, 9807, 1435, 288, 3639, 7149, 276, 21, 273, 394, 7149, 2932, 39, 8863, 3639, 7149, 320, 273, 394, 7149, 2932, 51, 8863, 3639, 7149, 276, 22, 273, 394, 7149, 2932, 39, 8863, 3639, 7149, 276, 23, 273, 394, 7149, 2932, 39, 8863, 7734, 605, 1434, 324, 21, 273, 394, 605, 1434, 12, 71, 21, 16, 320, 1769, 3639, 605, 1434, 324, 22, 273, 394, 605, 1434, 12, 83, 16, 276, 22, 1769, 3639, 605, 1434, 324, 23, 273, 394, 605, 1434, 12, 71, 22, 16, 276, 23, 1769, 7734, 1815, 5510, 12, 70, 21, 18, 291, 8932, 774, 12, 70, 22, 10019, 3639, 1815, 5510, 12, 70, 22, 18, 291, 8932, 2 ]
if (docked) trackDocked(pos);
if (cursorAreaId != SWT.NONE) trackInsideTrimArea(pos);
public void track(Point pos) { // Convert the mouse positon into 'local' coords Rectangle r = new Rectangle(pos.x, pos.y, 1,1); r = Geometry.toControl(windowComposite, r); pos.x = r.x; pos.y = r.y; // Are we 'inside' a trim area ? cursorAreaId = getTrimArea(pos); // Do we have to 'undock' ? if (cursorAreaId == SWT.NONE && docked) { undock(); } // Do we have to 'dock'? if (cursorAreaId != SWT.NONE && !docked) { IWindowTrim insertBefore = getInsertBefore(cursorAreaId, pos); dock(cursorAreaId, insertBefore); } // Provide tracking for the appropriate 'mode' if (docked) trackDocked(pos); else trackUndocked(pos); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/57587c0601ebfba91c008feeec5539d6718cd5a6/TrimDropTarget.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/TrimDropTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3298, 12, 2148, 949, 13, 288, 540, 202, 759, 4037, 326, 7644, 949, 26949, 1368, 296, 3729, 11, 6074, 540, 202, 19463, 436, 273, 394, 13264, 12, 917, 18, 92, 16, 949, 18, 93, 16, 404, 16, 21, 1769, 540, 202, 86, 273, 8344, 18, 869, 3367, 12, 5668, 9400, 16, 436, 1769, 540, 202, 917, 18, 92, 273, 436, 18, 92, 31, 540, 202, 917, 18, 93, 273, 436, 18, 93, 31, 540, 202, 540, 202, 540, 202, 759, 12520, 732, 296, 28091, 11, 279, 2209, 5091, 692, 540, 202, 9216, 5484, 548, 273, 336, 14795, 5484, 12, 917, 1769, 540, 202, 540, 202, 759, 2256, 732, 1240, 358, 296, 1074, 975, 11, 692, 540, 202, 430, 261, 9216, 5484, 548, 422, 348, 8588, 18, 9826, 597, 5822, 329, 13, 288, 540, 202, 202, 1074, 975, 5621, 540, 202, 97, 540, 202, 540, 202, 759, 2256, 732, 1240, 358, 296, 72, 975, 11, 35, 540, 202, 430, 261, 9216, 5484, 548, 480, 348, 8588, 18, 9826, 597, 401, 72, 975, 329, 13, 288, 540, 202, 202, 45, 3829, 14795, 18004, 273, 336, 4600, 4649, 12, 9216, 5484, 548, 16, 949, 1769, 540, 202, 202, 72, 975, 12, 9216, 5484, 548, 16, 18004, 1769, 540, 202, 97, 540, 202, 759, 26569, 11093, 364, 326, 5505, 296, 3188, 11, 540, 202, 430, 261, 72, 975, 329, 13, 540, 202, 202, 4101, 40, 975, 329, 12, 917, 1769, 540, 202, 12107, 540, 202, 202, 4101, 984, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3298, 12, 2148, 949, 13, 288, 540, 202, 759, 4037, 326, 7644, 949, 26949, 1368, 296, 3729, 11, 6074, 540, 202, 19463, 436, 273, 394, 13264, 12, 917, 18, 92, 16, 949, 18, 93, 16, 404, 16, 21, 1769, 540, 202, 86, 273, 8344, 18, 869, 3367, 12, 5668, 9400, 16, 436, 1769, 540, 202, 917, 18, 92, 273, 436, 18, 92, 31, 540, 202, 917, 18, 93, 273, 436, 18, 93, 31, 540, 202, 540, 202, 540, 202, 759, 12520, 732, 296, 28091, 11, 279, 2209, 5091, 692, 540, 202, 9216, 5484, 548, 273, 336, 14795, 5484, 12, 917, 1769, 540, 202, 540, 202, 759, 2256, 732, 1240, 358, 296, 1074, 975, 11, 692, 540, 2 ]
try { InputStreamReader isr = new InputStreamReader(javaFile.getContents()); BufferedReader br = new BufferedReader(isr); String strLine = null; int javaLineNumber = 0; String token = "
InputStreamReader isr = new InputStreamReader(javaFile.getContents()); BufferedReader br = new BufferedReader(isr); String strLine = null; int javaLineNumber = 0; String token = "
protected static Map mapJavaToStr(IFile javaFile, String fStrFileName) { Map javaToStr = new HashMap(); try { // look for commented mappings InputStreamReader isr = new InputStreamReader(javaFile.getContents()); BufferedReader br = new BufferedReader(isr); String strLine = null; int javaLineNumber = 0; String token = "// " + fStrFileName + ':'; while (true) { javaLineNumber++; strLine = br.readLine(); if (strLine == null) return javaToStr; if (strLine.indexOf(token) != -1) javaToStr.put(new Integer(javaLineNumber), Integer.valueOf(strLine.substring(strLine.indexOf(token) + token.length()))); } } catch (Exception e) { } return javaToStr; }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/e904cba8dd2fc7c1516159029ab43798d16eb59a/StreamItDebugEventSetListener.java/clean/streams/src/streamit/eclipse/launcher/StreamItDebugEventSetListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 1635, 852, 5852, 774, 1585, 12, 45, 812, 2252, 812, 16, 514, 284, 1585, 4771, 13, 288, 202, 202, 863, 2252, 774, 1585, 273, 394, 4317, 5621, 9506, 202, 698, 288, 1082, 202, 759, 2324, 364, 31813, 7990, 1082, 202, 4348, 2514, 353, 86, 273, 394, 15322, 12, 6290, 812, 18, 588, 6323, 10663, 1082, 202, 17947, 2514, 5186, 273, 394, 10633, 12, 291, 86, 1769, 1082, 202, 780, 609, 1670, 273, 446, 31, 1082, 202, 474, 2252, 31063, 273, 374, 31, 1082, 202, 780, 1147, 273, 16177, 315, 397, 284, 1585, 4771, 397, 3921, 31, 25083, 202, 17523, 261, 3767, 13, 288, 9506, 202, 6290, 31063, 9904, 31, 9506, 202, 701, 1670, 273, 5186, 18, 896, 1670, 5621, 9506, 202, 430, 261, 701, 1670, 422, 446, 13, 327, 2252, 774, 1585, 31, 9506, 202, 430, 261, 701, 1670, 18, 31806, 12, 2316, 13, 480, 300, 21, 13, 2252, 774, 1585, 18, 458, 12, 2704, 2144, 12, 6290, 31063, 3631, 2144, 18, 1132, 951, 12, 701, 1670, 18, 28023, 12, 701, 1670, 18, 31806, 12, 2316, 13, 397, 1147, 18, 2469, 1435, 3719, 1769, 4697, 202, 97, 6862, 202, 97, 1044, 261, 503, 425, 13, 288, 202, 202, 97, 202, 202, 2463, 2252, 774, 1585, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 1635, 852, 5852, 774, 1585, 12, 45, 812, 2252, 812, 16, 514, 284, 1585, 4771, 13, 288, 202, 202, 863, 2252, 774, 1585, 273, 394, 4317, 5621, 9506, 202, 698, 288, 1082, 202, 759, 2324, 364, 31813, 7990, 1082, 202, 4348, 2514, 353, 86, 273, 394, 15322, 12, 6290, 812, 18, 588, 6323, 10663, 1082, 202, 17947, 2514, 5186, 273, 394, 10633, 12, 291, 86, 1769, 1082, 202, 780, 609, 1670, 273, 446, 31, 1082, 202, 474, 2252, 31063, 273, 374, 31, 1082, 202, 780, 1147, 273, 16177, 315, 397, 284, 1585, 4771, 397, 3921, 31, 25083, 202, 17523, 261, 3767, 13, 288, 9506, 202, 6290, 31063, 9904, 31, 9506, 202, 701, 1670, 273, 5186, 2 ]
_cal.set(2001, Calendar.NOVEMBER, 23);
_cal2.set(2001, Calendar.NOVEMBER, 23);
public void setUp() { _cal = Calendar.getInstance(); _cal.clear(); _cal.set(2001, Calendar.NOVEMBER, 22); //Thursday, November 22, 2001 _cal2 = Calendar.getInstance(); _cal2.clear(); _cal.set(2001, Calendar.NOVEMBER, 23); //Friday, November 23, 2001 }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/f2d2abee9cbe1a1468b5528cfdb94243c09a994b/PauseBuilderTest.java/clean/main/test/net/sourceforge/cruisecontrol/PauseBuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 3639, 389, 771, 273, 5542, 18, 588, 1442, 5621, 3639, 389, 771, 18, 8507, 5621, 3639, 389, 771, 18, 542, 12, 6976, 21, 16, 5542, 18, 3417, 58, 3375, 6271, 16, 11201, 1769, 368, 1315, 25152, 2881, 16, 423, 1527, 2558, 11201, 16, 4044, 21, 3639, 389, 771, 22, 273, 5542, 18, 588, 1442, 5621, 3639, 389, 771, 22, 18, 8507, 5621, 3639, 389, 771, 22, 18, 542, 12, 6976, 21, 16, 5542, 18, 3417, 58, 3375, 6271, 16, 10213, 1769, 368, 42, 1691, 528, 16, 423, 1527, 2558, 10213, 16, 4044, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 3639, 389, 771, 273, 5542, 18, 588, 1442, 5621, 3639, 389, 771, 18, 8507, 5621, 3639, 389, 771, 18, 542, 12, 6976, 21, 16, 5542, 18, 3417, 58, 3375, 6271, 16, 11201, 1769, 368, 1315, 25152, 2881, 16, 423, 1527, 2558, 11201, 16, 4044, 21, 3639, 389, 771, 22, 273, 5542, 18, 588, 1442, 5621, 3639, 389, 771, 22, 18, 8507, 5621, 3639, 389, 771, 22, 18, 542, 12, 6976, 21, 16, 5542, 18, 3417, 58, 3375, 6271, 16, 10213, 1769, 368, 42, 1691, 528, 16, 423, 1527, 2558, 10213, 16, 4044, 21, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws BeansException { this.applicationContext = applicationContext; }
throws BeansException { this.applicationContext = applicationContext; }
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; }
6460 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6460/9319b2487e82433202c4b7e86c557193a7ad2ae3/SimpleGrailsController.java/buggy/src/web/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 28278, 12, 28278, 31775, 13, 1082, 202, 15069, 4823, 634, 503, 288, 202, 202, 2211, 18, 3685, 1042, 273, 31775, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 28278, 12, 28278, 31775, 13, 1082, 202, 15069, 4823, 634, 503, 288, 202, 202, 2211, 18, 3685, 1042, 273, 31775, 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 ]
|| hintKey.equals(RenderingHints.KEY_ALPHA_INTERPOLATION))
|| hintKey.equals(RenderingHints.KEY_ALPHA_INTERPOLATION))
public void setRenderingHint(RenderingHints.Key hintKey, Object hintValue) { hints.put (hintKey, hintValue); if (hintKey.equals(RenderingHints.KEY_INTERPOLATION) || hintKey.equals(RenderingHints.KEY_ALPHA_INTERPOLATION)) { if (hintValue.equals(RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR)) cairoSurfaceSetFilter(0); else if (hintValue.equals(RenderingHints.VALUE_INTERPOLATION_BILINEAR)) cairoSurfaceSetFilter(1); else if (hintValue.equals(RenderingHints.VALUE_ALPHA_INTERPOLATION_SPEED)) cairoSurfaceSetFilter(2); else if (hintValue.equals(RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY)) cairoSurfaceSetFilter(3); else if (hintValue.equals(RenderingHints.VALUE_ALPHA_INTERPOLATION_DEFAULT)) cairoSurfaceSetFilter(4); } shiftDrawCalls = hints.containsValue (RenderingHints.VALUE_STROKE_NORMALIZE) || hints.containsValue (RenderingHints.VALUE_STROKE_DEFAULT); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/bef34bda2204726d6cecbf5422e100bc663abc3e/GdkGraphics2D.java/buggy/libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 14261, 7002, 12, 14261, 13368, 18, 653, 7380, 653, 16, 1171, 9079, 1033, 7380, 620, 13, 225, 288, 565, 13442, 18, 458, 261, 11317, 653, 16, 7380, 620, 1769, 5411, 309, 261, 11317, 653, 18, 14963, 12, 14261, 13368, 18, 3297, 67, 9125, 14232, 2689, 13, 3639, 747, 7380, 653, 18, 14963, 12, 14261, 13368, 18, 3297, 67, 26313, 67, 9125, 14232, 2689, 3719, 4202, 288, 9506, 3639, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 67, 9125, 14232, 2689, 67, 5407, 9332, 882, 67, 5407, 16055, 38, 916, 3719, 6647, 14503, 11508, 694, 1586, 12, 20, 1769, 202, 6647, 469, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 67, 9125, 14232, 2689, 67, 38, 30690, 985, 3719, 6647, 14503, 11508, 694, 1586, 12, 21, 1769, 3196, 6647, 469, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 67, 26313, 67, 9125, 14232, 2689, 67, 23810, 2056, 3719, 6647, 14503, 11508, 694, 1586, 12, 22, 1769, 202, 6647, 469, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 67, 26313, 67, 9125, 14232, 2689, 67, 8729, 4107, 3719, 6647, 14503, 11508, 694, 1586, 12, 23, 1769, 202, 6647, 469, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 67, 26313, 67, 9125, 14232, 2689, 67, 5280, 3719, 6647, 14503, 11508, 694, 1586, 12, 24, 1769, 5411, 289, 565, 4654, 6493, 10125, 273, 13442, 18, 12298, 620, 261, 14261, 13368, 18, 4051, 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, 444, 14261, 7002, 12, 14261, 13368, 18, 653, 7380, 653, 16, 1171, 9079, 1033, 7380, 620, 13, 225, 288, 565, 13442, 18, 458, 261, 11317, 653, 16, 7380, 620, 1769, 5411, 309, 261, 11317, 653, 18, 14963, 12, 14261, 13368, 18, 3297, 67, 9125, 14232, 2689, 13, 3639, 747, 7380, 653, 18, 14963, 12, 14261, 13368, 18, 3297, 67, 26313, 67, 9125, 14232, 2689, 3719, 4202, 288, 9506, 3639, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 67, 9125, 14232, 2689, 67, 5407, 9332, 882, 67, 5407, 16055, 38, 916, 3719, 6647, 14503, 11508, 694, 1586, 12, 20, 1769, 202, 6647, 469, 309, 261, 11317, 620, 18, 14963, 12, 14261, 13368, 18, 4051, 2 ]
cfw.add(ByteCode.DUP);
cfw.add(ByteCode.DUP);
private void emitDirectConstructor() {/* we generate .. Scriptable directConstruct(<directCallArgs>) { Scriptable newInstance = createObject(cx, scope); Object val = callDirect(cx, scope, newInstance, <directCallArgs>); if (val instanceof Scriptable && val != Undefined.instance) { return (Scriptable) val; } return newInstance; }*/ short flags = (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL); cfw.startMethod("constructDirect", fnCurrent.getDirectCallMethodSignature(), flags); int argCount = fnCurrent.getParamCount(); int firstLocal = (4 + argCount * 3) + 1; cfw.addALoad(0); // this cfw.addALoad(1); // cx cfw.addALoad(2); // scope cfw.addInvoke(ByteCode.INVOKEVIRTUAL, "org/mozilla/javascript/BaseFunction", "createObject", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Lorg/mozilla/javascript/Scriptable;"); cfw.addAStore(firstLocal); cfw.addALoad(0); cfw.addALoad(1); cfw.addALoad(2); cfw.addALoad(firstLocal); for (int i = 0; i < argCount; i++) { cfw.addALoad(4 + (i * 3)); cfw.addDLoad(5 + (i * 3)); } cfw.addALoad(4 + argCount * 3); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, generatedClassName, "callDirect", fnCurrent.getDirectCallMethodSignature()); int exitLabel = cfw.acquireLabel(); cfw.add(ByteCode.DUP); // make a copy of callDirect result cfw.add(ByteCode.INSTANCEOF, "org/mozilla/javascript/Scriptable"); cfw.add(ByteCode.IFEQ, exitLabel); cfw.add(ByteCode.DUP); // make a copy of callDirect result pushUndefined(cfw); cfw.add(ByteCode.IF_ACMPEQ, exitLabel); // cast callDirect result cfw.add(ByteCode.CHECKCAST, "org/mozilla/javascript/Scriptable"); cfw.add(ByteCode.ARETURN); cfw.markLabel(exitLabel); cfw.addALoad(firstLocal); cfw.add(ByteCode.ARETURN); cfw.stopMethod((short)(firstLocal + 1), null); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3c9b84173796cf5a1eb1f786e5ba6af89b66fcab/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3626, 5368, 6293, 1435, 565, 288, 20308, 565, 732, 2103, 6116, 3639, 22780, 2657, 7249, 12, 32, 7205, 1477, 2615, 23429, 288, 5411, 22780, 5984, 273, 17109, 12, 71, 92, 16, 2146, 1769, 5411, 1033, 1244, 273, 745, 5368, 12, 71, 92, 16, 2146, 16, 5984, 16, 411, 7205, 1477, 2615, 34, 1769, 5411, 309, 261, 1125, 1276, 22780, 597, 1244, 480, 22243, 18, 1336, 13, 288, 7734, 327, 261, 3651, 429, 13, 1244, 31, 5411, 289, 5411, 327, 5984, 31, 3639, 289, 5549, 3639, 3025, 2943, 273, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 14939, 18701, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 1769, 3639, 6080, 91, 18, 1937, 1305, 2932, 10062, 5368, 3113, 13491, 2295, 3935, 18, 588, 5368, 1477, 1305, 5374, 9334, 2943, 1769, 3639, 509, 1501, 1380, 273, 2295, 3935, 18, 588, 786, 1380, 5621, 3639, 509, 1122, 2042, 273, 261, 24, 397, 1501, 1380, 380, 890, 13, 397, 404, 31, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 20, 1769, 368, 333, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 21, 1769, 368, 9494, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 22, 1769, 368, 2146, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 41, 26854, 16, 8227, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 2171, 2083, 3113, 8227, 315, 2640, 921, 3113, 8227, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 8227, 397, 6, 48, 3341, 19, 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, 3626, 5368, 6293, 1435, 565, 288, 20308, 565, 732, 2103, 6116, 3639, 22780, 2657, 7249, 12, 32, 7205, 1477, 2615, 23429, 288, 5411, 22780, 5984, 273, 17109, 12, 71, 92, 16, 2146, 1769, 5411, 1033, 1244, 273, 745, 5368, 12, 71, 92, 16, 2146, 16, 5984, 16, 411, 7205, 1477, 2615, 34, 1769, 5411, 309, 261, 1125, 1276, 22780, 597, 1244, 480, 22243, 18, 1336, 13, 288, 7734, 327, 261, 3651, 429, 13, 1244, 31, 5411, 289, 5411, 327, 5984, 31, 3639, 289, 5549, 3639, 3025, 2943, 273, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 14939, 18701, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 1769, 3639, 6080, 91, 18, 1937, 1305, 2932, 10062, 2 ]
public boolean matches(IEditorInput editorInput, IEditorInput input) {
public boolean matches(IEditorReference editorRef, IEditorInput input) {
public boolean matches(IEditorInput editorInput, IEditorInput input) { IFile inputFile = ResourceUtil.getFile(input); if (inputFile != null && inputFile.getParent() instanceof IProject) { String name = inputFile.getName(); if (name.equals("plugin.xml") || name.equals("MANIFEST.MF") || name.equals("build.properties")) { IFile editorFile = ResourceUtil.getFile(editorInput); return inputFile.getProject().equals(editorFile.getProject()); } } return false; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/405fa2aa304ae66a9b0ec70de69cee53c021ddeb/MockEditorMatchingStrategy.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/MockEditorMatchingStrategy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1885, 12, 45, 6946, 2404, 4858, 1957, 16, 467, 6946, 1210, 810, 13, 288, 3639, 467, 812, 22014, 273, 2591, 1304, 18, 29925, 12, 2630, 1769, 3639, 309, 261, 2630, 812, 480, 446, 597, 22014, 18, 588, 3054, 1435, 1276, 467, 4109, 13, 288, 5411, 514, 508, 273, 22014, 18, 17994, 5621, 5411, 309, 261, 529, 18, 14963, 2932, 4094, 18, 2902, 7923, 747, 508, 18, 14963, 2932, 9560, 30050, 18, 13542, 7923, 747, 508, 18, 14963, 2932, 3510, 18, 4738, 6, 3719, 288, 7734, 467, 812, 4858, 812, 273, 2591, 1304, 18, 29925, 12, 9177, 1210, 1769, 7734, 327, 22014, 18, 588, 4109, 7675, 14963, 12, 9177, 812, 18, 588, 4109, 10663, 5411, 289, 3639, 289, 3639, 327, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1885, 12, 45, 6946, 2404, 4858, 1957, 16, 467, 6946, 1210, 810, 13, 288, 3639, 467, 812, 22014, 273, 2591, 1304, 18, 29925, 12, 2630, 1769, 3639, 309, 261, 2630, 812, 480, 446, 597, 22014, 18, 588, 3054, 1435, 1276, 467, 4109, 13, 288, 5411, 514, 508, 273, 22014, 18, 17994, 5621, 5411, 309, 261, 529, 18, 14963, 2932, 4094, 18, 2902, 7923, 747, 508, 18, 14963, 2932, 9560, 30050, 18, 13542, 7923, 747, 508, 18, 14963, 2932, 3510, 18, 4738, 6, 3719, 288, 7734, 467, 812, 4858, 812, 273, 2591, 1304, 18, 29925, 12, 9177, 1210, 1769, 7734, 327, 22014, 18, 588, 4109, 7675, 14963, 12, 9177, 812, 18, 588, 4109, 10663, 5411, 289, 3639, 2 ]
Vector dests = new Vector(); Message msg = new Message(); Acker acker = new Acker(); long seqno; for (int i = 0; i < _RECVS.length; ++i) dests.add(_RECVS[i]); seqno = 1; for (int i = 0; i < _RECVS.length; ++i) _put(seqno, _RECVS[i]); _win.add(seqno, msg, dests); seqno = 2; for (int i = 0; i < _RECVS.length; ++i) _put(seqno, _RECVS[i]); _win.add(seqno, msg, dests); acker.start(); try { acker.join(); } catch(InterruptedException ex) { ex.printStackTrace(); } _win.stop();
Vector dests = new Vector(); Message msg = new Message(); Acker acker = new Acker(); long seqno; for (int i = 0; i < _RECVS.length; ++i) dests.add(_RECVS[i]); seqno = 1; for (int i = 0; i < _RECVS.length; ++i) _put(seqno, _RECVS[i]); _win.add(seqno, msg, dests); seqno = 2; for (int i = 0; i < _RECVS.length; ++i) _put(seqno, _RECVS[i]); _win.add(seqno, msg, dests); acker.start(); try { acker.join(); } catch(InterruptedException ex) { ex.printStackTrace(); } _win.stop();
public void test1() { Vector dests = new Vector(); Message msg = new Message(); Acker acker = new Acker(); long seqno; for (int i = 0; i < _RECVS.length; ++i) dests.add(_RECVS[i]); // seqno/1 seqno = 1; for (int i = 0; i < _RECVS.length; ++i) _put(seqno, _RECVS[i]); _win.add(seqno, msg, dests); // seqno/2 seqno = 2; for (int i = 0; i < _RECVS.length; ++i) _put(seqno, _RECVS[i]); _win.add(seqno, msg, dests); // start acker.start(); try { acker.join(); } catch(InterruptedException ex) { ex.printStackTrace(); } _win.stop(); } // testAck()
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/497094902213c9673fd6b23407e81740ccf528dd/AckMcastSenderWindowTest.java/buggy/tests/junit/org/jgroups/tests/AckMcastSenderWindowTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 21, 1435, 288, 202, 5018, 1570, 87, 225, 273, 394, 5589, 5621, 202, 1079, 1234, 282, 273, 394, 2350, 5621, 202, 11931, 264, 282, 8479, 264, 273, 394, 22322, 264, 5621, 202, 5748, 565, 30734, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 862, 39, 14640, 18, 2469, 31, 965, 77, 13, 1570, 87, 18, 1289, 24899, 862, 39, 14640, 63, 77, 19226, 1082, 202, 759, 30734, 19, 21, 202, 5436, 2135, 273, 404, 31, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 862, 39, 14640, 18, 2469, 31, 965, 77, 13, 389, 458, 12, 5436, 2135, 16, 389, 862, 39, 14640, 63, 77, 19226, 202, 67, 8082, 18, 1289, 12, 5436, 2135, 16, 1234, 16, 1570, 87, 1769, 1082, 202, 759, 30734, 19, 22, 202, 5436, 2135, 273, 576, 31, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 862, 39, 14640, 18, 2469, 31, 965, 77, 13, 389, 458, 12, 5436, 2135, 16, 389, 862, 39, 14640, 63, 77, 19226, 202, 67, 8082, 18, 1289, 12, 5436, 2135, 16, 1234, 16, 1570, 87, 1769, 1082, 202, 759, 787, 202, 484, 264, 18, 1937, 5621, 202, 698, 288, 8479, 264, 18, 5701, 5621, 225, 202, 97, 1044, 12, 24485, 503, 431, 13, 288, 431, 18, 1188, 6332, 5621, 289, 1082, 202, 67, 8082, 18, 5681, 5621, 565, 289, 368, 1842, 11931, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 21, 1435, 288, 202, 5018, 1570, 87, 225, 273, 394, 5589, 5621, 202, 1079, 1234, 282, 273, 394, 2350, 5621, 202, 11931, 264, 282, 8479, 264, 273, 394, 22322, 264, 5621, 202, 5748, 565, 30734, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 862, 39, 14640, 18, 2469, 31, 965, 77, 13, 1570, 87, 18, 1289, 24899, 862, 39, 14640, 63, 77, 19226, 1082, 202, 759, 30734, 19, 21, 202, 5436, 2135, 273, 404, 31, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 862, 39, 14640, 18, 2469, 31, 965, 77, 13, 389, 458, 12, 5436, 2135, 16, 389, 862, 39, 14640, 63, 77, 19226, 202, 67, 2 ]
if(myRootsInUpdate.contains(psiFile)) return;
if (myRootsInUpdate.contains(psiFile)) return;
public void rootChanged(PsiFile psiFile) { if(myRootsInUpdate.contains(psiFile)) return; if (psiFile.getLanguage() == getBaseLanguage()) { super.rootChanged(psiFile); // rest of sync mechanism is now handeled by JspxAspect } else if(!myRootsInUpdate.contains(getPsi(getBaseLanguage()))) doHolderToXmlChanges(psiFile); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/332b4449ff3189cc9c7a994ccf5fd11ed10e9da5/CompositeLanguageFileViewProvider.java/buggy/source/com/intellij/psi/CompositeLanguageFileViewProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1365, 5033, 12, 52, 7722, 812, 23921, 812, 13, 288, 565, 309, 261, 4811, 17540, 382, 1891, 18, 12298, 12, 24275, 812, 3719, 327, 31, 565, 309, 261, 24275, 812, 18, 588, 3779, 1435, 422, 8297, 3779, 10756, 288, 1377, 2240, 18, 3085, 5033, 12, 24275, 812, 1769, 1377, 368, 3127, 434, 3792, 12860, 353, 2037, 948, 292, 329, 635, 19300, 92, 17468, 565, 289, 565, 469, 309, 12, 5, 4811, 17540, 382, 1891, 18, 12298, 12, 588, 52, 7722, 12, 588, 2171, 3779, 1435, 20349, 1377, 741, 6064, 774, 4432, 7173, 12, 24275, 812, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1365, 5033, 12, 52, 7722, 812, 23921, 812, 13, 288, 565, 309, 261, 4811, 17540, 382, 1891, 18, 12298, 12, 24275, 812, 3719, 327, 31, 565, 309, 261, 24275, 812, 18, 588, 3779, 1435, 422, 8297, 3779, 10756, 288, 1377, 2240, 18, 3085, 5033, 12, 24275, 812, 1769, 1377, 368, 3127, 434, 3792, 12860, 353, 2037, 948, 292, 329, 635, 19300, 92, 17468, 565, 289, 565, 469, 309, 12, 5, 4811, 17540, 382, 1891, 18, 12298, 12, 588, 52, 7722, 12, 588, 2171, 3779, 1435, 20349, 1377, 741, 6064, 774, 4432, 7173, 12, 24275, 812, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MessageHandler.logln("Warning : FrameMaker doesnt support different page-sizes in a document"); } }
}
public void setDocumentHeightWidth (int height, int width) { if (bookComponent.document == null) { bookComponent.document=new Document(); bookComponent.document.height=height; bookComponent.document.width=width; } else if(bookComponent.document.height != height || bookComponent.document.width != width) { MessageHandler.logln("Warning : FrameMaker doesnt support different page-sizes in a document"); } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/cd264ba6a67a155375a4ba85cdb6dc35503ef593/MIFDocument.java/buggy/src/org/apache/fop/mif/MIFDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2519, 2686, 2384, 261, 474, 2072, 16, 509, 1835, 13, 288, 202, 430, 261, 3618, 1841, 18, 5457, 422, 446, 13, 288, 202, 202, 3618, 1841, 18, 5457, 33, 2704, 4319, 5621, 202, 202, 3618, 1841, 18, 5457, 18, 4210, 33, 4210, 31, 202, 202, 3618, 1841, 18, 5457, 18, 2819, 33, 2819, 31, 282, 202, 97, 202, 12107, 309, 12, 3618, 1841, 18, 5457, 18, 4210, 480, 2072, 747, 6978, 1841, 18, 5457, 18, 2819, 480, 1835, 13, 225, 202, 95, 202, 202, 1079, 1503, 18, 1330, 2370, 2932, 6210, 294, 8058, 12373, 31272, 2865, 3775, 1363, 17, 11914, 3196, 202, 267, 279, 1668, 8863, 1082, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2519, 2686, 2384, 261, 474, 2072, 16, 509, 1835, 13, 288, 202, 430, 261, 3618, 1841, 18, 5457, 422, 446, 13, 288, 202, 202, 3618, 1841, 18, 5457, 33, 2704, 4319, 5621, 202, 202, 3618, 1841, 18, 5457, 18, 4210, 33, 4210, 31, 202, 202, 3618, 1841, 18, 5457, 18, 2819, 33, 2819, 31, 282, 202, 97, 202, 12107, 309, 12, 3618, 1841, 18, 5457, 18, 4210, 480, 2072, 747, 6978, 1841, 18, 5457, 18, 2819, 480, 1835, 13, 225, 202, 95, 202, 202, 1079, 1503, 18, 1330, 2370, 2932, 6210, 294, 8058, 12373, 31272, 2865, 3775, 1363, 17, 11914, 3196, 202, 267, 279, 1668, 8863, 1082, 202, 97, 282, 289, 2, -100, -100, -100, -100 ]
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token op=null; Token bvc=null; String lc = null; String rvc = null; PatternDescr d = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:704:17: ( opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches'|'excludes') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:704:17: opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches'|'excludes') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol { following.push(FOLLOW_opt_eol_in_constraint1752); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:705:17: (fb= ID opt_eol ':' opt_eol )? int alt51=2; alt51 = dfa51.predict(input); switch (alt51) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:705:19: fb= ID opt_eol ':' opt_eol { fb=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1760); following.push(FOLLOW_opt_eol_in_constraint1762); opt_eol(); following.pop(); match(input,32,FOLLOW_32_in_constraint1764); following.push(FOLLOW_opt_eol_in_constraint1766); opt_eol(); following.pop(); } break; } f=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1776); if ( fb != null ) { //System.err.println( "fb: " + fb.getText() ); //System.err.println( " f: " + f.getText() ); d = new FieldBindingDescr( f.getText(), fb.getText() ); //System.err.println( "fbd: " + d ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } following.push(FOLLOW_opt_eol_in_constraint1786); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:718:33: (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches'|'excludes') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? int alt53=2; int LA53_0 = input.LA(1); if ( (LA53_0>=43 && LA53_0<=51) ) { alt53=1; } else if ( LA53_0==EOL||LA53_0==15||(LA53_0>=24 && LA53_0<=25) ) { alt53=2; } else { NoViableAltException nvae = new NoViableAltException("718:33: (op= (\'==\'|\'>\'|\'>=\'|\'<\'|\'<=\'|\'!=\'|\'contains\'|\'matches\'|\'excludes\') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )?", 53, 0, input); throw nvae; } switch (alt53) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:718:41: op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches'|'excludes') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) { op=(Token)input.LT(1); if ( (input.LA(1)>=43 && input.LA(1)<=51) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_constraint1794); throw mse; } following.push(FOLLOW_opt_eol_in_constraint1881); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:729:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) int alt52=4; switch ( input.LA(1) ) { case ID: int LA52_1 = input.LA(2); if ( LA52_1==18 ) { alt52=2; } else if ( LA52_1==EOL||LA52_1==15||(LA52_1>=24 && LA52_1<=25) ) { alt52=1; } else { NoViableAltException nvae = new NoViableAltException("729:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 52, 1, input); throw nvae; } break; case INT: case BOOL: case STRING: case FLOAT: case 52: alt52=3; break; case 23: alt52=4; break; default: NoViableAltException nvae = new NoViableAltException("729:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 52, 0, input); throw nvae; } switch (alt52) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:729:49: bvc= ID { bvc=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1899); d = new BoundVariableDescr( f.getText(), op.getText(), bvc.getText() ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:736:49: lc= enum_constraint { following.push(FOLLOW_enum_constraint_in_constraint1924); lc=enum_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc, true ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:743:49: lc= literal_constraint { following.push(FOLLOW_literal_constraint_in_constraint1956); lc=literal_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:749:49: rvc= retval_constraint { following.push(FOLLOW_retval_constraint_in_constraint1976); rvc=retval_constraint(); following.pop(); d = new ReturnValueDescr( f.getText(), op.getText(), rvc ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; } } break; } following.push(FOLLOW_opt_eol_in_constraint2009); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/fb2f51ad0fb80e03d0cc7f4644cb7a7e17027618/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 540, 202, 202, 3234, 16198, 302, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 27, 3028, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 33, 1599, 2153, 67, 30951, 261, 556, 33, 7707, 18920, 16637, 1870, 16637, 34, 2218, 16637, 32, 11, 16637, 32, 2218, 16637, 5, 2218, 16637, 12298, 11, 16637, 8436, 11, 16637, 338, 8993, 6134, 2153, 67, 30951, 261, 70, 4227, 33, 1599, 571, 9109, 33, 2792, 67, 13364, 571, 9109, 33, 7158, 67, 13364, 571, 436, 4227, 33, 5221, 67, 13364, 262, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 27, 3028, 30, 4033, 30, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 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, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 540, 202, 202, 3234, 16198, 302, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 27, 3028, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 2 ]
Description description = new Description(); description.load(resultSet); IPlugin plugin = PluginLoader.loadPlugin(description.getLocation());
Description description = new Description(); description.load(resultSet); IPlugin plugin = PluginLoader.loadPlugin(description.getLocation());
private List<ITask> getTasksForProject(int projectID) throws Exception { List<ITask> tasks = new LinkedList<ITask>(); SQLSelect select = new SQLSelect(); select.addTable(Task.TABLE_NAME + " t"); select.addTable(Description.TABLE_NAME + " p"); select.addColumn("t.task_id"); select.addColumn("t.project_id"); select.addColumn("t.task_name"); select.addColumn("t.task_info"); select.addColumn("t.status"); select.addColumn("t.plugin_settings"); select.addColumn("t.plugin_result"); select.addColumn("p.plugin_id"); select.addColumn("p.plugin_name"); select.addColumn("p.plugin_info"); select.addColumn("p.location"); select.addCondition("t.project_id =", projectID); select.addCondition("t.plugin_id = p.plugin_id"); // executing query ResultSet resultSet = null; resultSet = _dbManager.select(select); try { while (resultSet.next()) { //TODO: move task loading to task manager ? Description description = new Description(); // loading plugin description description.load(resultSet); IPlugin plugin = PluginLoader.loadPlugin(description.getLocation()); ISettings pluginSettings = plugin.getSettingComponent().getSettings(); Task task = (Task) _managerEngine.getTasksManager().createTask(); task.setSettings(pluginSettings); task.setPlugin(plugin); // loading task task.load(resultSet); tasks.add(task); } } catch (Exception e) { LOGGER.fatal("", e); resultSet.close(); throw e; } resultSet.close(); return tasks; }
12741 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12741/8a2d01e4a747d2aea705ae972a8f84f07ee29183/ProjectManager.java/clean/salomon/platform/trunk/src/salomon/engine/project/ProjectManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 32, 1285, 835, 34, 336, 6685, 1290, 4109, 12, 474, 1984, 734, 13, 1216, 1185, 202, 95, 202, 202, 682, 32, 1285, 835, 34, 4592, 273, 394, 10688, 32, 1285, 835, 34, 5621, 202, 3639, 3063, 3391, 2027, 273, 394, 3063, 3391, 5621, 3639, 2027, 18, 1289, 1388, 12, 2174, 18, 7775, 67, 1985, 397, 315, 268, 8863, 3639, 2027, 18, 1289, 1388, 12, 3291, 18, 7775, 67, 1985, 397, 315, 293, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4146, 67, 350, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4406, 67, 350, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4146, 67, 529, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4146, 67, 1376, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 2327, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4094, 67, 4272, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4094, 67, 2088, 8863, 7734, 2027, 18, 1289, 1494, 2932, 84, 18, 4094, 67, 350, 8863, 3639, 2027, 18, 1289, 1494, 2932, 84, 18, 4094, 67, 529, 8863, 3639, 2027, 18, 1289, 1494, 2932, 84, 18, 4094, 67, 1376, 8863, 3639, 2027, 18, 1289, 1494, 2932, 84, 18, 3562, 8863, 3639, 2027, 18, 1289, 3418, 2932, 88, 18, 4406, 67, 350, 273, 3113, 1984, 734, 1769, 3639, 2027, 18, 1289, 3418, 2932, 88, 18, 4094, 67, 350, 273, 293, 18, 4094, 67, 350, 8863, 540, 202, 202, 759, 11274, 843, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 32, 1285, 835, 34, 336, 6685, 1290, 4109, 12, 474, 1984, 734, 13, 1216, 1185, 202, 95, 202, 202, 682, 32, 1285, 835, 34, 4592, 273, 394, 10688, 32, 1285, 835, 34, 5621, 202, 3639, 3063, 3391, 2027, 273, 394, 3063, 3391, 5621, 3639, 2027, 18, 1289, 1388, 12, 2174, 18, 7775, 67, 1985, 397, 315, 268, 8863, 3639, 2027, 18, 1289, 1388, 12, 3291, 18, 7775, 67, 1985, 397, 315, 293, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4146, 67, 350, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4406, 67, 350, 8863, 3639, 2027, 18, 1289, 1494, 2932, 88, 18, 4146, 67, 529, 8863, 3639, 2027, 18, 1289, 1494, 2932, 2 ]
String oneFilePath = sourcePath + File.separator + oneFileName;
String oneFilePath = null; if (!isJnlpFile) { oneFilePath = sourcePath + File.separator + oneFileName; } else { oneFilePath = oneFileName; isJnlpFile = false; }
public static void jarJnlpFiles(String jarFilePath, JnlpPackageInfo pkgInfo) throws IOException { try { String sourcePath = pkgInfo.getResourceDirPath(); //Check if the fileList is empty Iterator it = pkgInfo.getJnlpRefFilePaths(); if (it == null) { return; } //Initialize all the input/output stream FileOutputStream dest = new FileOutputStream(jarFilePath); CheckedOutputStream checksum = new CheckedOutputStream( dest, new CRC32()); ZipOutputStream out = new ZipOutputStream( new BufferedOutputStream(checksum)); //Set compression rate to be zero: Just package, no deflation. out.setLevel(0); out.setMethod(ZipOutputStream.STORED); //Non-empty file list, loop each file to add into the jar file checkDirValid(sourcePath); while (it.hasNext()) { String oneFileName = (String) it.next(); String oneFilePath = sourcePath + File.separator + oneFileName; checkFileValid(oneFilePath); putIntoZip(oneFileName, oneFilePath, out); } //Flush and close the jar package out.flush(); out.close(); checksum.close(); dest.close(); } catch (Exception e) { throw new IOException("Failed to create the jar file " + jarFilePath); } }
46042 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46042/70af5418a3034c24d421e84cb965f64c84187bdb/WinUtility.java/buggy/src/packager/src/win32/classes/org/jdesktop/jdic/packager/impl/WinUtility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 7334, 46, 24853, 2697, 12, 780, 7334, 5598, 16, 4766, 565, 804, 24853, 2261, 966, 3475, 966, 13, 4766, 565, 1216, 1860, 288, 3639, 775, 288, 5411, 514, 17744, 273, 3475, 966, 18, 588, 1420, 20129, 5621, 5411, 368, 1564, 309, 326, 18645, 353, 1008, 5411, 4498, 518, 273, 3475, 966, 18, 588, 46, 24853, 1957, 812, 4466, 5621, 5411, 309, 261, 305, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 368, 7520, 777, 326, 810, 19, 2844, 1407, 5411, 12942, 1570, 273, 394, 12942, 12, 11930, 5598, 1769, 5411, 23975, 4632, 6697, 273, 394, 23975, 4632, 12, 4766, 10792, 1570, 16, 4766, 10792, 394, 21773, 1578, 10663, 5411, 8603, 4632, 596, 273, 394, 8603, 4632, 12, 4766, 5411, 394, 28649, 12, 15149, 10019, 5411, 368, 694, 9154, 4993, 358, 506, 3634, 30, 12526, 2181, 16, 1158, 1652, 80, 367, 18, 5411, 596, 18, 542, 2355, 12, 20, 1769, 5411, 596, 18, 542, 1305, 12, 9141, 4632, 18, 31487, 5879, 1769, 5411, 368, 3989, 17, 5531, 585, 666, 16, 2798, 1517, 585, 358, 527, 1368, 326, 7334, 585, 5411, 866, 1621, 1556, 12, 3168, 743, 1769, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 514, 1245, 4771, 273, 261, 780, 13, 518, 18, 4285, 5621, 7734, 514, 1245, 5598, 273, 17744, 4766, 3639, 397, 1387, 18, 11287, 4766, 3639, 397, 1245, 4771, 31, 7734, 866, 812, 1556, 12, 476, 5598, 1769, 7734, 1378, 5952, 9141, 12, 476, 4771, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 7334, 46, 24853, 2697, 12, 780, 7334, 5598, 16, 4766, 565, 804, 24853, 2261, 966, 3475, 966, 13, 4766, 565, 1216, 1860, 288, 3639, 775, 288, 5411, 514, 17744, 273, 3475, 966, 18, 588, 1420, 20129, 5621, 5411, 368, 1564, 309, 326, 18645, 353, 1008, 5411, 4498, 518, 273, 3475, 966, 18, 588, 46, 24853, 1957, 812, 4466, 5621, 5411, 309, 261, 305, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 368, 7520, 777, 326, 810, 19, 2844, 1407, 5411, 12942, 1570, 273, 394, 12942, 12, 11930, 5598, 1769, 5411, 23975, 4632, 6697, 273, 394, 23975, 4632, 12, 4766, 10792, 1570, 16, 4766, 10792, 394, 21773, 1578, 10663, 5411, 8603, 4632, 596, 273, 2 ]
if(toThrow != null) toThrow = new InserterException(InserterException.CANCELLED);
public void cancel() { synchronized(this) { if(finished) return; finished = true; } if(toThrow != null) toThrow = new InserterException(InserterException.CANCELLED); for(int i=0;i<dataBlockInserters.length;i++) { SingleBlockInserter sbi = dataBlockInserters[i]; if(sbi != null) sbi.cancel(); } for(int i=0;i<checkBlockInserters.length;i++) { SingleBlockInserter sbi = checkBlockInserters[i]; if(sbi != null) sbi.cancel(); } parent.segmentFinished(this); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/SplitFileInserterSegment.java/buggy/src/freenet/client/async/SplitFileInserterSegment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3755, 1435, 288, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 13527, 273, 638, 31, 202, 202, 97, 202, 202, 430, 12, 869, 8282, 480, 446, 13, 1082, 202, 869, 8282, 273, 394, 657, 550, 387, 503, 12, 382, 550, 387, 503, 18, 25268, 6687, 1769, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 892, 1768, 382, 550, 5432, 18, 2469, 31, 77, 27245, 288, 1082, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 501, 1768, 382, 550, 5432, 63, 77, 15533, 1082, 202, 430, 12, 87, 13266, 480, 446, 13, 9506, 202, 87, 13266, 18, 10996, 5621, 202, 202, 97, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 1893, 1768, 382, 550, 5432, 18, 2469, 31, 77, 27245, 288, 1082, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 866, 1768, 382, 550, 5432, 63, 77, 15533, 1082, 202, 430, 12, 87, 13266, 480, 446, 13, 9506, 202, 87, 13266, 18, 10996, 5621, 202, 202, 97, 202, 202, 2938, 18, 9273, 10577, 12, 2211, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3755, 1435, 288, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 13527, 273, 638, 31, 202, 202, 97, 202, 202, 430, 12, 869, 8282, 480, 446, 13, 1082, 202, 869, 8282, 273, 394, 657, 550, 387, 503, 12, 382, 550, 387, 503, 18, 25268, 6687, 1769, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 892, 1768, 382, 550, 5432, 18, 2469, 31, 77, 27245, 288, 1082, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 501, 1768, 382, 550, 5432, 63, 77, 15533, 1082, 202, 430, 12, 87, 13266, 480, 446, 13, 9506, 202, 87, 13266, 18, 10996, 5621, 202, 202, 97, 202, 2 ]
Task task = (Task) tasks.get (atts.getValue ("task"));
Task task = getTask (atts.getValue ("task"));
public void startElement (String uri, String local, String name, Attributes atts) { if (name.equals ("FIELD")) { if (atts.getValue ("list") != null) { SchObject object = (SchObject) stack.peek(); object.addListField (atts.getValue ("name")); } else if (atts.getValue ("obj") != null) { } else { boolean iskey = atts.getValue ("key") != null; SchObject o = (SchObject) stack.peek(); o.addField (atts.getValue ("name"), atts.getValue ("type"), atts.getValue ("value"), iskey, false); if (iskey) keyValue = atts.getValue ("value"); } names.push (atts.getValue ("name")); types.push (atts.getValue ("type")); } else if (name.equals ("OBJECT")) { stack.push (new SchObject (timeOps)); } else if (name.equals ("TASK")) stack.push (new Task (timeOps)); else if (name.equals ("RESOURCE")) stack.push (new Resource (timeOps)); else if (name.equals ("GLOBAL")) { stack.push (new SchObject (timeOps)); globals.put (atts.getValue ("name"), stack.peek ()); globalTypes.put (atts.getValue ("name"), atts.getValue ("type")); } else if (name.equals ("WINDOW")) { startTime = timeOps.stringToTime (atts.getValue ("start")); if ((atts.getValue ("end") != null) && (! atts.getValue ("end").equals (""))) endTime = timeOps.stringToTime (atts.getValue ("end")); } else if (name.equals ("VALUE")) { SchObject object = (SchObject) stack.peek(); String nameForList = (String) names.peek (); String typeForList = (String) types.peek (); object.addField (nameForList, typeForList, atts.getValue ("value"), false, true); } else if (name.equals ("VALUE2")) { stack.push (new SchObject (timeOps)); } else if (name.equals ("OBJECT")) { stack.push (new SchObject (timeOps)); } else if (name.equals ("FROZEN")) { Task task = (Task) tasks.get (atts.getValue ("task")); if (task == null) { System.out.println ("Unknown task to freeze: " + atts.getValue ("task")); return; } primaryTasks.remove (task); frozenTasks.put (task, new Assignment (getTask (atts.getValue ("task")), getResource (atts.getValue ("resource")), timeOps.stringToTime (atts.getValue ("start")), timeOps.stringToTime (atts.getValue ("start")), timeOps.stringToTime (atts.getValue ("end")), timeOps.stringToTime (atts.getValue ("end")), true, timeOps)); } else if (! name.equals ("DATA")) System.out.println ("SchedulingData.startElement - " + "Unknown tag in scheduling data: " + name); }
9369 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9369/9d4c44ec0b9c655d630d208e708dcec7092582ab/SchedulingData.java/buggy/vishnuClient/src/org/cougaar/lib/vishnu/server/SchedulingData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 261, 780, 2003, 16, 514, 1191, 16, 17311, 514, 508, 16, 9055, 15687, 13, 288, 1377, 309, 261, 529, 18, 14963, 7566, 6776, 6, 3719, 288, 3639, 309, 261, 270, 3428, 18, 24805, 7566, 1098, 7923, 480, 446, 13, 288, 1850, 348, 343, 921, 733, 273, 261, 55, 343, 921, 13, 2110, 18, 347, 3839, 5621, 1082, 225, 733, 18, 1289, 682, 974, 261, 270, 3428, 18, 24805, 7566, 529, 7923, 1769, 3639, 289, 469, 309, 261, 270, 3428, 18, 24805, 7566, 2603, 7923, 480, 446, 13, 288, 3639, 289, 469, 288, 1850, 1250, 353, 856, 273, 15687, 18, 24805, 7566, 856, 7923, 480, 446, 31, 1850, 348, 343, 921, 320, 273, 261, 55, 343, 921, 13, 2110, 18, 347, 3839, 5621, 202, 5411, 320, 18, 1289, 974, 261, 270, 3428, 18, 24805, 7566, 529, 6, 3631, 15687, 18, 24805, 7566, 723, 6, 3631, 8227, 15687, 18, 24805, 7566, 1132, 6, 3631, 353, 856, 16, 629, 1769, 1850, 309, 261, 291, 856, 13, 5411, 15082, 273, 15687, 18, 24805, 7566, 1132, 8863, 3639, 289, 3639, 1257, 18, 6206, 261, 270, 3428, 18, 24805, 7566, 529, 7923, 1769, 3639, 1953, 18, 6206, 261, 270, 3428, 18, 24805, 7566, 723, 7923, 1769, 1377, 289, 1377, 469, 309, 261, 529, 18, 14963, 7566, 9422, 6, 3719, 288, 3639, 2110, 18, 6206, 261, 2704, 348, 343, 921, 261, 957, 8132, 10019, 1377, 289, 1377, 469, 309, 261, 529, 18, 14963, 7566, 15580, 6, 3719, 3639, 2110, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 261, 780, 2003, 16, 514, 1191, 16, 17311, 514, 508, 16, 9055, 15687, 13, 288, 1377, 309, 261, 529, 18, 14963, 7566, 6776, 6, 3719, 288, 3639, 309, 261, 270, 3428, 18, 24805, 7566, 1098, 7923, 480, 446, 13, 288, 1850, 348, 343, 921, 733, 273, 261, 55, 343, 921, 13, 2110, 18, 347, 3839, 5621, 1082, 225, 733, 18, 1289, 682, 974, 261, 270, 3428, 18, 24805, 7566, 529, 7923, 1769, 3639, 289, 469, 309, 261, 270, 3428, 18, 24805, 7566, 2603, 7923, 480, 446, 13, 288, 3639, 289, 469, 288, 1850, 1250, 353, 856, 273, 15687, 18, 24805, 7566, 856, 7923, 480, 446, 31, 1850, 348, 343, 921, 320, 273, 261, 55, 343, 2 ]
public void setServerControls( LDAPControl[] controls ) { m_serverControls = controls;
public void setServerControls( LDAPControl control ) { m_serverControls = new LDAPControl[1]; m_serverControls[0] = control;
public void setServerControls( LDAPControl[] controls ) { m_serverControls = controls; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/c366d5e1d66c6d7efd3dfa07496f955a7a6f2570/LDAPSearchConstraints.java/buggy/directory/java-sdk/ldapjdk/netscape/ldap/LDAPSearchConstraints.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2081, 16795, 12, 11916, 3367, 8526, 11022, 262, 288, 3639, 312, 67, 3567, 16795, 273, 11022, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2081, 16795, 12, 11916, 3367, 8526, 11022, 262, 288, 3639, 312, 67, 3567, 16795, 273, 11022, 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 ]
public org.quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { org.quickfix.field.UnderlyingPx value = new org.quickfix.field.UnderlyingPx();
public quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { quickfix.field.UnderlyingPx value = new quickfix.field.UnderlyingPx();
public org.quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { org.quickfix.field.UnderlyingPx value = new org.quickfix.field.UnderlyingPx(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/buggy/src/java/src/quickfix/fix44/Email.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 10833, 765, 6291, 21776, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 10833, 765, 6291, 21776, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 21776, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
(new com.ibm.math.DiagBigDecimal.Test("mpr030")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+10).toString()).equals("50000000000"); (new com.ibm.math.DiagBigDecimal.Test("mpr031")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+5).toString()).equals("500000"); (new com.ibm.math.DiagBigDecimal.Test("mpr032")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+1).toString()).equals("50"); (new com.ibm.math.DiagBigDecimal.Test("mpr033")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(0).toString()).equals("5"); (new com.ibm.math.DiagBigDecimal.Test("mpr034")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-1).toString()).equals("0.5"); (new com.ibm.math.DiagBigDecimal.Test("mpr035")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-5).toString()).equals("0.00005"); (new com.ibm.math.DiagBigDecimal.Test("mpr036")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-10).toString()).equals("0.0000000005");
(new Test("mpr030")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+10).toString()).equals("50000000000"); (new Test("mpr031")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+5).toString()).equals("500000"); (new Test("mpr032")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+1).toString()).equals("50"); (new Test("mpr033")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(0).toString()).equals("5"); (new Test("mpr034")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-1).toString()).equals("0.5"); (new Test("mpr035")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-5).toString()).equals("0.00005"); (new Test("mpr036")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-10).toString()).equals("0.0000000005");
public void diagmovepointright(){ (new com.ibm.math.DiagBigDecimal.Test("mpr001")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(+10).toString()).equals("-10000000000"); (new com.ibm.math.DiagBigDecimal.Test("mpr002")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(+5).toString()).equals("-100000"); (new com.ibm.math.DiagBigDecimal.Test("mpr003")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(+1).toString()).equals("-10"); (new com.ibm.math.DiagBigDecimal.Test("mpr004")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(0).toString()).equals("-1"); (new com.ibm.math.DiagBigDecimal.Test("mpr005")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(-1).toString()).equals("-0.1"); (new com.ibm.math.DiagBigDecimal.Test("mpr006")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(-5).toString()).equals("-0.00001"); (new com.ibm.math.DiagBigDecimal.Test("mpr007")).ok=((new com.ibm.math.BigDecimal("-1")).movePointRight(-10).toString()).equals("-0.0000000001"); (new com.ibm.math.DiagBigDecimal.Test("mpr010")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(+10).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("mpr011")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(+5).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("mpr012")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(+1).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("mpr013")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(0).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("mpr014")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(-1).toString()).equals("0.0"); (new com.ibm.math.DiagBigDecimal.Test("mpr015")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(-5).toString()).equals("0.00000"); (new com.ibm.math.DiagBigDecimal.Test("mpr016")).ok=((new com.ibm.math.BigDecimal("0")).movePointRight(-10).toString()).equals("0.0000000000"); (new com.ibm.math.DiagBigDecimal.Test("mpr020")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(+10).toString()).equals("10000000000"); (new com.ibm.math.DiagBigDecimal.Test("mpr021")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(+5).toString()).equals("100000"); (new com.ibm.math.DiagBigDecimal.Test("mpr022")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(+1).toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("mpr023")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(0).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("mpr024")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(-1).toString()).equals("0.1"); (new com.ibm.math.DiagBigDecimal.Test("mpr025")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(-5).toString()).equals("0.00001"); (new com.ibm.math.DiagBigDecimal.Test("mpr026")).ok=((new com.ibm.math.BigDecimal("+1")).movePointRight(-10).toString()).equals("0.0000000001"); (new com.ibm.math.DiagBigDecimal.Test("mpr030")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+10).toString()).equals("50000000000"); (new com.ibm.math.DiagBigDecimal.Test("mpr031")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+5).toString()).equals("500000"); (new com.ibm.math.DiagBigDecimal.Test("mpr032")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(+1).toString()).equals("50"); (new com.ibm.math.DiagBigDecimal.Test("mpr033")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(0).toString()).equals("5"); (new com.ibm.math.DiagBigDecimal.Test("mpr034")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-1).toString()).equals("0.5"); (new com.ibm.math.DiagBigDecimal.Test("mpr035")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-5).toString()).equals("0.00005"); (new com.ibm.math.DiagBigDecimal.Test("mpr036")).ok=((new com.ibm.math.BigDecimal("0.5E+1")).movePointRight(-10).toString()).equals("0.0000000005"); summary("movePointRight"); return;}
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/9d7cfece10981dede4d5303274403593abc1a92d/DiagBigDecimal.java/buggy/icu4j/src/com/ibm/test/bigdec/DiagBigDecimal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 918, 6643, 8501, 84, 885, 313, 750, 1435, 95, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 11664, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 2934, 8501, 2148, 4726, 12, 15, 2163, 2934, 10492, 1435, 2934, 14963, 2932, 17, 23899, 9449, 8863, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 24908, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 2934, 8501, 2148, 4726, 12, 15, 25, 2934, 10492, 1435, 2934, 14963, 2932, 17, 21, 11706, 8863, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 25425, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 2934, 8501, 2148, 4726, 12, 15, 21, 2934, 10492, 1435, 2934, 14963, 2932, 17, 2163, 8863, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 26565, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 2934, 8501, 2148, 4726, 12, 20, 2934, 10492, 1435, 2934, 14963, 2932, 17, 21, 8863, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 28564, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 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, 225, 1071, 918, 6643, 8501, 84, 885, 313, 750, 1435, 95, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 11664, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 2934, 8501, 2148, 4726, 12, 15, 2163, 2934, 10492, 1435, 2934, 14963, 2932, 17, 23899, 9449, 8863, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 81, 683, 24908, 7923, 2934, 601, 33, 12443, 2704, 532, 18, 10827, 18, 15949, 18, 29436, 2932, 17, 21, 7923, 2934, 8501, 2148, 4726, 12, 15, 25, 2934, 10492, 1435, 2934, 14963, 2932, 17, 21, 11706, 8863, 225, 261, 2704, 532, 18, 10827, 2 ]
} else if (swtSide == SWT.LEFT || swtSide == SWT.RIGHT) {
} else if (area.isVertical()) {
public Rectangle getSnapRectangle(Composite window, int swtSide, Rectangle dragRect, IWindowTrim insertBefore) { int id = convertSwtConstantToAreaId(swtSide); List area = fTrimArea[id]; Rectangle trimRect = getTrimRect(window, swtSide); if (insertBefore == null) { if (area != null && area.size() > 0) { // Place the dragRect at the 'end' of the current controls TrimDescriptor last = (TrimDescriptor) area .get(area.size() - 1); Rectangle lastRect = DragUtil.getDisplayBounds(last.getCache() .getControl()); if (swtSide == SWT.BOTTOM || swtSide == SWT.TOP) { Rectangle snapRect = new Rectangle(lastRect.x + lastRect.width, lastRect.y, dragRect.width, dragRect.height); // Force the rectangle back into the trim rect (in case it's // 'full') int dx = (trimRect.x + trimRect.width) - (snapRect.x + snapRect.width); if (dx < 0) Geometry.moveRectangle(snapRect, new Point(dx, 0)); return snapRect; } else if (swtSide == SWT.LEFT || swtSide == SWT.RIGHT) { Rectangle snapRect = new Rectangle(lastRect.x, lastRect.y + lastRect.height, dragRect.width, dragRect.height); // Force the rectangle back into the trim rect (in case it's // 'full') int dy = (trimRect.y + trimRect.height) - (snapRect.y + snapRect.height); if (dy < 0) Geometry.moveRectangle(snapRect, new Point(dy, 0)); // If it's the RIGHT side then also force the rectangle // inside the frame if (swtSide == SWT.RIGHT) { int dx = (trimRect.x + trimRect.width) - (snapRect.x + snapRect.width); if (dx < 0) Geometry.moveRectangle(snapRect, new Point(dx, 0)); } return snapRect; } } else { Rectangle snapRect = new Rectangle(trimRect.x, trimRect.y, dragRect.width, dragRect.height); // If it's the RIGHT side then also force the rectangle inside // the frame if (swtSide == SWT.RIGHT) { int dx = (trimRect.x + trimRect.width) - (snapRect.x + snapRect.width); if (dx < 0) Geometry.moveRectangle(snapRect, new Point(dx, 0)); } return snapRect; } } // OK...we've got something to work with... // First, get the drag handle associated with this control Control trimControl = insertBefore.getControl(); // int index = getIndex(id, trimControl); TrimDescriptor desc = getTrimDescription(trimControl); Rectangle ctrlRect = DragUtil.getDisplayBounds(trimControl); if (fUseCommonUI && desc != null) { Control dragHandle = desc.getDockingCache().getControl(); ctrlRect = DragUtil.getDisplayBounds(dragHandle); } Rectangle snapRect; if (swtSide == SWT.BOTTOM || swtSide == SWT.TOP) snapRect = new Rectangle(ctrlRect.x - 2, ctrlRect.y - 2, 5, ctrlRect.height + 4); else snapRect = new Rectangle(ctrlRect.x - 2, ctrlRect.y - 2, ctrlRect.width + 4, 5); // Rectangle snapRect = new // Rectangle(ctrlRect.x,ctrlRect.y,dragRect.width,dragRect.height); return snapRect; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c02ce808ddcd3a887071a5c31104b81c396819e2/TrimLayout.java/clean/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, 1322, 2322, 19463, 12, 9400, 2742, 16, 509, 1352, 88, 8895, 16, 1082, 202, 19463, 8823, 6120, 16, 467, 3829, 14795, 18004, 13, 288, 202, 202, 474, 612, 273, 1765, 55, 6046, 6902, 774, 5484, 548, 12, 5328, 88, 8895, 1769, 202, 202, 682, 5091, 273, 284, 14795, 5484, 63, 350, 15533, 202, 202, 19463, 2209, 6120, 273, 336, 14795, 6120, 12, 5668, 16, 1352, 88, 8895, 1769, 202, 202, 430, 261, 6387, 4649, 422, 446, 13, 288, 1082, 202, 430, 261, 5036, 480, 446, 597, 5091, 18, 1467, 1435, 405, 374, 13, 288, 9506, 202, 759, 13022, 326, 8823, 6120, 622, 326, 296, 409, 11, 434, 326, 783, 11022, 9506, 202, 14795, 3187, 1142, 273, 261, 14795, 3187, 13, 5091, 25083, 202, 18, 588, 12, 5036, 18, 1467, 1435, 300, 404, 1769, 9506, 202, 19463, 1142, 6120, 273, 28425, 1304, 18, 588, 4236, 5694, 12, 2722, 18, 588, 1649, 1435, 25083, 202, 18, 588, 3367, 10663, 9506, 202, 430, 261, 5328, 88, 8895, 422, 348, 8588, 18, 28891, 747, 1352, 88, 8895, 422, 348, 8588, 18, 10462, 13, 288, 6862, 202, 19463, 10915, 6120, 273, 394, 13264, 12, 2722, 6120, 18, 92, 6862, 1082, 202, 15, 1142, 6120, 18, 2819, 16, 1142, 6120, 18, 93, 16, 8823, 6120, 18, 2819, 16, 6862, 1082, 202, 15997, 6120, 18, 4210, 1769, 6862, 202, 759, 11889, 326, 11845, 1473, 1368, 326, 2209, 4917, 261, 267, 648, 518, 1807, 6862, 202, 759, 296, 2854, 6134, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13264, 1322, 2322, 19463, 12, 9400, 2742, 16, 509, 1352, 88, 8895, 16, 1082, 202, 19463, 8823, 6120, 16, 467, 3829, 14795, 18004, 13, 288, 202, 202, 474, 612, 273, 1765, 55, 6046, 6902, 774, 5484, 548, 12, 5328, 88, 8895, 1769, 202, 202, 682, 5091, 273, 284, 14795, 5484, 63, 350, 15533, 202, 202, 19463, 2209, 6120, 273, 336, 14795, 6120, 12, 5668, 16, 1352, 88, 8895, 1769, 202, 202, 430, 261, 6387, 4649, 422, 446, 13, 288, 1082, 202, 430, 261, 5036, 480, 446, 597, 5091, 18, 1467, 1435, 405, 374, 13, 288, 9506, 202, 759, 13022, 326, 8823, 6120, 622, 326, 296, 409, 11, 434, 326, 783, 11022, 9506, 202, 14795, 3187, 1142, 2 ]
super.print(" ");
super.print("\t");
public void printTabulation() { for (int i = 0; i < tab; i++) super.print(" "); //$NON-NLS-1$ }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/97ff66db78e7f63c0be143c7c782ddebccf5c32f/XMLMemento.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/XMLMemento.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 482, 918, 1172, 5661, 6234, 1435, 288, 377, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3246, 31, 277, 27245, 377, 1082, 202, 9565, 18, 1188, 31458, 88, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 482, 918, 1172, 5661, 6234, 1435, 288, 377, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3246, 31, 277, 27245, 377, 1082, 202, 9565, 18, 1188, 31458, 88, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 377, 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 ]
if (Options.check("verboseexceptions")) {
if (Options.check("verbose")) {
newRecord(Name name, short type, short dclass, int ttl, int length, DataByteInputStream in, Compression c) throws IOException{ Record rec; try { Class rrclass; Constructor m; rrclass = toClass(type); m = rrclass.getDeclaredConstructor(new Class [] { Name.class, Short.TYPE, Integer.TYPE, Integer.TYPE, DataByteInputStream.class, Compression.class }); rec = (Record) m.newInstance(new Object [] { name, new Short(dclass), new Integer(ttl), new Integer(length), in, c }); return rec; } catch (ClassNotFoundException e) { rec = new UNKRecord(name, type, dclass, ttl, length, in, c); rec.wireLength = length; return rec; } catch (InvocationTargetException e) { if (Options.check("verboseexceptions")) { System.err.println("new record: " + e); System.err.println(e.getTargetException()); } return null; } catch (Exception e) { if (Options.check("verboseexceptions")) System.err.println("new record: " + e); return null; }}
4227 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4227/d09bfbefe9494e5f3d370bf739f8f6da9dcd36d6/Record.java/clean/org/xbill/DNS/Record.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 394, 2115, 12, 461, 508, 16, 3025, 618, 16, 3025, 302, 1106, 16, 509, 6337, 16, 509, 769, 16, 202, 225, 1910, 3216, 4348, 316, 16, 21139, 276, 13, 1216, 1860, 95, 202, 2115, 1950, 31, 202, 698, 288, 202, 202, 797, 8354, 1106, 31, 202, 202, 6293, 312, 31, 202, 202, 523, 1106, 273, 358, 797, 12, 723, 1769, 202, 202, 81, 273, 8354, 1106, 18, 588, 18888, 6293, 12, 2704, 1659, 5378, 288, 6862, 1082, 202, 461, 18, 1106, 16, 6862, 1082, 202, 4897, 18, 2399, 16, 6862, 1082, 202, 4522, 18, 2399, 16, 6862, 1082, 202, 4522, 18, 2399, 16, 6862, 1082, 1377, 1910, 3216, 4348, 18, 1106, 16, 6862, 1082, 202, 15270, 18, 1106, 6862, 1082, 282, 15549, 202, 202, 3927, 273, 261, 2115, 13, 312, 18, 2704, 1442, 12, 2704, 1033, 5378, 288, 6862, 1082, 202, 529, 16, 6862, 1082, 202, 2704, 7925, 12, 72, 1106, 3631, 6862, 1082, 202, 2704, 2144, 12, 12546, 3631, 6862, 1082, 202, 2704, 2144, 12, 2469, 3631, 6862, 1082, 202, 267, 16, 276, 25083, 202, 22938, 202, 202, 2463, 1950, 31, 202, 97, 202, 14683, 261, 797, 3990, 425, 13, 288, 202, 202, 3927, 273, 394, 5019, 47, 2115, 12, 529, 16, 618, 16, 302, 1106, 16, 6337, 16, 769, 16, 316, 16, 276, 1769, 202, 202, 3927, 18, 14538, 1782, 273, 769, 31, 202, 202, 2463, 1950, 31, 202, 97, 202, 14683, 261, 9267, 14950, 425, 13, 288, 202, 202, 430, 261, 1320, 18, 1893, 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, 394, 2115, 12, 461, 508, 16, 3025, 618, 16, 3025, 302, 1106, 16, 509, 6337, 16, 509, 769, 16, 202, 225, 1910, 3216, 4348, 316, 16, 21139, 276, 13, 1216, 1860, 95, 202, 2115, 1950, 31, 202, 698, 288, 202, 202, 797, 8354, 1106, 31, 202, 202, 6293, 312, 31, 202, 202, 523, 1106, 273, 358, 797, 12, 723, 1769, 202, 202, 81, 273, 8354, 1106, 18, 588, 18888, 6293, 12, 2704, 1659, 5378, 288, 6862, 1082, 202, 461, 18, 1106, 16, 6862, 1082, 202, 4897, 18, 2399, 16, 6862, 1082, 202, 4522, 18, 2399, 16, 6862, 1082, 202, 4522, 18, 2399, 16, 6862, 1082, 1377, 1910, 3216, 4348, 18, 1106, 16, 6862, 1082, 202, 15270, 18, 1106, 6862, 2 ]
return Runtime.getRuntime().exec(getCommandline(), getEnvironment());
String userDir = System.getProperty("user.dir"); try { if (myos.equals("Mac OS") && workingDirectory != null) { System.getProperties().put("user.dir", workingDirectory.getAbsolutePath()); } return Runtime.getRuntime().exec(getCommandline(), getEnvironment()); } finally { if (myos.equals("Mac OS") && workingDirectory != null) { System.getProperties().put("user.dir", userDir); } }
protected Process exec() throws IOException { return Runtime.getRuntime().exec(getCommandline(), getEnvironment()); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/29cf33f78f16638f62f3471816c1879e0a8190f2/Execute.java/buggy/src/main/org/apache/tools/ant/taskdefs/Execute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4389, 1196, 1435, 1216, 1860, 288, 3639, 514, 729, 1621, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 775, 288, 309, 261, 4811, 538, 18, 14963, 2932, 9990, 5932, 7923, 597, 5960, 2853, 480, 446, 13, 288, 2332, 18, 588, 2297, 7675, 458, 2932, 1355, 18, 1214, 3113, 5960, 2853, 18, 588, 10368, 743, 10663, 289, 225, 327, 2509, 18, 588, 5576, 7675, 4177, 12, 588, 2189, 1369, 9334, 16613, 10663, 289, 3095, 288, 309, 261, 4811, 538, 18, 14963, 2932, 9990, 5932, 7923, 597, 5960, 2853, 480, 446, 13, 288, 2332, 18, 588, 2297, 7675, 458, 2932, 1355, 18, 1214, 3113, 729, 1621, 1769, 289, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4389, 1196, 1435, 1216, 1860, 288, 3639, 514, 729, 1621, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 775, 288, 309, 261, 4811, 538, 18, 14963, 2932, 9990, 5932, 7923, 597, 5960, 2853, 480, 446, 13, 288, 2332, 18, 588, 2297, 7675, 458, 2932, 1355, 18, 1214, 3113, 5960, 2853, 18, 588, 10368, 743, 10663, 289, 225, 327, 2509, 18, 588, 5576, 7675, 4177, 12, 588, 2189, 1369, 9334, 16613, 10663, 289, 3095, 288, 309, 261, 4811, 538, 18, 14963, 2932, 9990, 5932, 7923, 597, 5960, 2853, 480, 446, 13, 288, 2332, 18, 588, 2297, 7675, 458, 2932, 1355, 18, 1214, 3113, 729, 1621, 1769, 289, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 100: ResultType ::= void // case 100: { //#line 675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 101: FormalParameterList ::= LastFormalParameter // case 101: { //#line 695 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 102: FormalParameterList ::= FormalParameters , LastFormalParameter // case 102: { //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 103: FormalParameters ::= FormalParameter // case 103: { //#line 709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 711 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 104: FormalParameters ::= FormalParameters , FormalParameter // case 104: { //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 105: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 105: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 107: VariableModifiers ::= VariableModifiers VariableModifier // case 107: { //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 735 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 108: VariableModifier ::= final // case 108: { //#line 741 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 109: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 109: { //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 749 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 111: MethodModifiers ::= MethodModifiers MethodModifier // case 111: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 112: MethodModifier ::= public // case 112: { //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 113: MethodModifier ::= protected // case 113: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 114: MethodModifier ::= private // case 114: { //#line 781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 115: MethodModifier ::= abstract // case 115: { //#line 786 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 116: MethodModifier ::= static // case 116: { //#line 791 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 117: MethodModifier ::= final // case 117: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 118: MethodModifier ::= native // case 118: { //#line 806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 119: MethodModifier ::= strictfp // case 119: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 120: Throws ::= throws ExceptionTypeList // case 120: { //#line 815 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 817 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 121: ExceptionTypeList ::= ExceptionType // case 121: { //#line 821 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 823 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 122: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 122: { //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 830 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 125: MethodBody ::= ; // case 125: setResult(null); break; // // Rule 127: StaticInitializer ::= static Block // case 127: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 128: SimpleTypeName ::= identifier // case 128: { //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 869 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 130: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 130: { //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 876 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 131: ConstructorModifier ::= public // case 131: { //#line 884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 132: ConstructorModifier ::= protected // case 132: { //#line 889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 133: ConstructorModifier ::= private // case 133: { //#line 894 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 134: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 134: { //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 900 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; l = new TypedList(new LinkedList(), Stmt.class, false); if (ExplicitConstructorInvocationopt == null) { l.add(nf.SuperCall(pos(), Collections.EMPTY_LIST)); } else { l.add(ExplicitConstructorInvocationopt); } l.addAll(BlockStatementsopt); setResult(nf.Block(pos(), l)); break; } // // Rule 135: Arguments ::= ( ArgumentListopt ) // case 135: { //#line 933 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 935 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 138: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 138: { //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 139: InterfaceModifier ::= public // case 139: { //#line 961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 140: InterfaceModifier ::= protected // case 140: { //#line 966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 141: InterfaceModifier ::= private // case 141: { //#line 971 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 142: InterfaceModifier ::= abstract // case 142: { //#line 976 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 143: InterfaceModifier ::= static // case 143: { //#line 981 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 144: InterfaceModifier ::= strictfp // case 144: { //#line 986 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 145: ExtendsInterfaces ::= extends InterfaceType // case 145: { //#line 990 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 146: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 146: { //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 999 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 147: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 147: { //#line 1009 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 149: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 149: { //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1018 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 151: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 151: { //#line 1024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1026 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= ClassDeclaration // case 152: { //#line 1031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1033 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 153: { //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= ; // case 154: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 155: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 155: { //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 157: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 157: { //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1073 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 158: ConstantModifier ::= public // case 158: { //#line 1081 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 159: ConstantModifier ::= static // case 159: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 160: ConstantModifier ::= final // case 160: { //#line 1091 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 162: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 162: { //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 163: AbstractMethodModifier ::= public // case 163: { //#line 1108 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 164: AbstractMethodModifier ::= abstract // case 164: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 165: SimpleName ::= identifier // case 165: { //#line 1169 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 166: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 166: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 167: VariableInitializers ::= VariableInitializer // case 167: { //#line 1206 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 168: VariableInitializers ::= VariableInitializers , VariableInitializer // case 168: { //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 169: Block ::= { BlockStatementsopt } // case 169: { //#line 1234 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 170: BlockStatements ::= BlockStatement // case 170: { //#line 1240 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1242 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 171: BlockStatements ::= BlockStatements BlockStatement // case 171: { //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1249 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 173: BlockStatement ::= ClassDeclaration // case 173: { //#line 1255 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 174: BlockStatement ::= Statement // case 174: { //#line 1262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 176: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 176: { //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1274 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 200: IfThenStatement ::= if ( Expression ) Statement // case 200: { //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 201: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 201: { //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1343 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 202: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 202: { //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 203: EmptyStatement ::= ; // case 203: { //#line 1355 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 204: LabeledStatement ::= identifier : Statement // case 204: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1361 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 205: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 205: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 206: ExpressionStatement ::= StatementExpression ; // case 206: { //#line 1370 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1372 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 214: AssertStatement ::= assert Expression ; // case 214: { //#line 1393 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1395 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 215: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 215: { //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1400 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 216: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 216: { //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 217: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 217: { //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 219: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 219: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 220: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 220: { //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1427 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 221: SwitchLabels ::= SwitchLabel // case 221: { //#line 1434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1436 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabels SwitchLabel // case 222: { //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1443 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 223: SwitchLabel ::= case ConstantExpression : // case 223: { //#line 1448 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1450 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 224: SwitchLabel ::= default : // case 224: { //#line 1457 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 225: WhileStatement ::= while ( Expression ) Statement // case 225: { //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 226: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 226: { //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1472 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 227: DoStatement ::= do Statement while ( Expression ) ; // case 227: { //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1478 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 230: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 230: { //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1487 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 231: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 231: { //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1493 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 233: ForInit ::= LocalVariableDeclaration // case 233: { //#line 1498 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 235: StatementExpressionList ::= StatementExpression // case 235: { //#line 1508 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1510 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 236: { //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 237: BreakStatement ::= break identifieropt ; // case 237: { //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1527 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 238: ContinueStatement ::= continue identifieropt ; // case 238: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 239: ReturnStatement ::= return Expressionopt ; // case 239: { //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1543 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 240: ThrowStatement ::= throw Expression ; // case 240: { //#line 1547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 241: TryStatement ::= try Block Catches // case 241: { //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1561 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 242: TryStatement ::= try Block Catchesopt Finally // case 242: { //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1566 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 243: Catches ::= CatchClause // case 243: { //#line 1570 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1572 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 244: Catches ::= Catches CatchClause // case 244: { //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1579 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 245: CatchClause ::= catch ( FormalParameter ) Block // case 245: { //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 246: Finally ::= finally Block // case 246: { //#line 1590 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1592 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 250: PrimaryNoNewArray ::= Type . class // case 250: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 251: PrimaryNoNewArray ::= void . class // case 251: { //#line 1631 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 252: PrimaryNoNewArray ::= this // case 252: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 253: PrimaryNoNewArray ::= ClassName . this // case 253: { //#line 1640 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1642 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 254: PrimaryNoNewArray ::= ( Expression ) // case 254: { //#line 1645 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1647 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 259: Literal ::= IntegerLiteral$IntegerLiteral // case 259: { //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1657 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 260: Literal ::= LongLiteral$LongLiteral // case 260: { //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1663 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 261: Literal ::= FloatingPointLiteral$FloatLiteral // case 261: { //#line 1667 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1669 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 262: Literal ::= DoubleLiteral$DoubleLiteral // case 262: { //#line 1673 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 263: Literal ::= BooleanLiteral // case 263: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 264: Literal ::= CharacterLiteral$CharacterLiteral // case 264: { //#line 1684 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 265: Literal ::= StringLiteral$str // case 265: { //#line 1690 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1692 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 266: Literal ::= null // case 266: { //#line 1698 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 267: BooleanLiteral ::= true$trueLiteral // case 267: { //#line 1702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 268: BooleanLiteral ::= false$falseLiteral // case 268: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: ArgumentList ::= Expression // case 269: { //#line 1722 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1724 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 270: ArgumentList ::= ArgumentList , Expression // case 270: { //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1731 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 271: DimExprs ::= DimExpr // case 271: { //#line 1765 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1767 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 272: DimExprs ::= DimExprs DimExpr // case 272: { //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1774 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 273: DimExpr ::= [ Expression ] // case 273: { //#line 1779 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 274: Dims ::= [ ] // case 274: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 275: Dims ::= Dims [ ] // case 275: { //#line 1790 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1792 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 276: FieldAccess ::= Primary . identifier // case 276: { //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 277: FieldAccess ::= super . identifier // case 277: { //#line 1801 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= ClassName . super$sup . identifier // case 278: { //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1808 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 279: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 279: { //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1814 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 281: PostfixExpression ::= ExpressionName // case 281: { //#line 1837 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1839 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 284: PostIncrementExpression ::= PostfixExpression ++ // case 284: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 285: PostDecrementExpression ::= PostfixExpression -- // case 285: { //#line 1851 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1853 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 288: UnaryExpression ::= + UnaryExpression // case 288: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 289: UnaryExpression ::= - UnaryExpression // case 289: { //#line 1864 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1866 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 291: PreIncrementExpression ::= ++ UnaryExpression // case 291: { //#line 1871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 292: PreDecrementExpression ::= -- UnaryExpression // case 292: { //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1879 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 294: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 294: { //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1886 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 295: { //#line 1889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1891 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 298: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 298: { //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1905 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 299: { //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1910 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 300: { //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 302: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 302: { //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 303: { //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1927 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 305: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 305: { //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1934 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 306: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 307: { //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1945 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 309: RelationalExpression ::= RelationalExpression < ShiftExpression // case 309: { //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression > ShiftExpression // case 310: { //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1958 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 311: { //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1963 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 312: { //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1968 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 314: EqualityExpression ::= EqualityExpression == RelationalExpression // case 314: { //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1984 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression != RelationalExpression // case 315: { //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1989 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 317: AndExpression ::= AndExpression & EqualityExpression // case 317: { //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1996 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 319: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 319: { //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 321: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 321: { //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2010 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 323: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 323: { //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 325: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 325: { //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 327: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 327: { //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 330: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 330: { //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 331: LeftHandSide ::= ExpressionName // case 331: { //#line 2044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2046 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 334: AssignmentOperator ::= = // case 334: { //#line 2054 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 335: AssignmentOperator ::= *= // case 335: { //#line 2059 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 336: AssignmentOperator ::= /= // case 336: { //#line 2064 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= %= // case 337: { //#line 2069 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= += // case 338: { //#line 2074 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= -= // case 339: { //#line 2079 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= <<= // case 340: { //#line 2084 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= > > = // case 341: { //#line 2089 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > > = // case 342: { //#line 2095 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= &= // case 343: { //#line 2101 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= ^= // case 344: { //#line 2106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= |= // case 345: { //#line 2111 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 348: Dimsopt ::= $Empty // case 348: { //#line 2124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 350: Catchesopt ::= $Empty // case 350: { //#line 2131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 352: identifieropt ::= $Empty // case 352: setResult(null); break; // // Rule 353: identifieropt ::= identifier // case 353: { //#line 2138 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2140 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 354: ForUpdateopt ::= $Empty // case 354: { //#line 2146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 356: Expressionopt ::= $Empty // case 356: setResult(null); break; // // Rule 358: ForInitopt ::= $Empty // case 358: { //#line 2157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 360: SwitchLabelsopt ::= $Empty // case 360: { //#line 2164 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 362: SwitchBlockStatementGroupsopt ::= $Empty // case 362: { //#line 2171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 364: VariableModifiersopt ::= $Empty // case 364: { //#line 2178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 366: VariableInitializersopt ::= $Empty // case 366: setResult(null); break; // // Rule 368: AbstractMethodModifiersopt ::= $Empty // case 368: { //#line 2208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 370: ConstantModifiersopt ::= $Empty // case 370: { //#line 2215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 372: InterfaceMemberDeclarationsopt ::= $Empty // case 372: { //#line 2222 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 374: ExtendsInterfacesopt ::= $Empty // case 374: { //#line 2229 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 376: InterfaceModifiersopt ::= $Empty // case 376: { //#line 2236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 378: ClassBodyopt ::= $Empty // case 378: setResult(null); break; // // Rule 380: Argumentsopt ::= $Empty // case 380: setResult(null); break; // // Rule 381: Argumentsopt ::= Arguments // case 381: throw new Error("No action specified for rule " + 381); // // Rule 382: ,opt ::= $Empty // case 382: setResult(null); break; // // Rule 384: ArgumentListopt ::= $Empty // case 384: { //#line 2266 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 386: BlockStatementsopt ::= $Empty // case 386: { //#line 2273 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 388: ExplicitConstructorInvocationopt ::= $Empty // case 388: setResult(null); break; // // Rule 390: ConstructorModifiersopt ::= $Empty // case 390: { //#line 2284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 392: ...opt ::= $Empty // case 392: setResult(null); break; // // Rule 394: FormalParameterListopt ::= $Empty // case 394: { //#line 2295 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 396: Throwsopt ::= $Empty // case 396: { //#line 2302 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 398: MethodModifiersopt ::= $Empty // case 398: { //#line 2309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 400: FieldModifiersopt ::= $Empty // case 400: { //#line 2316 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 402: ClassBodyDeclarationsopt ::= $Empty // case 402: { //#line 2323 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 404: Interfacesopt ::= $Empty // case 404: { //#line 2330 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 406: Superopt ::= $Empty // case 406: { //#line 2337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 408: ClassModifiersopt ::= $Empty // case 408: { //#line 2348 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 410: TypeDeclarationsopt ::= $Empty // case 410: { //#line 2360 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 412: ImportDeclarationsopt ::= $Empty // case 412: { //#line 2367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 414: PackageDeclarationopt ::= $Empty // case 414: setResult(null); break; // // Rule 416: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 416: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 417: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 734 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: PackageDeclaration ::= package PackageName ; // case 418: { //#line 740 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 742 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 419: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 419: { //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 748 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 421: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 421: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 422: X10ClassModifier ::= ClassModifier // case 422: { //#line 769 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 423: X10ClassModifier ::= safe // case 423: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 424: PropertyList ::= ( Properties WhereClauseopt ) // case 424: { //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 782 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 425: PropertyList ::= ( WhereClause ) // case 425: { //#line 787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 426: Properties ::= Property // case 426: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 427: Properties ::= Properties , Property // case 427: { //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 805 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 428: Property ::= Type identifier // case 428: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 813 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 429: MethodDeclaration ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt MethodBody // case 429: { //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(6); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, MethodBody)); break; } // // Rule 430: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 430: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 431: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 431: { //#line 855 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 857 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 432: { //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 862 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 433: { //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 434: { //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 435: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 435: { //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 890 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 436: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 436: { //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 437: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 930 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 439: { //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 440: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 440: { //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 441: { //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 949 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 443: AssignPropertyCall ::= property ( ArgumentList ) // case 443: { //#line 954 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 444: Type ::= DataType // case 444: { //#line 965 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 967 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 445: Type ::= nullable < Type > DepParametersopt // case 445: { //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 972 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 446: Type ::= future < Type > // case 446: { //#line 978 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 980 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 450: PrimitiveType ::= NumericType DepParametersopt // case 450: { //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 451: PrimitiveType ::= boolean DepParametersopt // case 451: { //#line 1003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1005 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 456: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 456: { //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 457: DepParameters ::= ( DepParameterExpr ) // case 457: { //#line 1036 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 458: DepParameterExpr ::= ArgumentList WhereClauseopt // case 458: { //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 459: DepParameterExpr ::= WhereClause // case 459: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1049 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 460: WhereClause ::= : ConstExpression // case 460: { //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1055 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 461: ConstPrimary ::= Literal // case 461: { //#line 1060 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1062 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 462: ConstPrimary ::= Type . class // case 462: { //#line 1065 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1067 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 463: ConstPrimary ::= void . class // case 463: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 464: ConstPrimary ::= this // case 464: { //#line 1092 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 465: ConstPrimary ::= here // case 465: { //#line 1097 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 466: ConstPrimary ::= ClassName . this // case 466: { //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1102 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 467: ConstPrimary ::= ( ConstExpression ) // case 467: { //#line 1105 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1107 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 469: ConstPrimary ::= self // case 469: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 470: ConstPostfixExpression ::= ConstPrimary // case 470: { //#line 1119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 471: ConstPostfixExpression ::= ExpressionName // case 471: { //#line 1124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 472: ConstUnaryExpression ::= ConstPostfixExpression // case 472: { //#line 1129 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 473: ConstUnaryExpression ::= + ConstUnaryExpression // case 473: { //#line 1134 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 474: ConstUnaryExpression ::= - ConstUnaryExpression // case 474: { //#line 1139 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= ! ConstUnaryExpression // case 475: { //#line 1144 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 476: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 476: { //#line 1150 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 477: { //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 478: { //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1162 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 479: { //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1167 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 480: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 480: { //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1173 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 481: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 481: { //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 482: { //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1183 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstRelationalExpression ::= ConstAdditiveExpression // case 483: { //#line 1188 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1190 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 484: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 484: { //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1195 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 485: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 486: { //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1205 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 487: { //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1210 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 488: ConstEqualityExpression ::= ConstRelationalExpression // case 488: { //#line 1214 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1216 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 489: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 489: { //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1221 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 490: { //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1226 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 491: ConstAndExpression ::= ConstEqualityExpression // case 491: { //#line 1230 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1232 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 492: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 492: { //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1237 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 493: ConstExclusiveOrExpression ::= ConstAndExpression // case 493: { //#line 1241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 494: { //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 495: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 495: { //#line 1252 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1254 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 496: { //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1259 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 497: ConstExpression ::= ConstInclusiveOrExpression // case 497: { //#line 1263 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1265 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 498: { //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1270 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 499: ConstFieldAccess ::= ConstPrimary . identifier // case 499: { //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 500: ConstFieldAccess ::= super . identifier // case 500: { //#line 1280 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= ClassName . super$sup . identifier // case 501: { //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1287 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 503: X10ArrayType ::= Type [ . ] // case 503: { //#line 1303 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1305 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 504: X10ArrayType ::= Type value [ . ] // case 504: { //#line 1308 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1310 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 505: X10ArrayType ::= Type [ DepParameterExpr ] // case 505: { //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1315 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 506: X10ArrayType ::= Type value [ DepParameterExpr ] // case 506: { //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1320 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 507: ObjectKind ::= value // case 507: throw new Error("No action specified for rule " + 507); // // Rule 508: ObjectKind ::= reference // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: MethodModifier ::= atomic // case 509: { //#line 1334 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 510: MethodModifier ::= extern // case 510: { //#line 1339 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 511: MethodModifier ::= safe // case 511: { //#line 1344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 512: MethodModifier ::= sequential // case 512: { //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 513: MethodModifier ::= local // case 513: { //#line 1354 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 514: MethodModifier ::= nonblocking // case 514: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 516: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 516: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1377 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 518: { //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 519: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 519: { //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 520: ThisClause ::= this DepParameters // case 520: { //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1408 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 521: Super ::= extends DataType // case 521: { //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 522: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 522: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 523: MethodDeclarator ::= MethodDeclarator [ ] // case 523: { //#line 1430 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1432 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 524: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 524: { //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1440 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 525: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 525: { //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 526: { //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1482 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 527: { //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1488 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 528: { //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1497 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 529: { //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 530: { //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1507 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 531: Valueopt ::= $Empty // case 531: setResult(null); break; // // Rule 532: Valueopt ::= value // case 532: { //#line 1516 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 535: ArrayBaseType ::= nullable < Type > // case 535: { //#line 1523 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 536: ArrayBaseType ::= future < Type > // case 536: { //#line 1528 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1530 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= ( Type ) // case 537: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 538: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 538: { //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 539: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 539: { //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1548 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 556: NowStatement ::= now ( Clock ) Statement // case 556: { //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1576 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 557: ClockedClause ::= clocked ( ClockList ) // case 557: { //#line 1580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1582 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 558: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 558: { //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 559: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 559: { //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1598 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 560: WhenStatement ::= when ( Expression ) Statement // case 560: { //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1607 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 561: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 561: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 562: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 562: { //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1619 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 563: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1629 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 564: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1639 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 565: FinishStatement ::= finish Statement // case 565: { //#line 1646 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 566: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 566: { //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 567: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 567: { //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 568: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 568: { //#line 1668 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1670 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 569: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 569: { //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1676 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 570: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 571: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 571: { //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1688 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 572: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1699 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 573: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 574: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 574: { //#line 1716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 575: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 575: { //#line 1723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 577: NextStatement ::= next ; // case 577: { //#line 1733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 578: AwaitStatement ::= await Expression ; // case 578: { //#line 1737 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1739 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 579: ClockList ::= Clock // case 579: { //#line 1743 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1745 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 580: ClockList ::= ClockList , Clock // case 580: { //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1752 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 581: Clock ::= Expression // case 581: { //#line 1758 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1760 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 582: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 582: { //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 583: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 583: { //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1777 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: RelationalExpression ::= RelationalExpression instanceof Type // case 584: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 585: IdentifierList ::= identifier // case 585: { //#line 1795 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1797 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 586: IdentifierList ::= IdentifierList , identifier // case 586: { //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1804 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 587: Primary ::= here // case 587: { //#line 1811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 590: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 590: { //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1829 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 591: RegionExpressionList ::= RegionExpression // case 591: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 592: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 592: { //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1854 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 593: Primary ::= [ RegionExpressionList ] // case 593: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 594: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 594: { //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 595: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 595: { //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 596: FieldModifier ::= mutable // case 596: { //#line 1892 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 597: FieldModifier ::= const // case 597: { //#line 1897 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 598: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 598: throw new Error("No action specified for rule " + 598); // // Rule 599: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: MethodModifier ::= synchronized // case 607: { //#line 1928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"synchronized\" is an invalid X10 Method Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.SYNCHRONIZED); break; } // // Rule 608: FieldModifier ::= volatile // case 608: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"volatile\" is an invalid X10 Field Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.VOLATILE); break; } // // Rule 609: SynchronizedStatement ::= synchronized ( Expression ) Block // case 609: { //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1946 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "Synchronized Statement is invalid in X10", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 610: ThisClauseopt ::= $Empty // case 610: setResult(null); break; // // Rule 612: PlaceTypeSpecifieropt ::= $Empty // case 612: setResult(null); break; // // Rule 614: DepParametersopt ::= $Empty // case 614: setResult(null); break; // // Rule 616: PropertyListopt ::= $Empty // case 616: setResult(null); break; // // Rule 618: WhereClauseopt ::= $Empty // case 618: setResult(null); break; // // Rule 620: ObjectKindopt ::= $Empty // case 620: setResult(null); break; // // Rule 622: ArrayInitializeropt ::= $Empty // case 622: setResult(null); break; // // Rule 624: PlaceExpressionSingleListopt ::= $Empty // case 624: setResult(null); break; // // Rule 626: ArgumentListopt ::= $Empty // case 626: setResult(null); break; // // Rule 628: X10ClassModifiersopt ::= $Empty // case 628: { //#line 1992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 630: DepParametersopt ::= $Empty // case 630: setResult(null); break; // // Rule 632: Unsafeopt ::= $Empty // case 632: setResult(null); break; // // Rule 633: Unsafeopt ::= unsafe // case 633: { //#line 2004 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 634: ParamIdopt ::= $Empty // case 634: setResult(null); break; // // Rule 635: ParamIdopt ::= identifier // case 635: { //#line 2011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2013 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 636: ClockedClauseopt ::= $Empty // case 636: { //#line 2019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 1770, 12, 82, 74, 16, 4766, 1377, 3742, 16, 4766, 1377, 949, 12, 588, 3910, 6952, 9334, 16609, 6952, 1435, 3631, 4766, 1377, 21036, 16, 4766, 1377, 10971, 10019, 10792, 898, 31, 5411, 289, 5397, 368, 5411, 368, 6781, 576, 30, 225, 7508, 461, 493, 33, 7508, 461, 263, 1068, 548, 5411, 368, 5411, 648, 576, 30, 288, 7734, 368, 7, 1369, 2872, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 1759, 89, 98, 21, 19, 1252, 19, 92, 2163, 19, 71, 6904, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 1759, 2066, 98, 21, 19, 4446, 14207, 19, 12062, 2 ]
public String toString() {
public String toString() {
public String toString() { return (getName() + ": " + privateKey); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e3f7218be7244f0de74b2230a33469c2bf32546b/Signer.java/buggy/core/src/classpath/java/java/security/Signer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 2463, 261, 17994, 1435, 397, 6398, 315, 397, 11896, 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, 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, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 2463, 261, 17994, 1435, 397, 6398, 315, 397, 11896, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
proplist.add(new PropertyDescriptor("uid", ELTableTag.class, null, "setUid")); proplist.add(new PropertyDescriptor("htmlId", ELTableTag.class, null, "setHtmlId"));
proplist.add(new PropertyDescriptor("uid", ELTableTag.class, null, "setUid")); proplist.add(new PropertyDescriptor("htmlId", ELTableTag.class, null, "setHtmlId"));
public PropertyDescriptor[] getPropertyDescriptors() { List proplist = new ArrayList(); try { proplist.add(new PropertyDescriptor("cellpadding", //$NON-NLS-1$ ELTableTag.class, null, "setCellpadding")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("cellspacing", //$NON-NLS-1$ ELTableTag.class, null, "setCellspacing")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("class", //$NON-NLS-1$ ELTableTag.class, null, "setClass")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("decorator", //$NON-NLS-1$ ELTableTag.class, null, "setDecorator")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("defaultorder", //$NON-NLS-1$ ELTableTag.class, null, "setDefaultorder")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("defaultsort", //$NON-NLS-1$ ELTableTag.class, null, "setDefaultsort")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("export", //$NON-NLS-1$ ELTableTag.class, null, "setExport")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("frame", //$NON-NLS-1$ ELTableTag.class, null, "setFrame")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("length", //$NON-NLS-1$ ELTableTag.class, null, "setLength")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("name", //$NON-NLS-1$ ELTableTag.class, null, "setName")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("offset", //$NON-NLS-1$ ELTableTag.class, null, "setOffset")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("pagesize", //$NON-NLS-1$ ELTableTag.class, null, "setPagesize")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("requestURI", //$NON-NLS-1$ ELTableTag.class, null, "setRequestURI")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("requestURIcontext", //$NON-NLS-1$ ELTableTag.class, null, "setRequestURIcontext")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("rules", //$NON-NLS-1$ ELTableTag.class, null, "setRules")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("sort", //$NON-NLS-1$ ELTableTag.class, null, "setSort")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("style", //$NON-NLS-1$ ELTableTag.class, null, "setStyle")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("summary", //$NON-NLS-1$ ELTableTag.class, null, "setSummary")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("excludedParams", //$NON-NLS-1$ ELTableTag.class, null, "setExcludedParams")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("id", //$NON-NLS-1$ ELTableTag.class, null, "setUid")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("uid", //$NON-NLS-1$ ELTableTag.class, null, "setUid")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("htmlId", //$NON-NLS-1$ ELTableTag.class, null, "setHtmlId")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("varTotals", //$NON-NLS-1$ TableTag.class, null, "setVarTotals")); //$NON-NLS-1$ // deprecated attributes (not supporting expressions) proplist.add(new PropertyDescriptor("width", //$NON-NLS-1$ TableTag.class, null, "setWidth")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("styleClass", //$NON-NLS-1$ ELTableTag.class, null, "setClass")); //$NON-NLS-1$ } catch (IntrospectionException ex) { throw new RuntimeException("You got an introspection exception - maybe defining a property that is not" + " defined in the ElTableTag?: " + ex.getMessage(), ex); } PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()]; return ((PropertyDescriptor[]) proplist.toArray(result)); }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/36e3b2891e97955826a742c9b0b9a8d79b36ed39/ELTableTagBeanInfo.java/clean/displaytag/src/main/java/org/displaytag/tags/el/ELTableTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 2398, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 2398, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 2398, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 1019, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 1019, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 2398, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 3804, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 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, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 2398, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 4329, 3993, 17, 5106, 17, 2 ]
eventLogger.start();
clientConnectLogger.start(); vpnStatsDistLogger.start(); clientDistLogger.start();
public synchronized void start() { isAlive = true; isEnabled = false; logger.debug( "Starting OpenVpn monitor" ); /* If thread is not-null, there is a running thread that thinks it is alive */ if ( thread != null ) { logger.debug( "OpenVpn monitor is already running" ); return; } eventLogger.start(); thread = this.localContext.newThread( this ); thread.start(); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/f88b396e2e4b7e7bdb7156a2e21043061ec76559/OpenVpnMonitor.java/buggy/tran/openvpn/main/com/metavize/tran/openvpn/OpenVpnMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 787, 1435, 565, 288, 3639, 353, 10608, 273, 638, 31, 3639, 12047, 273, 629, 31, 3639, 1194, 18, 4148, 12, 315, 11715, 3502, 18251, 6438, 6, 11272, 3639, 1748, 971, 2650, 353, 486, 17, 2011, 16, 1915, 353, 279, 3549, 2650, 716, 15507, 87, 518, 353, 13714, 1195, 3639, 309, 261, 2650, 480, 446, 262, 288, 5411, 1194, 18, 4148, 12, 315, 3678, 18251, 6438, 353, 1818, 3549, 6, 11272, 5411, 327, 31, 3639, 289, 3639, 1004, 5215, 3328, 18, 1937, 5621, 16872, 4195, 5133, 3328, 18, 1937, 5621, 1004, 5133, 3328, 18, 1937, 5621, 3639, 2650, 273, 333, 18, 3729, 1042, 18, 2704, 3830, 12, 333, 11272, 3639, 2650, 18, 1937, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 787, 1435, 565, 288, 3639, 353, 10608, 273, 638, 31, 3639, 12047, 273, 629, 31, 3639, 1194, 18, 4148, 12, 315, 11715, 3502, 18251, 6438, 6, 11272, 3639, 1748, 971, 2650, 353, 486, 17, 2011, 16, 1915, 353, 279, 3549, 2650, 716, 15507, 87, 518, 353, 13714, 1195, 3639, 309, 261, 2650, 480, 446, 262, 288, 5411, 1194, 18, 4148, 12, 315, 3678, 18251, 6438, 353, 1818, 3549, 6, 11272, 5411, 327, 31, 3639, 289, 3639, 1004, 5215, 3328, 18, 1937, 5621, 16872, 4195, 5133, 3328, 18, 1937, 5621, 1004, 5133, 3328, 18, 1937, 5621, 3639, 2650, 273, 333, 18, 3729, 1042, 18, 2704, 3830, 12, 333, 11272, 3639, 2650, 18, 1937, 5621, 565, 289, 2 ]
public void macro(String macroName, int macroNameOffset, int macroBeginOffset, int macroEndOffset);
public Object macro(String macroName, int macroNameOffset, int macroBeginOffset, int macroEndOffset);
public void macro(String macroName, int macroNameOffset, int macroBeginOffset, int macroEndOffset);
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/eaf3aacd4e3d8f3a8cf9d61dbcdfcb0d824bad16/IParserCallback.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/IParserCallback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 11522, 12, 780, 11522, 461, 16, 509, 11522, 461, 2335, 16, 509, 11522, 8149, 2335, 16, 509, 11522, 1638, 2335, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 11522, 12, 780, 11522, 461, 16, 509, 11522, 461, 2335, 16, 509, 11522, 8149, 2335, 16, 509, 11522, 1638, 2335, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public StoreEntry place(Object key, Object value) {
public synchronized StoreEntry place(Object key, Object value) {
public StoreEntry place(Object key, Object value) { load(); if(indexMap.containsKey(key)){ remove(key); } IndexItem item=write(key,value); indexMap.put(key,item); indexList.add(item); return item; }
11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/5367f1ecb078074ac02e673a8a911d8aed6ed3ec/MapContainerImpl.java/buggy/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/MapContainerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 4994, 1622, 3166, 12, 921, 498, 16, 1033, 460, 13, 288, 3639, 1262, 5621, 3639, 309, 12, 1615, 863, 18, 12298, 653, 12, 856, 3719, 95, 5411, 1206, 12, 856, 1769, 3639, 289, 3639, 3340, 1180, 761, 33, 2626, 12, 856, 16, 1132, 1769, 3639, 770, 863, 18, 458, 12, 856, 16, 1726, 1769, 3639, 770, 682, 18, 1289, 12, 1726, 1769, 3639, 327, 761, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 4994, 1622, 3166, 12, 921, 498, 16, 1033, 460, 13, 288, 3639, 1262, 5621, 3639, 309, 12, 1615, 863, 18, 12298, 653, 12, 856, 3719, 95, 5411, 1206, 12, 856, 1769, 3639, 289, 3639, 3340, 1180, 761, 33, 2626, 12, 856, 16, 1132, 1769, 3639, 770, 863, 18, 458, 12, 856, 16, 1726, 1769, 3639, 770, 682, 18, 1289, 12, 1726, 1769, 3639, 327, 761, 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 ]
public LabelFormatter getDescriptionForEntryType(EntryType entryType) { final LabelFormatter labelFormatter = new LabelFormatter(); labelFormatter.appendLabel(entryType.name(), LabelFormatter.ENUMERATION_RESOURCES); labelFormatter.appendLabel(" ("); labelFormatter.appendLabel(getDegree().getDegreeType().name(), LabelFormatter.ENUMERATION_RESOURCES); labelFormatter.appendLabel(" "); labelFormatter.appendLabel("label.in", LabelFormatter.APPLICATION_RESOURCES); labelFormatter.appendLabel(" "); labelFormatter.appendLabel(getDegree().getName()); labelFormatter.appendLabel(" ) - "); labelFormatter.appendLabel(getExecutionYear().getYear()); return labelFormatter; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/5a5e65ab91adbc0b335217f4f65f847134d48fd8/DeclarationRequestEvent.java/buggy/src/net/sourceforge/fenixedu/domain/accounting/events/serviceRequests/DeclarationRequestEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5287, 5074, 11056, 1290, 1622, 559, 12, 1622, 559, 1241, 559, 13, 288, 202, 6385, 5287, 5074, 1433, 5074, 273, 394, 5287, 5074, 5621, 202, 202, 1925, 5074, 18, 6923, 2224, 12, 4099, 559, 18, 529, 9334, 5287, 5074, 18, 16509, 654, 2689, 67, 11395, 55, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 7566, 1769, 202, 1925, 5074, 18, 6923, 2224, 12, 588, 22885, 7675, 588, 22885, 559, 7675, 529, 9334, 5287, 5074, 18, 16509, 654, 2689, 67, 11395, 55, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 315, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 1925, 18, 267, 3113, 5287, 5074, 18, 25039, 67, 11395, 55, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 315, 1769, 202, 1925, 5074, 18, 6923, 2224, 12, 588, 22885, 7675, 17994, 10663, 202, 1925, 5074, 18, 6923, 2224, 2932, 262, 300, 315, 1769, 202, 1925, 5074, 18, 6923, 2224, 12, 588, 3210, 5593, 7675, 588, 5593, 10663, 202, 202, 2463, 1433, 5074, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5287, 5074, 11056, 1290, 1622, 559, 12, 1622, 559, 1241, 559, 13, 288, 202, 6385, 5287, 5074, 1433, 5074, 273, 394, 5287, 5074, 5621, 202, 202, 1925, 5074, 18, 6923, 2224, 12, 4099, 559, 18, 529, 9334, 5287, 5074, 18, 16509, 654, 2689, 67, 11395, 55, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 7566, 1769, 202, 1925, 5074, 18, 6923, 2224, 12, 588, 22885, 7675, 588, 22885, 559, 7675, 529, 9334, 5287, 5074, 18, 16509, 654, 2689, 67, 11395, 55, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 315, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 1925, 18, 267, 3113, 5287, 5074, 18, 25039, 67, 11395, 55, 1769, 202, 1925, 5074, 18, 6923, 2224, 2932, 2 ]
super.setErrorMessage(newMessage); if(messageArea == null){ if (getContainer() != null) getContainer().updateMessage(); } else messageArea.updateText( PreferenceDialog.getShortenedString( newMessage,messageArea.messageText),IMessageProvider.ERROR); }
super.setErrorMessage(newMessage); if (getContainer() != null) { getContainer().updateMessage(); } }
public void setErrorMessage(String newMessage) { super.setErrorMessage(newMessage); if(messageArea == null){ if (getContainer() != null) getContainer().updateMessage(); } else messageArea.updateText( PreferenceDialog.getShortenedString( newMessage,messageArea.messageText),IMessageProvider.ERROR); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/98b45e0b8578eeafeec1ee7c62f7d35bbe7477b3/PreferencePage.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9967, 1079, 12, 780, 394, 1079, 13, 288, 3639, 2240, 18, 542, 14935, 12, 2704, 1079, 1769, 3639, 309, 12, 2150, 5484, 422, 446, 15329, 540, 202, 430, 261, 588, 2170, 1435, 480, 446, 13, 1850, 202, 202, 588, 2170, 7675, 2725, 1079, 5621, 3639, 289, 3639, 469, 1850, 202, 2150, 5484, 18, 2725, 1528, 12, 6862, 202, 9624, 6353, 18, 588, 4897, 275, 329, 780, 12, 6862, 1082, 202, 2704, 1079, 16, 2150, 5484, 18, 2150, 1528, 3631, 45, 1079, 2249, 18, 3589, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 9967, 1079, 12, 780, 394, 1079, 13, 288, 3639, 2240, 18, 542, 14935, 12, 2704, 1079, 1769, 3639, 309, 12, 2150, 5484, 422, 446, 15329, 540, 202, 430, 261, 588, 2170, 1435, 480, 446, 13, 1850, 202, 202, 588, 2170, 7675, 2725, 1079, 5621, 3639, 289, 3639, 469, 1850, 202, 2150, 5484, 18, 2725, 1528, 12, 6862, 202, 9624, 6353, 18, 588, 4897, 275, 329, 780, 12, 6862, 1082, 202, 2704, 1079, 16, 2150, 5484, 18, 2150, 1528, 3631, 45, 1079, 2249, 18, 3589, 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 ]
return symbols;
return NO_SYMBOLS;
public ISymbol[] getSymbols() { // Call the hasChanged first, to initialize the timestamp if (hasChanged() || symbols == null) { try { loadAll(); } catch (IOException e) { symbols = NO_SYMBOLS; } } return symbols; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/96f8f74ff891fc711574b636826006b328303a0c/MachOBinaryObject.java/clean/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/parser/MachOBinaryObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4437, 3284, 8526, 18712, 87, 1435, 288, 202, 202, 759, 3049, 326, 711, 5033, 1122, 16, 358, 4046, 326, 2858, 202, 202, 430, 261, 5332, 5033, 1435, 747, 7963, 422, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 945, 1595, 5621, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 15536, 273, 3741, 67, 22093, 55, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 7963, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 4437, 3284, 8526, 18712, 87, 1435, 288, 202, 202, 759, 3049, 326, 711, 5033, 1122, 16, 358, 4046, 326, 2858, 202, 202, 430, 261, 5332, 5033, 1435, 747, 7963, 422, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 945, 1595, 5621, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 15536, 273, 3741, 67, 22093, 55, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 7963, 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 ]
return getRubyFrame().getIter() != Iter.ITER_NOT;
return ruby.getRubyFrame().getIter() != Iter.ITER_NOT;
public boolean isBlockGiven() { return getRubyFrame().getIter() != Iter.ITER_NOT; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/cf644c556d410c47305ebeba5728efa25f7756dc/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 31394, 6083, 1435, 288, 3639, 327, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 2360, 1435, 480, 3016, 18, 11844, 67, 4400, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31394, 6083, 1435, 288, 3639, 327, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 2360, 1435, 480, 3016, 18, 11844, 67, 4400, 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 ]
for( int j = 0; j < parentNode.getChildren().length; j++)
for ( int j = 0; j < parentNode.getChildren( ).length; j++ )
private void insertNode( String treatedPath ) { boolean isAttribute = isAttribute(treatedPath); //Remove the leading "/" then split the path. String[] path = treatedPath.replaceFirst("/","").split("/"); //If the path specified an attribute then re-build the path array so that it can divid element and //its attribute to two array items. if( isAttribute ) { String[] temp = path[path.length - 1].split("\\Q[@\\E"); assert temp.length == 2; String[] temp1 = new String[ path.length + 1]; for( int i = 0; i < path.length - 1; i ++) { temp1[i] = path[i]; } temp1[temp1.length - 2] = temp[0]; temp1[temp1.length - 1] = temp[1].replaceAll("\\Q]\\E",""); path = temp1; } //The parentNode ATreeNode parentNode = root; //Iterate each path array element, find or create its countpart node instance. for( int i = 0; i < path.length; i ++) { //This variable hosts the node instance that matches the given path array item value. ATreeNode matchedNode = null; for( int j = 0; j < parentNode.getChildren().length; j++) { if( ((ATreeNode)parentNode.getChildren()[j]).getValue().equals( path[i] )) { matchedNode = (ATreeNode)parentNode.getChildren()[j]; break; } } if( matchedNode != null ) { parentNode = matchedNode; }else { matchedNode = new ATreeNode(); if((i == path.length - 1) && isAttribute) { matchedNode.setType( ATreeNode.ATTRIBUTE_TYPE ); } else { matchedNode.setType( ATreeNode.ELEMENT_TYPE); } matchedNode.setValue( path[i]); matchedNode.setParent( parentNode ); parentNode = matchedNode; } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/145a679d5a271527073531183c90d5bb2a955ab0/SchemaPopulationUtil.java/buggy/data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2243, 907, 12, 514, 13974, 743, 262, 202, 95, 202, 202, 6494, 353, 1499, 273, 353, 1499, 12, 27427, 690, 743, 1769, 9506, 202, 759, 3288, 326, 7676, 4016, 1508, 1416, 326, 589, 18, 202, 202, 780, 8526, 589, 273, 13974, 743, 18, 2079, 3759, 2932, 19, 3113, 3660, 2934, 4939, 2932, 4898, 1769, 9506, 202, 759, 2047, 326, 589, 1269, 392, 1566, 1508, 283, 17, 3510, 326, 589, 526, 1427, 716, 518, 848, 3739, 350, 930, 471, 3196, 202, 759, 1282, 1566, 358, 2795, 526, 1516, 18, 202, 202, 430, 12, 353, 1499, 262, 202, 202, 95, 1082, 202, 780, 8526, 1906, 273, 589, 63, 803, 18, 2469, 300, 404, 8009, 4939, 2932, 1695, 53, 14782, 1695, 41, 8863, 25083, 202, 11231, 1906, 18, 2469, 422, 576, 31, 25083, 202, 780, 8526, 1906, 21, 273, 394, 514, 63, 589, 18, 2469, 397, 404, 15533, 1082, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 589, 18, 2469, 300, 404, 31, 277, 965, 13, 1082, 202, 95, 9506, 202, 5814, 21, 63, 77, 65, 273, 589, 63, 77, 15533, 1082, 202, 97, 1082, 202, 5814, 21, 63, 5814, 21, 18, 2469, 300, 576, 65, 273, 1906, 63, 20, 15533, 1082, 202, 5814, 21, 63, 5814, 21, 18, 2469, 300, 404, 65, 273, 1906, 63, 21, 8009, 2079, 1595, 2932, 1695, 53, 65, 1695, 41, 3113, 3660, 1769, 1082, 202, 803, 273, 1906, 21, 31, 202, 202, 97, 9506, 202, 759, 1986, 7234, 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, 2243, 907, 12, 514, 13974, 743, 262, 202, 95, 202, 202, 6494, 353, 1499, 273, 353, 1499, 12, 27427, 690, 743, 1769, 9506, 202, 759, 3288, 326, 7676, 4016, 1508, 1416, 326, 589, 18, 202, 202, 780, 8526, 589, 273, 13974, 743, 18, 2079, 3759, 2932, 19, 3113, 3660, 2934, 4939, 2932, 4898, 1769, 9506, 202, 759, 2047, 326, 589, 1269, 392, 1566, 1508, 283, 17, 3510, 326, 589, 526, 1427, 716, 518, 848, 3739, 350, 930, 471, 3196, 202, 759, 1282, 1566, 358, 2795, 526, 1516, 18, 202, 202, 430, 12, 353, 1499, 262, 202, 202, 95, 1082, 202, 780, 8526, 1906, 273, 589, 63, 803, 18, 2469, 300, 404, 8009, 4939, 2932, 1695, 2 ]
theTestAdaptor.validateConfig(sb.toString());
adaptor.validateConfig(sb.toString());
public void testInvalid() throws Exception { CruiseControlControllerJMXAdaptor theTestAdaptor = new CruiseControlControllerJMXAdaptor(new CruiseControlController()); try { StringBuffer sb = new StringBuffer(); sb.append("<cruisecontrol>"); sb.append("<project name=\"test\" foo=\"foo\"></project>"); sb.append("</cruisecontrol>"); theTestAdaptor.validateConfig(sb.toString()); fail("No exception found"); } catch (CruiseControlException cce) { // expected } }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/d6c105e9af82cef6eb253068ef92cf3bc8cee9f8/CruiseControlControllerJMXAdaptorTest.java/clean/main/test/net/sourceforge/cruisecontrol/jmx/CruiseControlControllerJMXAdaptorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1941, 1435, 1216, 1185, 288, 7734, 385, 8653, 784, 3367, 2933, 46, 13874, 29888, 326, 4709, 29888, 273, 2398, 394, 385, 8653, 784, 3367, 2933, 46, 13874, 29888, 12, 2704, 385, 8653, 784, 3367, 2933, 10663, 7734, 775, 288, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 2393, 18, 6923, 2932, 32, 3353, 89, 291, 31313, 922, 2984, 1769, 5411, 2393, 18, 6923, 2932, 32, 4406, 508, 5189, 3813, 2412, 8431, 5189, 11351, 2412, 4695, 4406, 2984, 1769, 5411, 2393, 18, 6923, 2932, 1757, 3353, 89, 291, 31313, 922, 2984, 1769, 13491, 9087, 18, 5662, 809, 12, 18366, 18, 10492, 10663, 5411, 2321, 2932, 2279, 1520, 1392, 8863, 3639, 289, 1044, 261, 39, 8653, 784, 3367, 503, 276, 311, 13, 288, 5411, 368, 2665, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1941, 1435, 1216, 1185, 288, 7734, 385, 8653, 784, 3367, 2933, 46, 13874, 29888, 326, 4709, 29888, 273, 2398, 394, 385, 8653, 784, 3367, 2933, 46, 13874, 29888, 12, 2704, 385, 8653, 784, 3367, 2933, 10663, 7734, 775, 288, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 2393, 18, 6923, 2932, 32, 3353, 89, 291, 31313, 922, 2984, 1769, 5411, 2393, 18, 6923, 2932, 32, 4406, 508, 5189, 3813, 2412, 8431, 5189, 11351, 2412, 4695, 4406, 2984, 1769, 5411, 2393, 18, 6923, 2932, 1757, 3353, 89, 291, 31313, 922, 2984, 1769, 13491, 9087, 18, 5662, 809, 12, 18366, 18, 10492, 10663, 5411, 2321, 2932, 2279, 1520, 1392, 8863, 3639, 289, 1044, 261, 39, 8653, 784, 2 ]
if(Trace.trace) Trace.info("NAKACK.OutOfBander.receive()", "received <" + sender + "#" + id + ">\n");
if(Trace.trace) Trace.info("NAKACK.OutOfBander.receive()", "received <" + sender + "#" + id + ">\n");
void receive(long id, Message msg, Vector stable_msgs) { Address sender=msg.getSrc(); // first thing: send ACK back to sender Message ack_msg=new Message(msg.getSrc(), null, null); NakAckHeader hdr=new NakAckHeader(NakAckHeader.OUT_OF_BAND_RSP, id, null); ack_msg.putHeader(getName(), hdr); if(Trace.trace) Trace.info("NAKACK.OutOfBander.receive()", "received <" + sender + "#" + id + ">\n"); if(receiver_win.add(sender, id)) // not received previously passUp(new Event(Event.MSG, msg)); passDown(new Event(Event.MSG, ack_msg)); // send ACK if(Trace.trace) Trace.info("NAKACKER.OutOfBander.receive()", "sending ack <" + sender + "#" + id + ">\n"); if(stable_msgs != null) receiver_win.remove(sender, stable_msgs); }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/75359f4186603c5a949e15ffab51fb811f04ed8e/NAKACK.java/buggy/src/org/jgroups/protocols/NAKACK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 6798, 12, 5748, 612, 16, 2350, 1234, 16, 5589, 14114, 67, 27439, 13, 288, 202, 565, 5267, 5793, 33, 3576, 18, 588, 7740, 5621, 202, 565, 368, 1122, 7757, 30, 1366, 26069, 1473, 358, 5793, 202, 565, 2350, 1377, 8479, 67, 3576, 33, 2704, 2350, 12, 3576, 18, 588, 7740, 9334, 446, 16, 446, 1769, 202, 565, 423, 581, 11931, 1864, 7723, 33, 2704, 423, 581, 11931, 1864, 12, 50, 581, 11931, 1864, 18, 5069, 67, 3932, 67, 38, 4307, 67, 54, 3118, 16, 612, 16, 446, 1769, 202, 565, 8479, 67, 3576, 18, 458, 1864, 12, 17994, 9334, 7723, 1769, 202, 565, 309, 12, 3448, 18, 5129, 13, 2677, 18, 1376, 2932, 11277, 47, 3649, 18, 11224, 14231, 264, 18, 18149, 1435, 3113, 315, 15213, 411, 6, 397, 5793, 397, 13092, 397, 612, 397, 315, 5333, 82, 8863, 202, 565, 309, 12, 24454, 67, 8082, 18, 1289, 12, 15330, 16, 612, 3719, 540, 368, 486, 5079, 7243, 202, 202, 5466, 1211, 12, 2704, 2587, 12, 1133, 18, 11210, 16, 1234, 10019, 202, 565, 1342, 4164, 12, 2704, 2587, 12, 1133, 18, 11210, 16, 8479, 67, 3576, 10019, 225, 368, 1366, 26069, 202, 565, 309, 12, 3448, 18, 5129, 13, 2677, 18, 1376, 2932, 11277, 47, 3649, 654, 18, 11224, 14231, 264, 18, 18149, 1435, 3113, 315, 87, 2846, 8479, 411, 6, 397, 5793, 397, 13092, 397, 612, 397, 315, 5333, 82, 8863, 202, 565, 309, 12, 15021, 67, 27439, 480, 446, 13, 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, 6459, 6798, 12, 5748, 612, 16, 2350, 1234, 16, 5589, 14114, 67, 27439, 13, 288, 202, 565, 5267, 5793, 33, 3576, 18, 588, 7740, 5621, 202, 565, 368, 1122, 7757, 30, 1366, 26069, 1473, 358, 5793, 202, 565, 2350, 1377, 8479, 67, 3576, 33, 2704, 2350, 12, 3576, 18, 588, 7740, 9334, 446, 16, 446, 1769, 202, 565, 423, 581, 11931, 1864, 7723, 33, 2704, 423, 581, 11931, 1864, 12, 50, 581, 11931, 1864, 18, 5069, 67, 3932, 67, 38, 4307, 67, 54, 3118, 16, 612, 16, 446, 1769, 202, 565, 8479, 67, 3576, 18, 458, 1864, 12, 17994, 9334, 7723, 1769, 202, 565, 309, 12, 3448, 18, 5129, 13, 2677, 18, 1376, 2932, 11277, 47, 3649, 2 ]
rendererPane.paintComponent(g, comp, tree, new Rectangle(x, y, 10, 25));
rendererPane.paintComponent(g, comp, tree, getCellBounds(x, y, leaf));
private void paintLeaf(Graphics g, int x, int y, JTree tree, Object leaf) { TreePath tp = new TreePath(((DefaultMutableTreeNode) leaf).getPath()); boolean selected = tree.isPathSelected(tp); Component c = tree.getCellRenderer().getTreeCellRendererComponent(tree, leaf, selected, false, true, 0, false); if (selected) { Component comp = tree.getCellRenderer() .getTreeCellRendererComponent(tree, leaf, true, false, true, 0, false); rendererPane.paintComponent(g, comp, tree, new Rectangle(x, y, 10, 25)); } g.translate(x, y); c.paint(g); g.translate(-x, -y); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/5d72b6a15b486e2a0439d7d26a2205595690ecb9/BasicTreeUI.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12574, 9858, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 804, 2471, 2151, 16, 1033, 7839, 13, 202, 95, 202, 202, 2471, 743, 8071, 273, 394, 4902, 743, 12443, 12, 1868, 19536, 12513, 13, 7839, 2934, 588, 743, 10663, 202, 202, 6494, 3170, 273, 2151, 18, 291, 743, 7416, 12, 6834, 1769, 202, 202, 1841, 276, 273, 2151, 18, 588, 4020, 6747, 7675, 588, 2471, 4020, 6747, 1841, 12, 3413, 16, 9506, 202, 12070, 16, 3170, 16, 629, 16, 638, 16, 374, 16, 629, 1769, 202, 202, 430, 261, 8109, 13, 202, 202, 95, 1082, 202, 1841, 1161, 273, 2151, 18, 588, 4020, 6747, 1435, 6862, 202, 18, 588, 2471, 4020, 6747, 1841, 12, 3413, 16, 7839, 16, 638, 16, 629, 16, 6862, 1082, 202, 3767, 16, 374, 16, 629, 1769, 1082, 202, 14374, 8485, 18, 84, 1598, 1841, 12, 75, 16, 1161, 16, 2151, 16, 394, 13264, 12, 92, 16, 677, 16, 1728, 16, 6862, 202, 2947, 10019, 202, 202, 97, 202, 202, 75, 18, 13929, 12, 92, 16, 677, 1769, 202, 202, 71, 18, 84, 1598, 12, 75, 1769, 202, 202, 75, 18, 13929, 19236, 92, 16, 300, 93, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12574, 9858, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 804, 2471, 2151, 16, 1033, 7839, 13, 202, 95, 202, 202, 2471, 743, 8071, 273, 394, 4902, 743, 12443, 12, 1868, 19536, 12513, 13, 7839, 2934, 588, 743, 10663, 202, 202, 6494, 3170, 273, 2151, 18, 291, 743, 7416, 12, 6834, 1769, 202, 202, 1841, 276, 273, 2151, 18, 588, 4020, 6747, 7675, 588, 2471, 4020, 6747, 1841, 12, 3413, 16, 9506, 202, 12070, 16, 3170, 16, 629, 16, 638, 16, 374, 16, 629, 1769, 202, 202, 430, 261, 8109, 13, 202, 202, 95, 1082, 202, 1841, 1161, 273, 2151, 18, 588, 4020, 6747, 1435, 6862, 202, 18, 588, 2471, 4020, 6747, 1841, 2 ]
public Heap createHeap(Collection c, Comparator comp, boolean maximum) { return new FibonacciHeap(c, comp, maximum); }
public Heap createHeap( Collection c, Comparator comp, boolean maximum ) { return new FibonacciHeap( c, comp, maximum ); }
public Heap createHeap(Collection c, Comparator comp, boolean maximum) { return new FibonacciHeap(c, comp, maximum); }
47032 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47032/f63e1142cae73862c9c4f7b6ce46225b40f3ef86/FibonacciHeap.java/clean/src/org/_3pq/jgrapht/experimental/heap/FibonacciHeap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 30241, 752, 15648, 12, 2532, 276, 16, 13359, 1161, 16, 1250, 4207, 13, 288, 5411, 327, 394, 478, 495, 265, 8981, 77, 15648, 12, 71, 16, 1161, 16, 4207, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 540, 1071, 30241, 752, 15648, 12, 2532, 276, 16, 13359, 1161, 16, 1250, 4207, 13, 288, 5411, 327, 394, 478, 495, 265, 8981, 77, 15648, 12, 71, 16, 1161, 16, 4207, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (! close) { open = true; } DocListener listener; for (Iterator iterator = listeners.iterator(); iterator.hasNext(); ) { listener = (DocListener) iterator.next(); listener.setPageSize(pageSize); listener.setMargins(marginLeft, marginRight, marginTop, marginBottom); listener.open(); } }
if (!close) { open = true; } DocListener listener; for (Iterator iterator = listeners.iterator(); iterator.hasNext();) { listener = (DocListener) iterator.next(); listener.setPageSize(pageSize); listener.setMargins(marginLeft, marginRight, marginTop, marginBottom); listener.open(); } }
public void open() { if (! close) { open = true; } DocListener listener; for (Iterator iterator = listeners.iterator(); iterator.hasNext(); ) { listener = (DocListener) iterator.next(); listener.setPageSize(pageSize); listener.setMargins(marginLeft, marginRight, marginTop, marginBottom); listener.open(); } }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/6374fb541ec4c884f13ffe782fa31c3ec1facb37/Document.java/clean/src/com/lowagie/text/Document.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1696, 1435, 288, 3639, 309, 16051, 1746, 13, 288, 5411, 1696, 273, 638, 31, 3639, 289, 3639, 3521, 2223, 2991, 31, 3639, 364, 261, 3198, 2775, 273, 4679, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 262, 288, 5411, 2991, 273, 261, 1759, 2223, 13, 2775, 18, 4285, 5621, 5411, 2991, 18, 542, 24035, 12, 26165, 1769, 5411, 2991, 18, 542, 28528, 12, 10107, 3910, 16, 7333, 4726, 16, 7333, 3401, 16, 7333, 10393, 1769, 5411, 2991, 18, 3190, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1696, 1435, 288, 3639, 309, 16051, 1746, 13, 288, 5411, 1696, 273, 638, 31, 3639, 289, 3639, 3521, 2223, 2991, 31, 3639, 364, 261, 3198, 2775, 273, 4679, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 262, 288, 5411, 2991, 273, 261, 1759, 2223, 13, 2775, 18, 4285, 5621, 5411, 2991, 18, 542, 24035, 12, 26165, 1769, 5411, 2991, 18, 542, 28528, 12, 10107, 3910, 16, 7333, 4726, 16, 7333, 3401, 16, 7333, 10393, 1769, 5411, 2991, 18, 3190, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (jj_2_43(3)) {
} else if (jj_2_45(3)) {
final public Action action() throws ParseException { Token t; VarAttrValMake vavm; FunctionCall fc; if (jj_2_42(3)) { vavm = varAttrValMake(); {if (true) return new Action(vavm);} } else if (jj_2_43(3)) { fc = functionCall(); {if (true) return new Action(fc);} } else if (jj_2_44(3)) { jj_consume_token(TCL_PREPROCESS); {if (true) return null;} } else { jj_consume_token(-1); throw new ParseException(); } throw new Error("Missing return statement in function"); }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d9311230f82f4404a6caf7a2cb902c26b0b86646/SoarParser.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 4382, 1301, 1435, 1216, 10616, 288, 3639, 3155, 268, 31, 3639, 4562, 3843, 3053, 6464, 331, 842, 81, 31, 3639, 4284, 1477, 8036, 31, 565, 309, 261, 78, 78, 67, 22, 67, 9452, 12, 23, 3719, 288, 1377, 331, 842, 81, 273, 569, 3843, 3053, 6464, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 90, 842, 81, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 7950, 12, 23, 3719, 288, 1377, 8036, 273, 445, 1477, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 7142, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 6334, 12, 23, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 56, 5017, 67, 3670, 16560, 1769, 7734, 288, 430, 261, 3767, 13, 327, 446, 31, 97, 565, 289, 469, 288, 1377, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 1377, 604, 394, 10616, 5621, 565, 289, 565, 604, 394, 1068, 2932, 4841, 327, 3021, 316, 445, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 4382, 1301, 1435, 1216, 10616, 288, 3639, 3155, 268, 31, 3639, 4562, 3843, 3053, 6464, 331, 842, 81, 31, 3639, 4284, 1477, 8036, 31, 565, 309, 261, 78, 78, 67, 22, 67, 9452, 12, 23, 3719, 288, 1377, 331, 842, 81, 273, 569, 3843, 3053, 6464, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 90, 842, 81, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 7950, 12, 23, 3719, 288, 1377, 8036, 273, 445, 1477, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 7142, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 6334, 12, 23, 3719, 288, 1377, 10684, 67, 21224, 67, 2 ]
if (jj_scan_token(STATIC)) return true;
if (jj_3R_77()) return true;
final private boolean jj_3R_94() { if (jj_scan_token(STATIC)) return true; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/30dbed0065b5a20aa4e60ae16f7a8e47197c4cee/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 11290, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 4700, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 11290, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 4700, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
writeWrappedMolecule((Molecule)object, element);
Molecule mol = (Molecule)object; if (useCmlIdentifiers) { new IDCreator().createIDs(mol); } writeMolecule(mol, element);
public Node convert(ChemObject object, CMLDocument doc) throws CDKException, CMLException { logger.debug("Writing object in CML of type: ", object.getClass().getName()); this.doc=doc; Element element = this.createElement("test"); if (object instanceof SetOfMolecules) { writeSetOfMolecules((SetOfMolecules)object, element); } else if (object instanceof Molecule) { writeWrappedMolecule((Molecule)object, element); } else if (object instanceof AtomContainer) { writeWrappedAtomContainer((AtomContainer)object, element); } else if (object instanceof Crystal) { writeCrystal((Crystal)object, element); } else if (object instanceof ChemSequence) { writeChemSequence((ChemSequence)object, element); } else if (object instanceof ChemFile) { writeChemFile((ChemFile)object, element); } else if (object instanceof ChemModel) { writeChemModel((ChemModel)object, element); } else if (object instanceof Atom) { writeAtom(null, (Atom)object, element); } else if (object instanceof Bond) { writeBond((Bond)object, element); } else if (object instanceof Reaction) { writeReaction((Reaction)object, element); } else { String errorMessage = "This object type is not supported: " + object.getClass().getName(); logger.error(errorMessage); throw new CDKException(errorMessage); } if (setNamespaceUri && schemaInstanceOutput && instanceLocation.length() > 0) { Attr schemaLocAttr = doc.createAttribute("xsi"); schemaLocAttr.setPrefix("xmlns"); schemaLocAttr.setValue("http://www.w3.org/2001/XMLSchema-instance"); ((Element)element.getFirstChild()).setAttributeNodeNS(schemaLocAttr); schemaLocAttr = doc.createAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "schemaLocation"); schemaLocAttr.setPrefix("xsi"); schemaLocAttr.setValue(namespace + " " + instanceLocation); ((Element)element.getFirstChild()).setAttributeNodeNS(schemaLocAttr); } return(element.getFirstChild()); };
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/f154b9cb7d5ca336f8a9f0b05a8d5baddda3c894/Convertor.java/buggy/src/org/openscience/cdk/libio/cml/Convertor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1765, 12, 20200, 921, 733, 16, 385, 1495, 2519, 997, 13, 1216, 24570, 16, 385, 1495, 503, 288, 3639, 1194, 18, 4148, 2932, 18835, 733, 316, 385, 1495, 434, 618, 30, 3104, 733, 18, 588, 797, 7675, 17994, 10663, 3639, 333, 18, 2434, 33, 2434, 31, 3639, 3010, 930, 273, 333, 18, 2640, 1046, 2932, 3813, 8863, 3639, 309, 261, 1612, 1276, 1000, 951, 49, 29466, 13, 288, 5411, 1045, 694, 951, 49, 29466, 12443, 694, 951, 49, 29466, 13, 1612, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 490, 10545, 13, 288, 2398, 490, 10545, 12629, 273, 261, 29669, 13, 1612, 31, 309, 261, 1202, 39, 781, 12745, 13, 288, 394, 1599, 10636, 7675, 2640, 5103, 12, 21260, 1769, 289, 1045, 29669, 12, 21260, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 7149, 2170, 13, 288, 5411, 1045, 17665, 3641, 2170, 12443, 3641, 2170, 13, 1612, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 14998, 31365, 13, 288, 5411, 1045, 12893, 31365, 12443, 12893, 31365, 13, 1612, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 26542, 4021, 13, 288, 5411, 1045, 20200, 4021, 12443, 20200, 4021, 13, 1612, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 26542, 812, 13, 288, 5411, 1045, 20200, 812, 12443, 20200, 812, 13, 1612, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 26542, 1488, 13, 288, 5411, 1045, 20200, 1488, 12443, 20200, 1488, 13, 1612, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1765, 12, 20200, 921, 733, 16, 385, 1495, 2519, 997, 13, 1216, 24570, 16, 385, 1495, 503, 288, 3639, 1194, 18, 4148, 2932, 18835, 733, 316, 385, 1495, 434, 618, 30, 3104, 733, 18, 588, 797, 7675, 17994, 10663, 3639, 333, 18, 2434, 33, 2434, 31, 3639, 3010, 930, 273, 333, 18, 2640, 1046, 2932, 3813, 8863, 3639, 309, 261, 1612, 1276, 1000, 951, 49, 29466, 13, 288, 5411, 1045, 694, 951, 49, 29466, 12443, 694, 951, 49, 29466, 13, 1612, 16, 930, 1769, 3639, 289, 469, 309, 261, 1612, 1276, 490, 10545, 13, 288, 2398, 490, 10545, 12629, 273, 261, 29669, 13, 1612, 31, 309, 261, 1202, 39, 781, 12745, 13, 288, 394, 1599, 10636, 2 ]
if(levels>0)
for(int i=0;i<Math.abs(levels);i++)
public int incDEFXP() { this.def_xp++; put("def_xp",def_xp); int newLevel=Level.getLevel(def_xp); int levels=newLevel-(getDEF()-10); if(levels>0) { setDEF(this.def+1); rp.addGameEvent(getName(),"def",Integer.toString(getDEF())); } return def_xp; }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/f659bb1de6433487f18069e368bc2e7528d0282a/RPEntity.java/clean/src/games/stendhal/server/entity/RPEntity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 7290, 12904, 60, 52, 1435, 565, 288, 565, 333, 18, 536, 67, 23829, 9904, 31, 565, 1378, 2932, 536, 67, 23829, 3113, 536, 67, 23829, 1769, 565, 509, 394, 2355, 33, 2355, 18, 588, 2355, 12, 536, 67, 23829, 1769, 565, 509, 7575, 33, 2704, 2355, 17, 12, 588, 12904, 1435, 17, 2163, 1769, 540, 364, 12, 474, 277, 33, 20, 31, 77, 32, 10477, 18, 5113, 12, 12095, 1769, 77, 27245, 1377, 288, 1377, 444, 12904, 12, 2211, 18, 536, 15, 21, 1769, 1377, 8715, 18, 1289, 12496, 1133, 12, 17994, 9334, 6, 536, 3113, 4522, 18, 10492, 12, 588, 12904, 1435, 10019, 1377, 289, 3639, 327, 1652, 67, 23829, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 7290, 12904, 60, 52, 1435, 565, 288, 565, 333, 18, 536, 67, 23829, 9904, 31, 565, 1378, 2932, 536, 67, 23829, 3113, 536, 67, 23829, 1769, 565, 509, 394, 2355, 33, 2355, 18, 588, 2355, 12, 536, 67, 23829, 1769, 565, 509, 7575, 33, 2704, 2355, 17, 12, 588, 12904, 1435, 17, 2163, 1769, 540, 364, 12, 474, 277, 33, 20, 31, 77, 32, 10477, 18, 5113, 12, 12095, 1769, 77, 27245, 1377, 288, 1377, 444, 12904, 12, 2211, 18, 536, 15, 21, 1769, 1377, 8715, 18, 1289, 12496, 1133, 12, 17994, 9334, 6, 536, 3113, 4522, 18, 10492, 12, 588, 12904, 1435, 10019, 1377, 289, 3639, 327, 1652, 67, 23829, 31, 565, 289, 2, -100, -100 ]
if(val == get()) return; if(val){ try{ SubConfig sc = nodeConfig.get("node.updater"); node.nodeUpdater = new NodeUpdater(node , sc.getBoolean("autoupdate"), new FreenetURI(sc.getString("URI")), new FreenetURI(sc.getString("revocationURI"))); Logger.normal(this, "Starting up the node updater"); }catch (Exception e){ Logger.error(this, "unable to start the node updater up "+e); throw new InvalidConfigValueException("Unable to enable the Node Updater "+e);
synchronized (node.nodeUpdater) { if(val == get()) return; if(val){ try{ SubConfig sc = nodeConfig.get("node.updater"); node.nodeUpdater = new NodeUpdater(node , sc.getBoolean("autoupdate"), new FreenetURI(sc.getString("URI")), new FreenetURI(sc.getString("revocationURI"))); Logger.normal(this, "Starting up the node updater"); }catch (Exception e){ Logger.error(this, "unable to start the node updater up "+e); throw new InvalidConfigValueException("Unable to enable the Node Updater "+e); } }else{ node.nodeUpdater.kill(); Logger.normal(this, "Shutting down the node updater");
public void set(boolean val) throws InvalidConfigValueException { if(val == get()) return; if(val){ try{ SubConfig sc = nodeConfig.get("node.updater"); node.nodeUpdater = new NodeUpdater(node , sc.getBoolean("autoupdate"), new FreenetURI(sc.getString("URI")), new FreenetURI(sc.getString("revocationURI"))); Logger.normal(this, "Starting up the node updater"); }catch (Exception e){ Logger.error(this, "unable to start the node updater up "+e); throw new InvalidConfigValueException("Unable to enable the Node Updater "+e); } }else{ node.nodeUpdater.kill(); Logger.normal(this, "Shutting down the node updater"); } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/515e00369c8afb7734d4d0ae9dd781d36f8147cc/UpdaterEnabledCallback.java/clean/src/freenet/node/updater/UpdaterEnabledCallback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 12, 6494, 1244, 13, 1216, 1962, 809, 9738, 288, 202, 202, 430, 12, 1125, 422, 336, 10756, 327, 31, 202, 202, 430, 12, 1125, 15329, 1082, 202, 698, 95, 9506, 202, 1676, 809, 888, 273, 756, 809, 18, 588, 2932, 2159, 18, 25575, 8863, 9506, 202, 2159, 18, 2159, 15305, 273, 394, 2029, 15305, 12, 2159, 269, 888, 18, 588, 5507, 2932, 6079, 2725, 6, 3631, 394, 478, 2842, 278, 3098, 12, 1017, 18, 588, 780, 2932, 3098, 7923, 3631, 394, 478, 2842, 278, 3098, 12, 1017, 18, 588, 780, 2932, 9083, 4431, 3098, 6, 3719, 1769, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 11715, 731, 326, 756, 7760, 8863, 1082, 202, 97, 14683, 261, 503, 425, 15329, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 18828, 358, 787, 326, 756, 7760, 731, 13773, 73, 1769, 9506, 202, 12849, 394, 1962, 809, 9738, 2932, 3370, 358, 4237, 326, 2029, 27254, 2045, 13773, 73, 1769, 1082, 202, 97, 202, 202, 97, 12107, 95, 1082, 202, 2159, 18, 2159, 15305, 18, 16418, 5621, 1082, 202, 3328, 18, 6130, 12, 2211, 16, 315, 1555, 25387, 2588, 326, 756, 7760, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 12, 6494, 1244, 13, 1216, 1962, 809, 9738, 288, 202, 202, 430, 12, 1125, 422, 336, 10756, 327, 31, 202, 202, 430, 12, 1125, 15329, 1082, 202, 698, 95, 9506, 202, 1676, 809, 888, 273, 756, 809, 18, 588, 2932, 2159, 18, 25575, 8863, 9506, 202, 2159, 18, 2159, 15305, 273, 394, 2029, 15305, 12, 2159, 269, 888, 18, 588, 5507, 2932, 6079, 2725, 6, 3631, 394, 478, 2842, 278, 3098, 12, 1017, 18, 588, 780, 2932, 3098, 7923, 3631, 394, 478, 2842, 278, 3098, 12, 1017, 18, 588, 780, 2932, 9083, 4431, 3098, 6, 3719, 1769, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 11715, 731, 326, 756, 7760, 8863, 1082, 202, 2 ]
value.setValue(13); assertEquals(13, value.getIntValue()); }
value.setValue(13); assertEquals(13, value.getIntValue()); }
public void testIntValue() { value.setValue(13); assertEquals(13, value.getIntValue()); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ReturnValueTest.java/clean/jmock/core/src/test/jmock/expectation/ReturnValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1702, 620, 1435, 288, 202, 202, 1132, 18, 542, 620, 12, 3437, 1769, 202, 202, 11231, 8867, 12, 3437, 16, 460, 18, 588, 1702, 620, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1702, 620, 1435, 288, 202, 202, 1132, 18, 542, 620, 12, 3437, 1769, 202, 202, 11231, 8867, 12, 3437, 16, 460, 18, 588, 1702, 620, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List<Label> labels = vcs.getLabelsFor(p("file"));
List<Label> labels = vcs.getLabelsFor(p("/file"));
public void testNoDifferenceBetweenLabels() { vcs.createFile(p("file"), "content"); vcs.apply(); List<Label> labels = vcs.getLabelsFor(p("file")); Label one = labels.get(0); Label two = labels.get(0); Difference d = one.getDifferenceWith(two); assertFalse(d.hasDifference()); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsDifferencesTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsDifferencesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2279, 16220, 11831, 5888, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 6, 3631, 315, 1745, 8863, 565, 20255, 18, 9010, 5621, 565, 987, 32, 2224, 34, 3249, 273, 20255, 18, 588, 5888, 1290, 12, 84, 2932, 19, 768, 7923, 1769, 565, 5287, 1245, 273, 3249, 18, 588, 12, 20, 1769, 565, 5287, 2795, 273, 3249, 18, 588, 12, 20, 1769, 565, 29474, 302, 273, 1245, 18, 588, 16220, 1190, 12, 15415, 1769, 565, 1815, 8381, 12, 72, 18, 5332, 16220, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 2279, 16220, 11831, 5888, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 6, 3631, 315, 1745, 8863, 565, 20255, 18, 9010, 5621, 565, 987, 32, 2224, 34, 3249, 273, 20255, 18, 588, 5888, 1290, 12, 84, 2932, 19, 768, 7923, 1769, 565, 5287, 1245, 273, 3249, 18, 588, 12, 20, 1769, 565, 5287, 2795, 273, 3249, 18, 588, 12, 20, 1769, 565, 29474, 302, 273, 1245, 18, 588, 16220, 1190, 12, 15415, 1769, 565, 1815, 8381, 12, 72, 18, 5332, 16220, 10663, 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 ]
if (attributes != null && attributes.getValue("revision") != null) currentRevisionData.setRevisionNumber(attributes.getValue("revision")); else fatalError("Invalid SVN log file.");
if (attributes != null && attributes.getValue("revision") != null) currentRevisionData.setRevisionNumber(attributes.getValue("revision")); else fatalError("Invalid SVN log file.");
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { // TODO Auto-generated method stub super.startElement(uri, localName, qName, attributes); stringData = ""; String eName = localName; // element name if ("".equals(eName)) eName = qName; // namespaceAware = false // if (attrs != null) { // for (int i = 0; i < attrs.getLength(); i++) { // String aName = attrs.getLocalName(i); // Attr name // if ("".equals(aName)) aName = attrs.getQName(i); // } // } currentElement = eName; if (eName.equals(LOG)) { if (!lastElement.equals("")) { fatalError("Invalid SVN log file."); } lastElement = LOG; builder.buildModule(SvnLogUtils.getModuleName()); } else if (eName.equals(LOGENTRY)) { if (!lastElement.equals(LOG)) { fatalError("Invalid SVN log file."); } lastElement = LOGENTRY; currentRevisionData = new RevisionData(); if (attributes != null && attributes.getValue("revision") != null) currentRevisionData.setRevisionNumber(attributes.getValue("revision")); else fatalError("Invalid SVN log file."); } else if (eName.equals(AUTHOR) || eName.equals(DATE) || eName.equals(MSG)) { if (!lastElement.equals(LOGENTRY)) { fatalError("Invalid SVN log file."); } } else if (eName.equals(PATHS)) { if (!lastElement.equals(LOGENTRY)) { fatalError("Invalid SVN log file."); } lastElement = PATHS; } else if (eName.equals(PATH)) { if (!lastElement.equals(PATHS)) { fatalError("Invalid SVN log file."); } if (attributes != null && attributes.getValue("action") != null) pathAction = attributes.getValue("action"); else fatalError("Invalid SVN log file."); } else { fatalError("Invalid SVN log file."); } }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/8b7cbfcba52189cde0e387d26229bb5cd183d5bd/SvnXmlLogFileHandler.java/clean/src/net/sf/statcvs/input/SvnXmlLogFileHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 368, 2660, 8064, 17, 11168, 707, 7168, 3639, 2240, 18, 1937, 1046, 12, 1650, 16, 11927, 16, 22914, 16, 1677, 1769, 3639, 533, 751, 273, 1408, 31, 3639, 514, 425, 461, 273, 11927, 31, 368, 930, 508, 3639, 309, 261, 3660, 18, 14963, 12, 73, 461, 3719, 5411, 425, 461, 273, 22914, 31, 368, 1981, 10155, 273, 629, 3639, 368, 309, 261, 7039, 480, 446, 13, 288, 3639, 368, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3422, 18, 588, 1782, 5621, 277, 27245, 288, 3639, 368, 514, 279, 461, 273, 3422, 18, 588, 29583, 12, 77, 1769, 368, 11289, 508, 3639, 368, 309, 261, 3660, 18, 14963, 12, 69, 461, 3719, 279, 461, 273, 3422, 18, 588, 13688, 12, 77, 1769, 3639, 368, 289, 3639, 368, 289, 3639, 22993, 273, 425, 461, 31, 3639, 309, 261, 73, 461, 18, 14963, 12, 4842, 3719, 288, 5411, 309, 16051, 2722, 1046, 18, 14963, 2932, 6, 3719, 288, 7734, 10081, 668, 2932, 1941, 29537, 50, 613, 585, 1199, 1769, 5411, 289, 5411, 1142, 1046, 273, 2018, 31, 5411, 2089, 18, 3510, 3120, 12, 55, 25031, 1343, 1989, 18, 588, 22542, 10663, 3639, 289, 469, 309, 261, 73, 461, 18, 14963, 12, 4842, 19083, 3719, 288, 5411, 309, 16051, 2722, 1046, 18, 14963, 12, 4842, 3719, 288, 7734, 10081, 668, 2932, 1941, 29537, 50, 613, 585, 1199, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 368, 2660, 8064, 17, 11168, 707, 7168, 3639, 2240, 18, 1937, 1046, 12, 1650, 16, 11927, 16, 22914, 16, 1677, 1769, 3639, 533, 751, 273, 1408, 31, 3639, 514, 425, 461, 273, 11927, 31, 368, 930, 508, 3639, 309, 261, 3660, 18, 14963, 12, 73, 461, 3719, 5411, 425, 461, 273, 22914, 31, 368, 1981, 10155, 273, 629, 3639, 368, 309, 261, 7039, 480, 446, 13, 288, 3639, 368, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3422, 18, 588, 1782, 5621, 277, 27245, 288, 3639, 368, 514, 279, 461, 273, 3422, 18, 588, 29583, 12, 77, 2 ]
if (exampleText != null) return exampleText; if (getLocale() == null) { Collection voices = Voice.getAvailableVoices(); for (Iterator it = voices.iterator(); it.hasNext(); ) { Voice v = (Voice) it.next(); Locale locale = v.getLocale(); MaryDataType specific = getLanguageSpecificVersion(this, locale); if (specific != null) { assert specific.getLocale() != null; return specific.exampleText(); } } return null; } else { return null; }
return exampleText;
public String exampleText() { if (exampleText != null) return exampleText; // No example text in current data type if (getLocale() == null) { Collection voices = Voice.getAvailableVoices(); for (Iterator it = voices.iterator(); it.hasNext(); ) { Voice v = (Voice) it.next(); Locale locale = v.getLocale(); MaryDataType specific = getLanguageSpecificVersion(this, locale); if (specific != null) { assert specific.getLocale() != null; return specific.exampleText(); } // else, try next voice's locale } // no specific data type for any of the voices' locales return null; } else { // locale, but no example text return null; } }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/01fcf989abc5c8aec5a6fc4997447bd416825781/MaryDataType.java/clean/java/de/dfki/lt/mary/MaryDataType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3454, 1528, 1435, 565, 288, 3639, 309, 261, 8236, 1528, 480, 446, 13, 5411, 327, 3454, 1528, 31, 3639, 368, 2631, 3454, 977, 316, 783, 501, 618, 3639, 309, 261, 588, 3916, 1435, 422, 446, 13, 288, 5411, 2200, 331, 17725, 273, 23582, 18, 588, 5268, 58, 17725, 5621, 5411, 364, 261, 3198, 518, 273, 331, 17725, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 7734, 23582, 331, 273, 261, 14572, 13, 518, 18, 4285, 5621, 7734, 6458, 2573, 273, 331, 18, 588, 3916, 5621, 7734, 490, 814, 6273, 2923, 273, 12898, 9969, 1444, 12, 2211, 16, 2573, 1769, 7734, 309, 261, 12524, 480, 446, 13, 288, 10792, 1815, 2923, 18, 588, 3916, 1435, 480, 446, 31, 10792, 327, 2923, 18, 8236, 1528, 5621, 7734, 289, 368, 469, 16, 775, 1024, 15063, 1807, 2573, 5411, 289, 5411, 368, 1158, 2923, 501, 618, 364, 1281, 434, 326, 331, 17725, 11, 6922, 5411, 327, 446, 31, 3639, 289, 469, 288, 368, 2573, 16, 1496, 1158, 3454, 977, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3454, 1528, 1435, 565, 288, 3639, 309, 261, 8236, 1528, 480, 446, 13, 5411, 327, 3454, 1528, 31, 3639, 368, 2631, 3454, 977, 316, 783, 501, 618, 3639, 309, 261, 588, 3916, 1435, 422, 446, 13, 288, 5411, 2200, 331, 17725, 273, 23582, 18, 588, 5268, 58, 17725, 5621, 5411, 364, 261, 3198, 518, 273, 331, 17725, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 7734, 23582, 331, 273, 261, 14572, 13, 518, 18, 4285, 5621, 7734, 6458, 2573, 273, 331, 18, 588, 3916, 5621, 7734, 490, 814, 6273, 2923, 273, 12898, 9969, 1444, 12, 2211, 16, 2573, 1769, 7734, 309, 261, 12524, 480, 446, 13, 288, 10792, 1815, 2923, 18, 588, 3916, 1435, 2 ]
if ( bLabelShadowEnabled ) { if ( bRenderAxisLabels ) { double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, fs, null, df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } y = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); dAxisValue += dAxisStep; } } }
public final void renderEachAxis( IPrimitiveRenderer ipr, Plot pl, OneAxis ax, int iWhatToDraw ) throws ChartException { final RunTimeContext rtc = getRunTimeContext( ); final Axis axModel = ax.getModelAxis( ); final PlotWith2DAxes pwa = (PlotWith2DAxes) getComputations( ); final Insets insCA = pwa.getAxes( ).getInsets( ); final ScriptHandler sh = getRunTimeContext( ).getScriptHandler( ); double dLocation = ax.getAxisCoordinate( ); double dAngleInDegrees = ax.getLabel( ) .getCaption( ) .getFont( ) .getRotation( ); AutoScale sc = ax.getScale( ); IntersectionValue iv = ax.getIntersectionValue( ); int iMajorTickStyle = ax.getGrid( ).getTickStyle( IConstants.MAJOR ); int iMinorTickStyle = ax.getGrid( ).getTickStyle( IConstants.MINOR ); int iLabelLocation = ax.getLabelPosition( ); int iOrientation = ax.getOrientation( ); IDisplayServer xs = this.getDevice( ).getDisplayServer( ); double[] daEndPoints = sc.getEndPoints( ); double[] da = sc.getTickCordinates( ); double[] daMinor = sc.getMinorCoordinates( ax.getGrid( ) .getMinorCountPerMajor( ) ); String sText = null; boolean bLabelShadowEnabled = ( ax.getLabel( ).getShadowColor( ) != null ); int iDimension = pwa.getDimension( ); double dSeriesThickness = pwa.getSeriesThickness( ); final NumberDataElement nde = NumberDataElementImpl.create( 0 ); final FormatSpecifier fs = ax.getModelAxis( ).getFormatSpecifier( ); DecimalFormat df = null; LineAttributes lia = ax.getLineAttributes( ); LineAttributes liaMajorTick = ax.getGrid( ) .getTickAttributes( IConstants.MAJOR ); LineAttributes liaMinorTick = ax.getGrid( ) .getTickAttributes( IConstants.MINOR ); if ( !lia.isSetVisible( ) ) { throw new ChartException( ChartException.RENDERING, "exception.unset.axis.visibility", //$NON-NLS-1$ ResourceBundle.getBundle( Messages.ENGINE, getRunTimeContext( ).getLocale( ) ) ); } Label la = ax.getLabel( ); final boolean bRenderAxisLabels = ( ( iWhatToDraw & IConstants.LABELS ) == IConstants.LABELS && la.isVisible( ) ); Location lo = LocationImpl.create( 0, 0 ); final TransformationEvent trae = (TransformationEvent) ( (EventObjectCache) ipr ).getEventObject( pl, TransformationEvent.class ); final TextRenderEvent tre = (TextRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, TextRenderEvent.class ); tre.setLabel( la ); tre.setTextPosition( iLabelLocation ); tre.setLocation( lo ); final LineRenderEvent lre = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lre.setLineAttributes( lia ); lre.setStart( LocationImpl.create( 0, 0 ) ); lre.setEnd( LocationImpl.create( 0, 0 ) ); if ( iOrientation == IConstants.VERTICAL ) { int y; double dX = dLocation; if ( iv != null && iv.getType( ) == IntersectionValue.MAX && iDimension == IConstants.TWO_5_D ) { trae.setTransform( TransformationEvent.TRANSLATE ); trae.setTranslation( dSeriesThickness, -dSeriesThickness ); ipr.applyTransformation( trae ); } double dXTick1 = ( ( iMajorTickStyle & IConstants.TICK_LEFT ) == IConstants.TICK_LEFT ) ? ( dX - IConstants.TICK_SIZE ) : dX, dXTick2 = ( ( iMajorTickStyle & IConstants.TICK_RIGHT ) == IConstants.TICK_RIGHT ) ? dX + IConstants.TICK_SIZE : dX; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS && lia.isVisible( ) ) { final double dStart = daEndPoints[0] + insCA.getBottom( ), dEnd = daEndPoints[1] - insCA.getTop( ); if ( iv != null && iv.getType( ) == IntersectionValue.VALUE && iDimension == IConstants.TWO_5_D ) { final Location[] loa = new Location[4]; loa[0] = LocationImpl.create( dX, dStart ); loa[1] = LocationImpl.create( dX + dSeriesThickness, dStart - dSeriesThickness ); loa[2] = LocationImpl.create( dX + dSeriesThickness, dEnd - dSeriesThickness ); loa[3] = LocationImpl.create( dX, dEnd ); final PolygonRenderEvent pre = (PolygonRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, PolygonRenderEvent.class ); pre.setPoints( loa ); pre.setBackground( ColorDefinitionImpl.create( 255, 255, 255, 127 ) ); pre.setOutline( lia ); ipr.fillPolygon( pre ); } lre.setLineAttributes( lia ); lre.getStart( ).set( dX, dStart ); lre.getEnd( ).set( dX, dEnd ); ipr.drawLine( lre ); } if ( ( sc.getType( ) & IConstants.TEXT ) == IConstants.TEXT || sc.isCategoryScale( ) ) { double dAngleInRadians = ( -dAngleInDegrees * Math.PI ) / 180; double dSineTheta = Math.abs( Math.sin( dAngleInRadians ) ); double dCosTheta = Math.abs( Math.cos( dAngleInRadians ) ); double dOffset = 0, dW, dH, dHCosTheta; double dUnitSize = sc.getUnitSize( ); DataSetIterator dsi = sc.getData( ); final int iDateTimeUnit = ( sc.getType( ) == IConstants.DATE_TIME ) ? CDateTime.computeUnit( dsi ) : IConstants.UNDEFINED; final ITextMetrics itmText = xs.getTextMetrics( la ); if ( dAngleInDegrees == 90 || dAngleInDegrees == 0 ) { dOffset = -dUnitSize / 2; } if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; dsi.reset( ); for ( int i = 0; i < da.length - 1; i++ ) { la.getCaption( ) .setValue( sc.formatCategoryValue( sc.getType( ), dsi.next( ), iDateTimeUnit ) ); itmText.reuse( la ); // RECYCLED dH = itmText.getFullHeight( ); dW = itmText.getFullWidth( ); dHCosTheta = dH * dCosTheta; if ( dAngleInDegrees > 0 && dAngleInDegrees < 90 ) { if ( iLabelLocation == IConstants.LEFT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dW * dSineTheta; } else if ( iLabelLocation == IConstants.RIGHT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dHCosTheta; } } else if ( dAngleInDegrees < 0 && dAngleInDegrees > -90 ) { if ( iLabelLocation == IConstants.LEFT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dHCosTheta; } else if ( iLabelLocation == IConstants.RIGHT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dW * dSineTheta; } } else if ( dAngleInDegrees == 0 || dAngleInDegrees == 90 || dAngleInDegrees == -90 ) { dOffset = -dUnitSize / 2; } y = (int) da[i]; if ( ( iWhatToDraw & IConstants.LABELS ) == IConstants.LABELS && la.isVisible( ) ) { lo.set( x, y + dOffset ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); } } } double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; dsi.reset( ); for ( int i = 0; i < da.length - 1; i++ ) { if ( bRenderAxisLabels ) // PERFORM COMPUTATIONS ONLY IF // AXIS LABEL IS VISIBLE { la.getCaption( ) .setValue( sc.formatCategoryValue( sc.getType( ), dsi.next( ), iDateTimeUnit ) ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); itmText.reuse( la ); // RECYCLED dH = itmText.getFullHeight( ); dW = itmText.getFullWidth( ); dHCosTheta = dH * dCosTheta; if ( dAngleInDegrees > 0 && dAngleInDegrees < 90 ) { if ( iLabelLocation == IConstants.LEFT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dW * dSineTheta; } else if ( iLabelLocation == IConstants.RIGHT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dHCosTheta; } } else if ( dAngleInDegrees < 0 && dAngleInDegrees > -90 ) { if ( iLabelLocation == IConstants.LEFT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dHCosTheta; } else if ( iLabelLocation == IConstants.RIGHT ) { dOffset = ( dHCosTheta + dW * dSineTheta - dUnitSize ) / 2 - dW * dSineTheta; } } else if ( dAngleInDegrees == 0 || dAngleInDegrees == 90 || dAngleInDegrees == -90 ) { dOffset = -dUnitSize / 2; } } y = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dXMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_LEFT ) == IConstants.TICK_LEFT ) ? ( dX - IConstants.TICK_SIZE ) : dX, dXMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_RIGHT ) == IConstants.TICK_RIGHT ) ? dX + IConstants.TICK_SIZE : dX; if ( dXMinorTick1 != dXMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( dXMinorTick1, y - daMinor[k] ) ); lreMinor.setEnd( LocationImpl.create( dXMinorTick2, y - daMinor[k] ) ); ipr.drawLine( lreMinor ); } } } if ( dXTick1 != dXTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( dXTick1, y ); lre.getEnd( ).set( dXTick2, y ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.setStart( LocationImpl.create( dX, y ) ); lre.setEnd( LocationImpl.create( dX + dSeriesThickness, y - dSeriesThickness ) ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) // RENDER AXIS LABELS ONLY IF // REQUESTED { lo.set( x, y + dOffset ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } } y = (int) da[da.length - 1]; if ( dXTick1 != dXTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( dXTick1, y ); lre.getEnd( ).set( dXTick2, y ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.setStart( LocationImpl.create( dX, y ) ); lre.setEnd( LocationImpl.create( dX + dSeriesThickness, y - dSeriesThickness ) ); ipr.drawLine( lre ); } } itmText.dispose( );// DISPOSED } else if ( ( sc.getType( ) & IConstants.LOGARITHMIC ) == IConstants.LOGARITHMIC ) { double dAxisValue = Methods.asDouble( sc.getMinimum( ) ) .doubleValue( ); final double dAxisStep = Methods.asDouble( sc.getStep( ) ) .doubleValue( ); if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( ( iWhatToDraw & IConstants.LABELS ) == IConstants.LABELS && la.isVisible( ) ) { double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { if ( fs == null ) { df = new DecimalFormat( sc.getNumericPattern( dAxisValue ) ); } nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } y = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); dAxisValue *= dAxisStep; } } } dAxisValue = Methods.asDouble( sc.getMinimum( ) ).doubleValue( ); // RESET double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { if ( bRenderAxisLabels ) // PERFORM COMPUTATIONS ONLY IF // AXIS LABEL IS VISIBLE { if ( fs == null ) { df = new DecimalFormat( sc.getNumericPattern( dAxisValue ) ); } nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, fs, ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } } y = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dXMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_LEFT ) == IConstants.TICK_LEFT ) ? ( dX - IConstants.TICK_SIZE ) : dX, dXMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_RIGHT ) == IConstants.TICK_RIGHT ) ? dX + IConstants.TICK_SIZE : dX; if ( dXMinorTick1 != dXMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( dXMinorTick1, y - daMinor[k] ) ); lreMinor.setEnd( LocationImpl.create( dXMinorTick2, y - daMinor[k] ) ); ipr.drawLine( lreMinor ); } } } if ( dXTick1 != dXTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( dXTick1, y ); lre.getEnd( ).set( dXTick2, y ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.setLineAttributes( lia ); lre.setStart( LocationImpl.create( dX, y ) ); lre.setEnd( LocationImpl.create( dX + dSeriesThickness, y - dSeriesThickness ) ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) // RENDER LABELS ONLY IF REQUESTED { lo.set( x, y ); la.getCaption( ).setValue( sText ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } dAxisValue *= dAxisStep; } } else if ( ( sc.getType( ) & IConstants.LINEAR ) == IConstants.LINEAR ) { double dAxisValue = Methods.asDouble( sc.getMinimum( ) ) .doubleValue( ); final double dAxisStep = Methods.asDouble( sc.getStep( ) ) .doubleValue( ); if ( fs == null ) { df = new DecimalFormat( sc.getNumericPattern( ) ); } if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( bRenderAxisLabels ) { double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, fs, null, df ); // TBD: SET LOCALE CORRECTLY } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } y = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); dAxisValue += dAxisStep; } } } dAxisValue = Methods.asDouble( sc.getMinimum( ) ).doubleValue( ); // RESET double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, fs, ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } y = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dXMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_LEFT ) == IConstants.TICK_LEFT ) ? ( dX - IConstants.TICK_SIZE ) : dX, dXMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_RIGHT ) == IConstants.TICK_RIGHT ) ? dX + IConstants.TICK_SIZE : dX; if ( dXMinorTick1 != dXMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( dXMinorTick1, y - daMinor[k] ) ); lreMinor.setEnd( LocationImpl.create( dXMinorTick2, y - daMinor[k] ) ); ipr.drawLine( lreMinor ); } } } if ( dXTick1 != dXTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( dXTick1, y ); lre.getEnd( ).set( dXTick2, y ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.setLineAttributes( lia ); lre.setStart( LocationImpl.create( dX, y ) ); lre.setEnd( LocationImpl.create( dX + dSeriesThickness, y - dSeriesThickness ) ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) { lo.set( x, y ); la.getCaption( ).setValue( sText ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } dAxisValue += dAxisStep; } } else if ( ( sc.getType( ) & IConstants.DATE_TIME ) == IConstants.DATE_TIME ) { CDateTime cdt, cdtAxisValue = Methods.asDateTime( sc.getMinimum( ) ); final int iUnit = Methods.asInteger( sc.getUnit( ) ); final int iStep = Methods.asInteger( sc.getStep( ) ); SimpleDateFormat sdf = null; if ( fs == null ) { sdf = new SimpleDateFormat( CDateTime.getPreferredFormat( iUnit ) ); } cdt = cdtAxisValue; if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( bRenderAxisLabels ) { double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { try { sText = ValueFormatter.format( cdt, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), sdf ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } y = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); cdt = cdtAxisValue.forward( iUnit, iStep * ( i + 1 ) ); // ALWAYS // W.R.T // START // VALUE } } } double x = ( iLabelLocation == IConstants.LEFT ) ? dXTick1 - 1 : dXTick2 + 1; for ( int i = 0; i < da.length; i++ ) { try { sText = ValueFormatter.format( cdt, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), sdf ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } y = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dXMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_LEFT ) == IConstants.TICK_LEFT ) ? ( dX - IConstants.TICK_SIZE ) : dX, dXMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_RIGHT ) == IConstants.TICK_RIGHT ) ? dX + IConstants.TICK_SIZE : dX; if ( dXMinorTick1 != dXMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( dXMinorTick1, y - daMinor[k] ) ); lreMinor.setEnd( LocationImpl.create( dXMinorTick2, y - daMinor[k] ) ); ipr.drawLine( lreMinor ); } } } if ( dXTick1 != dXTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( dXTick1, y ); lre.getEnd( ).set( dXTick2, y ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.setStart( LocationImpl.create( dX, y ) ); lre.setEnd( LocationImpl.create( dX + dSeriesThickness, y - dSeriesThickness ) ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) { lo.set( x, y ); la.getCaption( ).setValue( sText ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } cdt = cdtAxisValue.forward( iUnit, iStep * ( i + 1 ) ); // ALWAYS // W.R.T // START // VALUE } } la = ax.getTitle( ); // TEMPORARILY USE FOR AXIS TITLE if ( la.isVisible( ) ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_TITLE, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_TITLE, la ); final String sRestoreValue = la.getCaption( ).getValue( ); la.getCaption( ) .setValue( rtc.externalizedMessage( sRestoreValue ) ); BoundingBox bb = null; try { bb = Methods.computeBox( xs, ax.getTitlePosition( ), la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartException.RENDERING, uiex ); } final Bounds bo = BoundsImpl.create( ax.getTitleCoordinate( ), daEndPoints[1], bb.getWidth( ), daEndPoints[0] - daEndPoints[1] ); tre.setBlockBounds( bo ); tre.setLabel( la ); tre.setBlockAlignment( null ); tre.setAction( TextRenderEvent.RENDER_TEXT_IN_BLOCK ); ipr.drawText( tre ); la.getCaption( ).setValue( sRestoreValue ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_TITLE, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_TITLE, la ); } la = ax.getLabel( ); if ( iv != null && iv.getType( ) == IntersectionValue.MAX && iDimension == IConstants.TWO_5_D ) { trae.setTranslation( -dSeriesThickness, dSeriesThickness ); ipr.applyTransformation( trae ); } } else if ( iOrientation == IConstants.HORIZONTAL ) { int x; double dY = dLocation; double dYTick1 = ( ( iMajorTickStyle & IConstants.TICK_ABOVE ) == IConstants.TICK_ABOVE ) ? ( dY - IConstants.TICK_SIZE ) : dY, dYTick2 = ( ( iMajorTickStyle & IConstants.TICK_BELOW ) == IConstants.TICK_BELOW ) ? dY + IConstants.TICK_SIZE : dY; if ( iv != null && iv.getType( ) == IntersectionValue.MAX && iDimension == IConstants.TWO_5_D ) { trae.setTransform( TransformationEvent.TRANSLATE ); trae.setTranslation( dSeriesThickness, -dSeriesThickness ); ipr.applyTransformation( trae ); } if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS && lia.isVisible( ) ) { final double dStart = daEndPoints[0] - insCA.getLeft( ), dEnd = daEndPoints[1] + insCA.getRight( ); if ( iv != null && iv.getType( ) == IntersectionValue.VALUE && iDimension == IConstants.TWO_5_D ) { final Location[] loa = new Location[4]; loa[0] = LocationImpl.create( dStart, dY ); loa[1] = LocationImpl.create( dStart + dSeriesThickness, dY - dSeriesThickness ); loa[2] = LocationImpl.create( dEnd + dSeriesThickness, dY - dSeriesThickness ); loa[3] = LocationImpl.create( dEnd, dY ); final PolygonRenderEvent pre = (PolygonRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, PolygonRenderEvent.class ); pre.setPoints( loa ); pre.setBackground( ColorDefinitionImpl.create( 255, 255, 255, 127 ) ); pre.setOutline( lia ); ipr.fillPolygon( pre ); } lre.setLineAttributes( lia ); lre.getStart( ).set( dStart, dY ); lre.getEnd( ).set( dEnd, dY ); ipr.drawLine( lre ); } if ( ( sc.getType( ) & IConstants.TEXT ) == IConstants.TEXT || sc.isCategoryScale( ) ) { double dAngleInRadians = ( -dAngleInDegrees * Math.PI ) / 180; double dSineTheta = Math.abs( Math.sin( dAngleInRadians ) ); double dCosTheta = Math.abs( Math.cos( dAngleInRadians ) ); double dOffset = 0, dW, dH, dHSineTheta; double dUnitSize = sc.getUnitSize( ); DataSetIterator dsi = sc.getData( ); final int iDateTimeUnit = ( sc.getType( ) == IConstants.DATE_TIME ) ? CDateTime.computeUnit( dsi ) : IConstants.UNDEFINED; final ITextMetrics itmText = xs.getTextMetrics( la ); if ( dAngleInDegrees == 90 || dAngleInDegrees == 0 ) { dOffset = dUnitSize / 2; } if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( bRenderAxisLabels ) // ONLY PROCESS IF AXES LABELS ARE // VISIBLE OR REQUESTED FOR { double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; dsi.reset( ); for ( int i = 0; i < da.length - 1; i++ ) { la.getCaption( ) .setValue( sc.formatCategoryValue( sc.getType( ), dsi.next( ), iDateTimeUnit ) ); itmText.reuse( la );// RECYCLED dH = itmText.getFullHeight( ); dW = itmText.getFullWidth( ); dHSineTheta = dH * dSineTheta; if ( dAngleInDegrees > 0 && dAngleInDegrees < 90 ) { if ( iLabelLocation == IConstants.ABOVE ) { dOffset = dUnitSize / 2 - ( dW * dCosTheta + dHSineTheta ) / 2 + dHSineTheta; } else if ( iLabelLocation == IConstants.BELOW ) { dOffset = dUnitSize + dHSineTheta - ( dUnitSize - dW * dCosTheta + dHSineTheta ) / 2 - dHSineTheta; } } else if ( dAngleInDegrees < 0 && dAngleInDegrees > -90 ) { if ( iLabelLocation == IConstants.ABOVE ) { dOffset = dUnitSize / 2 - dHSineTheta / 2 + ( dW * dCosTheta + dHSineTheta ) / 2; } else if ( iLabelLocation == IConstants.BELOW ) { dOffset = ( dUnitSize - dW * dCosTheta + dHSineTheta ) / 2; } } else if ( dAngleInDegrees == 0 || dAngleInDegrees == 90 || dAngleInDegrees == -90 ) { dOffset = dUnitSize / 2; } x = (int) da[i]; lo.set( x + dOffset, y ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); } } } double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; dsi.reset( ); for ( int i = 0; i < da.length - 1; i++ ) { x = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dYMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_ABOVE ) == IConstants.TICK_ABOVE ) ? ( dY - IConstants.TICK_SIZE ) : dY, dYMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_BELOW ) == IConstants.TICK_BELOW ) ? dY + IConstants.TICK_SIZE : dY; if ( dYMinorTick1 != -dYMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( x + daMinor[k], dYMinorTick1 ) ); lreMinor.setEnd( LocationImpl.create( x + daMinor[k], dYMinorTick2 ) ); ipr.drawLine( lreMinor ); } } } if ( dYTick1 != dYTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( x, dYTick1 ); lre.getEnd( ).set( x, dYTick2 ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.getStart( ).set( x, dY ); lre.getEnd( ).set( x + dSeriesThickness, dY - dSeriesThickness ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { la.getCaption( ) .setValue( sc.formatCategoryValue( sc.getType( ), dsi.next( ), iDateTimeUnit ) ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); itmText.reuse( la );// RECYCLED dH = itmText.getFullHeight( ); dW = itmText.getFullWidth( ); dHSineTheta = dH * dSineTheta; if ( dAngleInDegrees > 0 && dAngleInDegrees < 90 ) { if ( iLabelLocation == IConstants.ABOVE ) { dOffset = dUnitSize / 2 - ( dW * dCosTheta + dHSineTheta ) / 2 + dHSineTheta; } else if ( iLabelLocation == IConstants.BELOW ) { dOffset = dUnitSize + dHSineTheta - ( dUnitSize - dW * dCosTheta + dHSineTheta ) / 2 - dHSineTheta; } } else if ( dAngleInDegrees < 0 && dAngleInDegrees > -90 ) { if ( iLabelLocation == IConstants.ABOVE ) { dOffset = dUnitSize / 2 - dHSineTheta / 2 + ( dW * dCosTheta + dHSineTheta ) / 2; } else if ( iLabelLocation == IConstants.BELOW ) { dOffset = ( dUnitSize - dW * dCosTheta + dHSineTheta ) / 2; } } else if ( dAngleInDegrees == 0 || dAngleInDegrees == 90 || dAngleInDegrees == -90 ) { dOffset = dUnitSize / 2; } lo.set( x + dOffset, y ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } } // ONE LAST TICK x = (int) da[da.length - 1]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { if ( dYTick1 != dYTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( x, dYTick1 ); lre.getEnd( ).set( x, dYTick2 ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.getStart( ).set( x, dY ); lre.getEnd( ).set( x + dSeriesThickness, dY - dSeriesThickness ); ipr.drawLine( lre ); } } } itmText.dispose( ); // DISPOSED } else if ( ( sc.getType( ) & IConstants.LINEAR ) == IConstants.LINEAR ) { double dAxisValue = Methods.asDouble( sc.getMinimum( ) ) .doubleValue( ); final double dAxisStep = Methods.asDouble( sc.getStep( ) ) .doubleValue( ); if ( fs == null ) { df = new DecimalFormat( sc.getNumericPattern( ) ); } // TODO: CACHE COMPUTED VALUES FOR REUSE IN 2ND LOOP if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; for ( int i = 0; i < da.length; i++ ) { nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } x = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); dAxisValue += dAxisStep; } } } dAxisValue = Methods.asDouble( sc.getMinimum( ) ).doubleValue( ); // RESET double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; for ( int i = 0; i < da.length; i++ ) { x = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dYMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_ABOVE ) == IConstants.TICK_ABOVE ) ? ( dY - IConstants.TICK_SIZE ) : dY, dYMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_BELOW ) == IConstants.TICK_BELOW ) ? dY + IConstants.TICK_SIZE : dY; if ( dYMinorTick1 != -dYMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( x + daMinor[k], dYMinorTick1 ) ); lreMinor.setEnd( LocationImpl.create( x + daMinor[k], dYMinorTick2 ) ); ipr.drawLine( lreMinor ); } } } if ( dYTick1 != dYTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( x, dYTick1 ); lre.getEnd( ).set( x, dYTick2 ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.getStart( ).set( x, dY ); lre.getEnd( ).set( x + dSeriesThickness, dY - dSeriesThickness ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } dAxisValue += dAxisStep; } } else if ( ( sc.getType( ) & IConstants.LOGARITHMIC ) == IConstants.LOGARITHMIC ) { double dAxisValue = Methods.asDouble( sc.getMinimum( ) ) .doubleValue( ); final double dAxisStep = Methods.asDouble( sc.getStep( ) ) .doubleValue( ); // TODO: CACHE COMPUTED VALUES FOR REUSE IN 2ND LOOP if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; for ( int i = 0; i < da.length; i++ ) { if ( fs == null ) { df = new DecimalFormat( sc.getNumericPattern( dAxisValue ) ); } nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } x = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); dAxisValue *= dAxisStep; } } } dAxisValue = Methods.asDouble( sc.getMinimum( ) ).doubleValue( ); // RESET double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; for ( int i = 0; i < da.length; i++ ) { x = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dYMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_ABOVE ) == IConstants.TICK_ABOVE ) ? ( dY - IConstants.TICK_SIZE ) : dY, dYMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_BELOW ) == IConstants.TICK_BELOW ) ? dY + IConstants.TICK_SIZE : dY; if ( dYMinorTick1 != -dYMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( x + daMinor[k], dYMinorTick1 ) ); lreMinor.setEnd( LocationImpl.create( x + daMinor[k], dYMinorTick2 ) ); ipr.drawLine( lreMinor ); } } } if ( dYTick1 != dYTick2 ) { lre.setLineAttributes( lia ); lre.getStart( ).set( x, dYTick1 ); lre.getEnd( ).set( x, dYTick2 ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.getStart( ).set( x, dY ); lre.getEnd( ).set( x + dSeriesThickness, dY - dSeriesThickness ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { if ( fs == null ) { df = new DecimalFormat( sc.getNumericPattern( dAxisValue ) ); } nde.setValue( dAxisValue ); try { sText = ValueFormatter.format( nde, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), df ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } dAxisValue *= dAxisStep; } } else if ( ( sc.getType( ) & IConstants.DATE_TIME ) == IConstants.DATE_TIME ) { CDateTime cdt, cdtAxisValue = Methods.asDateTime( sc.getMinimum( ) ); final int iUnit = Methods.asInteger( sc.getUnit( ) ); final int iStep = Methods.asInteger( sc.getStep( ) ); SimpleDateFormat sdf = null; if ( fs == null ) { sdf = new SimpleDateFormat( CDateTime.getPreferredFormat( iUnit ) ); } cdt = cdtAxisValue; // TODO: CACHE COMPUTED VALUES FOR REUSE IN 2ND LOOP if ( bLabelShadowEnabled ) { // MUST RENDER SHADOWS IN A PREVIOUS LOOP TO ENABLE CORRECT // Z-ORDERING if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; for ( int i = 0; i < da.length; i++ ) { try { sText = ValueFormatter.format( cdt, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), sdf ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } x = (int) da[i]; lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_SHADOW_AT_LOCATION ); ipr.drawText( tre ); cdt = cdtAxisValue.forward( iUnit, iStep * ( i + 1 ) ); // ALWAYS // W.R.T // START // VALUE } } } double y = ( iLabelLocation == IConstants.ABOVE ) ? dYTick1 - 1 : dYTick2 + 1; for ( int i = 0; i < da.length; i++ ) { x = (int) da[i]; if ( ( iWhatToDraw & IConstants.AXIS ) == IConstants.AXIS ) { double dYMinorTick1 = ( ( iMinorTickStyle & IConstants.TICK_ABOVE ) == IConstants.TICK_ABOVE ) ? ( dY - IConstants.TICK_SIZE ) : dY, dYMinorTick2 = ( ( iMinorTickStyle & IConstants.TICK_BELOW ) == IConstants.TICK_BELOW ) ? dY + IConstants.TICK_SIZE : dY; if ( dYMinorTick1 != -dYMinorTick2 ) { // RENDER THE MINOR TICKS FIRST (For ALL but the // last Major tick) if ( i != da.length - 1 ) { LineRenderEvent lreMinor = null; for ( int k = 0; k < daMinor.length - 1; k++ ) { lreMinor = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( pl, LineRenderEvent.class ); lreMinor.setLineAttributes( liaMinorTick ); lreMinor.setStart( LocationImpl.create( x + daMinor[k], dYMinorTick1 ) ); lreMinor.setEnd( LocationImpl.create( x + daMinor[k], dYMinorTick2 ) ); ipr.drawLine( lreMinor ); } } } if ( dYTick1 != dYTick2 ) { lre.setLineAttributes( liaMajorTick ); lre.getStart( ).set( x, dYTick1 ); lre.getEnd( ).set( x, dYTick2 ); ipr.drawLine( lre ); if ( iv != null && iDimension == IConstants.TWO_5_D && iv.getType( ) == IntersectionValue.VALUE ) { lre.getStart( ).set( x, dY ); lre.getEnd( ).set( x + dSeriesThickness, dY - dSeriesThickness ); ipr.drawLine( lre ); } } } if ( bRenderAxisLabels ) // OPTIMIZED: ONLY PROCESS IF AXES // LABELS ARE VISIBLE OR REQUESTED // FOR { try { sText = ValueFormatter.format( cdt, ax.getFormatSpecifier( ), ax.getRunTimeContext( ).getLocale( ), sdf ); } catch ( ChartException dfex ) { DefaultLoggerImpl.instance( ).log( dfex ); sText = IConstants.NULL_STRING; } lo.set( x, y ); la.getCaption( ).setValue( sText ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_LABEL, la ); ipr.drawText( tre ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_LABEL, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_LABEL, la ); } cdt = cdtAxisValue.forward( iUnit, iStep * ( i + 1 ) ); // ALWAYS // W.R.T // START // VALUE } } // RENDER THE AXIS TITLE la = ax.getTitle( ); // TEMPORARILY USE FOR AXIS TITLE if ( la.isVisible( ) ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_AXIS_TITLE, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_AXIS_TITLE, la ); final String sRestoreValue = la.getCaption( ).getValue( ); la.getCaption( ) .setValue( rtc.externalizedMessage( sRestoreValue ) ); // EXTERNALIZE BoundingBox bb = null; try { bb = Methods.computeBox( xs, ax.getTitlePosition( ), la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartException.RENDERING, uiex ); } final Bounds bo = BoundsImpl.create( daEndPoints[0], ax.getTitleCoordinate( ), daEndPoints[1] - daEndPoints[0], bb.getHeight( ) ); tre.setBlockBounds( bo ); tre.setLabel( la ); tre.setBlockAlignment( null ); tre.setAction( TextRenderEvent.RENDER_TEXT_IN_BLOCK ); ipr.drawText( tre ); la.getCaption( ).setValue( sRestoreValue ); // RESTORE ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_AXIS_TITLE, axModel, la ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_AXIS_TITLE, la ); } la = ax.getLabel( ); // RESTORE BACK TO AXIS LABEL if ( iv != null && iv.getType( ) == IntersectionValue.MAX && iDimension == IConstants.TWO_5_D ) { trae.setTranslation( -dSeriesThickness, dSeriesThickness ); ipr.applyTransformation( trae ); } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdb7b6c5463f7273d9f1038e97552808a8df1f58/AxesRenderer.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1743, 3442, 6558, 12, 467, 9840, 6747, 277, 683, 16, 15211, 886, 16, 1082, 202, 3335, 6558, 1740, 16, 509, 277, 23801, 774, 6493, 262, 1216, 14804, 503, 202, 95, 202, 202, 6385, 1939, 950, 1042, 436, 5111, 273, 336, 1997, 950, 1042, 12, 11272, 202, 202, 6385, 15509, 1740, 1488, 273, 1740, 18, 588, 1488, 6558, 12, 11272, 202, 202, 6385, 15211, 1190, 22, 9793, 92, 281, 8772, 69, 273, 261, 11532, 1190, 22, 9793, 92, 281, 13, 336, 7703, 1012, 12, 11272, 202, 202, 6385, 22300, 2763, 3587, 273, 8772, 69, 18, 588, 26494, 12, 262, 18, 588, 382, 4424, 12, 11272, 202, 202, 6385, 7739, 1503, 699, 273, 336, 1997, 950, 1042, 12, 262, 18, 588, 3651, 1503, 12, 11272, 202, 202, 9056, 302, 2735, 273, 1740, 18, 588, 6558, 13503, 12, 11272, 202, 202, 9056, 302, 8467, 382, 24400, 273, 1740, 18, 588, 2224, 12, 262, 9506, 202, 18, 588, 21158, 12, 262, 9506, 202, 18, 588, 5711, 12, 262, 9506, 202, 18, 588, 14032, 12, 11272, 202, 202, 4965, 5587, 888, 273, 1740, 18, 588, 5587, 12, 11272, 202, 202, 23634, 620, 4674, 273, 1740, 18, 588, 23634, 620, 12, 11272, 202, 202, 474, 277, 17581, 6264, 2885, 273, 1740, 18, 588, 6313, 12, 262, 18, 588, 6264, 2885, 12, 467, 2918, 18, 26976, 916, 11272, 202, 202, 474, 277, 19549, 6264, 2885, 273, 1740, 18, 588, 6313, 12, 262, 18, 588, 6264, 2885, 12, 467, 2918, 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, 1743, 3442, 6558, 12, 467, 9840, 6747, 277, 683, 16, 15211, 886, 16, 1082, 202, 3335, 6558, 1740, 16, 509, 277, 23801, 774, 6493, 262, 1216, 14804, 503, 202, 95, 202, 202, 6385, 1939, 950, 1042, 436, 5111, 273, 336, 1997, 950, 1042, 12, 11272, 202, 202, 6385, 15509, 1740, 1488, 273, 1740, 18, 588, 1488, 6558, 12, 11272, 202, 202, 6385, 15211, 1190, 22, 9793, 92, 281, 8772, 69, 273, 261, 11532, 1190, 22, 9793, 92, 281, 13, 336, 7703, 1012, 12, 11272, 202, 202, 6385, 22300, 2763, 3587, 273, 8772, 69, 18, 588, 26494, 12, 262, 18, 588, 382, 4424, 12, 11272, 202, 202, 6385, 7739, 1503, 699, 273, 336, 1997, 950, 2 ]
m_currentTest.setParallel(parallel);
if(XmlSuite.PARALLEL_METHODS.equals(parallel) || XmlSuite.PARALLEL_NONE.equals(parallel) || "true".equals(parallel) || "false".equals(parallel)) { m_currentTest.setParallel(parallel); } else { Utils.log("Parser", 1, "[WARN] Unknown value of attribute 'parallel' for test '" + name + "': '" + parallel + "'"); }
private void xmlTest(boolean start, Attributes attributes) { if (start) { String name = attributes.getValue("name"); m_currentTest = new XmlTest(m_currentSuite); m_currentTestParameters = new HashMap<String, String>(); m_currentTest.setName(name); String verbose = attributes.getValue("verbose"); if (null != verbose) { m_currentTest.setVerbose(Integer.parseInt(verbose)); } String jUnit = attributes.getValue("junit"); if (null != jUnit) { m_currentTest.setJUnit(new Boolean(jUnit).booleanValue()); } String parallel = attributes.getValue("parallel"); if (null != parallel) { m_currentTest.setParallel(parallel); } String annotations = attributes.getValue("annotations"); if (null != annotations) { m_currentTest.setAnnotations(annotations); } m_inTest = true; } else { if (null != m_currentTestParameters && m_currentTestParameters.size() > 0) { m_currentTest.setParameters(m_currentTestParameters); } if (null != m_currentClasses) { m_currentTest.setXmlClasses(m_currentClasses); } m_currentClasses = null; m_currentTest = null; m_currentTestParameters = null; m_inTest = false; } }
48015 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48015/fd3d62963585c7d537041ba7ed53ebda5eef31c4/TestNGContentHandler.java/buggy/src/main/org/testng/xml/TestNGContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2025, 4709, 12, 6494, 787, 16, 9055, 1677, 13, 288, 565, 309, 261, 1937, 13, 288, 1377, 514, 508, 273, 1677, 18, 24805, 2932, 529, 8863, 1377, 312, 67, 2972, 4709, 273, 394, 5714, 4709, 12, 81, 67, 2972, 13587, 1769, 1377, 312, 67, 2972, 4709, 2402, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 1377, 312, 67, 2972, 4709, 18, 542, 461, 12, 529, 1769, 1377, 514, 3988, 273, 1677, 18, 24805, 2932, 11369, 8863, 1377, 309, 261, 2011, 480, 3988, 13, 288, 3639, 312, 67, 2972, 4709, 18, 542, 14489, 12, 4522, 18, 2670, 1702, 12, 11369, 10019, 1377, 289, 1377, 514, 525, 2802, 273, 1677, 18, 24805, 2932, 78, 4873, 8863, 1377, 309, 261, 2011, 480, 525, 2802, 13, 288, 3639, 312, 67, 2972, 4709, 18, 542, 46, 2802, 12, 2704, 3411, 12, 78, 2802, 2934, 6494, 620, 10663, 1377, 289, 1377, 514, 7230, 273, 1677, 18, 24805, 2932, 18054, 8863, 1377, 309, 261, 2011, 480, 7230, 13, 288, 3639, 309, 12, 4432, 13587, 18, 2778, 1013, 900, 48, 67, 25750, 18, 14963, 12, 18054, 13, 747, 5714, 13587, 18, 2778, 1013, 900, 48, 67, 9826, 18, 14963, 12, 18054, 13, 747, 315, 3767, 9654, 14963, 12, 18054, 13, 747, 315, 5743, 9654, 14963, 12, 18054, 3719, 288, 312, 67, 2972, 4709, 18, 542, 13056, 12, 18054, 1769, 289, 469, 288, 6091, 18, 1330, 2932, 2678, 3113, 404, 16, 5158, 27999, 65, 9077, 460, 434, 1566, 296, 18054, 11, 364, 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, 2025, 4709, 12, 6494, 787, 16, 9055, 1677, 13, 288, 565, 309, 261, 1937, 13, 288, 1377, 514, 508, 273, 1677, 18, 24805, 2932, 529, 8863, 1377, 312, 67, 2972, 4709, 273, 394, 5714, 4709, 12, 81, 67, 2972, 13587, 1769, 1377, 312, 67, 2972, 4709, 2402, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 1377, 312, 67, 2972, 4709, 18, 542, 461, 12, 529, 1769, 1377, 514, 3988, 273, 1677, 18, 24805, 2932, 11369, 8863, 1377, 309, 261, 2011, 480, 3988, 13, 288, 3639, 312, 67, 2972, 4709, 18, 542, 14489, 12, 4522, 18, 2670, 1702, 12, 11369, 10019, 1377, 289, 1377, 514, 525, 2802, 273, 1677, 18, 24805, 2932, 78, 4873, 8863, 1377, 2 ]
return new AdminGroup(getAdminGroupName(), getCAId(), accessrules, adminentities);
return new AdminGroup(getPK().intValue() ,getAdminGroupName(), getCAId(), accessrules, adminentities);
public AdminGroup getAdminGroup(){ ArrayList accessrules = new ArrayList(); ArrayList adminentities = new ArrayList(); Iterator i = null; if(getAdminEntities()!=null){ i = getAdminEntities().iterator(); while(i.hasNext()){ AdminEntityDataLocal ae = (AdminEntityDataLocal) i.next(); adminentities.add(ae.getAdminEntity(getCAId())); } } if(getAccessRules()!=null){ i = getAccessRules().iterator(); while(i.hasNext()){ AccessRulesDataLocal ar = (AccessRulesDataLocal) i.next(); accessrules.add(ar.getAccessRuleObject()); } } return new AdminGroup(getAdminGroupName(), getCAId(), accessrules, adminentities); } // getAdminGroup
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/7734ca14478c03822c95e1fe85ba81ec3f718dc9/AdminGroupDataBean.java/buggy/src/java/se/anatom/ejbca/authorization/AdminGroupDataBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7807, 1114, 22501, 1114, 1435, 95, 1377, 2407, 2006, 7482, 273, 394, 2407, 5621, 1377, 2407, 3981, 9996, 273, 394, 2407, 5621, 1377, 4498, 277, 273, 446, 31, 1377, 309, 12, 588, 4446, 8108, 1435, 5, 33, 2011, 15329, 3639, 277, 273, 225, 22501, 8108, 7675, 9838, 5621, 3639, 1323, 12, 77, 18, 5332, 2134, 10756, 95, 1850, 7807, 1943, 751, 2042, 14221, 273, 261, 4446, 1943, 751, 2042, 13, 277, 18, 4285, 5621, 1850, 3981, 9996, 18, 1289, 12, 8906, 18, 588, 4446, 1943, 12, 588, 3587, 548, 1435, 10019, 3639, 289, 1377, 289, 1377, 309, 12, 588, 1862, 4478, 1435, 5, 33, 2011, 15329, 3639, 277, 273, 225, 21909, 4478, 7675, 9838, 5621, 3639, 1323, 12, 77, 18, 5332, 2134, 10756, 95, 1850, 5016, 4478, 751, 2042, 419, 273, 261, 1862, 4478, 751, 2042, 13, 277, 18, 4285, 5621, 1850, 2006, 7482, 18, 1289, 12, 297, 18, 588, 1862, 2175, 921, 10663, 3639, 289, 1377, 289, 1377, 327, 394, 7807, 1114, 12, 588, 8784, 7675, 474, 620, 1435, 269, 588, 4446, 3943, 9334, 1927, 37, 548, 9334, 2006, 7482, 16, 3981, 9996, 1769, 565, 289, 368, 22501, 1114, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7807, 1114, 22501, 1114, 1435, 95, 1377, 2407, 2006, 7482, 273, 394, 2407, 5621, 1377, 2407, 3981, 9996, 273, 394, 2407, 5621, 1377, 4498, 277, 273, 446, 31, 1377, 309, 12, 588, 4446, 8108, 1435, 5, 33, 2011, 15329, 3639, 277, 273, 225, 22501, 8108, 7675, 9838, 5621, 3639, 1323, 12, 77, 18, 5332, 2134, 10756, 95, 1850, 7807, 1943, 751, 2042, 14221, 273, 261, 4446, 1943, 751, 2042, 13, 277, 18, 4285, 5621, 1850, 3981, 9996, 18, 1289, 12, 8906, 18, 588, 4446, 1943, 12, 588, 3587, 548, 1435, 10019, 3639, 289, 1377, 289, 1377, 309, 12, 588, 1862, 4478, 1435, 5, 33, 2011, 15329, 3639, 277, 273, 225, 21909, 4478, 7675, 9838, 5621, 3639, 1323, 2 ]
getChildren().add(addButton);
protected void initializePermissionMatirx(String beanID, String headerLocalizedKey, String resourcePath){ if(resourcePath!=null){ WFUtil.invoke(beanID, "setResourcePath", resourcePath); } else { System.err.println("[WARNING]["+getClass().getName()+"]: resource path is null"); } WFList pMatrix = new WFList(beanID); pMatrix.setId(beanID); HtmlOutputText headerStandard = getBundle().getLocalizedText(headerLocalizedKey); headerStandard.setId(beanID+".title"); HtmlCommandButton addButton = new HtmlCommandButton(); addButton.setId(beanID+".add_principal"); addButton.setStyleClass("permission_add_button"); addButton.setValue("+");// getBundle().getLocalizedUIComponent("add", addButton); getChildren().add(headerStandard); getChildren().add(pMatrix); getChildren().add(addButton); }
10078 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10078/c10939ac2ff7b7d6287f74d717c83ae3488b1695/WebDAVFilePermissions.java/buggy/src/java/com/idega/content/presentation/WebDAVFilePermissions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 5041, 15947, 481, 92, 12, 780, 3931, 734, 16, 514, 1446, 2042, 1235, 653, 16, 514, 15467, 15329, 9506, 202, 430, 12, 3146, 743, 5, 33, 2011, 15329, 1082, 202, 59, 42, 1304, 18, 14407, 12, 14496, 734, 16, 315, 542, 29906, 3113, 15467, 1769, 202, 202, 97, 469, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 63, 9511, 6362, 6, 15, 588, 797, 7675, 17994, 1435, 9078, 14542, 1058, 589, 353, 446, 8863, 202, 202, 97, 9506, 202, 59, 42, 682, 293, 4635, 273, 394, 678, 42, 682, 12, 14496, 734, 1769, 202, 202, 84, 4635, 18, 542, 548, 12, 14496, 734, 1769, 9506, 202, 4353, 1447, 1528, 1446, 8336, 273, 10946, 7675, 588, 2042, 1235, 1528, 12, 3374, 2042, 1235, 653, 1769, 202, 202, 3374, 8336, 18, 542, 548, 12, 14496, 734, 9078, 18, 2649, 8863, 202, 202, 4353, 2189, 3616, 527, 3616, 273, 394, 5430, 2189, 3616, 5621, 202, 202, 1289, 3616, 18, 542, 548, 12, 14496, 734, 9078, 18, 1289, 67, 26138, 8863, 202, 202, 1289, 3616, 18, 542, 2885, 797, 2932, 9827, 67, 1289, 67, 5391, 8863, 202, 202, 1289, 3616, 18, 542, 620, 2932, 15, 8863, 759, 202, 202, 588, 3405, 7675, 588, 2042, 1235, 5370, 1841, 2932, 1289, 3113, 527, 3616, 1769, 9506, 202, 588, 4212, 7675, 1289, 12, 3374, 8336, 1769, 202, 202, 588, 4212, 7675, 1289, 12, 84, 4635, 1769, 202, 202, 588, 4212, 7675, 1289, 12, 1289, 3616, 1769, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 5041, 15947, 481, 92, 12, 780, 3931, 734, 16, 514, 1446, 2042, 1235, 653, 16, 514, 15467, 15329, 9506, 202, 430, 12, 3146, 743, 5, 33, 2011, 15329, 1082, 202, 59, 42, 1304, 18, 14407, 12, 14496, 734, 16, 315, 542, 29906, 3113, 15467, 1769, 202, 202, 97, 469, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 63, 9511, 6362, 6, 15, 588, 797, 7675, 17994, 1435, 9078, 14542, 1058, 589, 353, 446, 8863, 202, 202, 97, 9506, 202, 59, 42, 682, 293, 4635, 273, 394, 678, 42, 682, 12, 14496, 734, 1769, 202, 202, 84, 4635, 18, 542, 548, 12, 14496, 734, 1769, 9506, 202, 4353, 1447, 1528, 1446, 8336, 273, 10946, 2 ]
page.setShowFooterOnLast(handle.showFooterOnLast()); page.setShowHeaderOnFirst(handle.showFooterOnLast());
public void visitSimpleMasterPage( SimpleMasterPageHandle handle ) { SimpleMasterPageDesign page = new SimpleMasterPageDesign( ); // setup the base master page property. setupMasterPage( page, handle ); page.setHeaderHeight( createDimension( handle.getHeaderHeight( ) ) ); page.setFooterHeight( createDimension( handle.getFooterHeight( ) ) ); SlotHandle headerSlot = handle.getPageHeader( ); for ( int i = 0; i < headerSlot.getCount( ); i++ ) { apply( headerSlot.get( i ) ); if ( currentElement != null ) { page.addHeader( (ReportItemDesign) currentElement ); } } SlotHandle footerSlot = handle.getPageFooter( ); for ( int i = 0; i < footerSlot.getCount( ); i++ ) { apply( footerSlot.get( i ) ); if ( currentElement != null ) { page.addFooter( (ReportItemDesign) currentElement ); } } currentElement = page; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c56ca040aefc2e3c58fb951eefccfa9451b49836/EngineIRVisitor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 918, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 3757, 5784, 7786, 1964, 12, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 4477, 7786, 1964, 3259, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1640, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 262, 202, 95, 202, 202, 5784, 7786, 1964, 15478, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 273, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 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, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 918, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 3757, 5784, 7786, 1964, 12, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 18, 542, 5706, 1864, 1398, 3759, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 4477, 7786, 1964, 3259, 2433, 18, 542, 5706, 13787, 1398, 3024, 12, 4110, 18, 4500, 13787, 1398, 3024, 10663, 1363, 2 ]
System.err.println("addNode: no element for " + node.getLocation());
if (Policy.EXPERIMENTAL_MENU) { System.err.println("addNode: no element for " + node.getLocation()); }
public void addNode(Menu menu, ILayoutNode node, IndexManager index) { MenuElement element = node.getMenuElement(); System.err.println("addNode: tree: " + node.getLocation() + "\n\t" //$NON-NLS-1$ //$NON-NLS-2$ + element); // System.err.println("addNode: " + element); //$NON-NLS-1$ if (element instanceof SMenu) { SMenu smenu = (SMenu) element; if (!smenu.isVisible(fWindow)) { return; } MenuItem item = new MenuItem(menu, SWT.CASCADE, index.index++); item.setData(smenu); try { item.setText(smenu.getLabel()); } catch (NotDefinedException e) { // TODO Auto-generated catch block e.printStackTrace(); } Menu itemMenu = new Menu(menu); item.setMenu(itemMenu); List children = node.getChildrenSorted(); IndexManager childIndex = new IndexManager(); for (Iterator i = children.iterator(); i.hasNext();) { ILayoutNode child = (ILayoutNode) i.next(); addNode(itemMenu, child, childIndex); } } else if (element instanceof SItem) { final SItem sitem = (SItem) element; if (!sitem.isVisible(fWindow)) { return; } final MenuItem item = new MenuItem(menu, SWT.PUSH, index.index++); item.setData(element); try { item.setText(sitem.getCommand().getName()); item.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { try { sitem.getCommand() .executeWithChecks(null, null); } catch (ExecutionException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (NotDefinedException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (NotEnabledException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (NotHandledException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } public void widgetDefaultSelected(SelectionEvent e) { } }); } catch (NotDefinedException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } else if (element instanceof SWidget) { SWidget swidget = (SWidget) element; if (!swidget.isVisible(fWindow)) { return; } try { swidget.getWidget().fill(menu, index.index); } catch (NotDefinedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } else if (element instanceof SGroup) { SGroup sgroup = (SGroup) element; if (!sgroup.isVisible(fWindow)) { return; } try { if (sgroup.isSeparatorsVisible()) { MenuItem item = new MenuItem(menu, SWT.SEPARATOR, index.index++); item.setData(sgroup); } List children = node.getChildrenSorted(); for (Iterator i = children.iterator(); i.hasNext();) { ILayoutNode child = (ILayoutNode) i.next(); addNode(menu, child, index); } } catch (NotDefinedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } else { System.err.println("addNode: no element for " //$NON-NLS-1$ + node.getLocation()); if (node.isEmpty()) { return; } List children = node.getChildrenSorted(); if (!children.isEmpty()) { MenuItem item = new MenuItem(menu, SWT.CASCADE, index.index++); item.setData(node); item .setText(node.getId() == null ? "node" + (index.index - 1) //$NON-NLS-1$ : node.getId()); Menu itemMenu = new Menu(menu); item.setMenu(itemMenu); IndexManager childIndex = new IndexManager(); for (Iterator i = children.iterator(); i.hasNext();) { ILayoutNode child = (ILayoutNode) i.next(); addNode(itemMenu, child, childIndex); } } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/62d226b701f4fb0f7d85922bc59cfd57087e631f/LegacyMenuManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/LegacyMenuManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 23063, 12, 4599, 3824, 16, 467, 3744, 907, 756, 16, 3340, 1318, 770, 13, 288, 1082, 202, 4599, 1046, 930, 273, 756, 18, 588, 4599, 1046, 5621, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 1289, 907, 30, 2151, 30, 315, 397, 756, 18, 588, 2735, 1435, 397, 1548, 82, 64, 88, 6, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 6862, 202, 15, 930, 1769, 1082, 202, 759, 2332, 18, 370, 18, 8222, 2932, 1289, 907, 30, 315, 397, 930, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 2956, 1276, 348, 4599, 13, 288, 9506, 202, 55, 4599, 3029, 2104, 273, 261, 55, 4599, 13, 930, 31, 9506, 202, 430, 16051, 4808, 2104, 18, 291, 6207, 12, 74, 3829, 3719, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 12958, 761, 273, 394, 25085, 12, 5414, 16, 348, 8588, 18, 3587, 25517, 16, 770, 18, 1615, 9904, 1769, 9506, 202, 1726, 18, 542, 751, 12, 4808, 2104, 1769, 9506, 202, 698, 288, 6862, 202, 1726, 18, 542, 1528, 12, 4808, 2104, 18, 588, 2224, 10663, 9506, 202, 97, 1044, 261, 1248, 8116, 503, 425, 13, 288, 6862, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 6862, 202, 73, 18, 1188, 6332, 5621, 9506, 202, 97, 9506, 202, 4599, 761, 4599, 273, 394, 9809, 12, 5414, 1769, 9506, 202, 1726, 18, 542, 4599, 12, 1726, 4599, 1769, 9506, 202, 682, 2325, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 23063, 12, 4599, 3824, 16, 467, 3744, 907, 756, 16, 3340, 1318, 770, 13, 288, 1082, 202, 4599, 1046, 930, 273, 756, 18, 588, 4599, 1046, 5621, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 1289, 907, 30, 2151, 30, 315, 397, 756, 18, 588, 2735, 1435, 397, 1548, 82, 64, 88, 6, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 6862, 202, 15, 930, 1769, 1082, 202, 759, 2332, 18, 370, 18, 8222, 2932, 1289, 907, 30, 315, 397, 930, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 261, 2956, 1276, 348, 4599, 13, 288, 9506, 202, 55, 4599, 3029, 2104, 273, 261, 55, 4599, 2 ]
if (parseCommonTags(kTemplate, colString) == false)
if (BaseKitLoader.parseCommonTags(kTemplate, colString) == false)
public boolean parse(Kit aKit, String value) throws PersistenceLayerException { final StringTokenizer colToken = new StringTokenizer(value, SystemLoader.TAB_DELIM); KitTemplate kTemplate = new KitTemplate(colToken.nextToken()); while (colToken.hasMoreTokens()) { final String colString = colToken.nextToken(); if (colString.startsWith("TEMPLATE:")) { Logging.errorPrint("Ignoring second TEMPLATE tag \"" + colString + "\" in TemplateToken.parse"); } else { if (parseCommonTags(kTemplate, colString) == false) { throw new PersistenceLayerException( "Unknown KitTemplate info " + " \"" + colString + "\""); } } } aKit.addObject(kTemplate); return true; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/TemplateToken.java/clean/code/src/java/plugin/lsttokens/kit/TemplateToken.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1109, 12, 14102, 279, 14102, 16, 514, 460, 13, 1082, 202, 15069, 13381, 4576, 503, 202, 95, 202, 202, 6385, 16370, 645, 1345, 273, 394, 16370, 12, 1132, 16, 9506, 202, 3163, 2886, 18, 28899, 67, 31519, 1769, 202, 202, 14102, 2283, 417, 2283, 273, 394, 1475, 305, 2283, 12, 1293, 1345, 18, 4285, 1345, 10663, 202, 202, 17523, 261, 1293, 1345, 18, 5332, 7417, 5157, 10756, 202, 202, 95, 1082, 202, 6385, 514, 645, 780, 273, 645, 1345, 18, 4285, 1345, 5621, 1082, 202, 430, 261, 1293, 780, 18, 17514, 1190, 2932, 12205, 2773, 3719, 1082, 202, 95, 9506, 202, 7735, 18, 1636, 5108, 2932, 21702, 2205, 20835, 1047, 11843, 25083, 202, 15, 645, 780, 397, 7023, 316, 5035, 1345, 18, 2670, 8863, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 430, 261, 2670, 6517, 3453, 12, 79, 2283, 16, 645, 780, 13, 422, 629, 13, 9506, 202, 95, 6862, 202, 12849, 394, 13381, 4576, 503, 12, 6862, 1082, 202, 6, 4874, 1475, 305, 2283, 1123, 315, 397, 315, 11843, 397, 645, 780, 6862, 6862, 202, 15, 11143, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 69, 14102, 18, 1289, 921, 12, 79, 2283, 1769, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1109, 12, 14102, 279, 14102, 16, 514, 460, 13, 1082, 202, 15069, 13381, 4576, 503, 202, 95, 202, 202, 6385, 16370, 645, 1345, 273, 394, 16370, 12, 1132, 16, 9506, 202, 3163, 2886, 18, 28899, 67, 31519, 1769, 202, 202, 14102, 2283, 417, 2283, 273, 394, 1475, 305, 2283, 12, 1293, 1345, 18, 4285, 1345, 10663, 202, 202, 17523, 261, 1293, 1345, 18, 5332, 7417, 5157, 10756, 202, 202, 95, 1082, 202, 6385, 514, 645, 780, 273, 645, 1345, 18, 4285, 1345, 5621, 1082, 202, 430, 261, 1293, 780, 18, 17514, 1190, 2932, 12205, 2773, 3719, 1082, 202, 95, 9506, 202, 7735, 18, 1636, 5108, 2932, 21702, 2205, 20835, 1047, 11843, 25083, 202, 15, 645, 2 ]
if (jj_3R_58()) return true;
if (jj_3R_59()) return true;
final private boolean jj_3R_40() { if (jj_scan_token(ON)) return true; if (jj_scan_token(90)) return true; Token xsp; xsp = jj_scanpos; if (jj_3_21()) { jj_scanpos = xsp; if (jj_3R_58()) return true; } while (true) { xsp = jj_scanpos; if (jj_3R_59()) { jj_scanpos = xsp; break; } } if (jj_scan_token(91)) return true; if (jj_3R_44()) return true; return false; }
55585 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55585/da8460b4964000d42229c31d9ea4b39b707fc406/ASParser.java/buggy/src/com/flagstone/translate/ASParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 7132, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 673, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 9349, 3719, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 67, 5340, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6162, 10756, 327, 638, 31, 565, 289, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 6162, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12416, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6334, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 7132, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 673, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 9349, 3719, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 67, 5340, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6162, 10756, 327, 638, 31, 565, 289, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 6162, 10756, 288, 2 ]
if (i == 0)
if (iSep == 0)
private void handleVariable (Line line, URL url) throws ConfigurationException { String s = line.buffer.toString(); int i; if ( ((i = s.indexOf ('=')) == -1) && ((i = s.indexOf (':')) == -1) ) { throw new ConfigurationException (getExceptionPrefix (line, url) + "Missing '=' or ':' for " + "variable definition."); } if (i == 0) { throw new ConfigurationException (getExceptionPrefix (line, url) + "Missing variable name for " + "variable definition."); } String varName = s.substring (0, i).trim(); if (varName.length() == 0) { throw new ConfigurationException (getExceptionPrefix (line, url) + "Missing variable name for " + "variable definition."); } String value = s.substring (skipWhitespace (s, i + 1)); Variable existing = parseData.currentSection.getVariable (varName); if (existing != null) { throw new ConfigurationException (getExceptionPrefix (line, url) + "Section \"" + parseData.currentSection.name + "\": Duplicate definition of " + "variable \"" + varName + "\". First instance was defined " + "on line " + existing.lineWhereDefined()); } parseData.currentSection.addVariable (varName, value, line.number); }
1346 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1346/ad51fa7847126294904715ea32c0be146d963aa9/Configuration.java/clean/src/org/clapper/util/config/Configuration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 3092, 261, 1670, 980, 16, 1976, 880, 13, 3639, 1216, 22196, 565, 288, 3639, 514, 272, 273, 980, 18, 4106, 18, 10492, 5621, 3639, 509, 565, 277, 31, 3639, 309, 261, 14015, 77, 273, 272, 18, 31806, 7707, 2218, 3719, 422, 300, 21, 13, 597, 2398, 14015, 77, 273, 272, 18, 31806, 7707, 2497, 3719, 422, 300, 21, 13, 262, 3639, 288, 5411, 604, 394, 22196, 261, 588, 503, 2244, 261, 1369, 16, 880, 13, 4766, 5411, 397, 315, 4841, 5214, 578, 3921, 364, 315, 4766, 5411, 397, 315, 6105, 2379, 1199, 1769, 3639, 289, 3639, 309, 261, 77, 5097, 422, 374, 13, 3639, 288, 5411, 604, 394, 22196, 261, 588, 503, 2244, 261, 1369, 16, 880, 13, 4766, 5411, 397, 315, 4841, 2190, 508, 364, 315, 4766, 5411, 397, 315, 6105, 2379, 1199, 1769, 3639, 289, 3639, 514, 13722, 273, 272, 18, 28023, 261, 20, 16, 277, 2934, 5290, 5621, 3639, 309, 261, 1401, 461, 18, 2469, 1435, 422, 374, 13, 3639, 288, 5411, 604, 394, 22196, 261, 588, 503, 2244, 261, 1369, 16, 880, 13, 4766, 5411, 397, 315, 4841, 2190, 508, 364, 315, 4766, 5411, 397, 315, 6105, 2379, 1199, 1769, 3639, 289, 3639, 514, 460, 273, 272, 18, 28023, 261, 7457, 9431, 261, 87, 16, 277, 397, 404, 10019, 3639, 7110, 2062, 273, 1109, 751, 18, 2972, 5285, 18, 588, 3092, 261, 1401, 461, 1769, 3639, 309, 261, 11711, 480, 446, 13, 3639, 288, 5411, 604, 394, 22196, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 3092, 261, 1670, 980, 16, 1976, 880, 13, 3639, 1216, 22196, 565, 288, 3639, 514, 272, 273, 980, 18, 4106, 18, 10492, 5621, 3639, 509, 565, 277, 31, 3639, 309, 261, 14015, 77, 273, 272, 18, 31806, 7707, 2218, 3719, 422, 300, 21, 13, 597, 2398, 14015, 77, 273, 272, 18, 31806, 7707, 2497, 3719, 422, 300, 21, 13, 262, 3639, 288, 5411, 604, 394, 22196, 261, 588, 503, 2244, 261, 1369, 16, 880, 13, 4766, 5411, 397, 315, 4841, 5214, 578, 3921, 364, 315, 4766, 5411, 397, 315, 6105, 2379, 1199, 1769, 3639, 289, 3639, 309, 261, 77, 5097, 422, 374, 13, 3639, 288, 5411, 604, 394, 22196, 261, 588, 503, 2244, 261, 1369, 2 ]
_context.jobQueue().addJob(new HandleLocallyJob(body, info));
getContext().jobQueue().addJob(new HandleLocallyJob(body, info));
public void runJob() { TunnelId id = _message.getTunnelId(); long excessLag = _context.clock().now() - _message.getMessageExpiration().getTime(); if (excessLag > Router.CLOCK_FUDGE_FACTOR) { // expired while on the queue if (_log.shouldLog(Log.WARN)) _log.warn("Accepted message (" + _message.getUniqueId() + ") expired on the queue for tunnel " + id.getTunnelId() + " expiring " + excessLag + "ms ago"); _context.statManager().addRateData("tunnel.expiredAfterAcceptTime", excessLag, excessLag); _context.messageHistory().messageProcessingError(_message.getUniqueId(), TunnelMessage.class.getName(), "tunnel message expired on the queue"); return; } else if (excessLag > 0) { // almost expired while on the queue if (_log.shouldLog(Log.WARN)) _log.warn("Accepted message (" + _message.getUniqueId() + ") *almost* expired on the queue for tunnel " + id.getTunnelId() + " expiring " + excessLag + "ms ago"); } TunnelInfo info = _context.tunnelManager().getTunnelInfo(id); if (info == null) { Hash from = _fromHash; if (_from != null) from = _from.getHash(); _context.messageHistory().droppedTunnelMessage(id, from); if (_log.shouldLog(Log.ERROR)) _log.error("Received a message for an unknown tunnel [" + id.getTunnelId() + "], dropping it: " + _message, getAddedBy()); long timeRemaining = _message.getMessageExpiration().getTime() - _context.clock().now(); _context.statManager().addRateData("tunnel.unknownTunnelTimeLeft", timeRemaining, 0); return; } info.messageProcessed(); info = getUs(info); if (info == null) { if (_log.shouldLog(Log.ERROR)) _log.error("We are not part of a known tunnel?? wtf! drop.", getAddedBy()); long timeRemaining = _message.getMessageExpiration().getTime() - _context.clock().now(); _context.statManager().addRateData("tunnel.unknownTunnelTimeLeft", timeRemaining, 0); return; } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("Tunnel message received for tunnel: \n" + info); } //if ( (_message.getVerificationStructure() == null) && (info.getSigningKey() != null) ) { if (_message.getVerificationStructure() == null) { if (info.getSigningKey() != null) { if (info.getNextHop() != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug("We are the gateway to tunnel " + id.getTunnelId()); byte data[] = _message.getData(); I2NPMessage msg = getBody(data); _context.jobQueue().addJob(new HandleGatewayMessageJob(msg, info, data.length)); return; } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("We are the gateway and the endpoint for tunnel " + id.getTunnelId()); if (_log.shouldLog(Log.DEBUG)) _log.debug("Process locally"); if (info.getDestination() != null) { if (!_context.clientManager().isLocal(info.getDestination())) { if (_log.shouldLog(Log.WARN)) _log.warn("Received a message on a tunnel allocated to a client that has disconnected - dropping it!"); if (_log.shouldLog(Log.DEBUG)) _log.debug("Dropping message for disconnected client: " + _message); _context.messageHistory().droppedOtherMessage(_message); _context.messageHistory().messageProcessingError(_message.getUniqueId(), _message.getClass().getName(), "Disconnected client"); return; } } I2NPMessage body = getBody(_message.getData()); if (body != null) { _context.jobQueue().addJob(new HandleLocallyJob(body, info)); return; } else { if (_log.shouldLog(Log.ERROR)) _log.error("Body is null! content of message.getData() = [" + DataHelper.toString(_message.getData()) + "]", getAddedBy()); if (_log.shouldLog(Log.DEBUG)) _log.debug("Message that failed: " + _message, getAddedBy()); return; } } } else { if (_log.shouldLog(Log.ERROR)) _log.error("Received a message that we are not the gateway for on tunnel " + id.getTunnelId() + " without a verification structure: " + _message, getAddedBy()); return; } } else { // participant TunnelVerificationStructure struct = _message.getVerificationStructure(); boolean ok = struct.verifySignature(_context, info.getVerificationKey().getKey()); if (!ok) { if (_log.shouldLog(Log.WARN)) _log.warn("Failed tunnel verification! Spoofing / tagging attack? " + _message, getAddedBy()); return; } else { if (info.getNextHop() != null) { if (_log.shouldLog(Log.INFO)) _log.info("Message for tunnel " + id.getTunnelId() + " received where we're not the gateway and there are remaining hops, so forward it on to " + info.getNextHop().toBase64() + " via SendTunnelMessageJob"); _context.statManager().addRateData("tunnel.relayMessageSize", _message.getData().length, 0); _context.jobQueue().addJob(new SendMessageDirectJob(_context, _message, info.getNextHop(), _context.clock().now() + FORWARD_TIMEOUT, FORWARD_PRIORITY)); return; } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("No more hops, unwrap and follow the instructions"); _context.jobQueue().addJob(new HandleEndpointJob(info)); return; } } } }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleTunnelMessageJob.java/clean/router/java/src/net/i2p/router/message/HandleTunnelMessageJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 399, 8564, 548, 612, 273, 389, 2150, 18, 588, 20329, 548, 5621, 3639, 1525, 23183, 26093, 273, 389, 2472, 18, 18517, 7675, 3338, 1435, 300, 389, 2150, 18, 24906, 12028, 7675, 588, 950, 5621, 3639, 309, 261, 338, 614, 26093, 405, 9703, 18, 39, 6589, 67, 42, 12587, 7113, 67, 26835, 13, 288, 5411, 368, 7708, 1323, 603, 326, 2389, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 7734, 389, 1330, 18, 8935, 2932, 18047, 883, 7566, 397, 389, 2150, 18, 588, 24174, 1435, 397, 9369, 7708, 603, 326, 2389, 364, 14825, 315, 18701, 397, 612, 18, 588, 20329, 548, 1435, 397, 315, 1329, 11256, 315, 18701, 397, 23183, 26093, 21821, 397, 315, 959, 20325, 8863, 5411, 389, 2472, 18, 5642, 1318, 7675, 1289, 4727, 751, 2932, 19878, 18, 15820, 4436, 5933, 950, 3113, 23183, 26093, 16, 23183, 26093, 1769, 5411, 389, 2472, 18, 2150, 5623, 7675, 2150, 7798, 668, 24899, 2150, 18, 588, 24174, 9334, 4766, 17311, 399, 8564, 1079, 18, 1106, 18, 17994, 9334, 4766, 17311, 315, 19878, 883, 7708, 603, 326, 2389, 8863, 5411, 327, 31, 3639, 289, 469, 309, 261, 338, 614, 26093, 405, 374, 13, 288, 5411, 368, 23889, 7708, 1323, 603, 326, 2389, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 7734, 389, 1330, 18, 8935, 2932, 18047, 883, 7566, 397, 389, 2150, 18, 588, 24174, 1435, 397, 9369, 380, 287, 10329, 14, 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, 2278, 1435, 288, 3639, 399, 8564, 548, 612, 273, 389, 2150, 18, 588, 20329, 548, 5621, 3639, 1525, 23183, 26093, 273, 389, 2472, 18, 18517, 7675, 3338, 1435, 300, 389, 2150, 18, 24906, 12028, 7675, 588, 950, 5621, 3639, 309, 261, 338, 614, 26093, 405, 9703, 18, 39, 6589, 67, 42, 12587, 7113, 67, 26835, 13, 288, 5411, 368, 7708, 1323, 603, 326, 2389, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 7734, 389, 1330, 18, 8935, 2932, 18047, 883, 7566, 397, 389, 2150, 18, 588, 24174, 1435, 397, 9369, 7708, 603, 326, 2389, 364, 14825, 315, 18701, 397, 612, 18, 588, 20329, 548, 1435, 397, 315, 1329, 11256, 315, 2 ]
tuple[12] = r.getBytes(9); tuple[13] = null; tuple[14] = null; tuple[15] = tuple[6]; tuple[16] = r.getBytes(5); String nullFlag = r.getString(6); tuple[10] = Integer.toString(nullFlag.equals("f")?java.sql.DatabaseMetaData.columnNullable:java.sql.DatabaseMetaData.columnNoNulls).getBytes(); tuple[17] = (nullFlag.equals("f")?"YES":"NO").getBytes(); v.addElement(tuple); } r.close();
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { // the field descriptors for the new ResultSet Field f[] = new Field[18]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); // Added by Stefan Andreasen <stefan@linux.kapow.dk> // If the pattern are null then set them to % if (tableNamePattern == null) tableNamePattern="%"; if (columnNamePattern == null) columnNamePattern="%"; // Now form the query String query = "select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid" : "a.oid") + ",c.relname,a.attname,a.atttypid," + "a.attnum,a.attnotnull,a.attlen,a.atttypmod,d.adsrc " + "from (pg_class c inner join pg_attribute a " + "on (c.oid=a.attrelid) ) " + "left outer join pg_attrdef d " + "on (c.oid=d.adrelid and d.adnum=a.attnum) " + "where " + "c.relname like '"+tableNamePattern.toLowerCase()+"' and " + "a.attname like '"+columnNamePattern.toLowerCase()+"' and " + "a.attnum>0 " + "order by c.relname,a.attnum"; r = connection.ExecSQL(query); while(r.next()) { byte[][] tuple = new byte[18][0]; // Fetch the description for the table (if any) String getDescriptionStatement = connection.haveMinimumServerVersion("7.2") ? "select col_description(" + r.getInt(1) + "," + r.getInt(5) + ")" : "select description from pg_description where objoid=" + r.getInt(1); java.sql.ResultSet dr = connection.ExecSQL(getDescriptionStatement); if(((org.postgresql.ResultSet)dr).getTupleCount()==1) { dr.next(); tuple[11] = dr.getBytes(1); } else tuple[11] = null; dr.close(); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name dr = connection.ExecSQL("select typname from pg_type where oid = "+r.getString(4)); dr.next(); String typname=dr.getString(1); dr.close(); tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else tuple[6] = r.getBytes(7); tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal // tuple[10] is below // tuple[11] is above tuple[12] = r.getBytes(9); // column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position String nullFlag = r.getString(6); tuple[10] = Integer.toString(nullFlag.equals("f")?java.sql.DatabaseMetaData.columnNullable:java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[17] = (nullFlag.equals("f")?"YES":"NO").getBytes(); // is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/07ce9fe61dd6cb7399d76f4a9cbcbe191b988ff2/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 368, 326, 652, 14215, 364, 326, 394, 10842, 565, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 565, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 565, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 565, 284, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 565, 284, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 368, 326, 652, 14215, 364, 326, 394, 10842, 565, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 565, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 565, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 2 ]
checkAdd(pccTxt, "", "ATTACKCYCLE", attackCycle);
if (attackCycleMap != null) { checkAdd(pccTxt, "", "ATTACKCYCLE", CoreUtility.join(new MapCollection( attackCycleMap), Constants.PIPE)); }
public String getPCCText() { final StringBuffer pccTxt = new StringBuffer(200); pccTxt.append("CLASS:").append(getDisplayName()); pccTxt.append(super.getPCCText(false)); pccTxt.append("\tABB:").append(getAbbrev()); checkAdd(pccTxt, "", "EXCLASS:", exClass); checkAdd(pccTxt, "", "EXCHANGELEVEL:", levelExchange); if (hasSubClass) { pccTxt.append("\tHASSUBCLASS:Y"); } if (hasSubstitutionClass) { pccTxt.append("\tHASSUBSTITUTIONLEVEL:Y"); } pccTxt.append("\tHD:").append(hitDie); checkAdd(pccTxt, "ANY", "DEITY:", CoreUtility.join(deityList, '|')); checkAdd(pccTxt, "", "ATTACKCYCLE", attackCycle); checkAdd(pccTxt, "", "CASTAS:", castAs); if (prohibitedSchools != null) { pccTxt.append('\t').append("PROHIBITED:"); pccTxt.append(CollectionUtilities.joinStringRepresentations(prohibitedSchools, ",")); } checkAdd(pccTxt, Constants.s_NONE, "SPELLSTAT:", spellBaseStat); checkAdd(pccTxt, Constants.s_NONE, "SPELLTYPE:", spellType); if (usesSpellbook) { pccTxt.append("\tSPELLBOOK:Y"); } // if (skillPoints != 0) // { // pccTxt.append("\tSTARTSKILLPTS:").append(skillPoints); // } if (skillPointFormula.length() != 0) { pccTxt.append("\tSTARTSKILLPTS:").append(skillPointFormula); } if (!getVisibility().equals(Visibility.DEFAULT)) { pccTxt.append("\tVISIBLE:" + getVisibility().toString()); } if (initialFeats != 0) { pccTxt.append("\tXTRAFEATS:").append(initialFeats); } if (levelsPerFeat != null) { pccTxt.append("\tLEVELSPERFEAT:").append(levelsPerFeat.intValue()); } if (maxLevel != 20) { pccTxt.append("\tMAXLEVEL:").append(maxLevel); } if (!memorizeSpells) { pccTxt.append("\tMEMORIZE:N"); } if (multiPreReqs) { pccTxt.append("\tMULTIPREREQS:Y"); } if (!getKnownSpellsList().isEmpty()) { pccTxt.append("\tKNOWNSPELLS:"); boolean flag = false; for (String spell : knownSpellsList) { if (flag) { pccTxt.append(Constants.PIPE); } flag = true; pccTxt.append(spell); } } if (itemCreationMultiplier.length() != 0) { pccTxt.append("\tITEMCREATE:").append(itemCreationMultiplier); } if (classSpellChoices != null) { checkAdd(pccTxt, "", "SPELLLIST:", classSpellChoices.toString()); } if (classSkillChoices != null) { checkAdd(pccTxt, "", "SKILLLIST:", classSkillChoices.toString()); } if (getWeaponProfBonus().size() != 0) { pccTxt.append("\tWEAPONBONUS:"); boolean first = true; for (final String prof : getWeaponProfBonus()) { if (first != true) { pccTxt.append(Constants.PIPE); } pccTxt.append(prof); first = false; } } // now all the level-based stuff final String lineSep = System.getProperty("line.separator"); String regionString = getRegionString(); if ((regionString != null) && !regionString.startsWith("0|")) { final int x = regionString.indexOf('|'); pccTxt.append(lineSep).append(regionString.substring(0, x)).append( "\tREGION:").append(regionString.substring(x + 1)); } // if (kitString != null && !kitString.startsWith("0|")) // { // int x = kitString.indexOf('|'); // pccTxt.append(lineSep + kitString.substring(0, // x)).append("\tKIT:").append(kitString.substring(x + 1)); // } List<String> kits = getSafeListFor(ListKey.KITS); for (int iKit = 0; iKit < kits.size(); ++iKit) { final String kitString = kits.get(iKit); final int x = kitString.indexOf('|'); if (x >= 0) { pccTxt.append(lineSep + kitString.substring(0, x)).append( "\tKIT:").append(kitString.substring(x + 1)); } } /* * CONSIDER This is different than it was before - this outputs the * level, whereas the previous code for outputting SPECIALTYKNOWN did * not - is this a problem??? - thpr 10/31/06 */ if (specialtyknownList != null) { for (LevelProperty<String> lp : specialtyknownList) { pccTxt.append(lineSep).append(lp.getLevel()).append("\tSPECIALTYKNOWN:") .append(lp.getObject()); } } pccTxt.append(lineSep); if (castMap != null) { for (int x = 0; x < castMap.size(); ++x) { if (castMap.containsKey(x)) { final String c = castMap.get(x); final String l = lineSep + String.valueOf(x) + "\tCAST:"; checkAdd(pccTxt, "0", l, c); } } } for (int x = 0; x < getKnownList().size(); ++x) { final String c = knownList.get(x); final String l = lineSep + String.valueOf(x + 1) + "\tKNOWN:"; checkAdd(pccTxt, "0", l, c); } // Output the level based DR only for (DamageReduction reduction : getDRList()) { for (Prerequisite prereq : reduction.getPreReqList()) { if (DamageReduction.isPrereqForClassLevel(prereq, getKeyName())) { pccTxt.append(lineSep).append(prereq.getOperand()).append( "\t").append(reduction.getPCCText(false)); } } } if (SR != null) { for (LevelProperty<String> lp : SR) { pccTxt.append(lineSep).append(lp.getLevel()).append("\tSR:") .append(lp.getObject()); } } // Output the list of spells associated with the class. for (int i = 0; i <= maxLevel; i++) { final List<PCSpell> spellList = getSpellSupport() .getSpellListForLevel(i); if (spellList != null) { for (PCSpell spell : spellList) { pccTxt.append(lineSep).append(i).append("\tSPELLS:") .append(spell.getPCCText()); } } } if (templates != null) { for (final LevelProperty<String> lp : templates) { pccTxt.append(lineSep).append(lp.getLevel()); pccTxt.append("\tTEMPLATE:").append(lp.getObject()); } } for (int x = 0; x < getBonusList().size(); ++x) { final BonusObj aBonus = getBonusList().get(x); String bonusString = aBonus.toString(); final int levelEnd = bonusString.indexOf('|'); final String maybeLevel = bonusString.substring(0, levelEnd); pccTxt.append(lineSep); if (CoreUtility.isIntegerString(maybeLevel)) { pccTxt.append(maybeLevel); bonusString = bonusString.substring(levelEnd + 1); } else { pccTxt.append("0"); } pccTxt.append("\tBONUS:").append(bonusString); } for (int x = 0; x < getVariableCount(); ++x) { final String c = getVariableDefinition(x); final int y = c.indexOf('|'); pccTxt.append(lineSep).append(c.substring(0, y)) .append("\tDEFINE:").append(c.substring(y + 1)); } List<LevelAbility> levelAbilityList = getLevelAbilityList(); if ((levelAbilityList != null) && !levelAbilityList.isEmpty()) { for (LevelAbility ability : levelAbilityList) { pccTxt.append(lineSep).append(String.valueOf(ability.level())) .append("\tADD:").append(ability.getTagData()); } } final List<SpecialAbility> specialAbilityList = getListFor(ListKey.SPECIAL_ABILITY); if ((specialAbilityList != null) && (specialAbilityList.size() != 0)) { for (SpecialAbility sa : specialAbilityList) { final String src = sa.getSASource(); final String lev = src.substring(src.lastIndexOf('|') + 1); pccTxt.append(lineSep).append(lev).append("\tSA:").append( sa.toString()); } } if (addDomains != null) { for (LevelProperty<Domain> domainLP : addDomains) { pccTxt.append(lineSep).append(domainLP.getLevel()); pccTxt.append("\tADDDOMAINS:").append( domainLP.getObject().getKeyName()); } } if (domainList != null) { for (LevelProperty<Domain> domainLP : domainList) { pccTxt.append(lineSep).append(domainLP.getLevel()); pccTxt.append("\tDOMAIN:").append( domainLP.getObject().getKeyName()); } } if (featList != null) { for (LevelProperty<String> lp : featList) { pccTxt.append(lineSep).append(lp.getLevel()); pccTxt.append("\tFEATAUTO:").append(lp.getObject()); } } // TODO - Add ABILITY tokens. if (featAutos != null) { for (LevelProperty<String> autoFeat : featAutos) { pccTxt.append(lineSep).append(autoFeat.getLevel()); pccTxt.append("\tFEATAUTO:").append(autoFeat.getObject()); } } // TODO - This should be removed. if ((uattList != null) && (uattList.size() != 0)) { for (int x = 0; x < uattList.size(); ++x) { pccTxt.append(lineSep).append(String.valueOf(x + 1)).append( "\tUATT:").append(uattList.get(x)); } } List<String> udamList = getListFor(ListKey.UDAM); if ((udamList != null) && (udamList.size() != 0)) { for (int x = 0; x < udamList.size(); ++x) { pccTxt.append(lineSep).append(String.valueOf(x + 1)).append( "\tUDAM:").append(udamList.get(x)); } } List<String> umultList = getListFor(ListKey.UMULT); if (umultList != null) { for (String st : umultList) { final int sepPos = st.indexOf("|"); pccTxt.append(lineSep).append(st.substring(0, sepPos)) .append("\tUMULT:").append(st.substring(sepPos + 1)); } } return pccTxt.toString(); }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/1371f813f6ae7fc714fe527c4740f0344615b1f7/PCClass.java/clean/code/src/java/pcgen/core/PCClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1689, 39, 1268, 408, 1435, 288, 202, 202, 6385, 6674, 293, 952, 21811, 273, 394, 6674, 12, 6976, 1769, 202, 202, 84, 952, 21811, 18, 6923, 2932, 5237, 2773, 2934, 6923, 12, 588, 20524, 10663, 202, 202, 84, 952, 21811, 18, 6923, 12, 9565, 18, 588, 3513, 1268, 408, 12, 5743, 10019, 202, 202, 84, 952, 21811, 18, 6923, 31458, 88, 2090, 38, 2773, 2934, 6923, 12, 588, 5895, 27216, 10663, 202, 202, 1893, 986, 12, 84, 952, 21811, 16, 23453, 315, 2294, 5237, 2773, 16, 431, 797, 1769, 202, 202, 1893, 986, 12, 84, 952, 21811, 16, 23453, 315, 2294, 14473, 10398, 2773, 16, 1801, 11688, 1769, 202, 202, 430, 261, 5332, 1676, 797, 13, 288, 1082, 202, 84, 952, 21811, 18, 6923, 31458, 88, 44, 8423, 3457, 5237, 30, 61, 8863, 202, 202, 97, 202, 202, 430, 261, 5332, 23798, 797, 13, 202, 202, 95, 1082, 202, 84, 952, 21811, 18, 6923, 31458, 88, 44, 8423, 3457, 882, 1285, 13269, 10398, 30, 61, 8863, 202, 202, 97, 202, 202, 84, 952, 21811, 18, 6923, 31458, 88, 44, 40, 2773, 2934, 6923, 12, 15989, 23196, 1769, 202, 202, 1893, 986, 12, 84, 952, 21811, 16, 315, 15409, 3113, 315, 1639, 4107, 2773, 16, 4586, 6497, 18, 5701, 12, 323, 560, 682, 16, 6699, 6134, 1769, 202, 202, 1893, 986, 12, 84, 952, 21811, 16, 23453, 315, 789, 56, 3649, 16068, 23181, 3113, 13843, 13279, 1769, 202, 202, 1893, 986, 12, 84, 952, 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, 514, 1689, 39, 1268, 408, 1435, 288, 202, 202, 6385, 6674, 293, 952, 21811, 273, 394, 6674, 12, 6976, 1769, 202, 202, 84, 952, 21811, 18, 6923, 2932, 5237, 2773, 2934, 6923, 12, 588, 20524, 10663, 202, 202, 84, 952, 21811, 18, 6923, 12, 9565, 18, 588, 3513, 1268, 408, 12, 5743, 10019, 202, 202, 84, 952, 21811, 18, 6923, 31458, 88, 2090, 38, 2773, 2934, 6923, 12, 588, 5895, 27216, 10663, 202, 202, 1893, 986, 12, 84, 952, 21811, 16, 23453, 315, 2294, 5237, 2773, 16, 431, 797, 1769, 202, 202, 1893, 986, 12, 84, 952, 21811, 16, 23453, 315, 2294, 14473, 10398, 2773, 16, 1801, 11688, 1769, 202, 202, 430, 261, 5332, 1676, 797, 2 ]
public void doTag(final XMLOutput output) throws JellyTagException { tableLayoutTag = (TableLayoutTag) findAncestorWithClass( TableLayoutTag.class ); if (tableLayoutTag == null) { throw new JellyTagException( "this tag must be nested within a <tableLayout> tag" ); } rowIndex = tableLayoutTag.nextRowIndex(); cells.clear(); invokeBody(output); // now iterate through the rows and add each one to the layout... for (Iterator iter = cells.iterator(); iter.hasNext(); ) { Cell cell = (Cell) iter.next(); GridBagConstraints c = cell.getConstraints(); // are we the last cell in the row if ( iter.hasNext() ) { // not last in row c.gridwidth = GridBagConstraints.RELATIVE; } else { // end of row c.gridwidth = GridBagConstraints.REMAINDER; } c.gridy = rowIndex; // now lets add the cell to the table tableLayoutTag.addCell(cell); } cells.clear(); }
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/cbaa8d2430c2bf467e589a423fee7c83e3f0eb2f/TrTag.java/buggy/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/TrTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1805, 12, 6385, 3167, 1447, 876, 13, 1216, 804, 292, 715, 1805, 503, 288, 3639, 1014, 3744, 1805, 273, 261, 1388, 3744, 1805, 13, 1104, 15637, 1190, 797, 12, 3555, 3744, 1805, 18, 1106, 11272, 3639, 309, 261, 2121, 3744, 1805, 422, 446, 13, 288, 5411, 604, 394, 804, 292, 715, 1805, 503, 12, 315, 2211, 1047, 1297, 506, 4764, 3470, 279, 411, 2121, 3744, 34, 1047, 6, 11272, 3639, 289, 3639, 15361, 273, 1014, 3744, 1805, 18, 4285, 21769, 5621, 3639, 5983, 18, 8507, 5621, 7734, 4356, 2250, 12, 2844, 1769, 7734, 368, 2037, 7401, 3059, 326, 2595, 471, 527, 1517, 1245, 358, 326, 3511, 2777, 3639, 364, 261, 3198, 1400, 273, 5983, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 5411, 8614, 2484, 273, 261, 4020, 13, 1400, 18, 4285, 5621, 5411, 13075, 276, 273, 2484, 18, 588, 4878, 5621, 5411, 368, 854, 732, 326, 1142, 2484, 316, 326, 1027, 5411, 309, 261, 1400, 18, 5332, 2134, 1435, 262, 288, 7734, 368, 486, 1142, 316, 1027, 7734, 276, 18, 5222, 2819, 273, 13075, 18, 862, 12190, 5354, 31, 18701, 289, 5411, 469, 288, 7734, 368, 679, 434, 1027, 7734, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 5411, 289, 5411, 276, 18, 5222, 93, 273, 15361, 31, 13491, 368, 2037, 14557, 527, 326, 2484, 358, 326, 1014, 5411, 1014, 3744, 1805, 18, 1289, 4020, 12, 3855, 1769, 3639, 289, 7734, 5983, 18, 8507, 5621, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1805, 12, 6385, 3167, 1447, 876, 13, 1216, 804, 292, 715, 1805, 503, 288, 3639, 1014, 3744, 1805, 273, 261, 1388, 3744, 1805, 13, 1104, 15637, 1190, 797, 12, 3555, 3744, 1805, 18, 1106, 11272, 3639, 309, 261, 2121, 3744, 1805, 422, 446, 13, 288, 5411, 604, 394, 804, 292, 715, 1805, 503, 12, 315, 2211, 1047, 1297, 506, 4764, 3470, 279, 411, 2121, 3744, 34, 1047, 6, 11272, 3639, 289, 3639, 15361, 273, 1014, 3744, 1805, 18, 4285, 21769, 5621, 3639, 5983, 18, 8507, 5621, 7734, 4356, 2250, 12, 2844, 1769, 7734, 368, 2037, 7401, 3059, 326, 2595, 471, 527, 1517, 1245, 358, 326, 3511, 2777, 3639, 364, 261, 3198, 1400, 273, 5983, 18, 2 ]
this.frame = new Frame("MegaMek Client");
this.frame = new Frame(Messages.getString("ClientGUI.title"));
private void initializeFrame() { this.frame = new Frame("MegaMek Client"); menuBar.setGame(client.game); frame.setMenuBar(menuBar); if (Settings.windowSizeHeight != 0) { frame.setLocation(Settings.windowPosX, Settings.windowPosY); frame.setSize(Settings.windowSizeWidth, Settings.windowSizeHeight); } else { frame.setSize(800, 600); } frame.setBackground(SystemColor.menu); frame.setForeground(SystemColor.menuText); frame.setIconImage(frame.getToolkit().getImage("data/images/megamek-icon.gif")); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/c9f0f1d2e5ceb1c577004355102dc4109baf3a49/ClientGUI.java/buggy/megamek/src/megamek/client/ui/AWT/ClientGUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 3219, 1435, 288, 3639, 333, 18, 3789, 273, 394, 8058, 12, 5058, 18, 588, 780, 2932, 1227, 43, 5370, 18, 2649, 7923, 1769, 3639, 3824, 5190, 18, 542, 12496, 12, 2625, 18, 13957, 1769, 3639, 2623, 18, 542, 4599, 5190, 12, 5414, 5190, 1769, 3639, 309, 261, 2628, 18, 5668, 1225, 2686, 480, 374, 13, 288, 5411, 2623, 18, 542, 2735, 12, 2628, 18, 5668, 1616, 60, 16, 8709, 18, 5668, 1616, 61, 1769, 5411, 2623, 18, 542, 1225, 12, 2628, 18, 5668, 1225, 2384, 16, 8709, 18, 5668, 1225, 2686, 1769, 3639, 289, 469, 288, 5411, 2623, 18, 542, 1225, 12, 17374, 16, 14707, 1769, 3639, 289, 3639, 2623, 18, 542, 8199, 12, 3163, 2957, 18, 5414, 1769, 3639, 2623, 18, 542, 23206, 12, 3163, 2957, 18, 5414, 1528, 1769, 3639, 2623, 18, 542, 5554, 2040, 12, 3789, 18, 588, 6364, 8691, 7675, 588, 2040, 2932, 892, 19, 7369, 19, 81, 1332, 339, 79, 17, 3950, 18, 13905, 7923, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 3219, 1435, 288, 3639, 333, 18, 3789, 273, 394, 8058, 12, 5058, 18, 588, 780, 2932, 1227, 43, 5370, 18, 2649, 7923, 1769, 3639, 3824, 5190, 18, 542, 12496, 12, 2625, 18, 13957, 1769, 3639, 2623, 18, 542, 4599, 5190, 12, 5414, 5190, 1769, 3639, 309, 261, 2628, 18, 5668, 1225, 2686, 480, 374, 13, 288, 5411, 2623, 18, 542, 2735, 12, 2628, 18, 5668, 1616, 60, 16, 8709, 18, 5668, 1616, 61, 1769, 5411, 2623, 18, 542, 1225, 12, 2628, 18, 5668, 1225, 2384, 16, 8709, 18, 5668, 1225, 2686, 1769, 3639, 289, 469, 288, 5411, 2623, 18, 542, 1225, 12, 17374, 16, 14707, 1769, 3639, 289, 3639, 2623, 18, 542, 8199, 12, 3163, 2 ]