Class DefaultParameterTypeVisitor

  • All Implemented Interfaces:
    ExpressionVisitor

    public class DefaultParameterTypeVisitor
    extends ParameterTypeVisitor
    This visitor calculates the type of an input parameter.

    Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

    Version:
    2.5
    Author:
    Pascal Filion
    Since:
    2.4
    • Constructor Detail

      • DefaultParameterTypeVisitor

        public DefaultParameterTypeVisitor​(JPQLQueryContext queryContext)
        Creates a new DefaultParameterTypeVisitor.
        Parameters:
        queryContext - The context used to query information about the application metadata and cached information
    • Method Detail

      • getType

        public IType getType()
        Returns the type, if it can be determined, of the input parameter.
        Specified by:
        getType in class ParameterTypeVisitor
        Returns:
        Either the closed type or Object if it can't be determined