Interface ModuleDescription.Exports
- All Superinterfaces:
ModifierReviewable, ModifierReviewable.OfMandatable
- All Known Implementing Classes:
ModuleDescription.Exports.AbstractBase, ModuleDescription.Exports.Simple
- Enclosing interface:
ModuleDescription
Represents an exported package declaration in a module. Exports control which packages
are accessible to other modules.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base implementation ofModuleDescription.Exportsthat provides a default implementation forModuleDescription.Exports.AbstractBase.isQualified().static classA simple implementation ofModuleDescription.Exportsthat stores the target modules and modifiers.Nested classes/interfaces inherited from interface ModifierReviewable
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForModuleDescription, ModifierReviewable.ForModuleRequirement, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration, ModifierReviewable.OfMandatable -
Field Summary
Fields inherited from interface ModifierReviewable
EMPTY_MASK -
Method Summary
Modifier and TypeMethodDescriptionReturns the target modules that this package is exported to.booleanDetermines if this export is qualified (exported to specific modules only).Methods inherited from interface ModifierReviewable
getModifiers, getSyntheticState, isFinal, isSyntheticMethods inherited from interface ModifierReviewable.OfMandatable
getMandate, isMandated
-
Method Details
-
getTargets
-
isQualified
boolean isQualified()Determines if this export is qualified (exported to specific modules only).- Returns:
trueif this export has specific target modules,falseif exported to all modules.
-