blob: 3e75cc0e489429d1f25853c584b46751731d691e [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2009 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
*
* Fabien Giquel (Mia-Software) - initial API and implementation
* Gregoire DUPE (Mia-Software) - initial API and implementation
* *******************************************************************************
*
* $Id$
*/
package org.eclipse.modisco.java.nousages.cdo.impl;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.modisco.java.ImportDeclaration;
import org.eclipse.modisco.java.TypeAccess;
import org.eclipse.modisco.java.TypeParameter;
import org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage;
/**
* <!-- begin-user-doc --> An implementation of the model object '
* <em><b>Type Parameter</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.modisco.java.nousages.cdo.impl.TypeParameterImpl#getBounds <em>Bounds</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class TypeParameterImpl extends TypeImpl implements TypeParameter {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected TypeParameterImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return JavaPackage.eINSTANCE.getTypeParameter();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
public EList<TypeAccess> getBounds() {
return (EList<TypeAccess>)eGet(JavaPackage.eINSTANCE.getTypeParameter_Bounds(), true);
}
public EList<TypeAccess> getUsagesInTypeAccess() {
// no usages references
return null;
}
public EList<ImportDeclaration> getUsagesInImports() {
// no usages references
return null;
}
} // TypeParameterImpl