Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #12556
| Path | csiph.com!aioe.org!news.glorb.com!postnews.google.com!b1g2000yqb.googlegroups.com!not-for-mail |
|---|---|
| From | mani <mekalai82@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | read java Annotation field values from class |
| Date | Thu, 1 Mar 2012 02:54:54 -0800 (PST) |
| Organization | http://groups.google.com |
| Lines | 12 |
| Message-ID | <2d05ae51-62b1-47d2-8221-aa663e47af03@b1g2000yqb.googlegroups.com> (permalink) |
| NNTP-Posting-Host | 27.251.30.70 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1330599421 16235 127.0.0.1 (1 Mar 2012 10:57:01 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Thu, 1 Mar 2012 10:57:01 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | b1g2000yqb.googlegroups.com; posting-host=27.251.30.70; posting-account=pa7kTgoAAAAaAM5cWyISM4dM3n5XoYZs |
| User-Agent | G2/1.0 |
| X-HTTP-UserAgent | Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) |
| Xref | csiph.com comp.lang.java.programmer:12556 |
Show key headers only | View raw
How to read java Annotation field values from reflect class.
I am having a java class file Myclass.java. This file having the
annotation
@interface MyAnnotation {
boolean DuplicateValues();
boolean DuplicateVariables();
}
@MyAnnotation(DuplicateValues = true, DuplicateVariables = true)
I need to get get value of DuplicateValues, DuplicateVariables, that
means true,true from Myclass.class .
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
read java Annotation field values from class mani <mekalai82@gmail.com> - 2012-03-01 02:54 -0800 Re: read java Annotation field values from class Lew <noone@lewscanon.com> - 2012-03-01 10:00 -0800
csiph-web