Annotation Type Final


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Final
    Indicates that an Element type is final and cannot be extended.

    This is necessary because type definitions are based on interfaces, so this annotation provides an explicit way to mark a type as non-extendable.

    Author:
    Luca Frosini (ISTI - CNR)