Interface CtImportVisitor

All Known Implementing Classes:
CtAbstractImportVisitor

public interface CtImportVisitor
This interface defines the visitor for the different types of CtImport
  • Method Details

    • visitTypeImport

      <T> void visitTypeImport(CtTypeReference<T> typeReference)
      Called for import like: import apackage.Type;
    • visitMethodImport

      <T> void visitMethodImport(CtExecutableReference<T> executableReference)
      Called for import like: import apackage.Type.staticMethod;
    • visitFieldImport

      <T> void visitFieldImport(CtFieldReference<T> fieldReference)
      Called for import like: import apackage.Type.staticField;
    • visitAllTypesImport

      void visitAllTypesImport(CtPackageReference packageReference)
      Called for import like: import apackage.*;
    • visitAllStaticMembersImport

      <T> void visitAllStaticMembersImport(CtTypeMemberWildcardImportReference typeReference)
      Called for import like: import apackage.Type.*;
    • visitUnresolvedImport

      <T> void visitUnresolvedImport(CtUnresolvedImport ctUnresolvedImport)
      Called for unresolved import