Interface ModuleDescription.Opens
- All Superinterfaces:
ModifierReviewable, ModifierReviewable.OfMandatable
- All Known Implementing Classes:
ModuleDescription.Opens.AbstractBase, ModuleDescription.Opens.Simple
- Enclosing interface:
ModuleDescription
Represents an opened package declaration in a module. Opens allow deep reflective access
to packages for other modules.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base implementation ofModuleDescription.Opens.static classA simple implementation ofModuleDescription.Opens.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 opened to.booleanDetermines if this opens declaration is qualified (opened 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 opens declaration is qualified (opened to specific modules only).- Returns:
trueif this opens has specific target modules,falseif opened to all modules.
-