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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IExpression[]getDefaultValueExpressions()java.lang.String[]getParameterNames()
-
-
-
Method Detail
-
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
java.lang.String[] getParameterNames()
-
-