gecko-dev/build/annotationProcessors
Jim Chen c723648f9d Bug 1186517 - Fix SDKProcessor API version detection; r=snorp
The API version detection functionality was broken in SDKProcessor
because we were passing in "Lpackage/Class;" as the class name rather
than just "package/Class". Also, some classes have a weird situation
where some methods were moved around in later API versions. For example,
some put* and get* methods in Bundle were moved to BaseBundle in API 21.
If we only checked BaseBundle.put*, we would think they are API 21+
only. The workaround is to check both the top-level class and the
declaring class for a member, and choose the lower API level as the
minimal API level for that member.

This patch also fixes bugs in including the right class members.
For SDKProcessor we want to include all public members of a class,
including inherited members, because the private/protected members are
not part of the public API. For AnnotationProcessor, we want to include
all the members declared in that class, including private and
protected members, because we may want to access private/protected
members of our own Java classes from C++.
2015-07-29 15:11:15 -04:00
..
classloader Bug 1178850 - Generate naive method bindings in annotation processor; r=snorp 2015-07-10 23:41:35 -04:00
utils Bug 1186517 - Fix SDKProcessor API version detection; r=snorp 2015-07-29 15:11:15 -04:00
AnnotationInfo.java Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
AnnotationProcessor.java Bug 1186517 - Adjust white spacing in generated files; r=me 2015-07-29 15:11:15 -04:00
CodeGenerator.java Bug 1186517 - Adjust white spacing in generated files; r=me 2015-07-29 15:11:15 -04:00
Makefile.in Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson 2014-11-17 11:12:00 -08:00
SDKProcessor.java Bug 1186517 - Fix SDKProcessor API version detection; r=snorp 2015-07-29 15:11:15 -04:00
moz.build Bug 1086693 - Part 1: Add SDKProcessor r=ckitching 2014-11-13 12:47:22 -06:00