net.vidageek.mirror.reflect.dsl
Interface ConstructorReflector<T>

All Known Implementing Classes:
DefaultConstructorReflector

public interface ConstructorReflector<T>


Method Summary
 java.lang.reflect.Constructor<T> withArgs(java.lang.Class<?>... classes)
          Use this method to reflect a constructor using its argument list.
 java.lang.reflect.Constructor<T> withoutArgs()
          This is a convenience method for DefaultConstructorReflector.withArgs(Class...)
 

Method Detail

withArgs

java.lang.reflect.Constructor<T> withArgs(java.lang.Class<?>... classes)
Use this method to reflect a constructor using its argument list.

Parameters:
classes - argument types of the constructor to be reflected.
Returns:
A constructor matching args or null if none is found.
See Also:
ClassReflectionProvider.reflectConstructor(Class[])

withoutArgs

java.lang.reflect.Constructor<T> withoutArgs()
This is a convenience method for DefaultConstructorReflector.withArgs(Class...)



Copyright © 2009 VidaGeek.net. All Rights Reserved.