protected < T extends CSSProperty > boolean genericOneIdentOrColor ( Class < T > type , T colorIdentification , Declaration d , Map < String , CSSProperty > properties , Map < String , Term < ? > > values ) { if ( d . size ( ) != 1 ) return false ; return genericTermIdent ( type , d . get ( 0 ) , ALLOW_INH , d . getProperty ( ) , properties ) || genericTermColor ( d . get ( 0 ) , d . getProperty ( ) , colorIdentification , properties , values ) ; }
Processes declaration which is supposed to contain one identification term or one TermColor