Package spoon.reflect.visitor
Interface CtImportVisitor
- All Known Implementing Classes:
CtAbstractImportVisitor
public interface CtImportVisitor
This interface defines the visitor for the different types of CtImport
-
Method Summary
Modifier and TypeMethodDescription<T> void
visitAllStaticMembersImport(CtTypeMemberWildcardImportReference typeReference)
Called for import like:import apackage.Type.*;
void
visitAllTypesImport(CtPackageReference packageReference)
Called for import like:import apackage.*;
<T> void
visitFieldImport(CtFieldReference<T> fieldReference)
Called for import like:import apackage.Type.staticField;
<T> void
visitMethodImport(CtExecutableReference<T> executableReference)
Called for import like:import apackage.Type.staticMethod;
<T> void
visitTypeImport(CtTypeReference<T> typeReference)
Called for import like:import apackage.Type;
<T> void
visitUnresolvedImport(CtUnresolvedImport ctUnresolvedImport)
Called for unresolved import
-
Method Details
-
visitTypeImport
Called for import like:import apackage.Type;
-
visitMethodImport
Called for import like:import apackage.Type.staticMethod;
-
visitFieldImport
Called for import like:import apackage.Type.staticField;
-
visitAllTypesImport
Called for import like:import apackage.*;
-
visitAllStaticMembersImport
Called for import like:import apackage.Type.*;
-
visitUnresolvedImport
Called for unresolved import
-