Klasse ModuleBinding.UnNamedModule
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ModuleBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ModuleBinding.UnNamedModule
- Alle implementierten Schnittstellen:
IUpdatableModule
- Umschließende Klasse:
ModuleBinding
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ModuleBinding
ModuleBinding.UnNamedModule
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.env.IUpdatableModule
IUpdatableModule.AddExports, IUpdatableModule.AddReads, IUpdatableModule.UpdateKind, IUpdatableModule.UpdatesByKind
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ModuleBinding
ALL_UNNAMED, ANY, ANY_NAMED, declaredPackages, defaultNullness, environment, exportedPackages, implementations, mainClassName, modifiers, moduleName, openedPackages, requires, requiresTransitive, services, tagBits, UNNAMED, UNOBSERVABLE, uses
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_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_COMPONENTS, 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_PERMITTEDTYPES, NO_PLAIN_PACKAGES, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, PATTERN, POLY_TYPE, RAW_TYPE, RECORD_COMPONENT, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_COMPONENTS, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
canAccess
(PackageBinding pkg) Check if the given package is accessible by this module.Get all the modules required by this module All required modules include modules explicitly specified as required in the module declaration as well as implicit dependencies - those specified as ' requires transitive ' by one of the dependenciesboolean
isPackageExportedTo
(PackageBinding pkg, ModuleBinding client) Check if the specified package is owned by the current module and exported to the client module.boolean
char[]
Answer the name of this module as it should be used for hasCompilationUnit() checks.char[]
Answer the name of this module as it should be used for package or type lookup.char[]
toString()
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ModuleBinding
addExports, addReads, addResolvedExport, addResolvedOpens, computeUniqueKey, dependencyCollector, dependencyGraphCollector, getDefaultNullness, getExportRestrictions, getExports, getImplementations, getOpenRestrictions, getOpens, getOrCreateDeclaredPackage, getPackageNamesForClassFile, getRequires, getRequiresTransitive, getServices, getTopLevelPackage, getUses, getVisiblePackage, hasUnstableAutoName, isAutomatic, isDeprecated, isOpen, isTransitivelyRequired, kind, name, recordExportRestrictions, recordOpensRestrictions, retrieveAnnotationHolder, setAnnotations, setMainClassName, setPackageNames
Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, getAnnotations, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotations, shortReadableName
-
Methodendetails
-
getAllRequiredModules
Beschreibung aus Klasse kopiert:ModuleBinding
Get all the modules required by this module All required modules include modules explicitly specified as required in the module declaration as well as implicit dependencies - those specified as ' requires transitive ' by one of the dependencies- Setzt außer Kraft:
getAllRequiredModules
in KlasseModuleBinding
- Gibt zurück:
- An array of all required modules
-
canAccess
Beschreibung aus Klasse kopiert:ModuleBinding
Check if the given package is accessible by this module. True when the package is declared in this module or exported by some required module to this module. SeeModuleBinding.isPackageExportedTo(PackageBinding, ModuleBinding)
- Setzt außer Kraft:
canAccess
in KlasseModuleBinding
- Parameter:
pkg
-- Gibt zurück:
- True, if the package is accessible by this module, false otherwise
-
isPackageExportedTo
Beschreibung aus Klasse kopiert:ModuleBinding
Check if the specified package is owned by the current module and exported to the client module. True if the package appears in the list of exported packages and when the export is targeted, the module appears in the targets of the exports statement.- Setzt außer Kraft:
isPackageExportedTo
in KlasseModuleBinding
- Parameter:
pkg
- - the package whose visibility is to be checkedclient
- - the module that wishes to use the package- Gibt zurück:
- true if the package is visible to the client module, false otherwise
-
isUnnamed
public boolean isUnnamed()- Setzt außer Kraft:
isUnnamed
in KlasseModuleBinding
-
nameForLookup
public char[] nameForLookup()Beschreibung aus Klasse kopiert:ModuleBinding
Answer the name of this module as it should be used for package or type lookup. Unnamed and automatic modules answerModuleBinding.ANY
orModuleBinding.ANY_NAMED
resp., to signal that lookup should search in all accessible (named) modules.- Setzt außer Kraft:
nameForLookup
in KlasseModuleBinding
-
nameForCUCheck
public char[] nameForCUCheck()Beschreibung aus Klasse kopiert:ModuleBinding
Answer the name of this module as it should be used for hasCompilationUnit() checks.- Setzt außer Kraft:
nameForCUCheck
in KlasseModuleBinding
-
readableName
public char[] readableName()- Setzt außer Kraft:
readableName
in KlasseModuleBinding
-
toString
- Setzt außer Kraft:
toString
in KlasseModuleBinding
-