@Override
	public AnnotationVisitor visitArray(String name) {
		AnnotationVisitor visitor = super.visitArray(name);
		if (DATA1_NAME.equals(name)) {
			visitor = new AnnotationArrayVisitor<>(visitor,
					(List<String> contents) -> data1 = contents.toArray(new String[0]));
		} else if (DATA2_NAME.equals(name)) {
			visitor = new AnnotationArrayVisitor<>(visitor,
					(List<String> contents) -> data2 = contents.toArray(new String[0]));
		} else if (METADATA_VERSION_NAME.equals(name)) {
			visitor = new AnnotationArrayVisitor<>(visitor,
					(List<Integer> contents) -> metadataVersion = contents.stream().mapToInt(i -> i).toArray());
		} else if (BYTECODE_VERSION_NAME.equals(name)) {
			visitor = new AnnotationArrayVisitor<>(visitor,
					(List<Integer> contents) -> bytecodeVersion = contents.stream().mapToInt(i -> i).toArray());
		}
		return visitor;
	}
New visitor.

@param visitor
		Parent visitor.
@param onComplete
		Action to run when annotation is completely read.
recaf-core/src/main/java/software/coley/recaf/util/visitors/KotlinMetadataVisitor.java