blob: c7539a3ce0c5e21354e7b2a56f2dc0812a229b47 [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2009, 2019 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.internal.r.core.builder;
import java.io.Serializable;
import org.eclipse.statet.r.core.model.ArgsDefinition;
import org.eclipse.statet.r.core.model.IRLangElement;
import org.eclipse.statet.r.core.model.IRMethod;
public class ExportedRMethod extends ExportedRElement implements IRMethod, Serializable {
private static final long serialVersionUID= -5410258006288951401L;
private ArgsDefinition args;
public ExportedRMethod(final IRLangElement parent, final IRMethod sourceElement) {
super(parent, sourceElement);
this.args= sourceElement.getArgsDefinition();
}
public ExportedRMethod() {
}
@Override
public ArgsDefinition getArgsDefinition() {
return this.args;
}
}