| 程序包 | 说明 |
|---|---|
| io.polaris.core.javapoet |
此包下代码源自开源项目 com.squareup:javapoet
|
| 限定符和类型 | 字段和说明 |
|---|---|
List<AnnotationSpec> |
TypeSpec.annotations |
List<AnnotationSpec> |
TypeSpec.Builder.annotations |
List<AnnotationSpec> |
TypeName.annotations |
List<AnnotationSpec> |
ParameterSpec.annotations |
List<AnnotationSpec> |
ParameterSpec.Builder.annotations |
List<AnnotationSpec> |
MethodSpec.annotations |
List<AnnotationSpec> |
MethodSpec.Builder.annotations |
List<AnnotationSpec> |
FieldSpec.annotations |
List<AnnotationSpec> |
FieldSpec.Builder.annotations |
| 限定符和类型 | 方法和说明 |
|---|---|
AnnotationSpec |
AnnotationSpec.Builder.build() |
static AnnotationSpec |
AnnotationSpec.get(Annotation annotation) |
static AnnotationSpec |
AnnotationSpec.get(Annotation annotation,
boolean includeDefaultValues) |
static AnnotationSpec |
AnnotationSpec.get(AnnotationMirror annotation) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected List<AnnotationSpec> |
TypeName.concatAnnotations(List<AnnotationSpec> annotations) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
TypeSpec.Builder |
TypeSpec.Builder.addAnnotations(Iterable<AnnotationSpec> annotationSpecs) |
ParameterSpec.Builder |
ParameterSpec.Builder.addAnnotations(Iterable<AnnotationSpec> annotationSpecs) |
MethodSpec.Builder |
MethodSpec.Builder.addAnnotations(Iterable<AnnotationSpec> annotationSpecs) |
FieldSpec.Builder |
FieldSpec.Builder.addAnnotations(Iterable<AnnotationSpec> annotationSpecs) |
WildcardTypeName |
WildcardTypeName.annotated(List<AnnotationSpec> annotations) |
TypeVariableName |
TypeVariableName.annotated(List<AnnotationSpec> annotations) |
TypeName |
TypeName.annotated(List<AnnotationSpec> annotations) |
ParameterizedTypeName |
ParameterizedTypeName.annotated(List<AnnotationSpec> annotations) |
ClassName |
ClassName.annotated(List<AnnotationSpec> annotations) |
ArrayTypeName |
ArrayTypeName.annotated(List<AnnotationSpec> annotations) |
protected List<AnnotationSpec> |
TypeName.concatAnnotations(List<AnnotationSpec> annotations) |
Copyright © 2025 fossc. All rights reserved.