Joseph D. Darcy's Sun Weblog

Joseph D. Darcy's Sun Weblog


20060718 Tuesday July 18, 2006

Mustang Build 91 JSR 269 API Changes In build 91 of Mustang, to address bug 6425592 we added a method to RoundEnvironment:

Set<? extends Element> getElementsAnnotatedWith(Class<? extends Annotation> a)
which parallels the existing method
Set<? extends Element>getElementsAnnotatedWith(TypeElement a)

The new method is similar in spirit to the Element.getAnnotation; while it violates meta and base level separation, used with care, it can make programming more convenient. (2006-07-18 13:20:35.0) Permalink

Comments:

Post a Comment:

Comments are closed for this entry.

Calendar

« November 2009
SunMonTueWedThuFriSat
1
2
3
5
6
7
8
9
10
11
12
13
14
15
16
17
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

RSS Feeds

XML
All
/Annotation Processing
/General
/Java
/JavaOne
/Numerics
/OpenJDK

Search

Links

    Blogroll
  • Download the JRE

    News

Navigation



Referers

Today's Page Hits: 883