|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.sourceforge.greflect.Reflection
public class Reflection
[concurrent][facade]
A facade of the reflection API supports generic features
ジェネリクスをサポートするリフレクションAPIのfacade。
.
Reflection.Instantiator
Reflection.Invoker
@lang ja このクラスの基本的な使用方法を知るには How To Invoke Method を見てください。
| Nested Class Summary | |
|---|---|
class |
Reflection.Caster<T>
[ungeneric] Caster cast ungeneric object to specified generic type Casterはアンジェネリックオブジェクトを指定された型にキャストします。 . |
class |
Reflection.Instantiator<T>
[ungeneric] Instantiator creates a ungeneric object of the specified type Instantiatorは指定された型のアンジェネリックオブジェクトを生成します。 . |
class |
Reflection.Invoker<T>
[ungeneric] Invoker invoke the method of the specified instance Invokerは指定されたインスタンスのメソッドを呼び出します。 . |
| Constructor Summary | |
|---|---|
Reflection()
Creates a facade of reflection with the current ClassLoader
現在のクラスローダでリフレクションのfacadeを生成します。 . |
|
Reflection(java.lang.ClassLoader class_loader)
Creates a facade of reflection with the specified ClassLoader
指定したクラスローダでリフレクションのfacadeを生成します。 . |
|
| Method Summary | |
|---|---|
java.lang.String |
getTypeDescriptionFor(Param<?> caster)
Return the string description of the specified type 指定された型のString表記を返します。 . |
boolean |
isAssignableFromTo(Param<?> from,
Param<?> to)
Judge whether substitution is possible Paramオブジェクトの保持する型同士で代入が可能か判定します。 . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reflection()
ClassLoader
class_loader - public Reflection(java.lang.ClassLoader class_loader)
ClassLoader
class_loader - | Method Detail |
|---|
public boolean isAssignableFromTo(Param<?> from,
Param<?> to)
throws TypeViolationException
from can be substituted for to.
@lang ja from をtoに代入可能なときtrue。
TypeViolationException
public java.lang.String getTypeDescriptionFor(Param<?> caster)
throws TypeViolationException
TypeViolationException
|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||