Package Summary  Overview Summary

class:ModuleElement [NONE]

method:getQualifiedName() [NONE]

  • getQualifiedName

    Name getQualifiedName()
    Returns the fully qualified name of this module. For an unnamed module , an empty name is returned.
    Specified by:
    getQualifiedName in interface QualifiedNameable
    API Note:
    If the module name consists of one identifier, then this method returns that identifier, which is deemed to be module's fully qualified name despite not being in qualified form. If the module name consists of more than one identifier, then this method returns the entire name.
    Returns:
    the fully qualified name of this module, or an empty name if this is an unnamed module
    See The Java™ Language Specification :
    6.2 Names and Identifiers

method:getSimpleName() [NONE]

method:getEnclosedElements() [NONE]

method:isOpen() [NONE]

  • isOpen

    boolean isOpen()
    Returns true if this is an open module and false otherwise.
    Returns:
    true if this is an open module and false otherwise

method:isUnnamed() [NONE]

  • isUnnamed

    boolean isUnnamed()
    Returns true if this is an unnamed module and false otherwise.
    Returns:
    true if this is an unnamed module and false otherwise
    See The Java™ Language Specification :
    7.7.5 Unnamed Modules

method:getEnclosingElement() [NONE]

method:getDirectives() [NONE]

  • getDirectives

    List<? extends ModuleElement.Directive> getDirectives()
    Returns the directives contained in the declaration of this module.
    Returns:
    the directives in the declaration of this module

© 2019 Oracle Corporation and/or its affiliates