public static class MockMethodParamModel.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MockMethodParamModel.Builder |
annotations(Class<? extends Annotation>... annotations) |
MockMethodParamModel.Builder |
annotations(List<Class<? extends Annotation>> annotations) |
MockMethodParamModel |
build() |
MockMethodParamModel.Builder |
externalAnnotations(AnnotationSpec... externalAnnotations) |
MockMethodParamModel.Builder |
externalAnnotations(List<AnnotationSpec> externalAnnotations) |
MockMethodParamModel.Builder |
name(String name) |
MockMethodParamModel.Builder |
representedObject(Object representedObject) |
MockMethodParamModel.Builder |
type(TypeName type) |
public MockMethodParamModel.Builder type(TypeName type)
public MockMethodParamModel.Builder name(String name)
public MockMethodParamModel.Builder annotations(List<Class<? extends Annotation>> annotations)
public MockMethodParamModel.Builder annotations(Class<? extends Annotation>... annotations)
public MockMethodParamModel.Builder externalAnnotations(AnnotationSpec... externalAnnotations)
public MockMethodParamModel.Builder externalAnnotations(List<AnnotationSpec> externalAnnotations)
public MockMethodParamModel.Builder representedObject(Object representedObject)
public MockMethodParamModel build()