Class MethodParameter
java.lang.Object
org.jboss.resteasy.reactive.common.model.MethodParameter
-
Field Summary
FieldsModifier and TypeFieldDescriptionGenerally this will be the same as type, unless the parameter is a collection, in which case 'type' will be the element type and this will be the collection typeThis will only be different from the declaredType if a TypeVariable was used.boolean -
Constructor Summary
ConstructorsConstructorDescriptionMethodParameter(String name, String type, String declaredType, String declaredUnresolvedType, String signature, ParameterType parameterType, boolean single, String defaultValue, boolean isObtainedAsCollection, boolean optional, boolean encoded, String mimeType, String partFileName, String separator) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getType()inthashCode()booleanbooleanbooleanisSingle()setDeclaredType(String declaredType) setDefaultValue(String defaultValue) voidsetObtainedAsCollection(boolean isObtainedAsCollection) voidsetOptional(boolean optional) voidsetParameterType(ParameterType parameterType) setSingle(boolean single) voidtoString()
-
Field Details
-
name
-
type
-
declaredType
Generally this will be the same as type, unless the parameter is a collection, in which case 'type' will be the element type and this will be the collection type -
declaredUnresolvedType
This will only be different from the declaredType if a TypeVariable was used. It is needed for proper reflection method lookups -
signature
-
parameterType
-
encoded
public boolean encoded -
mimeType
-
partFileName
-
separator
-
-
Constructor Details
-
MethodParameter
public MethodParameter() -
MethodParameter
public MethodParameter(String name, String type, String declaredType, String declaredUnresolvedType, String signature, ParameterType parameterType, boolean single, String defaultValue, boolean isObtainedAsCollection, boolean optional, boolean encoded, String mimeType, String partFileName, String separator)
-
-
Method Details
-
getName
-
setName
-
getType
-
setType
-
getParameterType
-
setParameterType
-
getDefaultValue
-
setDefaultValue
-
isSingle
public boolean isSingle() -
setSingle
-
getDeclaredType
-
setDeclaredType
-
isObtainedAsCollection
public boolean isObtainedAsCollection() -
isOptional
public boolean isOptional() -
setOptional
public void setOptional(boolean optional) -
setObtainedAsCollection
-
toString
-
equals
-
hashCode
public int hashCode()
-