Annotation Interface Visible


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface Visible
Controls visibility of property value or method of script.

Annotation's predicate allows to set conditions for the applicability of visibility.

  • {predicate == true} annotated elements will be visible.
  • {predicate == false} annotated elements wouldn't be visible.
By default:
  • any public property are visible
  • any method of script are invisible
Can be applied to property value with any class
Author:
m.popov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • predicate

      String predicate
      Default:
      "true"