Search in sources :

Example 1 with TypeReferenceScanner

use of spoon.support.visitor.TypeReferenceScanner in project spoon by INRIA.

the class CtElementImpl method getReferencedTypes.

@DerivedProperty
public Set<CtTypeReference<?>> getReferencedTypes() {
    TypeReferenceScanner s = new TypeReferenceScanner();
    s.scan(this);
    return s.getReferences();
}
Also used : TypeReferenceScanner(spoon.support.visitor.TypeReferenceScanner) DerivedProperty(spoon.support.DerivedProperty)

Aggregations

DerivedProperty (spoon.support.DerivedProperty)1 TypeReferenceScanner (spoon.support.visitor.TypeReferenceScanner)1