All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thoughtworks.qdox.model.JavaModuleDescriptor Maven / Gradle / Ivy

There is a newer version: 1.2.2.1-jre17
Show newest version
package com.thoughtworks.qdox.model;

import java.util.Collection;

public interface JavaModuleDescriptor
{
    boolean isOpen();
    
    String getName();
    
    Collection getExports();

    Collection getOpens();

    Collection getProvides();

    Collection getRequires();

    Collection getUses();

    /**
     * Represents the following ModuleStatement:
* * exports SOURCE [to TARGET{, TARGET}]; * * where SOURCE matches a PackageName and TARGET matches a ModuleName * * @author Robert Scholte */ static interface JavaExports { JavaPackage getSource(); Collection getTargets(); } /** * Represents the following ModuleStatement:
* * opens SOURCE [to TARGET{, TARGET}]; * * where SOURCE matches a PackageName and TARGET matches a ModuleName * * @author Robert Scholte */ static interface JavaOpens { JavaPackage getSource(); Collection getTargets(); } /** * Represents the following ModuleStatement:
* * provides SERVICE with PROVIDER; * * where SERVICE matches a TypeName and TARGET matches a TypeName * * @author Robert Scholte * */ static interface JavaProvides { JavaClass getService(); Collection getProviders(); } /** * Represents the following ModuleStatement:
* * requires [public] [static] NAME; * * Where NAME matches a ModuleName * * @author Robert Scholte * */ static interface JavaRequires { JavaModule getModule(); boolean isTransitive(); boolean isStatic(); Collection getModifiers(); } /** * Represents the following ModuleStatement:
* * uses NAME; * * Where NAME matches a TypeName * * @author Robert Scholte * */ static interface JavaUses { JavaClass getService(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy