Class SiblingsFunction

All Implemented Interfaces:

public class SiblingsFunction extends Object implements CtConsumableFunction<CtElement>
visits siblings of input element. The sibling is the element whose sibling.getParent()==input.getParent()
The siblings are visited in order in which they would be visited by CtScanner. The input element is by default not visited. But if includingSelf(boolean) is called with value true, then input element is visited too in the order in which CtScanner would visit it. The visiting order is relevant, because this scanner is used for example resolve local variable declarations.
  • Constructor Details

    • SiblingsFunction

      public SiblingsFunction()
  • Method Details