Class AnnotationMirrorToAnnotationExprConversion
java.lang.Object
org.checkerframework.framework.ajava.AnnotationMirrorToAnnotationExprConversion
Methods for converting a 
AnnotationMirror into a JavaParser AnnotationExpr,
 namely annotationMirrorToAnnotationExpr.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr>annotationMirrorSetToAnnotationExprList(AnnotationMirrorSet annotationMirrors) Converts a Set of AnnotationMirror into List of JavaParserAnnotationExpr.static com.github.javaparser.ast.expr.AnnotationExprannotationMirrorToAnnotationExpr(AnnotationMirror annotation) Converts an AnnotationMirror into a JavaParserAnnotationExpr.
- 
Constructor Details- 
AnnotationMirrorToAnnotationExprConversionpublic AnnotationMirrorToAnnotationExprConversion()
 
- 
- 
Method Details- 
annotationMirrorToAnnotationExprpublic static com.github.javaparser.ast.expr.AnnotationExpr annotationMirrorToAnnotationExpr(AnnotationMirror annotation) Converts an AnnotationMirror into a JavaParserAnnotationExpr.- Parameters:
- annotation- the annotation to convert
- Returns:
- a JavaParser AnnotationExprrepresenting the same annotation with the same element values. The converted annotation will contain the annotation's fully qualified name.
 
- 
annotationMirrorSetToAnnotationExprListpublic static com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotationMirrorSetToAnnotationExprList(AnnotationMirrorSet annotationMirrors) Converts a Set of AnnotationMirror into List of JavaParserAnnotationExpr.- Parameters:
- annotationMirrors- the annotations to convert
- Returns:
- a list of JavaParser AnnotationExprs representing the same annotations
- See Also:
 
 
-