Package com.blazebit.persistence.spi
Interface PackageOpener
public interface PackageOpener
A package opener can be used to propagate module visibilities.
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
openPackageIfNeeded
(Class<?> targetClass, String targetPackage, Class<?> implementationClass) Opens the given package of the module of the target class to the module of the implementation class.
-
Field Details
-
NOOP
A no-op package opener.
-
-
Method Details
-
openPackageIfNeeded
Opens the given package of the module of the target class to the module of the implementation class.- Parameters:
targetClass
- The class by which to obtain the module that should be opened.targetPackage
- The package of the module that should be opened.implementationClass
- The class by which to obtain the module to which the given package should be opened.
-