public static Method getPublicMethod ( Class < ? > clazz , String methodName , Class < ? > [ ] argTypes ) { assertObjectNotNull ( "clazz" , clazz ) ; assertStringNotNullAndNotTrimmedEmpty ( "methodName" , methodName ) ; return findMethod ( clazz , methodName , argTypes , VisibilityType . PUBLIC , false ) ; }
Get the public method .