Class ElementReferenceTargetReferenceResolver
java.lang.Object
org.emftext.language.java.resolver.ElementReferenceTargetReferenceResolver
- All Implemented Interfaces:
IJavaReferenceResolver<ElementReference,
ReferenceableElement>
public class ElementReferenceTargetReferenceResolver
extends Object
implements IJavaReferenceResolver<ElementReference,ReferenceableElement>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
resolve
(String identifier, ElementReference container, EReference reference, int position, IJavaReferenceResolveResult<ReferenceableElement> result) Attempts to resolve a reference string.
-
Constructor Details
-
ElementReferenceTargetReferenceResolver
public ElementReferenceTargetReferenceResolver()
-
-
Method Details
-
resolve
public void resolve(String identifier, ElementReference container, EReference reference, int position, IJavaReferenceResolveResult<ReferenceableElement> result) Description copied from interface:IJavaReferenceResolver
Attempts to resolve a reference string.- Specified by:
resolve
in interfaceIJavaReferenceResolver<ElementReference,
ReferenceableElement> - Parameters:
identifier
- The identifier for the reference.container
- The object that contains the reference.reference
- The reference that points to the target of the reference.position
- The index of the reference (if it has an upper bound greater than 1).result
- an object that can be used to store the result of the resolve operation.
-