13. The method of claim 12 further comprising: building an abstract syntax tree from the annotation query language statements; and determining static tree semantics by analyzing a syntax tree and deducing variable types.
13. The method of claim 12 further comprising: building an abstract syntax tree from the annotation query language statements; and determining static tree semantics by analyzing a syntax tree and deducing variable types. 14. The method of claim 13 , wherein analyzing comprises: performing a bottom-up attribute synthesis analysis; and performing top-down attribute inheritance analysis.