2995 // collect an inventory of the annotation elements |
2995 // collect an inventory of the annotation elements |
2996 Set<MethodSymbol> members = new LinkedHashSet<MethodSymbol>(); |
2996 Set<MethodSymbol> members = new LinkedHashSet<MethodSymbol>(); |
2997 for (Scope.Entry e = a.annotationType.type.tsym.members().elems; |
2997 for (Scope.Entry e = a.annotationType.type.tsym.members().elems; |
2998 e != null; |
2998 e != null; |
2999 e = e.sibling) |
2999 e = e.sibling) |
3000 if (e.sym.kind == MTH && e.sym.name != names.clinit) |
3000 if (e.sym.kind == MTH && e.sym.name != names.clinit && |
|
3001 (e.sym.flags() & SYNTHETIC) == 0) |
3001 members.add((MethodSymbol) e.sym); |
3002 members.add((MethodSymbol) e.sym); |
3002 |
3003 |
3003 // remove the ones that are assigned values |
3004 // remove the ones that are assigned values |
3004 for (JCTree arg : a.args) { |
3005 for (JCTree arg : a.args) { |
3005 if (!arg.hasTag(ASSIGN)) continue; // recovery |
3006 if (!arg.hasTag(ASSIGN)) continue; // recovery |