@@ -0,0 +1,1060 @@
+package org.xblackcat.sjpu.storage.ann;%0A%0Aimport java.lang.annotation.ElementType;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0Aimport java.lang.annotation.Target;%0A%0A/**%0A * Mark with the annotation a method parameter to substitute in runtime a value into SQL. It helpfull to pass the same value to a different%0A * places of SQL. Value of the annotation represent an indexed argument in SQL query. Indexed argument represented with%0A * '%3Ccode%3E%7B&lt;index&gt;%7D%3C/code%3E' construction. Argument should be String type.%0A * %3Cp%3E%0A * Example:%0A * %3Cpre%3E%3Ccode%3E%0A *     interface ITestAH extends IAH %7B%0A *         %7B@linkplain Sql @SQL%7D(%22INSERT INTO %60duplicate%60(%60id%60, %60name%60, %60name_copy%60) VALUES (?, %7B1%7D, %7B1%7D)%22)%0A *         void addName(int id, @SqlArg(1) String name) throws %7B@linkplain org.xblackcat.sjpu.storage.StorageException StorageException%7D;%0A *     %7D%0A * %3C/code%3E%3C/pre%3E%0A * %3Cp%3E%0A * 17.02.14 11:21%0A *%0A * @author xBlackCat%0A */%0A@Retention(RetentionPolicy.RUNTIME)%0A@Target(%7BElementType.PARAMETER%7D)%0Apublic @interface SqlArg %7B%0A    int value();%0A%7D%0A

Introduce a new annotation for substituting repeatable value in to query