Package net.bytebuddy.description.module
Class ModuleDescription.Opens.Simple
java.lang.Object
net.bytebuddy.description.ModifierReviewable.AbstractBase
net.bytebuddy.description.module.ModuleDescription.Opens.AbstractBase
net.bytebuddy.description.module.ModuleDescription.Opens.Simple
- All Implemented Interfaces:
ModifierReviewable,ModifierReviewable.ForFieldDescription,ModifierReviewable.ForMethodDescription,ModifierReviewable.ForModuleDescription,ModifierReviewable.ForModuleRequirement,ModifierReviewable.ForParameterDescription,ModifierReviewable.ForTypeDefinition,ModifierReviewable.OfAbstraction,ModifierReviewable.OfByteCodeElement,ModifierReviewable.OfEnumeration,ModifierReviewable.OfMandatable,ModuleDescription.Opens
- Enclosing interface:
ModuleDescription.Opens
A simple implementation of
ModuleDescription.Opens.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.ModifierReviewable
ModifierReviewable.AbstractBase, ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForModuleDescription, ModifierReviewable.ForModuleRequirement, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration, ModifierReviewable.OfMandatableNested classes/interfaces inherited from interface net.bytebuddy.description.module.ModuleDescription.Opens
ModuleDescription.Opens.AbstractBase, ModuleDescription.Opens.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intThe modifiers for this opens declaration.The target modules for this opens declaration.Fields inherited from interface net.bytebuddy.description.ModifierReviewable
EMPTY_MASK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the modifier that is described by this object.Returns the target modules that this package is opened to.Methods inherited from class net.bytebuddy.description.module.ModuleDescription.Opens.AbstractBase
equals, hashCode, isQualified, toStringMethods inherited from class net.bytebuddy.description.ModifierReviewable.AbstractBase
getEnumerationState, getFieldManifestation, getFieldPersistence, getMandate, getMethodManifestation, getMethodStrictness, getOpenness, getOwnership, getParameterManifestation, getProvisioningState, getRequiredPhase, getSynchronizationState, getSyntheticState, getTransitivity, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isOpen, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStaticPhase, isStrict, isSynchronized, isSynthetic, isTransient, isTransitive, isVarArgs, isVolatileMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.bytebuddy.description.ModifierReviewable
getSyntheticState, isFinal, isSyntheticMethods inherited from interface net.bytebuddy.description.ModifierReviewable.OfMandatable
getMandate, isMandated
-
Field Details
-
targets
The target modules for this opens declaration. -
modifiers
protected final int modifiersThe modifiers for this opens declaration.
-
-
Constructor Details
-
Simple
Creates a new simple opens declaration.- Parameters:
targets- The target modules for this opens declaration.modifiers- The modifiers for this opens declaration.
-
-
Method Details
-
getTargets
Returns the target modules that this package is opened to.- Returns:
- A set of module names that can reflectively access this opened package, or an empty set if opened to all modules.
-
getModifiers
public int getModifiers()Returns the modifier that is described by this object.- Returns:
- The modifier that is described by this object.
-