/** * Converts the annotation into a string-based form. * * @param annotation to covert (required) * @return a string-based representation (never null) */ public static String toSourceForm(final AnnotationMetadata annotation) { return toSourceForm(annotation, null); }
final String attributeValue = computeAttributeValue(value, resolver);
data.append(computeAttributeValue(annotationMetadata.getAttribute(attributeName), resolver)); data.append(", "); data.append(computeAttributeValue(val, resolver));
@Override public final String toString() { final StringBuilder sb = new StringBuilder(); for (final AnnotationMetadata annotation : annotations) { sb.append(AnnotationMetadataUtils.toSourceForm(annotation)); sb.append(" "); } sb.append(javaType.getNameIncludingTypeParameters()); return sb.toString(); } }
final String attributeValue = computeAttributeValue(value, resolver);
private void outputAnnotation(final AnnotationMetadata annotation) { append(AnnotationMetadataUtils.toSourceForm(annotation, resolver)); }
data.append(computeAttributeValue(annotationMetadata.getAttribute(attributeName), resolver)); data.append(", "); data.append(computeAttributeValue(val, resolver));
/** * Converts the annotation into a string-based form. * * @param annotation to covert (required) * @return a string-based representation (never null) */ public static String toSourceForm(final AnnotationMetadata annotation) { return toSourceForm(annotation, null); }
@Override public final String toString() { final StringBuilder sb = new StringBuilder(); for (final AnnotationMetadata annotation : annotations) { sb.append(AnnotationMetadataUtils.toSourceForm(annotation)); sb.append(" "); } sb.append(javaType.getNameIncludingTypeParameters()); return sb.toString(); } }
private void outputAnnotation(final AnnotationMetadata annotation) { append(AnnotationMetadataUtils.toSourceForm(annotation, resolver)); }