How to get a method's a Annotation? and its class object?

49 views
Skip to first unread message

yangguan...@gmail.com

unread,
Oct 29, 2014, 12:51:04 PM10/29/14
to andro...@googlegroups.com
Hi,

given a method object (i.e. an object of class EncodedMethod), how can I find its annotation? Could someone give me some hints?

I don't mean the comments or notes, but something like this
  ".annotation system Ldalvik/annotation/MemberClasses;"

I notice there are many classes relative to annotations, but I have no idea about how to link them with its method.

best,
yang
Reply all
Reply to author
Forward
0 new messages