Class SourceEditorController

    • Method Detail

      • refreshAST

        public java.util.Optional<net.sourceforge.pmd.lang.ast.Node> refreshAST()
        Refreshes the AST and returns the new compilation unit if the parse didn't fail.
      • showAuxclasspathSetupPopup

        public void showAuxclasspathSetupPopup()
      • currentRuleResultsProperty

        public org.reactfx.value.Var<java.util.List<net.sourceforge.pmd.lang.ast.Node>> currentRuleResultsProperty()
      • currentErrorNodesProperty

        public org.reactfx.value.Var<java.util.List<net.sourceforge.pmd.lang.ast.Node>> currentErrorNodesProperty()
      • getLanguageVersion

        public net.sourceforge.pmd.lang.LanguageVersion getLanguageVersion()
      • setLanguageVersion

        public void setLanguageVersion​(net.sourceforge.pmd.lang.LanguageVersion version)
      • languageVersionProperty

        public org.reactfx.value.Var<net.sourceforge.pmd.lang.LanguageVersion> languageVersionProperty()
      • getCompilationUnit

        public java.util.Optional<net.sourceforge.pmd.lang.ast.Node> getCompilationUnit()
        Returns the most up-to-date compilation unit, or empty if it can't be parsed.
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String expression)
      • textProperty

        public org.reactfx.value.Val<java.lang.String> textProperty()
      • getAuxclasspathFiles

        public java.lang.String getAuxclasspathFiles()
      • setAuxclasspathFiles

        public void setAuxclasspathFiles​(java.lang.String files)
      • getDebugName

        public java.lang.String getDebugName()
        Description copied from interface: ApplicationComponent
        A debug name for this component, used in developer mode to e.g. trace events handling paths.