org.eclipse.xtext.common.types.xtext.ui
Class JdtBasedConstructorScope

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScope
      extended by org.eclipse.xtext.common.types.xtext.AbstractConstructorScope
          extended by org.eclipse.xtext.common.types.xtext.ui.JdtBasedConstructorScope
All Implemented Interfaces:
IScope

public class JdtBasedConstructorScope
extends AbstractConstructorScope

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
static class JdtBasedConstructorScope.LazyConstructorDescription
           
static class JdtBasedConstructorScope.LazyDefaultConstructorDescription
           
 
Nested classes/interfaces inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
AbstractScope.ParentIterable
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.scoping.IScope
NULLSCOPE
 
Constructor Summary
JdtBasedConstructorScope(JdtBasedSimpleTypeScope typeScope)
           
 
Method Summary
 void collectContents(org.eclipse.jdt.core.search.IJavaSearchScope searchScope, org.eclipse.jdt.core.search.SearchRequestor searchRequestor)
           
 IEObjectDescription createScopedElement(org.eclipse.jdt.core.IMethod constructor)
           
 IEObjectDescription createScopedElement(org.eclipse.jdt.core.IType type)
           
protected  IJdtTypeProvider getTypeProvider()
           
 JdtBasedSimpleTypeScope getTypeScope()
           
protected  java.lang.Iterable<IEObjectDescription> internalGetAllElements()
           
 
Methods inherited from class org.eclipse.xtext.common.types.xtext.AbstractConstructorScope
getAllElements, getAllLocalElements, getElements, getElements, getQualifiedNameConverter, getSingleElement, toString
 
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
getLocalElementsByEObject, getLocalElementsByName, getParent, getParentElements, getSingleElement, getSingleLocalElementByName, isIgnoreCase, isShadowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdtBasedConstructorScope

public JdtBasedConstructorScope(JdtBasedSimpleTypeScope typeScope)
Method Detail

internalGetAllElements

protected java.lang.Iterable<IEObjectDescription> internalGetAllElements()
Overrides:
internalGetAllElements in class AbstractConstructorScope

getTypeProvider

protected IJdtTypeProvider getTypeProvider()

createScopedElement

public IEObjectDescription createScopedElement(org.eclipse.jdt.core.IMethod constructor)

createScopedElement

public IEObjectDescription createScopedElement(org.eclipse.jdt.core.IType type)
Since:
2.3

collectContents

public void collectContents(org.eclipse.jdt.core.search.IJavaSearchScope searchScope,
                            org.eclipse.jdt.core.search.SearchRequestor searchRequestor)
                     throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getTypeScope

public JdtBasedSimpleTypeScope getTypeScope()
Overrides:
getTypeScope in class AbstractConstructorScope