Class FunctionalOptionTypeComputer

    • Constructor Detail

      • FunctionalOptionTypeComputer

        public FunctionalOptionTypeComputer()
    • Method Detail

      • getSupportedType

        public String getSupportedType()
        Description copied from interface: TypeComputer
        Returns the supported type ID of this computer.
        Returns:
        the supported type ID, registered in extension point.
      • getStaticInvocationParams

        protected Set<org.eclipse.xtext.util.Pair<String,​Integer>> getStaticInvocationParams​(StaticFeatureAccess featureAccess)
        Description copied from class: AbstractInvocationTypeComputer
        Gets the static invocation parameters. Should return both English and Russian variants of method name. Clients should override this method to implement type computer on static invocation context.
        Overrides:
        getStaticInvocationParams in class AbstractInvocationTypeComputer
        Parameters:
        featureAccess - the static feature access, if need dependably compute the collection of methods.
        Returns:
        the static invocation parameters, collection of global context method name and position of string literal in the invocation parameters.