JavaResourceLocator construction based on SyntaxTree
Remove JavaMetric class