/** * Returns the content of the file represented by the {@link JavaSource}. * @return String the java source */ public @NonNull String getText() { checkConfinement(); return this.impl.getText(); }
String src = info.getText(); FileObject file = info.getFileObject(); String fileName = FileUtil.getFileDisplayName(file);