jp.liq.container.reflect
クラス FieldFinder<T extends FieldWrapper,S extends FieldFinder<T,S>>

java.lang.Object
  上位を拡張 jp.liq.container.util.AbstractFinder<T,S>
      上位を拡張 jp.liq.container.reflect.MemberFinder<T,S>
          上位を拡張 jp.liq.container.reflect.FieldFinder<T,S>
すべての実装されたインタフェース:
java.lang.Iterable<T>
直系の既知のサブクラス:
ClassFieldFinder, ObjectFieldFinder

public abstract class FieldFinder<T extends FieldWrapper,S extends FieldFinder<T,S>>
extends MemberFinder<T,S>

あるクラスが保持するフィールドの中から、 条件にマッチするものを順に返す Iterable です。

作成者:
nose

コンストラクタの概要
FieldFinder()
           
 
メソッドの概要
 S isA(java.lang.Class<?> type)
          引数で指定されたクラスを絞り込み条件に追加します。
 
クラス jp.liq.container.reflect.MemberFinder から継承されたメソッド
withAnnotation, withModifier, withPrefix
 
クラス jp.liq.container.util.AbstractFinder から継承されたメソッド
addMatcher, getCandidates, getThis, iterator
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FieldFinder

public FieldFinder()
メソッドの詳細

isA

public S isA(java.lang.Class<?> type)
引数で指定されたクラスを絞り込み条件に追加します。 引数で指定されたクラスのサブクラスのみがマッチします。

パラメータ:
type - 絞り込み条件に追加するクラス。
戻り値:
自分自身のインスタンス。


Copyright © 2008. All Rights Reserved.