|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vidageek.mirror.invoke.ConstructorHandlerByArgs<T>
public final class ConstructorHandlerByArgs<T>
This class is responsible for invoking a constructor using only the arguments supplied.
| Constructor Summary | |
|---|---|
ConstructorHandlerByArgs(ReflectionProvider provider,
Class<T> clazz)
|
|
| Method Summary | |
|---|---|
T |
bypasser()
Instantiates an object without using the constructor. |
T |
withArgs(Object... args)
Invoke a constructor using args as its arguments. |
T |
withoutArgs()
Invoke a constructor without arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstructorHandlerByArgs(ReflectionProvider provider,
Class<T> clazz)
| Method Detail |
|---|
public T withoutArgs()
ConstructorHandler
withoutArgs in interface ConstructorHandler<T>public T withArgs(Object... args)
ConstructorHandler
withArgs in interface ConstructorHandler<T>args - arguments to use when invoking this constructor.
public T bypasser()
ConstructorHandler
bypasser in interface ConstructorHandler<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||