Package org.eclipse.persistence.jpa.jpql

Examples of org.eclipse.persistence.jpa.jpql.ParameterTypeVisitor


   * @param inputParameter The {@link InputParameter} to retrieve its type
   * @return Either the closest type of the input parameter or <code>null</code> if the type could
   * not be determined
   */
  public IType getParameterType(InputParameter inputParameter) {
    ParameterTypeVisitor visitor = getParameterTypeVisitor();
    try {
      inputParameter.accept(visitor);
      return (IType) visitor.getType();
    }
    finally {
      visitor.dispose();
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.ParameterTypeVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.