Class MethodParameter


  • public class MethodParameter
    extends Object
    • Field Detail

      • declaredType

        public String 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

        public String declaredUnresolvedType
        This will only be different from the declaredType if a TypeVariable was used. It is needed for proper reflection method lookups
      • signature

        public String signature
      • encoded

        public boolean encoded
      • mimeType

        public String mimeType
      • partFileName

        public String partFileName
    • Constructor Detail

      • 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)
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • setParameterType

        public void setParameterType​(ParameterType parameterType)
      • getDefaultValue

        public String getDefaultValue()
      • isSingle

        public boolean isSingle()
      • getDeclaredType

        public String getDeclaredType()
      • isObtainedAsCollection

        public boolean isObtainedAsCollection()
      • isOptional

        public boolean isOptional()
      • setOptional

        public void setOptional​(boolean optional)
      • setObtainedAsCollection

        public MethodParameter setObtainedAsCollection​(boolean isObtainedAsCollection)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object