Class PropertiesTypeInfo

    • Constructor Detail

      • PropertiesTypeInfo

        public PropertiesTypeInfo​(PropertiesType type)
    • Method Detail

      • getMethods

        public MethodList getMethods()
        Specified by:
        getMethods in interface ITypeInfo
        Overrides:
        getMethods in class BaseTypeInfo
        Returns:
        An unmodifiable random access list of IMethodInfo instances. The list is sorted ascending by name. Returns an empty list if there are no methods.
      • getCallableMethod

        public IMethodInfo getCallableMethod​(CharSequence strMethod,
                                             IType... params)
        Description copied from interface: ITypeInfo
        Returns a IMethodInfo matching the specified name and has parameter types that produce the best match.

        If there is a tie with method names then this will throw an illegal argument exception.

        Specified by:
        getCallableMethod in interface ITypeInfo
        Overrides:
        getCallableMethod in class BaseTypeInfo
        Parameters:
        strMethod - The name of the method to find.
        params - Represents the exact number, order, and type of parameters in the method. A null value here is treated as an empty array.
        Returns:
        A IMethodInfo matching the name and parameter types.
      • getMethod

        public IMethodInfo getMethod​(CharSequence methodName,
                                     IType... params)
        Description copied from interface: ITypeInfo
        Returns a IMethodInfo matching the specified name and parameter types or null if no match is found.

        Note params must exactly match those of the target method in number, order, and type. If null, params is treated as an empty array.

        Specified by:
        getMethod in interface ITypeInfo
        Overrides:
        getMethod in class BaseTypeInfo
        Parameters:
        methodName - The name of the method to find.
        params - Represents the exact number, order, and type of parameters in the method. A null value here is treated as an empty array.
        Returns:
        A IMethodInfo matching the name and parameter types.
      • getProperties

        public List<? extends IPropertyInfo> getProperties()
        Specified by:
        getProperties in interface ITypeInfo
        Overrides:
        getProperties in class BaseTypeInfo
        Returns:
        An unmodifiable random access list of IPropertyInfo instances. The list is sorted ascending by name. Returns an empty list if there are no properties.