Code example for ImmutableBiMap.Builder

   * @return the ErraiEntityType associated with the named class. 
   * @throws IllegalArgumentException 
   *           if the given class name is not an known entity type. 
  public <X> ErraiEntityType<X> entity(String className) {
    return entity(className, true);
  public <X> ErraiEntityType<X> entity(Class<X> cls) {
    return entity(cls.getName());
  public <X> ManagedType<X> managedType(Class<X> cls) {
    return (ManagedType<X>) managedTypes.get(cls);
Connect your IDE to all the code out there  Get Codota for Java