Class PhantomNodeLogic


  • public class PhantomNodeLogic
    extends Object
    We want to recognize and ignore "phantom" nodes, like the fake type of variable in FieldDeclaration
    • Constructor Detail

      • PhantomNodeLogic

        public PhantomNodeLogic()
    • Method Detail

      • cleanUpCache

        public static void cleanUpCache()
        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.