Uses of Class
com.squareup.javapoet.AnnotationSpec
-
-
Uses of AnnotationSpec in com.squareup.javapoet
Fields in com.squareup.javapoet with type parameters of type AnnotationSpec Modifier and Type Field Description List<AnnotationSpec>
FieldSpec. annotations
List<AnnotationSpec>
MethodSpec. annotations
List<AnnotationSpec>
ParameterSpec. annotations
List<AnnotationSpec>
TypeName. annotations
List<AnnotationSpec>
TypeSpec. annotations
Methods in com.squareup.javapoet that return AnnotationSpec Modifier and Type Method Description AnnotationSpec
AnnotationSpec.Builder. build()
static AnnotationSpec
AnnotationSpec. get(Annotation annotation)
static AnnotationSpec
AnnotationSpec. get(Annotation annotation, boolean includeDefaultValues)
static AnnotationSpec
AnnotationSpec. get(AnnotationMirror annotation)
Methods in com.squareup.javapoet that return types with arguments of type AnnotationSpec Modifier and Type Method Description protected List<AnnotationSpec>
TypeName. concatAnnotations(List<AnnotationSpec> annotations)
Methods in com.squareup.javapoet with parameters of type AnnotationSpec Modifier and Type Method Description FieldSpec.Builder
FieldSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
MethodSpec.Builder
MethodSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
ParameterSpec.Builder
ParameterSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
TypeSpec.Builder
TypeSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
TypeName
TypeName. annotated(AnnotationSpec... annotations)
-