Package spoon.support.visitor
package spoon.support.visitor
-
InterfaceDescriptionProvides adapting of generic types from one scope to another scope.
-
ClassDescriptionHelper class created from type X or reference to X.Responsible for computing CtElement.hashCode().For the scope method or constructor and super type hierarchy of it's declaring type, it is able to adapt type parameters.This visitor implements the code processing engine.Responsible for computing signatures for elements where a signature exists (CtType, CtMethod and CtPackage).Expects a
CtPackage
as input and upon calls to forEachSubTypeInPackage produces all sub classes and sub interfaces, which extends or implements super type(s) provided by call(s) ofSubInheritanceHierarchyResolver.addSuperType(CtTypeInformation)
and stored as `targetSuperTypes`.
The repeated processing of this mapping function on the same input returns only newly found sub types.A scanner that calculates the imports for a given model.