|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.util.beans.factory.ParameterizedClassDescFactory
public abstract class ParameterizedClassDescFactory
フィールの型やメソッドの引数型、戻り値型を表現するParameterizedClassDescを作成するファクトリです。
このクラスではParameterizedClassDescのインスタンスをキャッシュしません。 BeanDesc経由で
ParameterizedClassDescを取得するようにしてください。
BeanDesc.getTypeVariables(),
PropertyDesc.getParameterizedClassDesc(),
FieldDesc.getParameterizedClassDesc(),
ConstructorDesc.getParameterizedClassDescs(),
MethodDesc.getParameterizedClassDesc(),
MethodDesc.getParameterizedClassDescs()| コンストラクタの概要 | |
|---|---|
ParameterizedClassDescFactory()
|
|
| メソッドの概要 | |
|---|---|
static ParameterizedClassDesc |
createParameterizedClassDesc(Constructor<?> constructor,
int index,
Map<TypeVariable<?>,Type> map)
コンストラクタの引数型を表現する ParameterizedClassDescを作成して返します。 |
static ParameterizedClassDesc |
createParameterizedClassDesc(Field field,
Map<TypeVariable<?>,Type> map)
フィールドの型を表現する ParameterizedClassDescを作成して返します。 |
static ParameterizedClassDesc |
createParameterizedClassDesc(Method method,
int index,
Map<TypeVariable<?>,Type> map)
メソッドの引数型を表現する ParameterizedClassDescを作成して返します。 |
static ParameterizedClassDesc |
createParameterizedClassDesc(Method method,
Map<TypeVariable<?>,Type> map)
メソッドの戻り値型を表現する ParameterizedClassDescを作成して返します。 |
protected static ParameterizedClassDesc |
createParameterizedClassDesc(Type type,
Map<TypeVariable<?>,Type> map)
Typeを表現するParameterizedClassDescを作成して返します。 |
static Map<TypeVariable<?>,Type> |
getTypeVariables(Class<?> beanClass)
パラメータ化された型(クラスまたはインタフェース)が持つ型変数をキー、型引数を値とする Mapを返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ParameterizedClassDescFactory()
| メソッドの詳細 |
|---|
public static Map<TypeVariable<?>,Type> getTypeVariables(Class<?> beanClass)
Mapを返します。
型がパラメタ化されていない場合は空のMapを返します。
beanClass - パラメータ化された型(クラスまたはインタフェース)。nullであってはいけません
Map
public static ParameterizedClassDesc createParameterizedClassDesc(Field field,
Map<TypeVariable<?>,Type> map)
ParameterizedClassDescを作成して返します。
field - フィールド。nullであってはいけませんmap - パラメータ化された型が持つ型変数をキー、型引数を値とするMap。null
であってはいけません
ParameterizedClassDesc
public static ParameterizedClassDesc createParameterizedClassDesc(Constructor<?> constructor,
int index,
Map<TypeVariable<?>,Type> map)
ParameterizedClassDescを作成して返します。
constructor - コンストラクタ。nullであってはいけませんindex - 引数の位置map - パラメータ化された型が持つ型変数をキー、型引数を値とするMap。null
であってはいけません
ParameterizedClassDesc
public static ParameterizedClassDesc createParameterizedClassDesc(Method method,
int index,
Map<TypeVariable<?>,Type> map)
ParameterizedClassDescを作成して返します。
method - メソッド。nullであってはいけませんindex - 引数の位置map - パラメータ化された型が持つ型変数をキー、型引数を値とするMap。null
であってはいけません
ParameterizedClassDesc
public static ParameterizedClassDesc createParameterizedClassDesc(Method method,
Map<TypeVariable<?>,Type> map)
ParameterizedClassDescを作成して返します。
method - メソッド。nullであってはいけませんmap - パラメータ化された型が持つ型変数をキー、型引数を値とするMap。null
であってはいけません
ParameterizedClassDesc
protected static ParameterizedClassDesc createParameterizedClassDesc(Type type,
Map<TypeVariable<?>,Type> map)
Typeを表現するParameterizedClassDescを作成して返します。
type - 型map - パラメータ化された型が持つ型変数をキー、型引数を値とするMap
ParameterizedClassDesc
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||