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