changeset 444:94062407bac0

Yak shaving: getSuperclass() -> getSuperClass().
author shade
date Fri, 28 Feb 2014 16:55:02 +0400
parents e574a5c575bb
children ebbe41586e3e
files jmh-core/src/main/java/org/openjdk/jmh/generators/annotations/APClassInfo.java jmh-core/src/main/java/org/openjdk/jmh/generators/bytecode/ASMClassInfo.java jmh-core/src/main/java/org/openjdk/jmh/generators/core/BenchmarkGenerator.java jmh-core/src/main/java/org/openjdk/jmh/generators/core/BenchmarkGeneratorUtils.java jmh-core/src/main/java/org/openjdk/jmh/generators/reflective/ReflectiveClassInfo.java jmh-core/src/main/java/org/openjdk/jmh/generators/source/ClassInfo.java
diffstat 6 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/generators/annotations/APClassInfo.java	Fri Feb 28 16:45:39 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/generators/annotations/APClassInfo.java	Fri Feb 28 16:55:02 2014 +0400
@@ -112,7 +112,7 @@
     }
 
     @Override
-    public ClassInfo getSuperclass() {
+    public ClassInfo getSuperClass() {
         TypeMirror superclass = el.getSuperclass();
         if (superclass.getKind() == TypeKind.NONE) {
             return null;
--- a/jmh-core/src/main/java/org/openjdk/jmh/generators/bytecode/ASMClassInfo.java	Fri Feb 28 16:45:39 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/generators/bytecode/ASMClassInfo.java	Fri Feb 28 16:55:02 2014 +0400
@@ -151,7 +151,7 @@
     }
 
     @Override
-    public ClassInfo getSuperclass() {
+    public ClassInfo getSuperClass() {
         return classInfos.get(superName);
     }
 
--- a/jmh-core/src/main/java/org/openjdk/jmh/generators/core/BenchmarkGenerator.java	Fri Feb 28 16:45:39 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/generators/core/BenchmarkGenerator.java	Fri Feb 28 16:55:02 2014 +0400
@@ -195,7 +195,7 @@
                         result.put(currentClass, mi);
                     }
                 }
-            } while ((walk = walk.getSuperclass()) != null);
+            } while ((walk = walk.getSuperClass()) != null);
         }
         return result;
     }
--- a/jmh-core/src/main/java/org/openjdk/jmh/generators/core/BenchmarkGeneratorUtils.java	Fri Feb 28 16:45:39 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/generators/core/BenchmarkGeneratorUtils.java	Fri Feb 28 16:55:02 2014 +0400
@@ -74,7 +74,7 @@
         List<FieldInfo> ls = new ArrayList<FieldInfo>();
         do {
             ls.addAll(ci.getFields());
-        } while ((ci = ci.getSuperclass()) != null);
+        } while ((ci = ci.getSuperClass()) != null);
         return ls;
     }
 
@@ -82,7 +82,7 @@
         List<MethodInfo> ls = new ArrayList<MethodInfo>();
         do {
             ls.addAll(ci.getMethods());
-        } while ((ci = ci.getSuperclass()) != null);
+        } while ((ci = ci.getSuperClass()) != null);
         return ls;
     }
 
@@ -91,7 +91,7 @@
         if (ann != null) {
             return ann;
         } else {
-            ClassInfo eci = ci.getSuperclass();
+            ClassInfo eci = ci.getSuperClass();
             if (eci != null) {
                 return getAnnSuper(eci, annClass);
             }
--- a/jmh-core/src/main/java/org/openjdk/jmh/generators/reflective/ReflectiveClassInfo.java	Fri Feb 28 16:45:39 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/generators/reflective/ReflectiveClassInfo.java	Fri Feb 28 16:55:02 2014 +0400
@@ -77,7 +77,7 @@
     }
 
     @Override
-    public ClassInfo getSuperclass() {
+    public ClassInfo getSuperClass() {
         // FIXME
         return null;
     }
--- a/jmh-core/src/main/java/org/openjdk/jmh/generators/source/ClassInfo.java	Fri Feb 28 16:45:39 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/generators/source/ClassInfo.java	Fri Feb 28 16:55:02 2014 +0400
@@ -34,11 +34,11 @@
 
     String getPackageName();
 
+    String getQualifiedName();
+
     String getNestedName();
 
-    String getQualifiedName();
-
-    ClassInfo getSuperclass();
+    ClassInfo getSuperClass();
 
     ClassInfo getEnclosingClass();