Annotation Type DerivedProperty


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface DerivedProperty
    Annotation defining a derived property accessor for code generation.

    This annotation is used on a getter to indicate that the method is used to provide a derived property. A derived property has no instance variable. A derived property will not form part of the equals() or hashCode() methods, but will be included in toString().