public class InjectPropModel extends java.lang.Object implements MethodParamModel
InjectProp.| Constructor and Description |
|---|
InjectPropModel(MethodParamModel paramModel) |
| 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() |
TypeName |
getTypeName() |
TypeSpec |
getTypeSpec() |
int |
hashCode() |
PropModel |
toPropModel()
Convert to a regular prop model.
|
InjectPropModel |
withName(java.lang.String name) |
public InjectPropModel(MethodParamModel paramModel)
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 boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic PropModel toPropModel()
public InjectPropModel withName(java.lang.String name)
PropModel instance with the given name overridden.