Bug 331069

Summary: Add support for AnnotationTypePattern in AnyWithAnnotationTypePattern nodes in DOM AST
Product: [Tools] AspectJ Reporter: Nieraj Singh <dv.nisingh>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: DEVELOPMENT   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nieraj Singh CLA 2010-11-24 17:35:29 EST
Build Identifier: Eclipse 3.6 I20100608-0911

Implement AnnotationTypePattern DOM AST nodes to represent the equivalent weaver nodes as defined by 

org.aspectj.weaver.patterns.AnnotationTypePattern and its subtypes.

The DOM AST AnyWithAnnotationTypePattern node will also need to be enhanced to support these new types, as for now, this type pattern node only holds a String representation of the annotation. This expression would need to be replaced by an actual AST structure representing the AnnotationTypePattern.

Conversion between the weaver AnyWithAnnotationTypePattern and AnnotationTypePattern to the DOM equivalent should occur in AjASTConverter.

Note that an important structure that the DOM AnnotationTypePattern should contain is an actual Type (i.e. SimpleType, QualifiedType, etc.), and ideally, the accept method implementation in the AnnotationTypePattern should also visit the Type.



Reproducible: Always