org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.jdt
Class JvmElementFinder

java.lang.Object
  extended by org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.jdt.JvmElementFinder

public class JvmElementFinder
extends java.lang.Object

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
JvmElementFinder()
           
 
Method Summary
protected  IEObjectDescription findIndexedElement(org.eclipse.core.resources.IProject project, QualifiedName qualifiedName, org.eclipse.emf.ecore.EClass expectedJvmType)
           
 JvmIdentifiableElement 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 JvmIdentifiableElement findJvmElementDeclarationInIndex(org.eclipse.emf.ecore.EObject jvmElement,
                                                               org.eclipse.core.resources.IProject project)

findIndexedElement

protected IEObjectDescription findIndexedElement(org.eclipse.core.resources.IProject project,
                                                 QualifiedName qualifiedName,
                                                 org.eclipse.emf.ecore.EClass expectedJvmType)