public class AnnotationMirrorToAnnotationExprConversion extends Object
AnnotationMirror
into a JavaParser AnnotationExpr
,
namely annotationMirrorToAnnotationExpr
.Constructor and Description |
---|
AnnotationMirrorToAnnotationExprConversion() |
Modifier and Type | Method and Description |
---|---|
static com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> |
annotationMirrorSetToAnnotationExprList(Set<AnnotationMirror> annotationMirrors)
Converts a Set of AnnotationMirror into List of JavaParser
AnnotationExpr . |
static com.github.javaparser.ast.expr.AnnotationExpr |
annotationMirrorToAnnotationExpr(AnnotationMirror annotation)
Converts an AnnotationMirror into a JavaParser
AnnotationExpr . |
public AnnotationMirrorToAnnotationExprConversion()
public static com.github.javaparser.ast.expr.AnnotationExpr annotationMirrorToAnnotationExpr(AnnotationMirror annotation)
AnnotationExpr
.annotation
- the annotation to convertAnnotationExpr
representing the same annotation with the same
element values. The converted annotation will contain the annotation's fully qualified
name.public static com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotationMirrorSetToAnnotationExprList(Set<AnnotationMirror> annotationMirrors)
AnnotationExpr
.annotationMirrors
- the annotations to convertAnnotationExpr
s representing the same annotationsannotationMirrorToAnnotationExpr(javax.lang.model.element.AnnotationMirror)