return getPhysicalTypeCanonicalPath(PhysicalTypeIdentifier
.createIdentifier(javaType, path));
}
public String getPhysicalTypeCanonicalPath(final String physicalTypeId) {
final LogicalPath logicalPath = PhysicalTypeIdentifier
.getPath(physicalTypeId);
final JavaType javaType = PhysicalTypeIdentifier
.getJavaType(physicalTypeId);
final Pom pom = projectOperations.getPomFromModuleName(logicalPath
.getModule());
final String canonicalFilePath = pom.getPathLocation(logicalPath
.getPath()) + javaType.getRelativeFileName();
if (fileManager.exists(canonicalFilePath)) {
typeCache.cacheTypeAgainstModule(pom, javaType);
typeCache.cacheFilePathAgainstTypeIdentifier(canonicalFilePath,
physicalTypeId);