/** * Returns a string representation of the object. * * @return a string representation of the object. */ public String toString() { return super.toString() + this.internalString(); }
/** * Creates a string representing the properties of the instance. * * @return a string representing the properties of the instance. */ private String internalString() { final StringBuffer buf = new StringBuffer( 200 ).append( '{' ); buf.append( this.internalString( this ) ); final Argument[] args = this.getArguments(); for ( int i = args.length - 1; i >= 0; i-- ) { buf.append( ", [" ).append( i ).append( "]=" ). append( args[i] ); } buf.append( '}' ); return buf.toString(); }