Package org.eclipse.xtext.naming
Class DefaultCopyQualifiedNameService
- java.lang.Object
-
- org.eclipse.xtext.naming.DefaultCopyQualifiedNameService
-
- All Implemented Interfaces:
ICopyQualifiedNameService
public class DefaultCopyQualifiedNameService extends java.lang.Object implements ICopyQualifiedNameService
Default implementation forICopyQualifiedNameService. Clients might use this implementation as base class.- Since:
- 2.14
-
-
Constructor Summary
Constructors Constructor Description DefaultCopyQualifiedNameService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String_getQualifiedName(java.lang.Void nullObject, java.lang.Void context)protected java.lang.String_getQualifiedName(java.lang.Void nullObject, org.eclipse.emf.ecore.EObject context)protected java.lang.String_getQualifiedName(org.eclipse.emf.ecore.EObject object, java.lang.Void context)protected java.lang.String_getQualifiedName(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EObject context)protected QualifiedNamegetFullyQualifiedName(org.eclipse.emf.ecore.EObject object)java.lang.StringgetQualifiedName(org.eclipse.emf.ecore.EObject it, org.eclipse.emf.ecore.EObject context)Compute a textual description of the selectedElement.protected java.lang.StringtoFullyQualifiedName(org.eclipse.emf.ecore.EObject object)protected <T> java.lang.CharSequencetoQualifiedNames(java.util.List<T> list, org.eclipse.xtext.xbase.lib.Functions.Function1<? super T,? extends java.lang.String> toQualifiedNameFunction)protected java.lang.StringtoString(org.eclipse.emf.ecore.EObject it, QualifiedName fullyQualifiedName)
-
-
-
Method Detail
-
getQualifiedName
public java.lang.String getQualifiedName(org.eclipse.emf.ecore.EObject it, org.eclipse.emf.ecore.EObject context)Description copied from interface:ICopyQualifiedNameServiceCompute a textual description of the selectedElement. Depending on context this might be different.- Specified by:
getQualifiedNamein interfaceICopyQualifiedNameService- Parameters:
it- The element to calculate the description for.context- The context to consider when calculating the description.- Returns:
- A textual description of the element. For a class this might be a fully qualified name such as "com.mydomain.MyClass" whereas for a method the parameter types might be included such "com.mydomain.MyClass.myMethod(String,int)".
-
_getQualifiedName
protected java.lang.String _getQualifiedName(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EObject context)
-
_getQualifiedName
protected java.lang.String _getQualifiedName(org.eclipse.emf.ecore.EObject object, java.lang.Void context)
-
_getQualifiedName
protected java.lang.String _getQualifiedName(java.lang.Void nullObject, org.eclipse.emf.ecore.EObject context)
-
_getQualifiedName
protected java.lang.String _getQualifiedName(java.lang.Void nullObject, java.lang.Void context)
-
toQualifiedNames
protected <T> java.lang.CharSequence toQualifiedNames(java.util.List<T> list, org.eclipse.xtext.xbase.lib.Functions.Function1<? super T,? extends java.lang.String> toQualifiedNameFunction)
-
toFullyQualifiedName
protected java.lang.String toFullyQualifiedName(org.eclipse.emf.ecore.EObject object)
-
getFullyQualifiedName
protected QualifiedName getFullyQualifiedName(org.eclipse.emf.ecore.EObject object)
-
toString
protected java.lang.String toString(org.eclipse.emf.ecore.EObject it, QualifiedName fullyQualifiedName)
-
-