Package gw.lang.reflect
Interface IOptionalParamCapable
- All Known Subinterfaces:
IGosuConstructorInfo,IGosuMethodInfo,IJavaConstructorInfo,IJavaMethodInfo
- All Known Implementing Classes:
ConstructorInfoBuilder.BuiltConstructorInfo,GosuConstructorInfo,GosuMethodInfo,JavaConstructorInfo,JavaMethodInfo,MetaMethodInfoDelegate,MetaTypeTypeInfo.DeprecatedStaticMethodInfoDelegate,MetaTypeTypeInfo.StaticMethodInfoDelegate,MethodInfoBuilder.BuiltMethodInfo,MethodInfoDelegate,ParameterizedGosuConstructorInfo
public interface IOptionalParamCapable
-
Method Summary
-
Method Details
-
getDefaultValueExpressions
IExpression[] getDefaultValueExpressions()- Returns:
- An array of objects representing the default values for a function's parameters. Returns an empty array if there are no default values, otherwise returns an array corresponding with default parameter values. If a parameter does not have a default value, it's default value is null in the array.
-
getParameterNames
String[] getParameterNames()
-