org.apache.beehive.controls.system.jdbc.parser
Class ParameterChecker

Object
  extended by ParameterChecker

public class ParameterChecker
extends Object

Does compile-time checking of reflection parameteres in the SQL annotations's statement element vs. method parameters. Invoked by the JdbcControlChecker.


Constructor Summary
ParameterChecker()
           
 
Method Summary
static void checkReflectionParameters(SqlFragmentContainer statement, MethodDeclaration methodDecl)
          Verify that all reflection parameters in the statement element can be mapped to method parameters.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterChecker

public ParameterChecker()
Method Detail

checkReflectionParameters

public static void checkReflectionParameters(SqlFragmentContainer statement,
                                             MethodDeclaration methodDecl)
Verify that all reflection parameters in the statement element can be mapped to method parameters.

Parameters:
statement - The parsed statement element.
methodDecl - The method declaration which was annotated.