org.eclipse.xtext.serializer.sequencer
Class AssignmentFinder

java.lang.Object
  extended by org.eclipse.xtext.serializer.sequencer.AssignmentFinder
All Implemented Interfaces:
IAssignmentFinder

public class AssignmentFinder
extends java.lang.Object
implements IAssignmentFinder

Author:
Moritz Eysholdt - Initial contribution and API

Field Summary
protected  IContextFinder contextFinder
           
protected  ICrossReferenceSerializer crossRefSerializer
           
protected  IEnumLiteralSerializer enumLiteralSerializer
           
protected  IKeywordSerializer keywordSerializer
           
protected  IValueSerializer valueSerializer
           
 
Constructor Summary
AssignmentFinder()
           
 
Method Summary
 java.lang.Iterable<AbstractElement> findAssignmentsByValue(org.eclipse.emf.ecore.EObject semanticObj, java.lang.Iterable<AbstractElement> assignedElements, java.lang.Object value, INode node)
           
protected  java.lang.Iterable<AbstractElement> findValidAssignmentsForContainmentRef(org.eclipse.emf.ecore.EObject semanticObj, java.lang.Iterable<AbstractElement> assignedElements, org.eclipse.emf.ecore.EObject value)
           
protected  java.lang.Iterable<AbstractElement> findValidAssignmentsForCrossRef(org.eclipse.emf.ecore.EObject semanticObj, java.lang.Iterable<AbstractElement> assignedElements, org.eclipse.emf.ecore.EObject value, INode node)
           
protected  java.lang.Iterable<AbstractElement> findValidBooleanAssignments(org.eclipse.emf.ecore.EObject semanticObj, java.lang.Iterable<AbstractElement> assignedElements, java.lang.Object value)
           
protected  java.lang.Iterable<AbstractElement> findValidValueAssignments(org.eclipse.emf.ecore.EObject semanticObj, java.lang.Iterable<AbstractElement> assignedElements, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextFinder

@Inject
protected IContextFinder contextFinder

crossRefSerializer

@Inject
protected ICrossReferenceSerializer crossRefSerializer

enumLiteralSerializer

@Inject
protected IEnumLiteralSerializer enumLiteralSerializer

keywordSerializer

@Inject
protected IKeywordSerializer keywordSerializer

valueSerializer

@Inject
protected IValueSerializer valueSerializer
Constructor Detail

AssignmentFinder

public AssignmentFinder()
Method Detail

findAssignmentsByValue

public java.lang.Iterable<AbstractElement> findAssignmentsByValue(org.eclipse.emf.ecore.EObject semanticObj,
                                                                  java.lang.Iterable<AbstractElement> assignedElements,
                                                                  java.lang.Object value,
                                                                  INode node)
Specified by:
findAssignmentsByValue in interface IAssignmentFinder

findValidAssignmentsForContainmentRef

protected java.lang.Iterable<AbstractElement> findValidAssignmentsForContainmentRef(org.eclipse.emf.ecore.EObject semanticObj,
                                                                                    java.lang.Iterable<AbstractElement> assignedElements,
                                                                                    org.eclipse.emf.ecore.EObject value)

findValidAssignmentsForCrossRef

protected java.lang.Iterable<AbstractElement> findValidAssignmentsForCrossRef(org.eclipse.emf.ecore.EObject semanticObj,
                                                                              java.lang.Iterable<AbstractElement> assignedElements,
                                                                              org.eclipse.emf.ecore.EObject value,
                                                                              INode node)

findValidBooleanAssignments

protected java.lang.Iterable<AbstractElement> findValidBooleanAssignments(org.eclipse.emf.ecore.EObject semanticObj,
                                                                          java.lang.Iterable<AbstractElement> assignedElements,
                                                                          java.lang.Object value)

findValidValueAssignments

protected java.lang.Iterable<AbstractElement> findValidValueAssignments(org.eclipse.emf.ecore.EObject semanticObj,
                                                                        java.lang.Iterable<AbstractElement> assignedElements,
                                                                        java.lang.Object value)