Create a (source) name for a class symbol s
.
Create a (source) name for a class symbol s
.
Create a (source) name for the class symbol s
with a prefix determined by the class symbol in
.
Create a (source) name for the class symbol s
with a prefix determined by the class symbol in
.
If s
represents a package object pkg3
, then the returned name will be pkg1.pkg2.pkg3.package
.
If s
represents a class Foo
nested in package object pkg3
then the returned name is pkg1.pkg2.pk3.Foo
.
Creates a flat (binary) name for a class symbol s
.
Creates a flat (binary) name for a class symbol s
.
Extracts dependency information from each compilation unit.
This phase uses CompilationUnit.depends and CallbackGlobal.inheritedDependencies to collect all symbols that given compilation unit depends on. Those symbols are guaranteed to represent Class-like structures.
The CallbackGlobal.inheritedDependencies is populated by the API phase. See, ExtractAPI class.
When dependency symbol is processed, it is mapped back to either source file where it's defined in (if it's available in current compilation run) or classpath entry where it originates from. The Symbol->Classfile mapping is implemented by LocateClassFile that we inherit from.