(final MetaBeanProperty mbp)
| 2496 | } |
| 2497 | |
| 2498 | private static boolean isMarkedInternal(final MetaBeanProperty mbp) { |
| 2499 | CachedField field = mbp.getField(); |
| 2500 | if (field != null && field.isAnnotationPresent(Internal.class)) { |
| 2501 | return true; |
| 2502 | } |
| 2503 | MetaMethod getter = mbp.getGetter(); |
| 2504 | if (getter instanceof CachedMethod cm && cm.getAnnotation(Internal.class) != null) { |
| 2505 | return true; |
| 2506 | } |
| 2507 | MetaMethod setter = mbp.getSetter(); |
| 2508 | if (setter instanceof CachedMethod cm && cm.getAnnotation(Internal.class) != null) { |
| 2509 | return true; |
| 2510 | } |
| 2511 | return false; |
| 2512 | } |
| 2513 | |
| 2514 | /** |
| 2515 | * return null if nothing valid has been found, a MetaMethod (for getter always the case if not null) or |
no test coverage detected