Uses of Class
com.squareup.javapoet.AnnotationSpec
-
Uses of AnnotationSpec in com.squareup.javapoet
Fields in com.squareup.javapoet with type parameters of type AnnotationSpecModifier and TypeFieldDescriptionfinal List
<AnnotationSpec> FieldSpec.annotations
final List
<AnnotationSpec> FieldSpec.Builder.annotations
final List
<AnnotationSpec> MethodSpec.annotations
final List
<AnnotationSpec> MethodSpec.Builder.annotations
final List
<AnnotationSpec> ParameterSpec.annotations
final List
<AnnotationSpec> ParameterSpec.Builder.annotations
final List
<AnnotationSpec> TypeName.annotations
final List
<AnnotationSpec> TypeSpec.annotations
final List
<AnnotationSpec> TypeSpec.Builder.annotations
Methods in com.squareup.javapoet that return AnnotationSpecModifier and TypeMethodDescriptionAnnotationSpec.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 AnnotationSpecModifier and TypeMethodDescriptionprotected final List
<AnnotationSpec> TypeName.concatAnnotations
(List<AnnotationSpec> annotations) Methods in com.squareup.javapoet with parameters of type AnnotationSpecModifier and TypeMethodDescriptionFieldSpec.Builder.addAnnotation
(AnnotationSpec annotationSpec) MethodSpec.Builder.addAnnotation
(AnnotationSpec annotationSpec) ParameterSpec.Builder.addAnnotation
(AnnotationSpec annotationSpec) TypeSpec.Builder.addAnnotation
(AnnotationSpec annotationSpec) final TypeName
TypeName.annotated
(AnnotationSpec... annotations) Method parameters in com.squareup.javapoet with type arguments of type AnnotationSpecModifier and TypeMethodDescriptionFieldSpec.Builder.addAnnotations
(Iterable<AnnotationSpec> annotationSpecs) MethodSpec.Builder.addAnnotations
(Iterable<AnnotationSpec> annotationSpecs) ParameterSpec.Builder.addAnnotations
(Iterable<AnnotationSpec> annotationSpecs) TypeSpec.Builder.addAnnotations
(Iterable<AnnotationSpec> annotationSpecs) ArrayTypeName.annotated
(List<AnnotationSpec> annotations) ClassName.annotated
(List<AnnotationSpec> annotations) ParameterizedTypeName.annotated
(List<AnnotationSpec> annotations) TypeName.annotated
(List<AnnotationSpec> annotations) TypeVariableName.annotated
(List<AnnotationSpec> annotations) WildcardTypeName.annotated
(List<AnnotationSpec> annotations) protected final List
<AnnotationSpec> TypeName.concatAnnotations
(List<AnnotationSpec> annotations) void
CodeWriter.emitAnnotations
(List<AnnotationSpec> annotations, boolean inline) Constructor parameters in com.squareup.javapoet with type arguments of type AnnotationSpecModifierConstructorDescriptionprivate
ArrayTypeName
(TypeName componentType, List<AnnotationSpec> annotations) private
ClassName
(String packageName, ClassName enclosingClassName, String simpleName, List<AnnotationSpec> annotations) private
TypeName
(String keyword, List<AnnotationSpec> annotations) (package private)
TypeName
(List<AnnotationSpec> annotations)