305 } |
305 } |
306 return modifiers; |
306 return modifiers; |
307 } |
307 } |
308 |
308 |
309 // Cache of modifier sets. |
309 // Cache of modifier sets. |
310 private static Map<Long, Set<Modifier>> modifierSets = |
310 private static final Map<Long, Set<Modifier>> modifierSets = |
311 new java.util.concurrent.ConcurrentHashMap<Long, Set<Modifier>>(64); |
311 new java.util.concurrent.ConcurrentHashMap<Long, Set<Modifier>>(64); |
312 |
312 |
313 public static boolean isStatic(Symbol symbol) { |
313 public static boolean isStatic(Symbol symbol) { |
314 return (symbol.flags() & STATIC) != 0; |
314 return (symbol.flags() & STATIC) != 0; |
315 } |
315 } |