Class PhantomNodeLogic

java.lang.Object
com.github.javaparser.printer.lexicalpreservation.PhantomNodeLogic

@Deprecated public class PhantomNodeLogic extends Object
Deprecated.
This class is no longer used phantom node are now an attribute of each node
We want to recognize and ignore "phantom" nodes, like the fake type of variable in FieldDeclaration
  • Constructor Details

    • PhantomNodeLogic

      public PhantomNodeLogic()
      Deprecated.
  • Method Details

    • cleanUpCache

      public static void cleanUpCache()
      Deprecated.
      Clean up the cache used by the LexicalPreserving logic. This should only be used once you're done printing all parsed data with a JavaParser's configuration setLexicalPreservationEnabled=true.