org.eclipse.xtext.common.types.ui.refactoring.participant
Class JvmElementFinder

java.lang.Object
  extended by org.eclipse.xtext.common.types.ui.refactoring.participant.JvmElementFinder

public class JvmElementFinder
extends java.lang.Object

Helps to resolve JvmIdentifiableElements corresponding to IJavaElements.

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
JvmElementFinder()
           
 
Method Summary
 org.eclipse.emf.ecore.EObject findJvmElementDeclarationInIndex(org.eclipse.emf.ecore.EObject jvmElement, org.eclipse.core.resources.IProject project)
           
 org.eclipse.emf.ecore.EObject getCorrespondingJvmElement(org.eclipse.jdt.core.IJavaElement javaElement, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmElementFinder

public JvmElementFinder()
Method Detail

getCorrespondingJvmElement

public org.eclipse.emf.ecore.EObject getCorrespondingJvmElement(org.eclipse.jdt.core.IJavaElement javaElement,
                                                                org.eclipse.emf.ecore.resource.ResourceSet resourceSet)

findJvmElementDeclarationInIndex

public org.eclipse.emf.ecore.EObject findJvmElementDeclarationInIndex(org.eclipse.emf.ecore.EObject jvmElement,
                                                                      org.eclipse.core.resources.IProject project)