revert most of "Switch working copy to Goanna 4" (https://github.com/MoonchildProductions/moebius/commit/c4895374053ab93b4f365d3e690e99a30ffa1a2f) in order to keep upstream patch applicable

This commit is contained in:
2019-02-20 00:30:25 +08:00
parent ebfc3f0a8f
commit f63e51e471
4574 changed files with 242120 additions and 238886 deletions
@@ -2,11 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.goanna.annotationProcessors.utils;
package org.mozilla.gecko.annotationProcessors.utils;
import org.mozilla.goanna.annotationProcessors.AnnotationInfo;
import org.mozilla.goanna.annotationProcessors.classloader.AnnotatableEntity;
import org.mozilla.goanna.annotationProcessors.classloader.ClassWithOptions;
import org.mozilla.gecko.annotationProcessors.AnnotationInfo;
import org.mozilla.gecko.annotationProcessors.classloader.AnnotatableEntity;
import org.mozilla.gecko.annotationProcessors.classloader.ClassWithOptions;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
@@ -150,7 +150,7 @@ public class GeneratableElementIterator implements Iterator<AnnotatableEntity> {
private AnnotationInfo buildAnnotationInfo(AnnotatedElement element, Annotation annotation) {
Class<? extends Annotation> annotationType = annotation.annotationType();
final String annotationTypeName = annotationType.getName();
if (!annotationTypeName.equals("org.mozilla.goanna.annotation.WrapForJNI")) {
if (!annotationTypeName.equals("org.mozilla.gecko.annotation.WrapForJNI")) {
return null;
}