Package net.bytebuddy.description.module
Class ModuleDescription.Exports.Simple
java.lang.Object
net.bytebuddy.description.ModifierReviewable.AbstractBase
net.bytebuddy.description.module.ModuleDescription.Exports.AbstractBase
net.bytebuddy.description.module.ModuleDescription.Exports.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.Exports
- Enclosing interface:
ModuleDescription.Exports
A simple implementation of
ModuleDescription.Exports that stores the target modules and modifiers.-
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.Exports
ModuleDescription.Exports.AbstractBase, ModuleDescription.Exports.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intThe modifiers for this export.The target modules for this export.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 exported to.Methods inherited from class net.bytebuddy.description.module.ModuleDescription.Exports.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 export. -
modifiers
protected final int modifiersThe modifiers for this export.
-
-
Constructor Details
-
Simple
Creates a new simple export declaration.- Parameters:
targets- The target modules for this export.modifiers- The modifiers for this export.
-
-
Method Details
-
getTargets
Returns the target modules that this package is exported to.- Returns:
- A set of module names that can access this exported package, or an empty set if exported 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.
-