parseAnnotation

Parses the Java annotation contained in a String and returns a AnnotationExpr that represents it.

Return

AnnotationExpr representing the Java annotation

Parameters

annotation

String containing Java annotation

Throws

if the source code has parser errors