| /******************************************************************************* |
| * Copyright (c) 2005, 2016 IBM Corporation and others. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| *******************************************************************************/ |
| package org.eclipse.dltk.python.internal.core.evaluation.types; |
| |
| import org.eclipse.dltk.core.IModelElement; |
| import org.eclipse.dltk.ti.types.IEvaluatedType; |
| |
| public class ImportedCallType implements IEvaluatedType |
| { |
| private IModelElement fModelElement = null; |
| public ImportedCallType( IModelElement element ) { |
| |
| this.fModelElement = element; |
| } |
| |
| public IModelElement getElement() { |
| return this.fModelElement; |
| } |
| |
| @Override |
| public String getTypeName() |
| { |
| return "imported call type"; |
| } |
| |
| @Override |
| public boolean subtypeOf(IEvaluatedType type) { |
| // TODO Auto-generated method stub |
| return false; |
| } |
| } |