@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(); } }
/** * Obtains the "toString" method for this type, if available. * <p> * If the user provided a non-default name for "toString", that method will * be returned. * * @return the "toString" method declared on this type or that will be * introduced (or null if undeclared and not introduced) */ private MethodMetadataBuilder getToStringMethod() { if (StringUtils.isBlank(annotationValues.getToStringMethod())) { return null; } // Compute the relevant toString method name final JavaSymbolName methodName = new JavaSymbolName(annotationValues.getToStringMethod()); // See if the type itself declared the method if (governorHasMethod(methodName)) { return null; } return generateToStringMethod(getId(), governorTypeDetails.getType(), annotationValues, fields); }
@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(); } }
/** * Obtains the "toString" method for this type, if available. * <p> * If the user provided a non-default name for "toString", that method will * be returned. * * @return the "toString" method declared on this type or that will be * introduced (or null if undeclared and not introduced) */ private MethodMetadataBuilder getToStringMethod() { if (StringUtils.isBlank(annotationValues.getToStringMethod())) { return null; } // Compute the relevant toString method name final JavaSymbolName methodName = new JavaSymbolName(annotationValues.getToStringMethod()); // See if the type itself declared the method if (governorHasMethod(methodName)) { return null; } return generateToStringMethod(getId(), governorTypeDetails.getType(), annotationValues, fields); }