2005-10-07 アノテーション Java Tiger 要素の全てのアノテーションを出力 public void printAllAnnotation(AnnotatedElement e, PrintStream out) throws IOException{ Annotation[] annotations = e.getAnnotations(); for(Annotation a : annotations){ out.printf("Annotation [%s] %n", a.annotationType().getName()); } }