/******************************************************************************* * Copyright (c) 2000, 2016 QNX Software Systems 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: * QNX Software Systems - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.core.model; import org.eclipse.cdt.core.IAddress; import org.eclipse.cdt.core.model.IBinaryFunction; import org.eclipse.cdt.core.model.ICElement; /** */ public class BinaryFunction extends BinaryElement implements IBinaryFunction { public BinaryFunction(ICElement parent, String name, IAddress a) { super(parent, name, ICElement.C_FUNCTION, a); } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IFunctionDeclaration#getExceptions() */ @Override public String[] getExceptions() { return new String[0]; } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IFunctionDeclaration#getNumberOfParameters() */ @Override public int getNumberOfParameters() { // TODO Auto-generated method stub return 0; } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IFunctionDeclaration#getParameterInitializer(int) */ @Override public String getParameterInitializer(int pos) { // TODO Auto-generated method stub return ""; //$NON-NLS-1$ } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IFunctionDeclaration#getParameterTypes() */ @Override public String[] getParameterTypes() { // TODO Auto-generated method stub return new String[0]; } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IFunctionDeclaration#getReturnType() */ @Override public String getReturnType() { // TODO Auto-generated method stub return ""; //$NON-NLS-1$ } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IFunctionDeclaration#getSignature() */ @Override public String getSignature() { return getElementName(); } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IDeclaration#isStatic() */ @Override public boolean isStatic() { // TODO Auto-generated method stub return false; } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IDeclaration#isConst() */ @Override public boolean isConst() { // TODO Auto-generated method stub return false; } /* (non-Javadoc) * @see org.eclipse.cdt.core.model.IDeclaration#isVolatile() */ @Override public boolean isVolatile() { // TODO Auto-generated method stub return false; } }