@Deprecated public class XFeatureCallSugarDescriptionProvider extends DefaultJvmFeatureDescriptionProvider
JvmFeatureDescription
s for - XFeatureCall
-
XMemberFeatureCall
- XBinaryOperation
This includes operator overloading for XBinaryOperation
, invocation of
unparameterized methods without parenthesis, and access to getters using the property name (i.e. getFoo -> foo)DefaultJvmFeatureDescriptionProvider.ShadowingAwareAcceptor
contextType, featuresForTypeProvider, implicitArgument, implicitReceiver, preferStatics, priority, signatureProvider, visibilityService
Constructor and Description |
---|
XFeatureCallSugarDescriptionProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addFeatureDescriptions(JvmFeature feature,
ITypeArgumentContext context,
IAcceptor<JvmFeatureDescription> acceptor)
Deprecated.
|
protected void |
doCollectDescriptions(java.lang.String name,
IFeaturesForTypeProvider featureProvider,
JvmTypeReference typeReference,
ITypeArgumentContext context,
java.lang.Iterable<JvmTypeReference> hierarchy,
IAcceptor<JvmFeatureDescription> acceptor)
Deprecated.
|
protected java.lang.String |
getPropertyNameForGetterMethod(java.lang.String opName)
Deprecated.
|
protected int |
getSyntacticalNumberOfArguments(JvmOperation op)
Deprecated.
|
protected boolean |
isGetterMethod(JvmOperation op)
Deprecated.
|
void |
setOperatorMapping(OperatorMapping operatorMapping)
Deprecated.
|
createJvmFeatureDescription, createJvmFeatureDescription, createJvmFeatureDescription, doCollectDescriptions, getAllDescriptions, getAllFeatures, getDescriptionsByName, getFeaturesByName, getImplicitArgument, getImplicitReceiver, getNumberOfIrrelevantArguments, getPriority, getSignature, isExtensionProvider, isValidStaticState, isVisible, setContextType, setFeaturesForTypeProvider, setImplicitArgument, setImplicitReceiver, setPreferStatics, setPriority, setVisibilityService, toString
public XFeatureCallSugarDescriptionProvider()
public void setOperatorMapping(OperatorMapping operatorMapping)
protected void doCollectDescriptions(java.lang.String name, IFeaturesForTypeProvider featureProvider, JvmTypeReference typeReference, ITypeArgumentContext context, java.lang.Iterable<JvmTypeReference> hierarchy, IAcceptor<JvmFeatureDescription> acceptor)
doCollectDescriptions
in class DefaultJvmFeatureDescriptionProvider
public void addFeatureDescriptions(JvmFeature feature, ITypeArgumentContext context, IAcceptor<JvmFeatureDescription> acceptor)
addFeatureDescriptions
in class DefaultJvmFeatureDescriptionProvider
protected int getSyntacticalNumberOfArguments(JvmOperation op)
protected boolean isGetterMethod(JvmOperation op)
protected java.lang.String getPropertyNameForGetterMethod(java.lang.String opName)