Modifier and Type | Field and Description |
---|---|
java.util.List<AnnotationSpec> |
TypeSpec.annotations |
java.util.List<AnnotationSpec> |
TypeSpec.Builder.annotations |
java.util.List<AnnotationSpec> |
TypeName.annotations |
java.util.List<AnnotationSpec> |
ParameterSpec.annotations |
java.util.List<AnnotationSpec> |
ParameterSpec.Builder.annotations |
java.util.List<AnnotationSpec> |
MethodSpec.annotations |
java.util.List<AnnotationSpec> |
MethodSpec.Builder.annotations |
java.util.List<AnnotationSpec> |
FieldSpec.annotations |
java.util.List<AnnotationSpec> |
FieldSpec.Builder.annotations |
Modifier and Type | Method and Description |
---|---|
AnnotationSpec |
AnnotationSpec.Builder.build() |
static AnnotationSpec |
AnnotationSpec.get(java.lang.annotation.Annotation annotation) |
static AnnotationSpec |
AnnotationSpec.get(java.lang.annotation.Annotation annotation,
boolean includeDefaultValues) |
static AnnotationSpec |
AnnotationSpec.get(javax.lang.model.element.AnnotationMirror annotation) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<AnnotationSpec> |
TypeName.concatAnnotations(java.util.List<AnnotationSpec> annotations) |
Modifier and Type | Method and Description |
---|---|
TypeSpec.Builder |
TypeSpec.Builder.addAnnotation(AnnotationSpec annotationSpec) |
ParameterSpec.Builder |
ParameterSpec.Builder.addAnnotation(AnnotationSpec annotationSpec) |
MethodSpec.Builder |
MethodSpec.Builder.addAnnotation(AnnotationSpec annotationSpec) |
FieldSpec.Builder |
FieldSpec.Builder.addAnnotation(AnnotationSpec annotationSpec) |
TypeName |
TypeName.annotated(AnnotationSpec... annotations) |
Modifier and Type | Method and Description |
---|---|
TypeSpec.Builder |
TypeSpec.Builder.addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs) |
ParameterSpec.Builder |
ParameterSpec.Builder.addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs) |
MethodSpec.Builder |
MethodSpec.Builder.addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs) |
FieldSpec.Builder |
FieldSpec.Builder.addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs) |
TypeName |
TypeName.annotated(java.util.List<AnnotationSpec> annotations) |
ClassName |
ClassName.annotated(java.util.List<AnnotationSpec> annotations) |
ArrayTypeName |
ArrayTypeName.annotated(java.util.List<AnnotationSpec> annotations) |
TypeVariableName |
TypeVariableName.annotated(java.util.List<AnnotationSpec> annotations) |
WildcardTypeName |
WildcardTypeName.annotated(java.util.List<AnnotationSpec> annotations) |
ParameterizedTypeName |
ParameterizedTypeName.annotated(java.util.List<AnnotationSpec> annotations) |
protected java.util.List<AnnotationSpec> |
TypeName.concatAnnotations(java.util.List<AnnotationSpec> annotations) |
Copyright © 2020 Square, Inc.. All Rights Reserved.