Interface TextAwareNodeWrapper


  • public interface TextAwareNodeWrapper
    Node wrapper providing convenience methods to get the text representing the node from the code area.
    Since:
    6.5.0
    Author:
    Clément Fournier
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      net.sourceforge.pmd.lang.ast.Node getNode()
      Gets the underlying node.
      org.fxmisc.richtext.model.StyledDocument<java.util.Collection<java.lang.String>,​java.lang.String,​java.util.Collection<java.lang.String>> getNodeRichText()
      Gets the rich text corresponding to the node in the code area.
      java.lang.String getNodeText()
      Gets the text corresponding to the node in the code area.
    • Method Detail

      • getNodeRichText

        org.fxmisc.richtext.model.StyledDocument<java.util.Collection<java.lang.String>,​java.lang.String,​java.util.Collection<java.lang.String>> getNodeRichText()
        Gets the rich text corresponding to the node in the code area.
      • getNodeText

        java.lang.String getNodeText()
        Gets the text corresponding to the node in the code area.
      • getNode

        net.sourceforge.pmd.lang.ast.Node getNode()
        Gets the underlying node.