Java Code Examples for com.sun.tools.javac.file.JavacFileManager#getRegularFile()
The following examples show how to use
com.sun.tools.javac.file.JavacFileManager#getRegularFile() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JavacTaskImpl.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 2
Source File: JavacTaskImpl.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 3
Source File: JavacTaskImpl.java From java-n-IDE-for-Android with Apache License 2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 4
Source File: JavacTaskImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 5
Source File: JavacTaskImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 6
Source File: JavacTaskImpl.java From javaide with GNU General Public License v3.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 7
Source File: JavacTaskImpl.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 8
Source File: JavacTaskImpl.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }
Example 9
Source File: JavacTaskImpl.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Construct a JavaFileObject from the given file. * * <p><b>TODO: this method is useless here</b></p> * * @param file a file * @return a JavaFileObject from the standard file manager. */ public JavaFileObject asJavaFileObject(File file) { JavacFileManager fm = (JavacFileManager)context.get(JavaFileManager.class); return fm.getRegularFile(file); }