saker.java.compiler Documentation TaskDoc JavaDoc Packages
public interface ClassPathVisitor
Visitor interface for examining classpath entries.

The visitor declares methods for visiting various types of classpath. It can be used by calling JavaClassPath.accept(ClassPathVisitor) with a custom visitor implementation.

All of the declared methods in this interface are default and throw an UnsupportedOperationException by default. Additional visit methods may be added to this interface with similar default implementations.

Clients are recommended to implement this interface.

Methods
public default void
Visits a class path reference.
public default void
Visits a compilation classpath.
public default void
visit(FileClassPath classpath)
Visits a file classpath.
public default void
visit(SDKClassPath classpath)
Visits an SDK classpath.
public default void visit(ClassPathReference classpath)
Visits a class path reference.
classpathThe classpath entry.
public default void visit(CompilationClassPath classpath)
Visits a compilation classpath.
classpathThe classpath entry.
public default void visit(FileClassPath classpath)
Visits a file classpath.
classpathThe classpath entry.
public default void visit(SDKClassPath classpath)
Visits an SDK classpath.
classpathThe classpath entry.