Class ASTManagerImpl
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.services.ASTManagerImpl
-
- All Implemented Interfaces:
ApplicationComponent,ASTManager,SettingsOwner
public class ASTManagerImpl extends Object implements ASTManager
Manages a compilation unit forSourceEditorController.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Field Summary
Fields Modifier and Type Field Description static net.sourceforge.pmd.util.log.MessageReporterNOOP_REPORTER
-
Constructor Summary
Constructors Constructor Description ASTManagerImpl(DesignerRoot owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactfx.value.Var<ClassLoader>classLoaderProperty()org.reactfx.value.Val<net.sourceforge.pmd.lang.ast.Node>compilationUnitProperty()org.reactfx.value.Var<ParseAbortedException>currentExceptionProperty()DesignerRootgetDesignerRoot()net.sourceforge.pmd.lang.LanguageVersiongetLanguageVersion()StringgetSourceCode()net.sourceforge.pmd.lang.document.TextDocumentgetSourceDocument()org.reactfx.value.Val<net.sourceforge.pmd.lang.LanguageProcessor>languageProcessorProperty()org.reactfx.value.Var<net.sourceforge.pmd.lang.LanguageVersion>languageVersionProperty()org.reactfx.value.Var<Map<String,String>>ruleProperties()voidsetLanguageVersion(net.sourceforge.pmd.lang.LanguageVersion version)voidsetSourceCode(String sourceCode)voidsetSourceDocument(net.sourceforge.pmd.lang.document.TextDocument sourceDocument)org.reactfx.value.SuspendableVar<String>sourceCodeProperty()org.reactfx.value.SuspendableVar<net.sourceforge.pmd.lang.document.TextDocument>sourceDocumentProperty()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDebugName, getLogCategory, getLogger, getMainStage, getService, globalLanguageProperty, isDeveloperMode, languageBindingsProperty, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner
getChildrenSettingsNodes
-
-
-
-
Constructor Detail
-
ASTManagerImpl
public ASTManagerImpl(DesignerRoot owner)
-
-
Method Detail
-
getSourceDocument
public net.sourceforge.pmd.lang.document.TextDocument getSourceDocument()
- Specified by:
getSourceDocumentin interfaceASTManager
-
sourceDocumentProperty
public org.reactfx.value.SuspendableVar<net.sourceforge.pmd.lang.document.TextDocument> sourceDocumentProperty()
- Specified by:
sourceDocumentPropertyin interfaceASTManager
-
setSourceDocument
public void setSourceDocument(net.sourceforge.pmd.lang.document.TextDocument sourceDocument)
-
sourceCodeProperty
public org.reactfx.value.SuspendableVar<String> sourceCodeProperty()
- Specified by:
sourceCodePropertyin interfaceASTManager
-
getSourceCode
public String getSourceCode()
- Specified by:
getSourceCodein interfaceASTManager
-
setSourceCode
public void setSourceCode(String sourceCode)
- Specified by:
setSourceCodein interfaceASTManager
-
classLoaderProperty
public org.reactfx.value.Var<ClassLoader> classLoaderProperty()
- Specified by:
classLoaderPropertyin interfaceASTManager
-
getDesignerRoot
public DesignerRoot getDesignerRoot()
- Specified by:
getDesignerRootin interfaceApplicationComponent
-
ruleProperties
public org.reactfx.value.Var<Map<String,String>> ruleProperties()
- Specified by:
rulePropertiesin interfaceASTManager
-
languageVersionProperty
public org.reactfx.value.Var<net.sourceforge.pmd.lang.LanguageVersion> languageVersionProperty()
- Specified by:
languageVersionPropertyin interfaceASTManager
-
languageProcessorProperty
public org.reactfx.value.Val<net.sourceforge.pmd.lang.LanguageProcessor> languageProcessorProperty()
- Specified by:
languageProcessorPropertyin interfaceASTManager
-
getLanguageVersion
public net.sourceforge.pmd.lang.LanguageVersion getLanguageVersion()
-
setLanguageVersion
public void setLanguageVersion(net.sourceforge.pmd.lang.LanguageVersion version)
-
compilationUnitProperty
public org.reactfx.value.Val<net.sourceforge.pmd.lang.ast.Node> compilationUnitProperty()
- Specified by:
compilationUnitPropertyin interfaceASTManager
-
currentExceptionProperty
public org.reactfx.value.Var<ParseAbortedException> currentExceptionProperty()
- Specified by:
currentExceptionPropertyin interfaceASTManager
-
-