List of usage examples for javax.tools JavaFileObject getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:com.github.drxaos.jvmvm.compiler.javac.MemoryFileManager.java
public String inferBinaryName(Location location, JavaFileObject file) { if (file instanceof MemoryJavaFile) { file.getClass(); // null check location.getClass(); // null check return ((MemoryJavaFile) file).getClassName(); } else {//w w w .jav a 2s . co m return super.inferBinaryName(location, file); } }