Bug 331069 - Add support for AnnotationTypePattern in AnyWithAnnotationTypePattern nodes in DOM AST
Summary: Add support for AnnotationTypePattern in AnyWithAnnotationTypePattern nodes i...
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 17:35 EST by Nieraj Singh CLA
Modified: 2010-11-24 17:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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