Searched refs:sourcefile (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DSourcePositionImpl.java42 private JavaFileObject sourcefile; field in class:SourcePositionImpl
47 public SourcePositionImpl(JavaFileObject sourcefile, int pos, Position.LineMap linemap) { argument
48 this.sourcefile = sourcefile;
51 assert sourcefile != null;
60 return sourcefile;
65 * form "sourcefile:line", or "sourcefile" if no line number is available.
70 ? sourcefile.getName()
71 : sourcefile
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DJavacSourcePosition.java41 final JavaFileObject sourcefile; field in class:JavacSourcePosition
45 JavacSourcePosition(JavaFileObject sourcefile, argument
48 this.sourcefile = sourcefile;
54 return sourcefile;
72 ? sourcefile + ":" + line
73 : sourcefile.toString();
H A DJavacElements.java183 JavaFileObject sourcefile = toplevel.sourcefile;
184 if (sourcefile == null)
186 return new JavacSourcePosition(sourcefile, tree.pos, toplevel.lineMap);
195 JavaFileObject sourcefile = toplevel.sourcefile;
196 if (sourcefile == null)
202 return new JavacSourcePosition(sourcefile, annoTree.pos,
/openjdk7/langtools/test/tools/javac/tree/
H A DJavacTreeScannerTest.java87 sourcefile = tree.sourcefile;
94 //System.err.println(sourcefile.getName() + ": trees compared OK");
98 error(sourcefile, "differences found");
107 error(sourcefile, t, "missing");
113 error(sourcefile, t, "unexpected");
152 JavaFileObject sourcefile; field in class:JavacTreeScannerTest.ScanTester
H A DSourceTreeScannerTest.java89 sourcefile = tree.sourcefile;
96 //System.err.println(sourcefile.getName() + ": trees compared OK");
100 error(sourcefile.getName() + ": differences found");
109 error(sourcefile, t, "missing");
115 error(sourcefile, t, "unexpected");
165 JavaFileObject sourcefile; field in class:SourceTreeScannerTest.ScanTester
H A DTreePosTest.java323 sourcefile = tree.sourcefile;
419 viewer.addEntry(sourcefile, label, encl, self);
423 String msg = sourcefile.getName() + ": " + label + ": " +
430 JavaFileObject sourcefile; field in class:TreePosTest.PosTester
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DDeclarationImpl.java190 JavaFileObject sourcefile = toplevel.sourcefile;
191 if (sourcefile == null)
195 return new SourcePositionImpl(sourcefile, pos, toplevel.lineMap);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DEnter.java281 JavaFileObject prev = log.useSource(tree.sourcefile);
283 boolean isPkgInfo = tree.sourcefile.isNameCompatible("package-info",
308 if (!fileManager.isSameFile(tree.sourcefile, tree0.sourcefile)) {
327 c.sourcefile = tree.sourcefile;
396 c.sourcefile = env.toplevel.sourcefile;
433 return env.toplevel.sourcefile.isNameCompatible(c.name.toString(),
501 JavaFileObject prev = log.useSource(tree.sourcefile);
[all...]
H A DTodo.java110 JavaFileObject file = env.toplevel.sourcefile;
123 JavaFileObject file = env.toplevel.sourcefile;
H A DMemberEnter.java159 final JavaFileObject sourcefile = env.toplevel.sourcefile;
194 return "import static " + tsym + ".*" + " in " + sourcefile;
315 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
743 JavaFileObject prev = log.useSource(localEnv.toplevel.sourcefile);
823 JavaFileObject prev = log.useSource(localEnv.toplevel.sourcefile);
865 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
1063 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
H A DAttr.java336 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
356 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
608 JavaFileObject prevSource = log.useSource(env.toplevel.sourcefile);
3037 c.sourcefile = env.toplevel.sourcefile;
3158 JavaFileObject prev = log.useSource(c.sourcefile);
H A DLower.java570 c.sourcefile = owner.sourcefile;
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DExecutableMemberDocImpl.java269 if (sym.enclClass().sourcefile == null) return null;
270 return SourcePositionImpl.make(sym.enclClass().sourcefile,
H A DJavadocEnter.java79 if (tree.sourcefile.isNameCompatible("package-info", JavaFileObject.Kind.SOURCE)) {
H A DClassDocImpl.java776 if (tsym.sourcefile != null) {
1077 if (tsym.sourcefile == null) return new ClassDoc[0];
1115 if (tsym.sourcefile == null) return new PackageDoc[0];
1298 if (tsym.sourcefile == null) return null;
1299 return SourcePositionImpl.make(tsym.sourcefile,
H A DPackageDocImpl.java375 ? SourcePositionImpl.make(tree.sourcefile, tree.pos, tree.lineMap)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DJavaCompiler.java601 tree.sourcefile = filename;
763 tree.sourcefile.isNameCompatible("package-info",
958 inputFiles.add(unit.sourcefile);
1180 env.enclClass.sym.sourcefile != null ?
1181 env.enclClass.sym.sourcefile :
1182 env.toplevel.sourcefile);
1238 env.enclClass.sym.sourcefile != null ?
1239 env.enclClass.sym.sourcefile :
1240 env.toplevel.sourcefile);
1291 && !inputFiles.contains(env.toplevel.sourcefile)) {
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/processing/
H A DJavacMessager.java100 newSource = treeTop.snd.sourcefile;
H A DJavacProcessingEnvironment.java1292 if (isPkgInfo(unit.sourcefile, JavaFileObject.Kind.SOURCE)) {
/openjdk7/langtools/test/tools/javac/failover/
H A DCheckAttributedTree.java347 sourcefile = p.fst.sourcefile;
388 viewer.addEntry(sourcefile, label, encl, self);
390 error(label + self.toString() + " encl: " + encl.toString() + " in file: " + sourcefile + " " + self.tree);
421 JavaFileObject sourcefile; field in class:CheckAttributedTree.NPETester
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTrees.java296 // System.err.println("COMP: " + ((JCCompilationUnit)tree).sourcefile);
336 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
345 JavaFileObject prev = log.useSource(env.toplevel.sourcefile);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassWriter.java1445 c.sourcefile);
1540 if (c.sourcefile != null && emitSourceFile) {
1543 // the last possible moment because the sourcefile may be used
1545 //databuf.appendChar(c.pool.put(c.sourcefile));
1546 String simpleName = BaseFileObject.getSimpleName(c.sourcefile);
1555 databuf.appendChar(c.pool.put(names.fromString(Long.toString(getLastModified(c.sourcefile)))));
H A DClassReader.java1020 c.sourcefile = new SourceFileObject(n, c.flatname);
2098 cs.sourcefile);
2552 * A subclass of JavaFileObject for the sourcefile attribute found in a classfile.
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DJCTree.java417 * @param sourcefile The source file name.
435 public JavaFileObject sourcefile; field in class:JCTree.JCCompilationUnit
446 JavaFileObject sourcefile,
453 this.sourcefile = sourcefile;
478 return sourcefile;
443 JCCompilationUnit(List<JCAnnotation> packageAnnotations, JCExpression pid, List<JCTree> defs, JavaFileObject sourcefile, PackageSymbol packge, ImportScope namedImportScope, StarImportScope starImportScope) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DSymbol.java720 /** the sourcefile where the class came from
722 public JavaFileObject sourcefile; field in class:Symbol.ClassSymbol
743 this.sourcefile = null;

Completed in 116 milliseconds

12