2005-10-07から1日間の記事一覧

アノテーション

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