Skip to content

Add @Require #30

@pmaselkowski

Description

@pmaselkowski

Add @Require annotation.

This should be placed on annotations definitions, similar like @Conflicts.

This denotes that annotation require other annotation to work properly.

Syntax:

OR:

@Require('AnnOne', 'AnnTwo')
// require: AnnOne OR AnnTwo

AND:

@Require('AnnOne')
@Require('AnnTwo')
// require: AnnOne AND AnnTwo

Combine OR and AND:

@Require('AnnOne', 'AnnTwo')
@Require('AnnThree')
// require: (AnnOne OR AnnTwo) AND AnnThree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions