org.mtzky.reflect
クラス PropsDesc

java.lang.Object
  上位を拡張 org.mtzky.reflect.PropsDesc

public class PropsDesc
extends java.lang.Object

Descriptors for Properties (Getter, Setter , and public Field) with the specified Annotation.

導入されたバージョン:
0.1.1
作成者:
mtzky

入れ子のクラスの概要
static interface PropsDesc.FindCallback
           
static interface PropsDesc.WrapCallback<T>
           
 
コンストラクタの概要
PropsDesc(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 
メソッドの概要
 PropDesc find(PropsDesc.FindCallback callback)
           Find the matched property descriptor.
 PropDesc[] getDescriptors()
           
<T> T[]
wrap(PropsDesc.WrapCallback<T> callback, T... type)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PropsDesc

public PropsDesc(java.lang.Class<?> clazz,
                 java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
パラメータ:
clazz -
annotationClass -
メソッドの詳細

getDescriptors

public PropDesc[] getDescriptors()

wrap

public <T> T[] wrap(PropsDesc.WrapCallback<T> callback,
                    T... type)
型パラメータ:
T -
パラメータ:
callback - PropsDesc.WrapCallback
type - for getting type; Don't pass null.
戻り値:
An array of instance wrapping PropDesc
導入されたバージョン:
0.1.2

find

public PropDesc find(PropsDesc.FindCallback callback)

Find the matched property descriptor.

パラメータ:
callback - PropsDesc.FindCallback
戻り値:
PropDesc
関連項目:
PropsDesc.FindCallback


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.