Annotation Type Inject


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Inject
    Annotate a field to be injected - an injected field will be automatically created and persisted between code changes. Injected fields do not have ports or controls, and values are not saved to projects.

    The @Inject annotation may be used on fields of type Ref, Property, or any field type that can be backed by a Property - String, double, float, int, boolean, PArray, PBytes, any enum, any Serializable implementation, or a List of Serializable subclasses.