The ElementAnnotation from the analyzer package is really not an element so I can't use ParsedLibraryResult.getElementDeclaration on it.
How can I know the offset and end of an ElementAnnotation?
The ElementAnnotation from the analyzer package is really not an element so I can't use ParsedLibraryResult.getElementDeclaration on it.
How can I know the offset and end of an ElementAnnotation?
I had to get the node from the
ClassElementand loop through itschildEntitiesand manually find the nodes from the annotations.