public class DiffPropModel extends Object implements MethodParamModel
Prop
that
has type Diff.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Annotation> |
getAnnotations() |
List<AnnotationSpec> |
getExternalAnnotations() |
String |
getName() |
Object |
getRepresentedObject() |
ResType |
getResType() |
TypeName |
getTypeName() |
TypeSpec |
getTypeSpec() |
PropModel |
getUnderlyingPropModel() |
String |
getVarArgsSingleName() |
int |
hashCode() |
boolean |
hasVarArgs() |
boolean |
isOptional() |
boolean |
isSameUnderlyingPropModel(PropModel propModel,
String cachedName)
Compare a given
PropModel to the underlying propmodel of this instance. |
public TypeSpec getTypeSpec()
getTypeSpec
in interface MethodParamModel
TypeSpec
of the param.public TypeName getTypeName()
getTypeName
in interface MethodParamModel
public String getName()
getName
in interface MethodParamModel
public List<Annotation> getAnnotations()
getAnnotations
in interface MethodParamModel
public List<AnnotationSpec> getExternalAnnotations()
getExternalAnnotations
in interface MethodParamModel
public Object getRepresentedObject()
getRepresentedObject
in interface MethodParamModel
public PropModel getUnderlyingPropModel()
public boolean isOptional()
public ResType getResType()
public boolean hasVarArgs()
public String getVarArgsSingleName()