Class SourceMapper

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ReferenceInfoAdapter
org.aspectj.org.eclipse.jdt.internal.core.SourceMapper
All Implemented Interfaces:
ISourceElementRequestor, SuffixConstants

public class SourceMapper extends ReferenceInfoAdapter implements ISourceElementRequestor, SuffixConstants
A SourceMapper maps source code in a ZIP file to binary types or binary modules in a JAR. The SourceMapper uses the fuzzy parser to identify source fragments in a .java file, and attempts to match the source code with children in a binary type. Since a module has no children in the Java Model no such matching happens in that case. A SourceMapper is associated with a JarPackageFragment by an AttachSourceOperation.
See Also:
  • invalid reference
    org.eclipse.jdt.internal.core.JarPackageFragment