public class ReflectiveConstructorExecutor extends ObjectSE implements ConstructorExecutor
コンストラクターと説明 |
---|
ReflectiveConstructorExecutor(ConstructorSE<?> ctor) |
修飾子と型 | メソッドと説明 |
---|---|
TypedValue | execute(EvaluationContext context, ObjectSE... arguments) 指定された引数を使用して、指定されたコンテキストでコンストラクターを実行します。 |
ConstructorSE<?> | getConstructor() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ReflectiveConstructorExecutor(ConstructorSE<?> ctor)
public TypedValue execute(EvaluationContext context, ObjectSE... arguments) throws AccessException
ConstructorExecutor
ConstructorExecutor
の execute
context
- コマンドが実行されている評価コンテキスト arguments
- コンストラクター呼び出しの引数は、コマンドの実行に必要なすべてのものと(数と型に関して)一致する必要があります AccessException
- コマンドの実行に問題があるか、CommandExecutor が無効になった場合 public ConstructorSE<?> getConstructor()