net.vidageek.mirror.reflect.dsl
Interface MethodReflector

All Known Implementing Classes:
DefaultMethodReflector

public interface MethodReflector


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

Method Detail

withoutArgs

Method withoutArgs()
This is a convenience method for withArgs(Class...)


withArgs

Method withArgs(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:
IllegalArgumentException - if classes is null
See Also:
ClassReflectionProvider.reflectMethod(String, Class[])

withAnyArgs

Method withAnyArgs()
Use this method to reflect a uniquely named method.

Returns:
A method uniquely named or null if no method was found.
Throws:
MirrorException - if more than one method with the same name was found.


Copyright © 2011 VidaGeek.net. All Rights Reserved.