Searched refs:SourceFile (Results 1 - 25 of 28) sorted by relevance

12

/openjdk9/langtools/test/tools/javap/
H A DT8035104.java41 int SourceFile = -1;
46 if (line.matches(" *SourceFile: .+"))
47 SourceFile = i;
51 if (SourceFile == -1)
52 throw new Exception("SourceFile not found");
53 if (SourceFile < minor)
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/
H A DSourceFile.java30 * to the source file of this class. At most one SourceFile attribute
37 public final class SourceFile extends Attribute { class in inherits:Attribute
44 public SourceFile(SourceFile c) { method in class:SourceFile
57 SourceFile(int name_index, int length, DataInputStream file, method in class:SourceFile
65 * should represent the string "SourceFile".
76 public SourceFile(int name_index, int length, int sourcefile_index, method in class:SourceFile
131 return "SourceFile(" + getSourceFileName() + ")";
138 return (SourceFile)clone();
H A DVisitor.java64 public void visitSourceFile(SourceFile obj);
H A DEmptyVisitor.java68 public void visitSourceFile(SourceFile obj) {}
H A DAttribute.java31 * <em>ConstantValue</em>, <em>SourceFile</em>, <em>Code</em>,
39 * @see SourceFile
159 return new SourceFile(name_index, length, file, constant_pool);
H A DJavaClass.java135 if(attributes[i] instanceof SourceFile) {
136 source_file_name = ((SourceFile)attributes[i]).getSourceFileName();
352 * @return File name of class, aka SourceFile attribute value
472 * Set File name of class, aka SourceFile attribute value
H A DDescendingVisitor.java317 public void visitSourceFile(SourceFile attribute) {
/openjdk9/langtools/test/tools/javac/classfiles/attributes/SourceFile/
H A DNoSourceFileAttribute.java51 ClassFile.read(getClassFile(NoSourceFileAttribute.class)).getAttribute(Attribute.SourceFile),
52 "Classfile should have no SourceFile attribute when compiled without debug information.");
H A DSourceFileTestBase.java37 * Base class for Source file attribute tests. Checks expected file name for specified classes in the SourceFile attribute.
46 * Checks expected fileName for the specified class in the SourceFile attribute.
48 * @param classToTest class to check its SourceFile attribute
56 * Checks expected fileName for the specified class in the SourceFile attribute.
58 * @param classToTest class name to check its SourceFile attribute
66 * Checks expected fileName for the specified class in the SourceFile attribute.
68 * @param classToTest path of class to check its SourceFile attribute
76 * Compiles sourceCode and for each specified class name checks the SourceFile attribute.
80 * @param classesToTest class names to check their SourceFile attribute.
97 if (Attribute.SourceFile
[all...]
/openjdk9/langtools/test/tools/javac/lambda/methodReference/
H A DSamConversionComboTest.java142 SourceFile samSourceFile = new SourceFile("FInterface.java", "#C") {
178 SourceFile clientSourceFile = new SourceFile("Client.java", clientTemplate) {
209 abstract class SourceFile extends SimpleJavaFileObject { class in class:SamConversionComboTest
213 public SourceFile(String filename, String template) { method in class:SamConversionComboTest.SourceFile
/openjdk9/hotspot/src/share/vm/prims/
H A DjvmtiEnvFill.java39 SourceFile filledSF = new SourceFile(filledFN);
40 SourceFile stubSF = new SourceFile(stubFN);
51 class SourceFile { class
167 SourceFile(String fn) throws IOException { method in class:SourceFile
228 void fill(SourceFile filledSF) {
/openjdk9/langtools/test/tools/javac/scope/7017664/
H A DImplementationCacheTest.java55 static class SourceFile extends SimpleJavaFileObject { class in class:ImplementationCacheTest
61 public SourceFile() { method in class:ImplementationCacheTest.SourceFile
71 List<? extends JavaFileObject> files = Arrays.asList(new SourceFile());
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/
H A DSourceFile_attribute.java46 this(constant_pool.getUTF8Index(Attribute.SourceFile), sourcefile_index);
H A DAttribute.java69 public static final String SourceFile = "SourceFile"; field in class:Attribute
141 standardAttributes.put(SourceFile, SourceFile_attribute.class);
/openjdk9/langtools/test/tools/javac/lambda/lambdaExpression/
H A DSamConversionComboTest.java168 SourceFile samSourceFile = new SourceFile("FInterface.java", "#C") {
198 SourceFile clientSourceFile = new SourceFile("Client.java", clientTemplate) {
224 abstract class SourceFile extends SimpleJavaFileObject { class in class:SamConversionComboTest
228 public SourceFile(String filename, String template) { method in class:SamConversionComboTest.SourceFile
/openjdk9/jdk/test/jdk/lambda/separate/
H A DCompiler.java69 private static class SourceFile extends SimpleJavaFileObject { class in class:Compiler
72 public SourceFile(String name, String content) { method in class:Compiler.SourceFile
162 SourceProcessor accum = (name, src) -> files.add(new SourceFile(name, src));
/openjdk9/langtools/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/
H A DCompiler.java62 private static class SourceFile extends SimpleJavaFileObject { class in class:Compiler
65 public SourceFile(String name, String content) { method in class:Compiler.SourceFile
149 (name, src) -> { files.add(new SourceFile(name, src)); };
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DNames.java161 public final Name SourceFile; field in class:Names
323 SourceFile = fromString("SourceFile");
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/
H A DAttributeHTML.java129 index = ((SourceFile)attribute).getSourceFileIndex();
/openjdk9/langtools/test/tools/javac/4241573/
H A DT4241573.java27 * @summary SourceFile attribute includes full path
111 SourceFile_attribute sfa = (SourceFile_attribute) cf.getAttribute(Attribute.SourceFile);
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap/
H A DSourceWriter.java155 (SourceFile_attribute) cf.attributes.get(Attribute.SourceFile);
157 report(messages.getMessage("err.no.SourceFile.attribute"));
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/
H A DClassGen.java71 addAttribute(new SourceFile(cp.addUtf8("SourceFile"), 2,
/openjdk9/jdk/src/jdk.pack/share/native/common-unpack/
H A Dconstants.h136 F(CLASS_ATTR_SourceFile,SourceFile) \
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/asm/
H A DAssembler.java654 String SourceFile = ((SourceClass)c).getAbsoluteName();
657 TmpCovTable.addElement(JcovSrcfileLine + SourceFile);
/openjdk9/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/
H A DReferenceTypeImpl.java65 /* to mark a SourceFile request that returned a genuine JDWP.Error.ABSENT_INFORMATION */
743 bsn = JDWP.ReferenceType.SourceFile.

Completed in 242 milliseconds

12