use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.
the class DefaultMethodMetadata method toString.
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.append("declaredByMetadataId", getDeclaredByMetadataId());
builder.append("modifier", Modifier.toString(getModifier()));
builder.append("methodName", methodName);
builder.append("parameterTypes", getParameterTypes());
builder.append("parameterNames", getParameterNames());
builder.append("returnType", returnType);
builder.append("annotations", getAnnotations());
builder.append("throwsTypes", getThrowsTypes());
builder.append("customData", getCustomData());
builder.append("body", getBody());
return builder.toString();
}
use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.
the class FileMonitoringRequest method toString.
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.append("resource", getFile());
builder.append("notifyOn", getNotifyOn());
return builder.toString();
}
use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.
the class FileDetails method toString.
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.append("file", file);
builder.append("exists", file.exists());
builder.append("lastModified", lastModified == null ? "Unavailable" : new Date(lastModified).toString());
return builder.toString();
}
use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.
the class DefaultMetadataService method toString.
@Override
public final String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.append("validGets", validGets);
builder.append("recursiveGets", recursiveGets);
builder.append("cachePuts", cachePuts);
builder.append("cacheHits", cacheHits);
builder.append("cacheMisses", cacheMisses);
builder.append("cacheEvictions", cacheEvictions);
builder.append("cacheCurrentSize", getCacheSize());
builder.append("cacheMaximumSize", getMaxCapacity());
return builder.toString().replaceFirst("@[0-9a-f]+", ":");
}
use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.
the class DefaultMutableFile method toString.
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.append("file", getCanonicalPath());
return builder.toString();
}
Aggregations