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 ofIEObjectDescriptionthat 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 IEObjectDescriptiondelegate()org.eclipse.emf.ecore.EClassgetEClass()org.eclipse.emf.ecore.EObjectgetEObjectOrProxy()org.eclipse.emf.common.util.URIgetEObjectURI()QualifiedNamegetName()QualifiedNamegetQualifiedName()java.lang.StringgetUserData(java.lang.String key)Access to specific user data.java.lang.String[]getUserDataKeys()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ForwardingEObjectDescription
public ForwardingEObjectDescription(IEObjectDescription delegate)
-
-
Method Detail
-
delegate
protected IEObjectDescription delegate()
- Specified by:
delegatein classcom.google.common.collect.ForwardingObject
-
toString
public java.lang.String toString()
- Overrides:
toStringin classcom.google.common.collect.ForwardingObject
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass()
- Specified by:
getEClassin interfaceIEObjectDescription- Returns:
- the EClass of the described element.
-
getEObjectOrProxy
public org.eclipse.emf.ecore.EObject getEObjectOrProxy()
- Specified by:
getEObjectOrProxyin interfaceIEObjectDescription- Returns:
- the actual element or a proxy.
-
getEObjectURI
public org.eclipse.emf.common.util.URI getEObjectURI()
- Specified by:
getEObjectURIin interfaceIEObjectDescription- Returns:
- the full URI to the described element
-
getName
public QualifiedName getName()
- Specified by:
getNamein interfaceIEObjectDescription- Returns:
- the name, this element can be accessed by.
-
getQualifiedName
public QualifiedName getQualifiedName()
- Specified by:
getQualifiedNamein interfaceIEObjectDescription- Returns:
- the qualified name of the element.
-
getUserData
public java.lang.String getUserData(java.lang.String key)
Description copied from interface:IEObjectDescriptionAccess to specific user data.- Specified by:
getUserDatain 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:
getUserDataKeysin interfaceIEObjectDescription- Returns:
- all available user data keys. Never
null.
-
-