Class ExtensionScopeHelper


  • public class ExtensionScopeHelper
    extends java.lang.Object
    • Method Detail

      • isPossibleExtension

        protected boolean isPossibleExtension​(org.eclipse.xtext.common.types.JvmFeature feature)
        Features that are valid extensions are all operations with at least one parameter.
      • isResolvedReceiverType

        protected boolean isResolvedReceiverType()
      • isMatchingFirstParameterDeepCheck

        protected boolean isMatchingFirstParameterDeepCheck​(org.eclipse.xtext.common.types.JvmOperation feature)
        Check the type of the first parameter against the argument type rather than the rawArgumentType. Should not be used during linking since we need proper error messages there for type mismatches.
      • isMatchingFirstParameter

        protected boolean isMatchingFirstParameter​(org.eclipse.xtext.common.types.JvmOperation feature)