private void analyzeClassFields(String className,int action){
  try {
    Class<?> dynamicClass=Class.forName(className);
    Field[] fields=dynamicClass.getDeclaredFields();
    for (    Field field : fields) {
      if (isPrivateAndNonPrimitive(field)) {
        oneToAnyConditions(className,field,action);
        manyToAnyConditions(className,field,action);
      }
    }
  }
 catch (  ClassNotFoundException ex) {
    ex.printStackTrace();
    throw new DatabaseGenerateException(DatabaseGenerateException.CLASS_NOT_FOUND + className);
  }
}

private void analyzeClassFields ( String className , int action ) { try { Class < ? > dynamicClass = Class . forName ( className ) ; Field [ ] fields = dynamicClass . getDeclaredFields ( ) ; for ( Field field : fields ) { if ( isPrivateAndNonPrimitive ( field ) ) { oneToAnyConditions ( className , field , action ) ; manyToAnyConditions ( className , field , action ) ; } } } catch ( ClassNotFoundException ex ) { ex . printStackTrace ( ) ; throw new DatabaseGenerateException ( DatabaseGenerateException . CLASS_NOT_FOUND + className ) ; } }
introspection of the passed in class . analyze the fields of current class and find out the associations of it .
