public class AnnotationUtil extends Object
コンストラクタと説明 |
---|
AnnotationUtil() |
修飾子とタイプ | メソッドと説明 |
---|---|
static <T> Class<? extends T> |
annotation(Class<T> clazz)
Annotationのコンバートクラスに変換する
|
static <T extends android.app.Fragment> |
newFragment(Class<T> clazz)
Annotation付きのフラグメントへ変換する
|
static android.app.Fragment |
newFragment(String clazz)
Annotation付きのフラグメントへ変換する
|
static <T extends android.view.View> |
newView(Class<T> clazz,
android.content.Context context)
Annotation付きのViewへ変換する
|
public static <T> Class<? extends T> annotation(Class<T> clazz)
clazz
- public static android.app.Fragment newFragment(String clazz)
clazz
- public static <T extends android.app.Fragment> T newFragment(Class<T> clazz)
clazz
- public static <T extends android.view.View> T newView(Class<T> clazz, android.content.Context context)
T
- clazz
-