java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmAttribute
All Implemented Interfaces:
CsmElement

public class CsmAttribute extends Object implements CsmElement
  • Constructor Details

  • Method Details

    • getProperty

      public ObservableProperty getProperty()
    • prettyPrint

      public void prettyPrint(Node node, SourcePrinter printer)
      Specified by:
      prettyPrint in interface CsmElement
    • getTokenType

      public int getTokenType(Node node, String text, String tokenText)
      Obtain the token type corresponding to the specific value of the attribute. For example, to the attribute "Operator" different token could correspond like PLUS or MINUS.
      Parameters:
      tokenText - Operator's token text
    • toString

      public String toString()
      Overrides:
      toString in class Object