Class MethodParameter

java.lang.Object
org.jboss.resteasy.reactive.common.model.MethodParameter

public class MethodParameter extends Object
  • Field Details

    • name

      public String name
    • type

      public String type
    • 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
    • parameterType

      public ParameterType parameterType
    • encoded

      public boolean encoded
    • mimeType

      public String mimeType
    • partFileName

      public String partFileName
    • separator

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

      public String getName()
    • setName

      public void setName(String name)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getParameterType

      public ParameterType getParameterType()
    • setParameterType

      public void setParameterType(ParameterType parameterType)
    • getDefaultValue

      public String getDefaultValue()
    • setDefaultValue

      public MethodParameter setDefaultValue(String defaultValue)
    • isSingle

      public boolean isSingle()
    • setSingle

      public MethodParameter setSingle(boolean single)
    • getDeclaredType

      public String getDeclaredType()
    • setDeclaredType

      public MethodParameter setDeclaredType(String declaredType)
    • isObtainedAsCollection

      public boolean isObtainedAsCollection()
    • isOptional

      public boolean isOptional()
    • setOptional

      public void setOptional(boolean optional)
    • setObtainedAsCollection

      public MethodParameter setObtainedAsCollection(boolean isObtainedAsCollection)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object