Uses of Class
spoon.reflect.visitor.filter.SuperInheritanceHierarchyFunction
Package
Description
This package contains a set of useful filters when querying the model.
-
Uses of SuperInheritanceHierarchyFunction in spoon.reflect.visitor.filter
Modifier and TypeMethodDescriptionSuperInheritanceHierarchyFunction.failOnClassNotFound(boolean failOnClassNotFound)
SuperInheritanceHierarchyFunction.includingInterfaces(boolean includingInterfaces)
SuperInheritanceHierarchyFunction.includingSelf(boolean includingSelf)
SuperInheritanceHierarchyFunction.interfacesExtendObject(boolean interfacesExtendObject)
configures whether it should visitObject
at the end of interface extends interface hierarchy.SuperInheritanceHierarchyFunction.returnTypeReferences(boolean returnTypeReferences)
configures whetherCtType
orCtTypeReference
instances are returned by this mapping functionSuperInheritanceHierarchyFunction.setListener(CtScannerListener listener)
The listener evens are called in this order: enter(input element) return input element enter/exit for each super interface of input element recursively call 1-5) recursively where input element is super class of input element exit(input element) Note: this order is assured and some algorithms already depend on it!