var metricsOptionStructuresNames … func findStableMetricDeclaration(tree ast.Node, metricsImportName string) ([]*ast.CallExpr, []error) { … } type stableMetricFinder … var _ … func contains(v metrics.StabilityLevel, a []metrics.StabilityLevel) bool { … } func (f *stableMetricFinder) Visit(node ast.Node) (w ast.Visitor) { … } func isMetricOps(name string) bool { … } func getStabilityLevel(opts *ast.CompositeLit, metricsFrameworkImportName string) (*metrics.StabilityLevel, error) { … }