-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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