public static Taint valueOf ( State state ) { Objects . requireNonNull ( state , "state is null" ) ; if ( state == State . INVALID ) { return null ; } return new Taint ( state ) ; }
Constructs a new instance of taint from the specified state