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.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.