commit | 6a51140fd83dc16867ca38a4ca2e47cbbf090dfd | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Fri Jul 19 22:24:02 2013 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Fri Jul 19 22:57:07 2013 -0700 |
tree | 0d72bffdefd3d1489d9edd5b1a514e616421bfe5 | |
parent | 63df52805178baccce4e21286f839326b1d1a24f [diff] |
Restructure Class.getDeclaredMethodInternal. Prefer virtual over direct methods when searching for a specific method. For direct methods, check they are method rather than constructors early (cheap test) and cast to Method as check-cast ellision can remove. Motivation, android.widget.RemoteViews is using Class.getMethod and showing as hot in the calendar launcher widget. Change-Id: Id12fe9549c8f6626fd1abf0494d81aee32e0bc7a