private < I , D extends Descriptor > boolean satisfies ( ScannerPlugin < I , D > selectedPlugin , D descriptor ) { return ! ( selectedPlugin . getClass ( ) . isAnnotationPresent ( Requires . class ) && descriptor == null ) ; }
Verifies if the selected plugin requires a descriptor .