NAMES
Meaning of Type Names
6.5.4
ORG.rpgpoet
ORG
is initially classified as an
AmbiguousName
. These are then reclassified:
Assuming that there is no class or interface named
ORG
in any other compila
tion unit of package
bazola
, then the simple name
ORG
is reclassified as a
PackageName
.
Next, assuming that there is no class or interface named
rpgpoet
in any com
pilation unit of package
ORG
(and we know that there is no such class or inter
face because package
ORG
has a subpackage named
rpgpoet
), the qualified
name
ORG.rpgpoet
is reclassified as a
PackageName
.
Next, because package
ORG.rpgpoet
has an interface type named
Music
, the
qualified name
ORG.rpgpoet.Music
is reclassified as a
TypeName
.
Finally, because the name
ORG.rpgpoet.Music
is a
TypeName
, the qualified
name
ORG.rpgpoet.Music.wizards
is reclassified as an
ExpressionName
.
6.5.3 Meaning of Package Names
The meaning of a name classified as a
PackageName
is determined as follows.
6.5.3.1
Simple Package Names
If a package name consists of a single
Identifier
, then this identifier denotes a top
level package named by that identifier. If no package of that name is accessible, as
determined by the host system ( 7.4.3), then a compile time error occurs.
6.5.3.2
Qualified Package Names
If a package name is of the form
Q.Id
, then
Q
must also be a package name. The
package name
Q.Id
names a package that is the member named
Id
within the
package named by
Q
. If
Q
does not name an accessible package or
Id
does not
name an accessible subpackage of that package, then a compile time error occurs.
6.5.4 Meaning of Type Names
The meaning of a name classified as a
TypeName
is determined as follows.
6.5.4.1
Simple Type Names
If a type name consists of a single
Identifier
, then the identifier must occur in the
scope of a declaration of a type with this name, or a compile time error occurs. It
93
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved