net.vidageek.mirror.reflect.dsl
Interface MethodReflector

All Known Implementing Classes:
DefaultMethodReflector

public interface MethodReflector


Method Summary
 java.lang.reflect.Method withArgs(java.lang.Class<?>... classes)
          Use this method to reflect a method with classes as its argument types.
 java.lang.reflect.Method withoutArgs()
          This is a convenience method for DefaultMethodReflector.withArgs(Class...)
 

Method Detail

withoutArgs

java.lang.reflect.Method withoutArgs()
This is a convenience method for DefaultMethodReflector.withArgs(Class...)


withArgs

java.lang.reflect.Method withArgs(java.lang.Class<?>... classes)
Use this method to reflect a method with classes as its argument types.

Parameters:
classes - argument types of the method to be reflected.
Returns:
A method matching classes as argument types.
Throws:
java.lang.IllegalArgumentException - if classes is null
See Also:
ClassReflectionProvider.reflectMethod(String, Class[])


Copyright © 2009 VidaGeek.net. All Rights Reserved.