public class BinaryModuleBinding extends ModuleBinding
ModuleBinding.UnNamedModuleIUpdatableModule.AddExports, IUpdatableModule.AddReads, IUpdatableModule.UpdateKind, IUpdatableModule.UpdatesByKindALL_UNNAMED, ANY, ANY_NAMED, declaredPackages, defaultNullness, environment, exportedPackages, implementations, mainClassName, modifiers, moduleName, openedPackages, requires, requiresTransitive, services, tagBits, UNNAMED, UNOBSERVABLE, usesANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationsForTrueValue, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, INTERSECTION_TYPE18, LOCAL, METHOD, MODULE, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_MODULES, NO_NULL_DEFAULT, NO_PACKAGES, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_PLAIN_PACKAGES, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, POLY_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE| Modifier and Type | Method and Description |
|---|---|
static ModuleBinding |
create(IModule module,
LookupEnvironment existingEnvironment)
Construct a named module from binary, could be an auto module - or from an info from Java Model.
|
AnnotationBinding[] |
getAnnotations() |
PlainPackageBinding[] |
getExports() |
TypeBinding[] |
getImplementations(TypeBinding binding) |
PlainPackageBinding[] |
getOpens() |
TypeBinding[] |
getServices() |
TypeBinding[] |
getUses() |
addExports, addReads, addResolvedExport, addResolvedOpens, canAccess, computeUniqueKey, dependencyCollector, dependencyGraphCollector, getAllRequiredModules, getDefaultNullness, getExportRestrictions, getOpenRestrictions, getOrCreateDeclaredPackage, getPackageNamesForClassFile, getRequires, getRequiresTransitive, getTopLevelPackage, getVisiblePackage, hasUnstableAutoName, isDeprecated, isOpen, isPackageExportedTo, isTransitivelyRequired, isUnnamed, kind, name, nameForCUCheck, nameForLookup, readableName, recordExportRestrictions, recordOpensRestrictions, retrieveAnnotationHolder, setAnnotations, setMainClassName, setPackageNames, toStringcomputeUniqueKey, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotations, shortReadableNamepublic static ModuleBinding create(IModule module, LookupEnvironment existingEnvironment)
precondition: module must be either IBinaryModule or IModule.AutoModule
Side effects: adds the new module to root.knownModules and resolves its directives.
public PlainPackageBinding[] getExports()
getExports in class ModuleBindingpublic PlainPackageBinding[] getOpens()
getOpens in class ModuleBindingpublic TypeBinding[] getUses()
getUses in class ModuleBindingpublic TypeBinding[] getServices()
getServices in class ModuleBindingpublic TypeBinding[] getImplementations(TypeBinding binding)
getImplementations in class ModuleBindingpublic AnnotationBinding[] getAnnotations()
getAnnotations in class Binding