Class AnnotationAttributeSettingAttributeReferenceResolver
- java.lang.Object
-
- org.emftext.language.java.resolver.AnnotationAttributeSettingAttributeReferenceResolver
-
- All Implemented Interfaces:
IJavaReferenceResolver<AnnotationAttributeSetting,InterfaceMethod>
public class AnnotationAttributeSettingAttributeReferenceResolver extends Object implements IJavaReferenceResolver<AnnotationAttributeSetting,InterfaceMethod>
Resolves the attribute, i. e., the interface method, of an set attribute within an annotation.
-
-
Constructor Summary
Constructors Constructor Description AnnotationAttributeSettingAttributeReferenceResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresolve(String identifier, AnnotationAttributeSetting container, EReference reference, int position, IJavaReferenceResolveResult<InterfaceMethod> result)Attempts to resolve a reference string.
-
-
-
Method Detail
-
resolve
public void resolve(String identifier, AnnotationAttributeSetting container, EReference reference, int position, IJavaReferenceResolveResult<InterfaceMethod> result)
Description copied from interface:IJavaReferenceResolverAttempts to resolve a reference string.- Specified by:
resolvein interfaceIJavaReferenceResolver<AnnotationAttributeSetting,InterfaceMethod>- 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.
-
-