예제 #1
0
 private static List<String> getSuppressWarningArgs(AnnotationTree annotationTree) {
   return getValueFromExpression(annotationTree.arguments().get(0));
 }
예제 #2
0
 private static boolean isSuppressWarningsAnnotation(AnnotationTree annotationTree) {
   return annotationTree.annotationType().symbolType().is("java.lang.SuppressWarnings")
       && !annotationTree.arguments().isEmpty();
 }