private static AnnotationRef findRef(Annotable annotable, String annotation) { for (AnnotationRef annotationRef : annotable.annotations()) { if (annotationRef.annotation().name().equalsIgnoreCase(annotation)) { return annotationRef; } } return null; }
public static AnnotationRef findRef(Annotable annotable, String annotation) { for (AnnotationRef annotationRef : annotable.annotations()) { if (annotationRef.annotation().name().equalsIgnoreCase(annotation)) { return annotationRef; } } return null; }
private static AnnotationRef findRef(Annotable annotable, String annotation) { for (AnnotationRef annotationRef : annotable.annotations()) { if (annotationRef.annotation().name().equalsIgnoreCase(annotation)) { return annotationRef; } } return null; }