Package org.eclipse.xtend.core.jvmmodel
Class SyntheticNameClashResolver
- java.lang.Object
-
- org.eclipse.xtend.core.jvmmodel.SyntheticNameClashResolver
-
public class SyntheticNameClashResolver extends java.lang.Object
Renames synthetic elements to avoid name clashes. Dispatch methods are handled by validation.
-
-
Constructor Summary
Constructors Constructor Description SyntheticNameClashResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
collides(org.eclipse.xtext.common.types.JvmIdentifiableElement element, java.lang.String currentName, com.google.common.collect.Multimap<java.lang.String,org.eclipse.xtext.common.types.JvmIdentifiableElement> scope)
protected boolean
isAnonymousExtensionField(org.eclipse.emf.ecore.EObject source)
protected boolean
isCreateExtension(org.eclipse.emf.ecore.EObject source)
protected boolean
isRenameable(org.eclipse.xtext.common.types.JvmIdentifiableElement element)
void
resolveNameClashes(org.eclipse.xtext.common.types.JvmGenericType type)
-
-
-
Method Detail
-
resolveNameClashes
public void resolveNameClashes(org.eclipse.xtext.common.types.JvmGenericType type)
-
collides
protected boolean collides(org.eclipse.xtext.common.types.JvmIdentifiableElement element, java.lang.String currentName, com.google.common.collect.Multimap<java.lang.String,org.eclipse.xtext.common.types.JvmIdentifiableElement> scope)
-
isRenameable
protected boolean isRenameable(org.eclipse.xtext.common.types.JvmIdentifiableElement element)
-
isAnonymousExtensionField
protected boolean isAnonymousExtensionField(org.eclipse.emf.ecore.EObject source)
-
isCreateExtension
protected boolean isCreateExtension(org.eclipse.emf.ecore.EObject source)
-
-