I have an object that includes a number of variables but one is a byteArray e.g.
public class DataWithFields {
   private String string1;
   private String string2;
   ....
   private byte[] data    
   public String toString() {
       return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
   }
}
For the above code, I want to exclude the data variable from the toString without having to explicitly define each value. How do I do this?
 
     
    