Class ActionMethodParameter
java.lang.Object
com.iohao.net.framework.core.ActionMethodParameter
- All Implemented Interfaces:
ActualParameter
Metadata about an action method parameter, including generic type resolution
and JSR-380 validation group configuration.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-09
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
parameter
-
parameterClass
-
actualTypeArgumentClass
parameterTypeClass or list actualType -
list
public final boolean list -
actualClass
parameterTypeClass or protocolWrapperTypeClass -
validatorGroup
JSR380 validatorGroups -
validator
public boolean validatortrue : enable JSR380
-
-
Constructor Details
-
ActionMethodParameter
-
-
Method Details
-
toString
-
toString
Format the parameter type and name as a string, optionally using fully qualified class names.- Parameters:
fullName-trueto use fully qualified names,falsefor simple names- Returns:
- formatted parameter string (e.g.
"List<Foo> param")
-
isList
public boolean isList()Description copied from interface:ActualParameterWhether it is a List type- Specified by:
isListin interfaceActualParameter- Returns:
- true if it is a List type
-
getActualTypeArgumentClass
Description copied from interface:ActualParameterThe generic type of the List, also known as the method return value type- Specified by:
getActualTypeArgumentClassin interfaceActualParameter- Returns:
- The generic type of the List
-