/*
* @test /nodynamiccopyright/
* @bug 6406771
* @summary CompilationUnitTree needs access to a line map
*/
// WARNING: White-space and layout is important in this file, especially tab characters.
@SupportedAnnotationTypes("*")
"line:24",
"line:25",
"line:26", "line:26",
// 1 2 3 4 5 6
//3456789012345678901234567890123456789012345678901234567890
"col:7", "col:16", "col:26", // this line uses spaces
"col:9", "col:25", "col:41", // this line uses tabs
"col:20", "col:43" // this line uses a mixture
};
// White-space after this point does not matter
JavaFileObject f = fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrc, self+".java"))).iterator().next();
List<String> opts = Arrays.asList("-d", ".", "-processorpath", testClasses, "-processor", self, "-proc:only");
throw new AssertionError("failed");
}
long found;
if (s.startsWith(LINE)) {
}
else if (s.startsWith(COLUMN)) {
}
else
return null;
}
}
return null;
}
};
}
return true;
}
return SourceVersion.latest();
}
}