Uses of Interface
spoon.reflect.declaration.CtTypeInformation
Packages that use CtTypeInformation
Package
Description
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains a set of useful filters when querying the model.
-
Uses of CtTypeInformation in spoon.reflect.declaration
Subinterfaces of CtTypeInformation in spoon.reflect.declarationModifier and TypeInterfaceDescriptioninterfaceCtAnnotationType<T extends Annotation>This element defines an annotation type.interfaceCtClass<T>This element represents a class declaration.interfaceThis element represents an enumeration declaration.interfaceCtInterface<T>This element defines an interface declaration.interfaceThis element represents a record declaration.interfaceCtType<T>This abstract element defines a super-type for classes and interfaces, which can declare methods.interfaceThis element defines a declaration of a type parameter (aka generics). -
Uses of CtTypeInformation in spoon.reflect.reference
Subinterfaces of CtTypeInformation in spoon.reflect.referenceModifier and TypeInterfaceDescriptioninterfaceThis interface defines a reference to an array.interfaceThis interface defines a reference to an intersection type in generics or in casts.interfaceThis interface defines a reference to a type parameter (aka generics).interfaceThis interface defines a reference to aCtTypeor sub-type.interfaceRepresents a wildcard in generic type annotations, i.e. the "?" -
Uses of CtTypeInformation in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtTypeInformationModifier and TypeMethodDescription<T> voidCtInheritanceScanner.scanCtTypeInformation(CtTypeInformation typeInfo) Scans an abstract variable reference. -
Uses of CtTypeInformation in spoon.reflect.visitor.filter
Methods in spoon.reflect.visitor.filter with parameters of type CtTypeInformationModifier and TypeMethodDescriptionLambdaFilter.addImplementingInterface(CtTypeInformation typeInfo) Allows to search for lambdas implemented by different interfaces.voidAllTypeMembersFunction.apply(CtTypeInformation input, CtConsumer<Object> outputConsumer) voidSubInheritanceHierarchyFunction.apply(CtTypeInformation input, CtConsumer<Object> outputConsumer) voidSuperInheritanceHierarchyFunction.apply(CtTypeInformation input, CtConsumer<Object> outputConsumer) -
Uses of CtTypeInformation in spoon.support.reflect.declaration
Classes in spoon.support.reflect.declaration that implement CtTypeInformationModifier and TypeClassDescriptionclassCtAnnotationTypeImpl<T extends Annotation>The implementation forCtAnnotationType.classCtClassImpl<T>The implementation forCtClass.classCtEnumImpl<T extends Enum<?>>classclassclassCtTypeImpl<T>The implementation forCtType.class -
Uses of CtTypeInformation in spoon.support.reflect.reference
Classes in spoon.support.reflect.reference that implement CtTypeInformationModifier and TypeClassDescriptionclassclassclassclassclass -
Uses of CtTypeInformation in spoon.support.visitor
Methods in spoon.support.visitor with parameters of type CtTypeInformationModifier and TypeMethodDescriptionGenericTypeAdapter.adaptType(CtTypeInformation type) adapts `type` to theCtTypeReferenceof the scope of thisGenericTypeAdapterThis mapping function is able to resolveCtTypeParameterof:
A) input type or any super class or any enclosing class of input type or it's super class
B) super interfaces of input type or super interfaces of it's super classes.
The type reference is adapted recursive including all it's actual type arguments and bounds.SubInheritanceHierarchyResolver.addSuperType(CtTypeInformation superType) Add another super type to this mapping function.