Sha256: d55021ebe083ea01ea2a2b279d7174a172eeb9502865ebc00bbbe5b6f0ef5f2b

Contents?: true

Size: 519 Bytes

Versions: 73

Compression:

Stored size: 519 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

module NewRelic
  module MetricParser
    module JavaParser
      def class_name_without_package
        full_class_name =~ /(.*\.)(.*)$/ ? $2 : full_class_name
      end

      def developer_name
        "#{full_class_name}.#{method_name}()"
      end

      def short_name
        "#{class_name_without_package}.#{method_name}()"
      end
    end
  end
end

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
newrelic_rpm-3.7.3.199 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.2.195 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.2.192 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.2.190.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.1.188 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.1.182 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.1.180 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.0.177 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.7.0.174.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.9.171 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.8.168 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.8.164 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.7.159 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.7.159.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.7.152 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.6.147 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.5.130 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.4.122 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.4.113.beta vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
newrelic_rpm-3.6.3.111 vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb