Beispiel #1
0
  public static boolean isSynthetic(FieldOrMethod m) {
    if (m.isSynthetic()) {
      return true;
    }

    for (Attribute a : m.getAttributes()) {
      if (a instanceof Synthetic) {
        return true;
      }
    }
    return false;
  }
 boolean isSynthetic(FieldOrMethod obj) {
   Attribute[] a = obj.getAttributes();
   for (Attribute aA : a) if (aA instanceof Synthetic) return true;
   return false;
 }