in src/java/org/apache/fulcrum/yaafi/interceptor/util/ArgumentToStringBuilderImpl.java [157:277]
public String toString()
{
try
{
if( this.target == null )
{
this.buffer.append(NULL_STRING);
}
else if( this.target instanceof Object[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((Object[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof boolean[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((boolean[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof char[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((char[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof byte[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((byte[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof short[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((short[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof int[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((int[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof long[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((long[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof float[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((float[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof double[] )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((double[]) this.target) );
this.appendChar(']');
}
else if( this.target instanceof String )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((String) this.target) );
this.appendChar(']');
}
else if( this.target instanceof Collection )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((Collection<?>) this.target) );
this.appendChar(']');
}
else if( this.target instanceof Dictionary )
{
this.appendClassName(target);
this.appendHashCode(target);
this.appendChar('[');
this.append( this.toString((Dictionary<?, ?>) this.target) );
this.appendChar(']');
}
else if( this.target instanceof Throwable )
{
this.append( this.toString((Throwable) this.target) );
}
else
{
this.append( this.toString( (Object) this.target ) );
}
}
catch (Throwable t)
{
t.printStackTrace();
return "<" + t + ">";
}
return this.buffer.toString();
}