2011-02-11から1日間の記事一覧

AbstractMatcher の実装

Google guice の bindInterceptor に渡す2番目の引数、メソッドに対する条件の記述、 アノテーションが付いているかの判定が多いので、 よく、Matchers.annotatedWith(annotation.class) を使うことが多い。 Matchers にはメソッド戻り値タイプなどを判定す…