org.eclipse.xtext.xbase.scoping.featurecalls
Class JvmFeatureDescription

java.lang.Object
  extended by org.eclipse.xtext.resource.AbstractEObjectDescription
      extended by org.eclipse.xtext.resource.EObjectDescription
          extended by org.eclipse.xtext.xbase.scoping.featurecalls.JvmFeatureDescription
All Implemented Interfaces:
IEObjectDescription, IValidatedEObjectDescription

public class JvmFeatureDescription
extends EObjectDescription
implements IValidatedEObjectDescription

Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
JvmFeatureDescription(QualifiedName qualifiedName, JvmFeature feature, ITypeArgumentContext rawTypeContext, com.google.inject.Provider<java.lang.String> shadowingStringProvider, boolean isVisible, boolean isValidStaticState, XExpression implicitReceiver, XExpression implicitArgument, int numberOfIrrelevantArguments)
           
JvmFeatureDescription(QualifiedName qualifiedName, JvmFeature feature, ITypeArgumentContext rawTypeContext, java.lang.String shadowingString, boolean isVisible, boolean isValidStaticState, XExpression implicitReceiver, XExpression implicitArgument, int numberOfIrrelevantArguments)
           
 
Method Summary
 java.util.List<java.util.EnumSet<TypeConformanceResult.Kind>> getArgumentConversionHints()
           
 JvmIdentifiableElement getEObjectOrProxy()
           
 ITypeArgumentContext getGenericTypeContext()
           
 XExpression getImplicitArgument()
           
 XExpression getImplicitReceiver()
           
 java.lang.String getIssueCode()
           
 JvmFeature getJvmFeature()
           
 java.lang.String getKey()
           
 int getNumberOfIrrelevantArguments()
           
 ITypeArgumentContext getRawTypeContext()
           
 boolean isFastChecked()
           
 boolean isGenericsChecked()
           
 boolean isSameValidationState(IValidatedEObjectDescription other)
           
 boolean isTypesChecked()
           
 boolean isValid()
           
 boolean isValidStaticState()
           
 boolean isVisible()
           
 void setArgumentConversionHints(java.util.List<java.util.EnumSet<TypeConformanceResult.Kind>> argumentConversionHints)
           
 void setFastChecked()
           
 void setGenericsChecked()
           
 void setGenericTypeContext(ITypeArgumentContext genericTypeContext)
           
 void setIssueCode(java.lang.String issueCode)
           
 void setTypesChecked()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtext.resource.EObjectDescription
create, create, create, create, getEClass, getEObjectURI, getName, getQualifiedName, getUserData, getUserDataKeys, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.resource.IEObjectDescription
getEClass, getEObjectURI, getName, getQualifiedName, getUserData, getUserDataKeys
 

Constructor Detail

JvmFeatureDescription

public JvmFeatureDescription(QualifiedName qualifiedName,
                             JvmFeature feature,
                             ITypeArgumentContext rawTypeContext,
                             java.lang.String shadowingString,
                             boolean isVisible,
                             boolean isValidStaticState,
                             XExpression implicitReceiver,
                             XExpression implicitArgument,
                             int numberOfIrrelevantArguments)

JvmFeatureDescription

public JvmFeatureDescription(QualifiedName qualifiedName,
                             JvmFeature feature,
                             ITypeArgumentContext rawTypeContext,
                             com.google.inject.Provider<java.lang.String> shadowingStringProvider,
                             boolean isVisible,
                             boolean isValidStaticState,
                             XExpression implicitReceiver,
                             XExpression implicitArgument,
                             int numberOfIrrelevantArguments)
Method Detail

getEObjectOrProxy

public JvmIdentifiableElement getEObjectOrProxy()
Specified by:
getEObjectOrProxy in interface IEObjectDescription
Specified by:
getEObjectOrProxy in interface IValidatedEObjectDescription
Overrides:
getEObjectOrProxy in class EObjectDescription
Returns:
the actual element or a proxy.

getJvmFeature

public JvmFeature getJvmFeature()

getRawTypeContext

public ITypeArgumentContext getRawTypeContext()

getGenericTypeContext

public ITypeArgumentContext getGenericTypeContext()

setGenericTypeContext

public void setGenericTypeContext(ITypeArgumentContext genericTypeContext)

getKey

public java.lang.String getKey()
Specified by:
getKey in interface IValidatedEObjectDescription

toString

public java.lang.String toString()
Overrides:
toString in class AbstractEObjectDescription

isValid

public boolean isValid()
Specified by:
isValid in interface IValidatedEObjectDescription

isVisible

public boolean isVisible()
Specified by:
isVisible in interface IValidatedEObjectDescription

isValidStaticState

public boolean isValidStaticState()
Specified by:
isValidStaticState in interface IValidatedEObjectDescription

getImplicitReceiver

public XExpression getImplicitReceiver()

getImplicitArgument

public XExpression getImplicitArgument()

getNumberOfIrrelevantArguments

public int getNumberOfIrrelevantArguments()

setIssueCode

public void setIssueCode(java.lang.String issueCode)
Specified by:
setIssueCode in interface IValidatedEObjectDescription

getIssueCode

public java.lang.String getIssueCode()
Specified by:
getIssueCode in interface IValidatedEObjectDescription

isGenericsChecked

public boolean isGenericsChecked()

setGenericsChecked

public void setGenericsChecked()

isTypesChecked

public boolean isTypesChecked()

setTypesChecked

public void setTypesChecked()

isFastChecked

public boolean isFastChecked()

setFastChecked

public void setFastChecked()

getArgumentConversionHints

public java.util.List<java.util.EnumSet<TypeConformanceResult.Kind>> getArgumentConversionHints()

setArgumentConversionHints

public void setArgumentConversionHints(java.util.List<java.util.EnumSet<TypeConformanceResult.Kind>> argumentConversionHints)

isSameValidationState

public boolean isSameValidationState(IValidatedEObjectDescription other)
Specified by:
isSameValidationState in interface IValidatedEObjectDescription