(Method method)
| 393 | } |
| 394 | |
| 395 | private boolean loadColor(Method method) { |
| 396 | RGB rgb = method.getDeclaredAnnotation(RGB.class); |
| 397 | if (rgb != null) { |
| 398 | resources.put(method.getName(), new Color(display, fromARGB(rgb.argb()))); |
| 399 | return true; |
| 400 | } |
| 401 | return false; |
| 402 | } |
| 403 | |
| 404 | private boolean loadTextStyle(Method method) { |
| 405 | TextStyle style = method.getDeclaredAnnotation(TextStyle.class); |
no test coverage detected