/*******************************************************************************
* Copyright (c) 2006, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Obeo - Contribution to the EEF project
*******************************************************************************/
package org.eclipse.eef.properties.ui.api;
/**
* Default implementation of a type mapper.
*
* @author Anthony Hunter
* @author Stephane Begaudeau
* @since 1.6.0
*/
public class EEFTypeMapper implements IEEFTypeMapper {
/**
* {@inheritDoc}
*
* @see org.eclipse.eef.properties.ui.api.IEEFTypeMapper#mapType(java.lang.Object)
*/
@Override
public Class<?> mapType(Object object) {
return object.getClass();
}
}