use of com.kyj.fx.voeditor.visual.words.spec.auto.msword.model.BizFile in project Gargoyle by callakrsos.
the class CodeAnalysisJavaTextArea method init.
@FxPostInitialize
public void init() {
List<SourceAnalysisDVO> methodList = Collections.emptyList();
try {
newInstance = new BizFile(javaFile);
List<String> readLines = newInstance.getReadLines();
txtJavaTextArea.setContent(readLines);
// svo = ProgramSpecUtil.doJavaFile("sampleJavaProject",
// javaFile.getName(), (AbstractJavaProgramSpecFile) newInstance);
// this.setContent(svo.getFile().getInspectorSourceMeta().getSourceCode());
SourceCodeAnalysis sa = newInstance.getJavaSourceAnalysis();
methodList = sa.findStatement();
choMethod.getItems().addAll(methodList);
} catch (Exception e) {
LOGGER.error(ValueUtil.toString(e));
}
}
Aggregations