public ContextSuggestField(String name,String value,int weight,CharSequence... contexts){
  super(name,value,weight);
  validate(value);
  this.contexts=new HashSet<>((contexts != null) ? contexts.length : 0);
  if (contexts != null) {
    Collections.addAll(this.contexts,contexts);
  }
}

public ContextSuggestField ( String name , String value , int weight , CharSequence ... contexts ) { super ( name , value , weight ) ; validate ( value ) ; this . contexts = new HashSet < > ( ( contexts != null ) ? contexts . length : 0 ) ; if ( contexts != null ) { Collections . addAll ( this . contexts , contexts ) ; } }
creates a context - enabled suggest field
