blob: 36af2b7d3a26933003855c917f79afefae4533f5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004-2009 Akos Horvath and Daniel Varro
* 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:
* Akos Horvath - initial API and implementation
*******************************************************************************/
/**
*
*/
package org.eclipse.viatra2.gtasm.patternmatcher.impl.patternmatcher.internal.searchgraph.traceability;
import org.eclipse.viatra2.gtasm.patternmatcher.impl.patternmatcher.internal.searchgraph.VariableSearchGraphNode;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.core.AnnotatedElement;
/**
* @author Akos Horvath
*
*/
public class VariableNodeTraceabilityElement extends NodeTraceabilityElement {
VariableSearchGraphNode variableSearchGraphNode;
public VariableNodeTraceabilityElement(VariableSearchGraphNode node, AnnotatedElement element){
super(element);
variableSearchGraphNode = node;
variableSearchGraphNode.setTraceabilityElement(this);
}
@Override
public VariableSearchGraphNode getVPMElement() {
return variableSearchGraphNode;
}
}