public static int getAnnotations_____3Ljava_lang_annotation_Annotation_2(MJIEnv env, int objRef) {
    FieldInfo fi = getFieldInfo(env, objRef);
    AnnotationInfo[] ai = fi.getAnnotations();

    try {
      return env.newAnnotationProxies(ai);
    } catch (ClinitRequired x) {
      env.handleClinitRequest(x.getRequiredClassInfo());
      return MJIEnv.NULL;
    }
  }
  public static int getAnnotation__Ljava_lang_Class_2__Ljava_lang_annotation_Annotation_2(
      MJIEnv env, int objRef, int annotationClsRef) {
    FieldInfo fi = getFieldInfo(env, objRef);
    ClassInfo aci = env.getReferredClassInfo(annotationClsRef);

    AnnotationInfo ai = fi.getAnnotation(aci.getName());
    if (ai != null) {
      ClassInfo aciProxy = ClassInfo.getAnnotationProxy(aci);
      try {
        return env.newAnnotationProxy(aciProxy, ai);
      } catch (ClinitRequired x) {
        env.handleClinitRequest(x.getRequiredClassInfo());
        return MJIEnv.NULL;
      }
    }

    return MJIEnv.NULL;
  }