Class AbstractClosureTypeHelper

    • Method Detail

      • getClosure

        protected XClosure getClosure()
      • computeTypes

        protected abstract void computeTypes()
        Noreference:
        This method is not intended to be referenced by clients.
      • getExpectedClosureType

        public abstract FunctionTypeReference getExpectedClosureType()
        This method is only public for testing purpose.
        Noreference:
        This method is not intended to be referenced by clients.
      • getOperation

        public abstract org.eclipse.xtext.common.types.JvmOperation getOperation()
        This method is only public for testing purpose.
        Noreference:
        This method is not intended to be referenced by clients.
      • validate

        public boolean validate​(org.eclipse.xtext.util.IAcceptor<? super org.eclipse.xtext.diagnostics.AbstractDiagnostic> result)
        Description copied from interface: IApplicableCandidate
        Produce diagnostics for this condidate. It is not the responsibility of this candidate to propagate the acceptor to its children.
        Specified by:
        validate in interface IApplicableCandidate
        Returns:
        true if further validation should be performed.
      • getParameters

        public abstract java.util.List<org.eclipse.xtext.common.types.JvmFormalParameter> getParameters()
        Description copied from interface: IClosureCandidate
        Returns the effective list of parameters. This may either be the declared parameter list or the synthetic parameter list.
        Specified by:
        getParameters in interface IClosureCandidate