Why is FunctionalInterface's retention policy RetentionPolicy.RUNTIME and not RetentionPolicy.CLASS.
As far as i know this annotation is in place only to ensure that the interface does not have more than one method besides static and default ones.
Why is FunctionalInterface's retention policy RetentionPolicy.RUNTIME and not RetentionPolicy.CLASS.
As far as i know this annotation is in place only to ensure that the interface does not have more than one method besides static and default ones.