Package spoon.reflect.visitor
Class CtAbstractImportVisitor
java.lang.Object
spoon.reflect.visitor.CtAbstractImportVisitor
- All Implemented Interfaces:
CtImportVisitor
Provides an empty implementation of
CtImportVisitor
.-
Constructor Summary
-
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 unresolvedImport)
Called for unresolved import
-
Constructor Details
-
CtAbstractImportVisitor
public CtAbstractImportVisitor()
-
-
Method Details
-
visitTypeImport
Description copied from interface:CtImportVisitor
Called for import like:import apackage.Type;
- Specified by:
visitTypeImport
in interfaceCtImportVisitor
-
visitMethodImport
Description copied from interface:CtImportVisitor
Called for import like:import apackage.Type.staticMethod;
- Specified by:
visitMethodImport
in interfaceCtImportVisitor
-
visitFieldImport
Description copied from interface:CtImportVisitor
Called for import like:import apackage.Type.staticField;
- Specified by:
visitFieldImport
in interfaceCtImportVisitor
-
visitAllTypesImport
Description copied from interface:CtImportVisitor
Called for import like:import apackage.*;
- Specified by:
visitAllTypesImport
in interfaceCtImportVisitor
-
visitAllStaticMembersImport
Description copied from interface:CtImportVisitor
Called for import like:import apackage.Type.*;
- Specified by:
visitAllStaticMembersImport
in interfaceCtImportVisitor
-
visitUnresolvedImport
Description copied from interface:CtImportVisitor
Called for unresolved import- Specified by:
visitUnresolvedImport
in interfaceCtImportVisitor
-