Package org.eclipse.xtext.resource
Class ForwardingEObjectDescription
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.eclipse.xtext.resource.ForwardingEObjectDescription
-
- All Implemented Interfaces:
IEObjectDescription
- Direct Known Subclasses:
SuperCallScope.ExplicitCallDescription
public abstract class ForwardingEObjectDescription extends com.google.common.collect.ForwardingObject implements IEObjectDescription
An abstract implementation ofIEObjectDescription
that delegates all method invocations to another instance. Suitable to override and specialize behavior.- Since:
- 2.9
-
-
Constructor Summary
Constructors Constructor Description ForwardingEObjectDescription(IEObjectDescription delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IEObjectDescription
delegate()
org.eclipse.emf.ecore.EClass
getEClass()
org.eclipse.emf.ecore.EObject
getEObjectOrProxy()
org.eclipse.emf.common.util.URI
getEObjectURI()
QualifiedName
getName()
QualifiedName
getQualifiedName()
java.lang.String
getUserData(java.lang.String key)
Access to specific user data.java.lang.String[]
getUserDataKeys()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ForwardingEObjectDescription
public ForwardingEObjectDescription(IEObjectDescription delegate)
-
-
Method Detail
-
delegate
protected IEObjectDescription delegate()
- Specified by:
delegate
in classcom.google.common.collect.ForwardingObject
-
toString
public java.lang.String toString()
- Overrides:
toString
in classcom.google.common.collect.ForwardingObject
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass()
- Specified by:
getEClass
in interfaceIEObjectDescription
- Returns:
- the EClass of the described element.
-
getEObjectOrProxy
public org.eclipse.emf.ecore.EObject getEObjectOrProxy()
- Specified by:
getEObjectOrProxy
in interfaceIEObjectDescription
- Returns:
- the actual element or a proxy.
-
getEObjectURI
public org.eclipse.emf.common.util.URI getEObjectURI()
- Specified by:
getEObjectURI
in interfaceIEObjectDescription
- Returns:
- the full URI to the described element
-
getName
public QualifiedName getName()
- Specified by:
getName
in interfaceIEObjectDescription
- Returns:
- the name, this element can be accessed by.
-
getQualifiedName
public QualifiedName getQualifiedName()
- Specified by:
getQualifiedName
in interfaceIEObjectDescription
- Returns:
- the qualified name of the element.
-
getUserData
public java.lang.String getUserData(java.lang.String key)
Description copied from interface:IEObjectDescription
Access to specific user data.- Specified by:
getUserData
in interfaceIEObjectDescription
- Parameters:
key
- the user data key. May not benull
. Unknown keys yieldnull
.- Returns:
- the value. May be
null
.
-
getUserDataKeys
public java.lang.String[] getUserDataKeys()
- Specified by:
getUserDataKeys
in interfaceIEObjectDescription
- Returns:
- all available user data keys. Never
null
.
-
-