public static class SuperInheritanceHierarchyFunction.DistinctTypeListener extends Object
CtScannerListener, which is used to assure that each interface is visited only once. It can be extended to implement more powerful listener
|Constructor and Description|
|Modifier and Type||Method and Description|
Called before the scanner enters an element
This method is called after the element and all its children have been visited.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ScanningMode enter(CtElement element)
element- the element about to be scanned.
ScanningModethat drives how the scanner processes this element and its children. For instance, returning
ScanningMode.SKIP_ALLcauses that element and all children to be skipped and
CtScannerListener.exit(CtElement)are be NOT called for that element.
public void exit(CtElement element)
CtScannerListener.enter(CtElement)or during the scanning of the element or any of its children element. This method is NOT called for an element for which
Copyright © 2007–2019 Inria. All rights reserved.