|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vidageek.mirror.reflect.DefaultConstructorReflector<T>
public final class DefaultConstructorReflector<T>
This class is responsible for reflecting a constructor.
| Constructor Summary | |
|---|---|
DefaultConstructorReflector(ReflectionProvider provider,
Class<T> clazz)
|
|
| Method Summary | |
|---|---|
Constructor<T> |
withAnyArgs()
Use this method to reflect the only constructor on the class |
Constructor<T> |
withArgs(Class<?>... classes)
Use this method to reflect a constructor using its argument list. |
Constructor<T> |
withoutArgs()
This is a convenience method for ConstructorReflector.withArgs(Class...) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultConstructorReflector(ReflectionProvider provider,
Class<T> clazz)
| Method Detail |
|---|
public Constructor<T> withArgs(Class<?>... classes)
ConstructorReflector
withArgs in interface ConstructorReflector<T>classes - argument types of the constructor to be reflected.
ClassReflectionProvider.reflectConstructor(Class[])public Constructor<T> withoutArgs()
ConstructorReflectorConstructorReflector.withArgs(Class...)
withoutArgs in interface ConstructorReflector<T>public Constructor<T> withAnyArgs()
ConstructorReflector
withAnyArgs in interface ConstructorReflector<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||