Class SpoonTreeBuilder

java.lang.Object
spoon.reflect.visitor.CtScanner
spoon.support.gui.SpoonTreeBuilder
All Implemented Interfaces:
CtVisitor

public class SpoonTreeBuilder extends CtScanner
  • Constructor Details

    • SpoonTreeBuilder

      public SpoonTreeBuilder()
  • Method Details

    • scan

      public void scan(CtRole role, CtElement element)
      Description copied from class: CtScanner
      Generically scans a meta-model element.
      Overrides:
      scan in class CtScanner
      Parameters:
      role - Role of the element in its parent
      element - An element to scan
    • enter

      public void enter(CtElement element)
      Description copied from class: CtScanner
      This method is upcalled by the scanner when entering a scanned element. To be overridden to implement specific scanners.
      Overrides:
      enter in class CtScanner
    • exit

      public void exit(CtElement element)
      Description copied from class: CtScanner
      This method is upcalled by the scanner when exiting a scanned element. To be overridden to implement specific scanners.
      Overrides:
      exit in class CtScanner
    • getRoot

      public DefaultMutableTreeNode getRoot()