Code example for Objects.ToStringHelper

Methods: add

0
 
   protected ToStringHelper addComputeToStringSuffix(ToStringHelper helper) {
      if (!getTags().isEmpty())
         helper.add("tags", getTags());
      if (!getUserMetadata().isEmpty()) 
         helper.add("userMetadata", getUserMetadata());
      return helper;
   } 
 
   protected ToStringHelper string() {
      return addComputeToStringSuffix(computeToStringPrefix()); 
   } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java