code: public boolean add(Object obj, Type type) {
  		stateList.add(type);
  		return super.add(obj);
  	}
docs: Appends the given object and State to the array.
  
  @param obj
  The value to append.
  @param type
  The type code of the value (see {@link Type})
  @return {@link Collection#add(Object)} reference