public class StateParamModel extends java.lang.Object implements MethodParamModel
State
.Constructor and Description |
---|
StateParamModel(MethodParamModel paramModel,
boolean canUpdateLazily) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdateLazily() |
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() |
TypeName |
getTypeName() |
TypeSpec |
getTypeSpec() |
int |
hashCode() |
public StateParamModel(MethodParamModel paramModel, boolean canUpdateLazily)
public TypeSpec getTypeSpec()
getTypeSpec
in interface MethodParamModel
TypeSpec
of the param.public TypeName getTypeName()
getTypeName
in interface MethodParamModel
public java.lang.String getName()
getName
in interface MethodParamModel
public java.util.List<java.lang.annotation.Annotation> getAnnotations()
getAnnotations
in interface MethodParamModel
public java.util.List<AnnotationSpec> getExternalAnnotations()
getExternalAnnotations
in interface MethodParamModel
public java.lang.Object getRepresentedObject()
getRepresentedObject
in interface MethodParamModel
public boolean canUpdateLazily()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object