Migrate Method Metrics to SyntaxTree

Get rid of usage of squid index to report those metrics.