2013-09-09 16:57:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* 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.gecko.annotationProcessors;
|
|
|
|
|
|
|
|
/**
|
2013-11-22 00:41:28 +04:00
|
|
|
* Object holding annotation data. Used by GeneratableElementIterator.
|
2013-09-09 16:57:37 +04:00
|
|
|
*/
|
2013-11-22 00:41:28 +04:00
|
|
|
public class AnnotationInfo {
|
2013-09-09 16:57:37 +04:00
|
|
|
public final String wrapperName;
|
|
|
|
public final boolean isStatic;
|
|
|
|
public final boolean isMultithreaded;
|
2014-01-18 09:32:25 +04:00
|
|
|
public final boolean noThrow;
|
2013-09-09 16:57:37 +04:00
|
|
|
|
2014-01-18 09:32:25 +04:00
|
|
|
public AnnotationInfo(String aWrapperName, boolean aIsStatic, boolean aIsMultithreaded,
|
|
|
|
boolean aNoThrow) {
|
2013-09-09 16:57:37 +04:00
|
|
|
wrapperName = aWrapperName;
|
|
|
|
isStatic = aIsStatic;
|
|
|
|
isMultithreaded = aIsMultithreaded;
|
2014-01-18 09:32:25 +04:00
|
|
|
noThrow = aNoThrow;
|
2013-09-09 16:57:37 +04:00
|
|
|
}
|
|
|
|
}
|