public static void writeTo(@Nonnull IndentingWriter writer, @Nonnull AnnotationEncodedValue annotationEncodedValue, @Nullable String containingClass) throws IOException { writer.write(".subannotation "); writer.write(annotationEncodedValue.getType()); writer.write('\n'); writeElementsTo(writer, annotationEncodedValue.getElements(), containingClass); writer.write(".end subannotation"); }
public static void writeTo(@Nonnull IndentingWriter writer, @Nonnull AnnotationEncodedValue annotationEncodedValue, @Nullable String containingClass) throws IOException { writer.write(".subannotation "); writer.write(annotationEncodedValue.getType()); writer.write('\n'); writeElementsTo(writer, annotationEncodedValue.getElements(), containingClass); writer.write(".end subannotation"); }
public static void writeTo(@Nonnull IndentingWriter writer, @Nonnull Annotation annotation, @Nullable String containingClass) throws IOException { writer.write(".annotation "); writer.write(AnnotationVisibility.getVisibility(annotation.getVisibility())); writer.write(' '); writer.write(annotation.getType()); writer.write('\n'); AnnotationEncodedValueAdaptor.writeElementsTo(writer, annotation.getElements(), containingClass); writer.write(".end annotation\n"); } }
public static void writeTo(@Nonnull IndentingWriter writer, @Nonnull Annotation annotation, @Nullable String containingClass) throws IOException { writer.write(".annotation "); writer.write(AnnotationVisibility.getVisibility(annotation.getVisibility())); writer.write(' '); writer.write(annotation.getType()); writer.write('\n'); AnnotationEncodedValueAdaptor.writeElementsTo(writer, annotation.getElements(), containingClass); writer.write(".end annotation\n"); } }
public static void writeTo(IndentingWriter writer, AnnotationEncodedValue annotationEncodedValue) throws IOException { writer.write(".subannotation "); writer.write(annotationEncodedValue.getType()); writer.write('\n'); writeElementsTo(writer, annotationEncodedValue.getElements()); writer.write(".end subannotation"); }
public static void writeTo(IndentingWriter writer, Annotation annotation) throws IOException { writer.write(".annotation "); writer.write(AnnotationVisibility.getVisibility(annotation.getVisibility())); writer.write(' '); writer.write(annotation.getType()); writer.write('\n'); AnnotationEncodedValueAdaptor.writeElementsTo(writer, annotation.getElements()); writer.write(".end annotation\n"); } }