Class ModuleRuntimeAccessOptions
java.lang.Object
com.netflix.module.ModuleRuntimeAccessOptions
Fully qualified runtime access options authorized by a source module.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds immutable runtime access option sets.static final recordA qualified package export or open operation. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModuleRuntimeAccessOptionsAn option set containing no runtime access. -
Method Summary
Modifier and TypeMethodDescriptionReturns qualified package exports.addOpens()Returns qualified package opens.Returns modules authorized to mutate final fields.Returns modules authorized for native access.booleaninthashCode()booleanisEmpty()Tests whether this set authorizes no runtime access.Creates an empty option builder.toString()
-
Field Details
-
EMPTY
An option set containing no runtime access.
-
-
Method Details
-
enableNativeAccess
-
enableFinalFieldMutation
-
addExports
Returns qualified package exports.- Returns:
- an immutable list of exports
-
addOpens
Returns qualified package opens.- Returns:
- an immutable list of opens
-
isEmpty
public boolean isEmpty()Tests whether this set authorizes no runtime access.- Returns:
trueif every option list is empty
-
equals
-
hashCode
-
toString
-
newBuilder
Creates an empty option builder.- Returns:
- a new builder
-