| Package | Description |
|---|---|
| org.eclipse.xtext.xbase.imports | |
| org.eclipse.xtext.xbase.scoping.batch | |
| org.eclipse.xtext.xbase.typesystem.override | |
| org.eclipse.xtext.xbase.typesystem.references |
Lightweight representations for the various
JvmTypeReference
which offer some rich API. |
| org.eclipse.xtext.xbase.typesystem.util |
| Modifier and Type | Method and Description |
|---|---|
IVisibilityHelper |
StaticallyImportedMemberProvider.getVisibilityHelper(org.eclipse.emf.ecore.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NonOverridableTypesProvider.addInnerTypes(JvmDeclaredType type,
String prefix,
IVisibilityHelper visibilityHelper,
Map<String,JvmIdentifiableElement> result) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IFeatureScopeSession
A feature scope session allows to successively enhance the reachable features
by adding local variables, parameters from the context or the list of imports.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFeatureScopeSession
Skeleton implementation for feature scope sessions.
|
class |
AbstractNestedFeatureScopeSession
An abstract nested feature scope session.
|
class |
ConstructorFeatureScopeSession |
class |
FeatureScopeSessionWithCapturedLocalElements |
class |
FeatureScopeSessionWithContext |
class |
FeatureScopeSessionWithDynamicExtensions |
class |
FeatureScopeSessionWithLocalElements |
class |
FeatureScopeSessionWithNamedStaticTypes |
class |
FeatureScopeSessionWithNestedTypes |
class |
FeatureScopeSessionWithoutLocalElements |
class |
FeatureScopeSessionWithStaticTypes |
class |
InstanceFeatureScopeSession |
class |
ReceiverFeatureScope
A scope that returns the features of a given receiver type.
|
class |
RootFeatureScopeSession
The root session.
|
| Constructor and Description |
|---|
ConstructorTypeScopeWrapper(org.eclipse.emf.ecore.EObject context,
IVisibilityHelper visibilityHelper,
IScope typeScope) |
ConstructorTypeScopeWrapper(org.eclipse.emf.ecore.EObject context,
IVisibilityHelper visibilityHelper,
IScope typeScope,
boolean strict) |
| Modifier and Type | Method and Description |
|---|---|
protected JvmOperation |
OverrideHelper.findOverriddenOperation(JvmOperation operation,
LightweightTypeReference declaringType,
TypeParameterSubstitutor<?> substitutor,
ITypeReferenceOwner owner,
IVisibilityHelper visibilityHelper) |
LightweightTypeReference |
OverrideHelper.getReturnTypeOfOverriddenOperation(JvmOperation operation,
ITypeReferenceOwner owner,
IVisibilityHelper visibilityHelper)
Returns
null if the given operation declares it's own return type or if it does not override
another operation. |
| Constructor and Description |
|---|
OverrideTester(IVisibilityHelper visibilityHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ParameterizedTypeReference.isTypeVisible(IVisibilityHelper visibilityHelper) |
boolean |
WildcardTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
UnknownTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
UnboundTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
ParameterizedTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
abstract boolean |
LightweightTypeReference.isVisible(IVisibilityHelper visibilityHelper)
Returns
true if this type is fully visible according to the given visibilityHelper. |
boolean |
InnerTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
InnerFunctionTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
FunctionTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
CompoundTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
ArrayTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
boolean |
AnyTypeReference.isVisible(IVisibilityHelper visibilityHelper) |
JvmTypeReference |
WildcardTypeReference.toJavaCompliantTypeReference(IVisibilityHelper helper) |
JvmTypeReference |
UnknownTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
JvmTypeReference |
UnboundTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
JvmTypeReference |
ParameterizedTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
abstract JvmTypeReference |
LightweightTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper)
Converts this type reference to a
JvmTypeReference that can
be used in Java source code. |
JvmTypeReference |
InnerTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
JvmTypeReference |
InnerFunctionTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
JvmTypeReference |
CompoundTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper)
Converts this type reference to a
JvmTypeReference that can
be used in Java source code. |
JvmTypeReference |
ArrayTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
JvmTypeReference |
AnyTypeReference.toJavaCompliantTypeReference(IVisibilityHelper visibilityHelper) |
protected JvmTypeReference |
LightweightTypeReference.toJavaCompliantTypeReference(List<LightweightTypeReference> types,
IVisibilityHelper visibilityHelper) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContextualVisibilityHelper |
class |
PublicVisibilityHelper
Context independent treatment of visibility computation.
|
| Modifier and Type | Field and Description |
|---|---|
static IVisibilityHelper |
IVisibilityHelper.ALL
Treats all members as visible members independently from their own visibility or
the visibility of their containers.
|
| Constructor and Description |
|---|
ContextualVisibilityHelper(IVisibilityHelper parent,
JvmType rawContextType) |
ContextualVisibilityHelper(IVisibilityHelper parent,
JvmType rawContextType,
String packageName) |
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType) |
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType,
String packageName) |
ContextualVisibilityHelper(IVisibilityHelper parent,
String packageName) |
Copyright © 2015. All Rights Reserved.