code: static int translateModifiers(long flags) {
          int result = 0;
          if ((flags & Flags.ABSTRACT) != 0)
              result |= Modifier.ABSTRACT;
          if ((flags & Flags.FINAL) != 0)
              result |= Modifier.FINAL;
          if ((flags & Flags.INTERFACE) != 0)
              result |= Modifier.INTERFACE;
          if ((flags & Flags.NATIVE) != 0)
              result |= Modifier.NATIVE;
          if ((flags & Flags.PRIVATE) != 0)
              result |= Modifier.PRIVATE;
          if ((flags & Flags.PROTECTED) != 0)
              result |= Modifier.PROTECTED;
          if ((flags & Flags.PUBLIC) != 0)
              result |= Modifier.PUBLIC;
          if ((flags & Flags.STATIC) != 0)
              result |= Modifier.STATIC;
          if ((flags & Flags.SYNCHRONIZED) != 0)
              result |= Modifier.SYNCHRONIZED;
          if ((flags & Flags.TRANSIENT) != 0)
              result |= Modifier.TRANSIENT;
          if ((flags & Flags.VOLATILE) != 0)
              result |= Modifier.VOLATILE;
          return result;
      }
docs: Convert modifier bits from private coding used by
  the compiler to that of java.lang.reflect.Modifier.