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