net.vidageek.mirror.provider
Interface ConstructorReflectionProvider<T>

All Superinterfaces:
ReflectionElementReflectionProvider
All Known Implementing Classes:
PureJavaConstructorReflectionProvider, Sun15ConstructorReflectionProvider

public interface ConstructorReflectionProvider<T>
extends ReflectionElementReflectionProvider

Interface that defines reflection operations related to constructors

Author:
jonasabreu

Method Summary
 Class<?>[] getParameters()
          This method is used to reflect the wrapped constructor parameter array.
 T instantiate(Object... args)
          this method is used to instantiate an Object using wrapped constructor.
 
Methods inherited from interface net.vidageek.mirror.provider.ReflectionElementReflectionProvider
setAccessible
 

Method Detail

instantiate

T instantiate(Object... args)
this method is used to instantiate an Object using wrapped constructor.

Parameters:
args - Arguments used to instantiate object.
Returns:
An instance provided by wrapped constructor.
Throws:
ReflectionProviderException

getParameters

Class<?>[] getParameters()
This method is used to reflect the wrapped constructor parameter array.

Returns:
An array of class objects representing the method parameters.
Throws:
ReflectionProviderException


Copyright © 2011 VidaGeek.net. All Rights Reserved.