Search in sources :

Example 76 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class SeiMetadata method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("identifier", getId());
    builder.append("valid", valid);
    builder.append("aspectName", aspectName);
    builder.append("destinationType", destination);
    builder.append("governor", governorPhysicalTypeMetadata.getId());
    builder.append("itdTypeDetails", itdTypeDetails);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 77 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class DefaultConstructorMetadata method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("declaredByMetadataId", getDeclaredByMetadataId());
    builder.append("modifier", Modifier.toString(getModifier()));
    builder.append("parameterTypes", getParameterTypes());
    builder.append("parameterNames", getParameterNames());
    builder.append("annotations", getAnnotations());
    builder.append("customData", getCustomData());
    builder.append("body", getBody());
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 78 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class DefaultImportMetadata method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("declaredByMetadataId", getDeclaredByMetadataId());
    builder.append("typePackage", importPackage);
    builder.append("type", importType);
    builder.append("isStatic", isStatic);
    builder.append("isAsterisk", isAsterisk);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 79 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class DefaultAnnotationMetadata method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("annotationType", annotationType);
    builder.append("attributes", attributes);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 80 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class DefaultItdTypeDetails method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("declaredByMetadataId", getDeclaredByMetadataId());
    builder.append("modifier", getModifier());
    builder.append("name", governor);
    builder.append("aspect", aspect);
    builder.append("physicalTypeCategory", PHYSICAL_TYPE_CATEGORY);
    builder.append("privilegedAspect", privilegedAspect);
    builder.append("registeredImports", registeredImports);
    builder.append("declaredConstructors", declaredConstructors);
    builder.append("declaredFields", declaredFields);
    builder.append("declaredMethods", declaredMethods);
    builder.append("extendsTypes", extendsTypes);
    builder.append("fieldAnnotations", fieldAnnotations);
    builder.append("methodAnnotations", methodAnnotations);
    builder.append("typeAnnotations", getAnnotations());
    builder.append("innerTypes", innerTypes);
    builder.append("customData", getCustomData());
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Aggregations

ToStringBuilder (org.apache.commons.lang3.builder.ToStringBuilder)109 Person (org.apache.commons.lang3.builder.ToStringStyleTest.Person)10 Test (org.junit.Test)10 XWikiToStringBuilder (org.xwiki.text.XWikiToStringBuilder)7 Date (java.util.Date)3 Map (java.util.Map)3 HashMap (java.util.HashMap)2 HashSet (java.util.HashSet)2 Optional (java.util.Optional)2 Set (java.util.Set)2 Slf4j (lombok.extern.slf4j.Slf4j)2 StringUtils (org.apache.commons.lang3.StringUtils)2 ToStringStyle (org.apache.commons.lang3.builder.ToStringStyle)2 Pair (org.apache.commons.lang3.tuple.Pair)2 Level (org.apache.logging.log4j.Level)2 LoggerContext (org.apache.logging.log4j.core.LoggerContext)2 FileAppender (org.apache.logging.log4j.core.appender.FileAppender)2 MemoryMappedFileAppender (org.apache.logging.log4j.core.appender.MemoryMappedFileAppender)2 RandomAccessFileAppender (org.apache.logging.log4j.core.appender.RandomAccessFileAppender)2 RollingFileAppender (org.apache.logging.log4j.core.appender.RollingFileAppender)2