public static MethodDescriptor buildScriptableMethodDescriptorNoArgs ( Class actionClass , String methodName ) { MethodDescriptor md = _buildMethodDescriptor ( actionClass , methodName , EMPTY_STRING_ARRAY , EMPTY_CLASS_ARRAY , EMPTY_CLASS_ARRAY ) ; makeScriptable ( md ) ; return md ; }
Builds a no - arg method descriptor that is exposed for scripting everywhere .