Note the following rules for reverse engineering
and locating a SourceArtifact under a class:
- If only one class is mapped to the artifact, the
artifact is located under the class it is mapped to.
- If more than one class is mapped, the artifact
is located under the first class. Priority is given to a class with
the same of the file.
- If no class is mapped to the artifact, the artifact
is located under the package.
- External files are imported under the component.