.getHandleIdentifier(), analyzer, monitor);
else if (javaElement.getElementType() == IJavaElement.COMPILATION_UNIT)
result = new CompilationUnitMetric(javaElement
.getHandleIdentifier(), analyzer);
else if (javaElement.getElementType() == IJavaElement.CLASS_FILE)
result = new ClassFileMetric(javaElement.getHandleIdentifier(),
analyzer);
return result;
}