jdk/src/java.base/share/classes/java/lang/reflect/Field.java
changeset 44359 c6761862ca0b
parent 43712 5dfd0950317c
child 45434 4582657c7260
equal deleted inserted replaced
44210:5a8499c4b32c 44359:c6761862ca0b
   322             + getType().getTypeName() + " "
   322             + getType().getTypeName() + " "
   323             + getDeclaringClass().getTypeName() + "."
   323             + getDeclaringClass().getTypeName() + "."
   324             + getName());
   324             + getName());
   325     }
   325     }
   326 
   326 
       
   327     @Override
       
   328     String toShortString() {
       
   329         return "field " + getDeclaringClass().getTypeName() + "." + getName();
       
   330     }
       
   331 
   327     /**
   332     /**
   328      * Returns a string describing this {@code Field}, including
   333      * Returns a string describing this {@code Field}, including
   329      * its generic type.  The format is the access modifiers for the
   334      * its generic type.  The format is the access modifiers for the
   330      * field, if any, followed by the generic field type, followed by
   335      * field, if any, followed by the generic field type, followed by
   331      * a space, followed by the fully-qualified name of the class
   336      * a space, followed by the fully-qualified name of the class