@Immutable public class PropModel extends Object implements MethodParamModel
Prop
.Constructor and Description |
---|
PropModel(MethodParamModel paramModel,
boolean isOptional,
ResType resType,
String varArg) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Annotation> |
getAnnotations() |
List<com.squareup.javapoet.AnnotationSpec> |
getExternalAnnotations() |
String |
getName() |
Object |
getRepresentedObject() |
ResType |
getResType() |
com.squareup.javapoet.TypeName |
getType() |
String |
getVarArgsSingleName() |
boolean |
hasDefault(ImmutableList<PropDefaultModel> propDefaults) |
int |
hashCode() |
boolean |
hasVarArgs() |
boolean |
isOptional() |
public PropModel(MethodParamModel paramModel, boolean isOptional, ResType resType, String varArg)
public com.squareup.javapoet.TypeName getType()
getType
in interface MethodParamModel
public String getName()
getName
in interface MethodParamModel
public List<Annotation> getAnnotations()
getAnnotations
in interface MethodParamModel
public List<com.squareup.javapoet.AnnotationSpec> getExternalAnnotations()
getExternalAnnotations
in interface MethodParamModel
public Object getRepresentedObject()
getRepresentedObject
in interface MethodParamModel
public boolean isOptional()
public ResType getResType()
public boolean hasVarArgs()
public String getVarArgsSingleName()
public boolean hasDefault(ImmutableList<PropDefaultModel> propDefaults)