public boolean containsField(ActivityArgAnnotatedField field){
  return requiredFields.contains(field) || optionalFields.contains(field);
}

public boolean containsField ( ActivityArgAnnotatedField field ) { return requiredFields . contains ( field ) || optionalFields . contains ( field ) ; }
checks if a field ( with the given name ) is already in this class
