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
|
コンストラクタの概要 |
PropsDesc(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
|
| クラス 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.WrapCallbacktype - 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.