public interface ModulePathVisitor
Visitor interface for examining modulepath entries.
The visitor declares methods for visiting various types of modulepath. It can be used by calling
JavaModulePath.accept(
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.
public default void | visit( Visits a compilation modulepath. |
public default void | visit( Visits a file modulepath. |
public default void | visit( Visits an SDK modulepath. |
Visits a compilation modulepath.
modulepathThe modulepath entry.
Visits a file modulepath.
modulepathThe modulepath entry.
Visits an SDK modulepath.
modulepathThe modulepath entry.