Class ReflectiveMultiResolver

  • All Implemented Interfaces:
    Resolver

    public class ReflectiveMultiResolver
    extends MultiResolver
    Resolver which uses reflection to instantiate a FunDef. This reduces the amount of anonymous classes.
    Since:
    Mar 23, 2006
    Author:
    jhyde
    • Constructor Detail

      • ReflectiveMultiResolver

        public ReflectiveMultiResolver​(String name,
                                       String signature,
                                       String description,
                                       String[] signatures,
                                       Class clazz)
      • ReflectiveMultiResolver

        public ReflectiveMultiResolver​(String name,
                                       String signature,
                                       String description,
                                       String[] signatures,
                                       Class clazz,
                                       String[] reservedWords)
    • Method Detail

      • getReservedWords

        public String[] getReservedWords()
        Description copied from interface: Resolver
        Returns an array of symbolic constants which can appear as arguments to this function.

        For example, the DrilldownMember may take the symbol RECURSIVE as an argument. Most functions do not define any symbolic constants.

        Specified by:
        getReservedWords in interface Resolver
        Overrides:
        getReservedWords in class MultiResolver
        Returns:
        An array of the names of the symbolic constants