gecko/build/annotationProcessors/utils
Jim Chen ed436951c6 Bug 1192079 - Support inner classes in generated JNI wrapper; r=snorp
Currently, when we generate JNI wrapper for an inner class, the
resulting C++ class will not actually be a nested class of the enclosing
class. As a result, the class can be confusing to use. For example,
wrapping Java class GeckoThread.State results in two unrelated C++
classes, GeckoThread and State, and it'd be confusing to use State by
itself.

This patch adds support for inner classes. We start by scanning only for
top-level classes, and when processing each top-level class, we
recursively scan for inner classes through
JarClassIterator.getInnerClasses() and CodeGenerator.generateClasses().
For each Java inner classes, the resulting C++ class will be a nested
class. For example, wrapping GeckoThread.State will produce
widget::GeckoThread and widget::GeckoThread::State.
2015-08-13 00:53:39 -04:00
..
AlphabeticAnnotatableEntityComparator.java Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
GeneratableElementIterator.java Bug 1192079 - Support inner classes in generated JNI wrapper; r=snorp 2015-08-13 00:53:39 -04:00
Utils.java Bug 1192079 - Support inner classes in generated JNI wrapper; r=snorp 2015-08-13 00:53:39 -04:00