changeset 1464:1c11c886e0c8

7902452: Missing RFFieldInfo.toString Contributed-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>
author shade
date Thu, 18 Apr 2019 11:45:30 +0200
parents 5984e353dca7
children 99d7b73cf1e3
files jmh-generator-reflection/src/main/java/org/openjdk/jmh/generators/reflection/RFFieldInfo.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-generator-reflection/src/main/java/org/openjdk/jmh/generators/reflection/RFFieldInfo.java	Tue Jan 22 16:22:44 2019 +0100
+++ b/jmh-generator-reflection/src/main/java/org/openjdk/jmh/generators/reflection/RFFieldInfo.java	Thu Apr 18 11:45:30 2019 +0200
@@ -74,4 +74,9 @@
     public boolean isFinal() {
         return Modifier.isFinal(f.getModifiers());
     }
+
+    @Override
+    public String toString() {
+        return declaringClass.getQualifiedName() + "." + f.getName();
+    }
 }