Class StaticMemberImportStaticMembersReferenceResolver
java.lang.Object
org.emftext.language.java.resolver.StaticMemberImportStaticMembersReferenceResolver
- All Implemented Interfaces:
IJavaReferenceResolver<StaticMemberImport,
ReferenceableElement>
public class StaticMemberImportStaticMembersReferenceResolver
extends Object
implements IJavaReferenceResolver<StaticMemberImport,ReferenceableElement>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
resolve
(String identifier, StaticMemberImport theImport, EReference reference, int position, IJavaReferenceResolveResult<ReferenceableElement> result) Attempts to resolve a reference string.
-
Constructor Details
-
StaticMemberImportStaticMembersReferenceResolver
public StaticMemberImportStaticMembersReferenceResolver()
-
-
Method Details
-
resolve
public void resolve(String identifier, StaticMemberImport theImport, EReference reference, int position, IJavaReferenceResolveResult<ReferenceableElement> result) Description copied from interface:IJavaReferenceResolver
Attempts to resolve a reference string.- Specified by:
resolve
in interfaceIJavaReferenceResolver<StaticMemberImport,
ReferenceableElement> - Parameters:
identifier
- The identifier for the reference.theImport
- 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.
-