Support multiple composed annotations on a single annotated element Status Quo The findMergedAnnotation*(...) and getMergedAnnotation*(...) methods in AnnotatedElementUtils only support a single target annotation and therefore a single composed annotation. However, there are certain scenarios for which it would be beneficial to retrieve multiple composed annotations on a single annotated element. As a concrete example, see SPR-13475 which requests support for @Cacheable, @CacheEvict, and CachePut as merged composed annotations. Deliverables Introduce support in AnnotatedElementUtils for processing multiple composed annotations above a single annotated element.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding: UTF-8 | |
def convert(node, rec_set): | |
if node == None: | |
return (rec_set[1], rec_set[2], "", "") # いきなり休会とか退会がくることは考慮しない | |
if node[0] == rec_set[1]: | |
return node | |
if rec_set[1] == "signup": | |
return (rec_set[1], rec_set[2], "", "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.doilux.either; | |
import lombok.AllArgsConstructor; | |
import lombok.EqualsAndHashCode; | |
import lombok.ToString; | |
import java.util.Arrays; | |
import java.util.function.Function; | |
import java.util.stream.Stream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.doilux.generics; | |
import java.util.List; | |
import java.util.function.Function; | |
import java.util.stream.Collectors; | |
public class Odai { | |
public static void printA(List<Int> l) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -f ./out.jpg | |
convert \ | |
-pointsize 20 \ | |
-annotate +100+80 "コードかいてる場合じゃねえ!!" \ | |
-font "/Library/Fonts/ヒラギノ明朝 Pro W6.otf" \ | |
-fill black \ | |
./ootoro600-400.jpg \ |