}
public static JInterfaceType.JsInteropType maybeGetJsInteropType(TypeDeclaration x,
String jsPrototype, JInterfaceType.JsInteropType interopType) {
if (x.annotations != null) {
AnnotationBinding jsInterface = JdtUtil.getAnnotation(x.binding, JSTYPE_CLASS);
if (jsInterface != null) {
boolean isNative = JdtUtil.getAnnotationParameterBoolean(jsInterface, "isNative");
interopType = jsPrototype != null ?
(isNative ? JDeclaredType.JsInteropType.NATIVE_PROTOTYPE :
JDeclaredType.JsInteropType.JS_PROTOTYPE) : JDeclaredType.JsInteropType.NO_PROTOTYPE;