summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-10-14 00:57:17 -0700
committerJesse Wilson <jessewilson@google.com>2010-10-14 00:57:17 -0700
commit7e27918cf43b2e095cd10540185ffed81b843fa2 (patch)
treee4486241fce534cdaf6cf8148073d8064320e436 /annotations/generate_annotated_java_files.py
parent765c2139fde183fc60e6fcb22a6b75378d7dbcb5 (diff)
Fix Class.getMethods() for visibility bridge methods.
We had a bug where we couldn't find synthetic methods added by subclasses to boost visibility of their superclass methods. The old logic appeared to work fine with the covariant return type synthetic methods, but broke down on these visibility synthetic methods. For reference, the general rules are: - when there is a synthetic method for a covariant return type, include it in getMethods() but prefer the natural method on getMethod() calls. - when there is a synthetic method for a visibility boost, prefer it over the superclass method on getMethods() and getMethod() calls. Change-Id: Ied1f9fc9892d211647da87959746839f7e0e1140 http://b/2908173
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions