Interface ITypeInfo

    • Method Detail

      • getProperties

        List<? extends IPropertyInfo> getProperties()
        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.
      • getProperty

        IPropertyInfo getProperty​(CharSequence propName)
        Get a property mapped to the specified name.
        Parameters:
        propName - The property name.
        Returns:
        An IPropertyInfo corresponding to the property name.
      • getMethods

        MethodList getMethods()
        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.
      • getMethod

        IMethodInfo getMethod​(CharSequence methodName,
                              IType... params)
        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.

        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.
      • getCallableMethod

        IMethodInfo getCallableMethod​(CharSequence method,
                                      IType... params)
        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.

        Parameters:
        method - 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.
      • getConstructors

        List<? extends IConstructorInfo> getConstructors()
        Returns:
        An unmodifiable random access list of IConstructorInfo instances. The list is sorted ascending by name. Returns an empty list if there are no constructors.
      • getConstructor

        IConstructorInfo getConstructor​(IType... params)
        Returns a IConstructorInfo that has parameter types that produce the best match.

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

        Parameters:
        params - Represents the exact number, order, and type of parameters in the constructor. A null value here is treated as an empty array.
        Returns:
        A IConstructorInfo matching the parameter types.
      • getCallableConstructor

        IConstructorInfo getCallableConstructor​(IType... params)
        Returns a IConstructorInfo matching the specified parameter types or null if no match is found.
        Parameters:
        params - Represents the exact number, order, and type of parameters in the constructor. A null value here is treated as an empty array.
        Returns:
        A IConstructorInfo matching the parameter types.
      • getEvents

        List<? extends IEventInfo> getEvents()
        Returns:
        An unmodifiable random access list of IEventInfo instances. The list is sorted ascending by name. Returns an empty list if ther are no events.
      • getEvent

        IEventInfo getEvent​(CharSequence event)
        Get an event mapped to the specified name.
        Parameters:
        event - The event name.
        Returns:
        An IEventInfo corresponding to the event name.