mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Generate stubs, adapt tests
This commit is contained in:
@@ -11,7 +11,7 @@ import java.util.HashMap;
|
||||
import freemarker.template.Template;
|
||||
import freemarker.template.Configuration;
|
||||
import freemarker.cache.StringTemplateLoader;
|
||||
import freemarker.template.ParserConfiguration;
|
||||
import freemarker.core.ParserConfiguration;
|
||||
|
||||
@Controller
|
||||
public class FreemarkerSSTI {
|
||||
@@ -121,7 +121,7 @@ public class FreemarkerSSTI {
|
||||
|
||||
@GetMapping(value = "bad10")
|
||||
public void bad10(HttpServletRequest request) {
|
||||
HashMap root = new HashMap();
|
||||
HashMap<Object,Object> root = new HashMap();
|
||||
String code = request.getParameter("code");
|
||||
root.put("code", code);
|
||||
Configuration cfg = new Configuration();
|
||||
|
||||
@@ -36,11 +36,19 @@ edges
|
||||
| VelocitySSTI.java:59:17:59:44 | getParameter(...) : String | VelocitySSTI.java:62:42:62:45 | code : String |
|
||||
| VelocitySSTI.java:62:25:62:46 | new StringReader(...) : StringReader | VelocitySSTI.java:63:25:63:30 | reader |
|
||||
| VelocitySSTI.java:62:42:62:45 | code : String | VelocitySSTI.java:62:25:62:46 | new StringReader(...) : StringReader |
|
||||
| VelocitySSTI.java:69:17:69:44 | getParameter(...) : String | VelocitySSTI.java:77:21:77:27 | context |
|
||||
| VelocitySSTI.java:83:17:83:44 | getParameter(...) : String | VelocitySSTI.java:89:60:89:66 | context |
|
||||
| VelocitySSTI.java:95:17:95:44 | getParameter(...) : String | VelocitySSTI.java:102:11:102:17 | context |
|
||||
| VelocitySSTI.java:108:17:108:44 | getParameter(...) : String | VelocitySSTI.java:115:11:115:17 | context |
|
||||
| VelocitySSTI.java:120:17:120:44 | getParameter(...) : String | VelocitySSTI.java:123:37:123:40 | code |
|
||||
| VelocitySSTI.java:69:17:69:44 | getParameter(...) : String | VelocitySSTI.java:72:23:72:26 | code : String |
|
||||
| VelocitySSTI.java:72:3:72:9 | context [post update] : AbstractContext | VelocitySSTI.java:77:21:77:27 | context |
|
||||
| VelocitySSTI.java:72:23:72:26 | code : String | VelocitySSTI.java:72:3:72:9 | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:83:17:83:44 | getParameter(...) : String | VelocitySSTI.java:86:23:86:26 | code : String |
|
||||
| VelocitySSTI.java:86:3:86:9 | context [post update] : AbstractContext | VelocitySSTI.java:90:52:90:58 | context |
|
||||
| VelocitySSTI.java:86:23:86:26 | code : String | VelocitySSTI.java:86:3:86:9 | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:96:17:96:44 | getParameter(...) : String | VelocitySSTI.java:99:23:99:26 | code : String |
|
||||
| VelocitySSTI.java:99:3:99:9 | context [post update] : AbstractContext | VelocitySSTI.java:103:11:103:17 | context |
|
||||
| VelocitySSTI.java:99:23:99:26 | code : String | VelocitySSTI.java:99:3:99:9 | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:109:17:109:44 | getParameter(...) : String | VelocitySSTI.java:112:23:112:26 | code : String |
|
||||
| VelocitySSTI.java:112:3:112:9 | context [post update] : AbstractContext | VelocitySSTI.java:116:11:116:17 | context |
|
||||
| VelocitySSTI.java:112:23:112:26 | code : String | VelocitySSTI.java:112:3:112:9 | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:121:17:121:44 | getParameter(...) : String | VelocitySSTI.java:124:37:124:40 | code |
|
||||
nodes
|
||||
| FreemarkerSSTI.java:23:17:23:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| FreemarkerSSTI.java:24:19:24:40 | new StringReader(...) : StringReader | semmle.label | new StringReader(...) : StringReader |
|
||||
@@ -99,15 +107,23 @@ nodes
|
||||
| VelocitySSTI.java:62:42:62:45 | code : String | semmle.label | code : String |
|
||||
| VelocitySSTI.java:63:25:63:30 | reader | semmle.label | reader |
|
||||
| VelocitySSTI.java:69:17:69:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:72:3:72:9 | context [post update] : AbstractContext | semmle.label | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:72:23:72:26 | code : String | semmle.label | code : String |
|
||||
| VelocitySSTI.java:77:21:77:27 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:83:17:83:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:89:60:89:66 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:95:17:95:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:102:11:102:17 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:108:17:108:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:115:11:115:17 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:120:17:120:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:123:37:123:40 | code | semmle.label | code |
|
||||
| VelocitySSTI.java:86:3:86:9 | context [post update] : AbstractContext | semmle.label | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:86:23:86:26 | code : String | semmle.label | code : String |
|
||||
| VelocitySSTI.java:90:52:90:58 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:96:17:96:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:99:3:99:9 | context [post update] : AbstractContext | semmle.label | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:99:23:99:26 | code : String | semmle.label | code : String |
|
||||
| VelocitySSTI.java:103:11:103:17 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:109:17:109:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:112:3:112:9 | context [post update] : AbstractContext | semmle.label | context [post update] : AbstractContext |
|
||||
| VelocitySSTI.java:112:23:112:26 | code : String | semmle.label | code : String |
|
||||
| VelocitySSTI.java:116:11:116:17 | context | semmle.label | context |
|
||||
| VelocitySSTI.java:121:17:121:44 | getParameter(...) : String | semmle.label | getParameter(...) : String |
|
||||
| VelocitySSTI.java:124:37:124:40 | code | semmle.label | code |
|
||||
subpaths
|
||||
#select
|
||||
| FreemarkerSSTI.java:27:35:27:40 | reader | FreemarkerSSTI.java:23:17:23:44 | getParameter(...) : String | FreemarkerSSTI.java:27:35:27:40 | reader | Potential arbitrary code execution due to $@. | FreemarkerSSTI.java:23:17:23:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
@@ -130,7 +146,7 @@ subpaths
|
||||
| VelocitySSTI.java:53:45:53:50 | reader | VelocitySSTI.java:44:17:44:44 | getParameter(...) : String | VelocitySSTI.java:53:45:53:50 | reader | Potential arbitrary code execution due to $@. | VelocitySSTI.java:44:17:44:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:63:25:63:30 | reader | VelocitySSTI.java:59:17:59:44 | getParameter(...) : String | VelocitySSTI.java:63:25:63:30 | reader | Potential arbitrary code execution due to $@. | VelocitySSTI.java:59:17:59:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:77:21:77:27 | context | VelocitySSTI.java:69:17:69:44 | getParameter(...) : String | VelocitySSTI.java:77:21:77:27 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:69:17:69:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:89:60:89:66 | context | VelocitySSTI.java:83:17:83:44 | getParameter(...) : String | VelocitySSTI.java:89:60:89:66 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:83:17:83:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:102:11:102:17 | context | VelocitySSTI.java:95:17:95:44 | getParameter(...) : String | VelocitySSTI.java:102:11:102:17 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:95:17:95:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:115:11:115:17 | context | VelocitySSTI.java:108:17:108:44 | getParameter(...) : String | VelocitySSTI.java:115:11:115:17 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:108:17:108:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:123:37:123:40 | code | VelocitySSTI.java:120:17:120:44 | getParameter(...) : String | VelocitySSTI.java:123:37:123:40 | code | Potential arbitrary code execution due to $@. | VelocitySSTI.java:120:17:120:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:90:52:90:58 | context | VelocitySSTI.java:83:17:83:44 | getParameter(...) : String | VelocitySSTI.java:90:52:90:58 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:83:17:83:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:103:11:103:17 | context | VelocitySSTI.java:96:17:96:44 | getParameter(...) : String | VelocitySSTI.java:103:11:103:17 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:96:17:96:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:116:11:116:17 | context | VelocitySSTI.java:109:17:109:44 | getParameter(...) : String | VelocitySSTI.java:116:11:116:17 | context | Potential arbitrary code execution due to $@. | VelocitySSTI.java:109:17:109:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
| VelocitySSTI.java:124:37:124:40 | code | VelocitySSTI.java:121:17:121:44 | getParameter(...) : String | VelocitySSTI.java:124:37:124:40 | code | Potential arbitrary code execution due to $@. | VelocitySSTI.java:121:17:121:44 | getParameter(...) | a template value loaded from a remote source. |
|
||||
|
||||
@@ -58,7 +58,7 @@ public class VelocitySSTI {
|
||||
String name = "ttemplate";
|
||||
String code = request.getParameter("code");
|
||||
|
||||
RuntimeServices runtimeServices = new RuntimeServices();
|
||||
RuntimeServices runtimeServices = null;
|
||||
StringReader reader = new StringReader(code);
|
||||
runtimeServices.parse(reader, new Template());
|
||||
}
|
||||
@@ -86,7 +86,8 @@ public class VelocitySSTI {
|
||||
context.put("code", code);
|
||||
|
||||
StringWriter w = new StringWriter();
|
||||
VelocityEngine.mergeTemplate("testtemplate.vm", "UTF-8", context, w);
|
||||
VelocityEngine engine = null;
|
||||
engine.mergeTemplate("testtemplate.vm", "UTF-8", context, w);
|
||||
}
|
||||
|
||||
@GetMapping(value = "bad6")
|
||||
|
||||
@@ -1 +1 @@
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../stubs/validation-api-2.0.1.Final:${testdir}/../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/apache-commons-jexl-2.1.1:${testdir}/../../../stubs/apache-commons-jexl-3.1:${testdir}/../../../stubs/apache-commons-logging-1.2:${testdir}/../../../stubs/mvel2-2.4.7:${testdir}/../../../stubs/groovy-all-3.0.7:${testdir}/../../../stubs/servlet-api-2.4:${testdir}/../../../stubs/scriptengine:${testdir}/../../../stubs/jsr223-api:${testdir}/../../../experimental/stubs/apache-freemarker-2.3.31:${testdir}/../../../experimental/stubs/jinjava-2.6.0:${testdir}/../../../experimental/stubs/pebble-3.1.5:${testdir}/../../../experimental/stubs/thymeleaf-3.0.14:${testdir}/../../../experimental/stubs/apache-velocity-2.3
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../stubs/validation-api-2.0.1.Final:${testdir}/../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/apache-commons-jexl-2.1.1:${testdir}/../../../stubs/apache-commons-jexl-3.1:${testdir}/../../../stubs/apache-commons-logging-1.2:${testdir}/../../../stubs/mvel2-2.4.7:${testdir}/../../../stubs/groovy-all-3.0.7:${testdir}/../../../stubs/servlet-api-2.4:${testdir}/../../../stubs/scriptengine:${testdir}/../../../stubs/jsr223-api:${testdir}/../../../stubs/apache-freemarker-2.3.31:${testdir}/../../../stubs/jinjava-2.6.0:${testdir}/../../../stubs/pebble-3.1.5:${testdir}/../../../stubs/thymeleaf-3.0.14:${testdir}/../../../stubs/apache-velocity-2.3
|
||||
|
||||
12
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/CacheStorage.java
generated
vendored
Normal file
12
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/CacheStorage.java
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from freemarker.cache.CacheStorage for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
|
||||
public interface CacheStorage
|
||||
{
|
||||
Object get(Object p0);
|
||||
void clear();
|
||||
void put(Object p0, Object p1);
|
||||
void remove(Object p0);
|
||||
}
|
||||
19
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/StringTemplateLoader.java
generated
vendored
Normal file
19
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/StringTemplateLoader.java
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from freemarker.cache.StringTemplateLoader for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
import freemarker.cache.TemplateLoader;
|
||||
import java.io.Reader;
|
||||
|
||||
public class StringTemplateLoader implements TemplateLoader
|
||||
{
|
||||
public Object findTemplateSource(String p0){ return null; }
|
||||
public Reader getReader(Object p0, String p1){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public StringTemplateLoader(){}
|
||||
public boolean removeTemplate(String p0){ return false; }
|
||||
public long getLastModified(Object p0){ return 0; }
|
||||
public void closeTemplateSource(Object p0){}
|
||||
public void putTemplate(String p0, String p1){}
|
||||
public void putTemplate(String p0, String p1, long p2){}
|
||||
}
|
||||
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateConfigurationFactory.java
generated
vendored
Normal file
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateConfigurationFactory.java
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from freemarker.cache.TemplateConfigurationFactory for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
import freemarker.core.TemplateConfiguration;
|
||||
import freemarker.template.Configuration;
|
||||
|
||||
abstract public class TemplateConfigurationFactory
|
||||
{
|
||||
protected abstract void setConfigurationOfChildren(Configuration p0);
|
||||
public Configuration getConfiguration(){ return null; }
|
||||
public TemplateConfigurationFactory(){}
|
||||
public abstract TemplateConfiguration get(String p0, Object p1);
|
||||
public final void setConfiguration(Configuration p0){}
|
||||
}
|
||||
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLoader.java
generated
vendored
Normal file
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLoader.java
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from freemarker.cache.TemplateLoader for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
import java.io.Reader;
|
||||
|
||||
public interface TemplateLoader
|
||||
{
|
||||
Object findTemplateSource(String p0);
|
||||
Reader getReader(Object p0, String p1);
|
||||
long getLastModified(Object p0);
|
||||
void closeTemplateSource(Object p0);
|
||||
}
|
||||
17
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLookupContext.java
generated
vendored
Normal file
17
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLookupContext.java
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from freemarker.cache.TemplateLookupContext for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
import freemarker.cache.TemplateLookupResult;
|
||||
import java.util.Locale;
|
||||
|
||||
abstract public class TemplateLookupContext
|
||||
{
|
||||
protected TemplateLookupContext() {}
|
||||
public Locale getTemplateLocale(){ return null; }
|
||||
public Object getCustomLookupCondition(){ return null; }
|
||||
public String getTemplateName(){ return null; }
|
||||
public TemplateLookupResult createNegativeLookupResult(){ return null; }
|
||||
public abstract TemplateLookupResult lookupWithAcquisitionStrategy(String p0);
|
||||
public abstract TemplateLookupResult lookupWithLocalizedThenAcquisitionStrategy(String p0, Locale p1);
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLookupResult.java
generated
vendored
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLookupResult.java
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.cache.TemplateLookupResult for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
|
||||
abstract public class TemplateLookupResult
|
||||
{
|
||||
protected TemplateLookupResult() {}
|
||||
public abstract String getTemplateSourceName();
|
||||
public abstract boolean isPositive();
|
||||
}
|
||||
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLookupStrategy.java
generated
vendored
Normal file
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateLookupStrategy.java
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from freemarker.cache.TemplateLookupStrategy for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
import freemarker.cache.TemplateLookupContext;
|
||||
import freemarker.cache.TemplateLookupResult;
|
||||
|
||||
abstract public class TemplateLookupStrategy
|
||||
{
|
||||
public TemplateLookupStrategy(){}
|
||||
public abstract TemplateLookupResult lookup(TemplateLookupContext p0);
|
||||
public static TemplateLookupStrategy DEFAULT_2_3_0 = null;
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateNameFormat.java
generated
vendored
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/cache/TemplateNameFormat.java
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.cache.TemplateNameFormat for testing purposes
|
||||
|
||||
package freemarker.cache;
|
||||
|
||||
|
||||
abstract public class TemplateNameFormat
|
||||
{
|
||||
protected TemplateNameFormat() {}
|
||||
public static TemplateNameFormat DEFAULT_2_3_0 = null;
|
||||
public static TemplateNameFormat DEFAULT_2_4_0 = null;
|
||||
}
|
||||
46
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/ArithmeticEngine.java
generated
Normal file
46
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/ArithmeticEngine.java
generated
Normal file
@@ -0,0 +1,46 @@
|
||||
// Generated automatically from freemarker.core.ArithmeticEngine for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
|
||||
abstract public class ArithmeticEngine
|
||||
{
|
||||
protected int maxScale = 0;
|
||||
protected int minScale = 0;
|
||||
protected int roundingPolicy = 0;
|
||||
public ArithmeticEngine(){}
|
||||
public abstract Number add(Number p0, Number p1);
|
||||
public abstract Number divide(Number p0, Number p1);
|
||||
public abstract Number modulus(Number p0, Number p1);
|
||||
public abstract Number multiply(Number p0, Number p1);
|
||||
public abstract Number subtract(Number p0, Number p1);
|
||||
public abstract Number toNumber(String p0);
|
||||
public abstract int compareNumbers(Number p0, Number p1);
|
||||
public static ArithmeticEngine.BigDecimalEngine BIGDECIMAL_ENGINE = null;
|
||||
public static ArithmeticEngine.ConservativeEngine CONSERVATIVE_ENGINE = null;
|
||||
public void setMaxScale(int p0){}
|
||||
public void setMinScale(int p0){}
|
||||
public void setRoundingPolicy(int p0){}
|
||||
static public class BigDecimalEngine extends ArithmeticEngine
|
||||
{
|
||||
public BigDecimalEngine(){}
|
||||
public Number add(Number p0, Number p1){ return null; }
|
||||
public Number divide(Number p0, Number p1){ return null; }
|
||||
public Number modulus(Number p0, Number p1){ return null; }
|
||||
public Number multiply(Number p0, Number p1){ return null; }
|
||||
public Number subtract(Number p0, Number p1){ return null; }
|
||||
public Number toNumber(String p0){ return null; }
|
||||
public int compareNumbers(Number p0, Number p1){ return 0; }
|
||||
}
|
||||
static public class ConservativeEngine extends ArithmeticEngine
|
||||
{
|
||||
public ConservativeEngine(){}
|
||||
public Number add(Number p0, Number p1){ return null; }
|
||||
public Number divide(Number p0, Number p1){ return null; }
|
||||
public Number modulus(Number p0, Number p1){ return null; }
|
||||
public Number multiply(Number p0, Number p1){ return null; }
|
||||
public Number subtract(Number p0, Number p1){ return null; }
|
||||
public Number toNumber(String p0){ return null; }
|
||||
public int compareNumbers(Number p0, Number p1){ return 0; }
|
||||
}
|
||||
}
|
||||
238
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Configurable.java
generated
Normal file
238
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Configurable.java
generated
Normal file
@@ -0,0 +1,238 @@
|
||||
// Generated automatically from freemarker.core.Configurable for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.ArithmeticEngine;
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.TemplateClassResolver;
|
||||
import freemarker.core.TemplateDateFormatFactory;
|
||||
import freemarker.core.TemplateNumberFormatFactory;
|
||||
import freemarker.core.TruncateBuiltinAlgorithm;
|
||||
import freemarker.template.AttemptExceptionReporter;
|
||||
import freemarker.template.ObjectWrapper;
|
||||
import freemarker.template.TemplateException;
|
||||
import freemarker.template.TemplateExceptionHandler;
|
||||
import freemarker.template.Version;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
|
||||
public class Configurable
|
||||
{
|
||||
protected ArrayList parseAsList(String p0){ return null; }
|
||||
protected ArrayList parseAsSegmentedList(String p0){ return null; }
|
||||
protected Configurable(Version p0){}
|
||||
protected Environment getEnvironment(){ return null; }
|
||||
protected HashMap parseAsImportList(String p0){ return null; }
|
||||
protected Object clone(){ return null; }
|
||||
protected String getCorrectedNameForUnknownSetting(String p0){ return null; }
|
||||
protected TemplateException invalidSettingValueException(String p0, String p1){ return null; }
|
||||
protected TemplateException settingValueAssignmentException(String p0, String p1, Throwable p2){ return null; }
|
||||
protected TemplateException unknownSettingException(String p0){ return null; }
|
||||
protected void doAutoImportsAndIncludes(Environment p0){}
|
||||
public ArithmeticEngine getArithmeticEngine(){ return null; }
|
||||
public AttemptExceptionReporter getAttemptExceptionReporter(){ return null; }
|
||||
public Boolean getLazyAutoImports(){ return null; }
|
||||
public Configurable(){}
|
||||
public Configurable(Configurable p0){}
|
||||
public List<String> getAutoIncludes(){ return null; }
|
||||
public List<String> getAutoIncludesWithoutFallback(){ return null; }
|
||||
public Locale getLocale(){ return null; }
|
||||
public Map getSettings(){ return null; }
|
||||
public Map<String, ? extends TemplateDateFormatFactory> getCustomDateFormats(){ return null; }
|
||||
public Map<String, ? extends TemplateDateFormatFactory> getCustomDateFormatsWithoutFallback(){ return null; }
|
||||
public Map<String, ? extends TemplateNumberFormatFactory> getCustomNumberFormats(){ return null; }
|
||||
public Map<String, ? extends TemplateNumberFormatFactory> getCustomNumberFormatsWithoutFallback(){ return null; }
|
||||
public Map<String, String> getAutoImports(){ return null; }
|
||||
public Map<String, String> getAutoImportsWithoutFallback(){ return null; }
|
||||
public Object getCustomAttribute(String p0){ return null; }
|
||||
public ObjectWrapper getObjectWrapper(){ return null; }
|
||||
public Set<String> getSettingNames(boolean p0){ return null; }
|
||||
public String getBooleanFormat(){ return null; }
|
||||
public String getDateFormat(){ return null; }
|
||||
public String getDateTimeFormat(){ return null; }
|
||||
public String getNumberFormat(){ return null; }
|
||||
public String getOutputEncoding(){ return null; }
|
||||
public String getSetting(String p0){ return null; }
|
||||
public String getTimeFormat(){ return null; }
|
||||
public String getURLEscapingCharset(){ return null; }
|
||||
public String[] getCustomAttributeNames(){ return null; }
|
||||
public TemplateClassResolver getNewBuiltinClassResolver(){ return null; }
|
||||
public TemplateDateFormatFactory getCustomDateFormat(String p0){ return null; }
|
||||
public TemplateExceptionHandler getTemplateExceptionHandler(){ return null; }
|
||||
public TemplateNumberFormatFactory getCustomNumberFormat(String p0){ return null; }
|
||||
public TimeZone getSQLDateAndTimeTimeZone(){ return null; }
|
||||
public TimeZone getTimeZone(){ return null; }
|
||||
public TruncateBuiltinAlgorithm getTruncateBuiltinAlgorithm(){ return null; }
|
||||
public boolean getAutoFlush(){ return false; }
|
||||
public boolean getLazyImports(){ return false; }
|
||||
public boolean getLogTemplateExceptions(){ return false; }
|
||||
public boolean getShowErrorTips(){ return false; }
|
||||
public boolean getWrapUncheckedExceptions(){ return false; }
|
||||
public boolean hasCustomFormats(){ return false; }
|
||||
public boolean isAPIBuiltinEnabled(){ return false; }
|
||||
public boolean isAPIBuiltinEnabledSet(){ return false; }
|
||||
public boolean isArithmeticEngineSet(){ return false; }
|
||||
public boolean isAttemptExceptionReporterSet(){ return false; }
|
||||
public boolean isAutoFlushSet(){ return false; }
|
||||
public boolean isAutoImportsSet(){ return false; }
|
||||
public boolean isAutoIncludesSet(){ return false; }
|
||||
public boolean isBooleanFormatSet(){ return false; }
|
||||
public boolean isClassicCompatible(){ return false; }
|
||||
public boolean isClassicCompatibleSet(){ return false; }
|
||||
public boolean isCustomDateFormatsSet(){ return false; }
|
||||
public boolean isCustomNumberFormatsSet(){ return false; }
|
||||
public boolean isDateFormatSet(){ return false; }
|
||||
public boolean isDateTimeFormatSet(){ return false; }
|
||||
public boolean isLazyAutoImportsSet(){ return false; }
|
||||
public boolean isLazyImportsSet(){ return false; }
|
||||
public boolean isLocaleSet(){ return false; }
|
||||
public boolean isLogTemplateExceptionsSet(){ return false; }
|
||||
public boolean isNewBuiltinClassResolverSet(){ return false; }
|
||||
public boolean isNumberFormatSet(){ return false; }
|
||||
public boolean isObjectWrapperSet(){ return false; }
|
||||
public boolean isOutputEncodingSet(){ return false; }
|
||||
public boolean isSQLDateAndTimeTimeZoneSet(){ return false; }
|
||||
public boolean isShowErrorTipsSet(){ return false; }
|
||||
public boolean isTemplateExceptionHandlerSet(){ return false; }
|
||||
public boolean isTimeFormatSet(){ return false; }
|
||||
public boolean isTimeZoneSet(){ return false; }
|
||||
public boolean isTruncateBuiltinAlgorithmSet(){ return false; }
|
||||
public boolean isURLEscapingCharsetSet(){ return false; }
|
||||
public boolean isWrapUncheckedExceptionsSet(){ return false; }
|
||||
public final Configurable getParent(){ return null; }
|
||||
public int getClassicCompatibleAsInt(){ return 0; }
|
||||
public static String API_BUILTIN_ENABLED_KEY = null;
|
||||
public static String API_BUILTIN_ENABLED_KEY_CAMEL_CASE = null;
|
||||
public static String API_BUILTIN_ENABLED_KEY_SNAKE_CASE = null;
|
||||
public static String ARITHMETIC_ENGINE_KEY = null;
|
||||
public static String ARITHMETIC_ENGINE_KEY_CAMEL_CASE = null;
|
||||
public static String ARITHMETIC_ENGINE_KEY_SNAKE_CASE = null;
|
||||
public static String ATTEMPT_EXCEPTION_REPORTER_KEY = null;
|
||||
public static String ATTEMPT_EXCEPTION_REPORTER_KEY_CAMEL_CASE = null;
|
||||
public static String ATTEMPT_EXCEPTION_REPORTER_KEY_SNAKE_CASE = null;
|
||||
public static String AUTO_FLUSH_KEY = null;
|
||||
public static String AUTO_FLUSH_KEY_CAMEL_CASE = null;
|
||||
public static String AUTO_FLUSH_KEY_SNAKE_CASE = null;
|
||||
public static String AUTO_IMPORT_KEY = null;
|
||||
public static String AUTO_IMPORT_KEY_CAMEL_CASE = null;
|
||||
public static String AUTO_IMPORT_KEY_SNAKE_CASE = null;
|
||||
public static String AUTO_INCLUDE_KEY = null;
|
||||
public static String AUTO_INCLUDE_KEY_CAMEL_CASE = null;
|
||||
public static String AUTO_INCLUDE_KEY_SNAKE_CASE = null;
|
||||
public static String BOOLEAN_FORMAT_KEY = null;
|
||||
public static String BOOLEAN_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String BOOLEAN_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String CLASSIC_COMPATIBLE_KEY = null;
|
||||
public static String CLASSIC_COMPATIBLE_KEY_CAMEL_CASE = null;
|
||||
public static String CLASSIC_COMPATIBLE_KEY_SNAKE_CASE = null;
|
||||
public static String CUSTOM_DATE_FORMATS_KEY = null;
|
||||
public static String CUSTOM_DATE_FORMATS_KEY_CAMEL_CASE = null;
|
||||
public static String CUSTOM_DATE_FORMATS_KEY_SNAKE_CASE = null;
|
||||
public static String CUSTOM_NUMBER_FORMATS_KEY = null;
|
||||
public static String CUSTOM_NUMBER_FORMATS_KEY_CAMEL_CASE = null;
|
||||
public static String CUSTOM_NUMBER_FORMATS_KEY_SNAKE_CASE = null;
|
||||
public static String DATETIME_FORMAT_KEY = null;
|
||||
public static String DATETIME_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String DATETIME_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String DATE_FORMAT_KEY = null;
|
||||
public static String DATE_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String DATE_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String LAZY_AUTO_IMPORTS_KEY = null;
|
||||
public static String LAZY_AUTO_IMPORTS_KEY_CAMEL_CASE = null;
|
||||
public static String LAZY_AUTO_IMPORTS_KEY_SNAKE_CASE = null;
|
||||
public static String LAZY_IMPORTS_KEY = null;
|
||||
public static String LAZY_IMPORTS_KEY_CAMEL_CASE = null;
|
||||
public static String LAZY_IMPORTS_KEY_SNAKE_CASE = null;
|
||||
public static String LOCALE_KEY = null;
|
||||
public static String LOCALE_KEY_CAMEL_CASE = null;
|
||||
public static String LOCALE_KEY_SNAKE_CASE = null;
|
||||
public static String LOG_TEMPLATE_EXCEPTIONS_KEY = null;
|
||||
public static String LOG_TEMPLATE_EXCEPTIONS_KEY_CAMEL_CASE = null;
|
||||
public static String LOG_TEMPLATE_EXCEPTIONS_KEY_SNAKE_CASE = null;
|
||||
public static String NEW_BUILTIN_CLASS_RESOLVER_KEY = null;
|
||||
public static String NEW_BUILTIN_CLASS_RESOLVER_KEY_CAMEL_CASE = null;
|
||||
public static String NEW_BUILTIN_CLASS_RESOLVER_KEY_SNAKE_CASE = null;
|
||||
public static String NUMBER_FORMAT_KEY = null;
|
||||
public static String NUMBER_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String NUMBER_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String OBJECT_WRAPPER_KEY = null;
|
||||
public static String OBJECT_WRAPPER_KEY_CAMEL_CASE = null;
|
||||
public static String OBJECT_WRAPPER_KEY_SNAKE_CASE = null;
|
||||
public static String OUTPUT_ENCODING_KEY = null;
|
||||
public static String OUTPUT_ENCODING_KEY_CAMEL_CASE = null;
|
||||
public static String OUTPUT_ENCODING_KEY_SNAKE_CASE = null;
|
||||
public static String SHOW_ERROR_TIPS_KEY = null;
|
||||
public static String SHOW_ERROR_TIPS_KEY_CAMEL_CASE = null;
|
||||
public static String SHOW_ERROR_TIPS_KEY_SNAKE_CASE = null;
|
||||
public static String SQL_DATE_AND_TIME_TIME_ZONE_KEY = null;
|
||||
public static String SQL_DATE_AND_TIME_TIME_ZONE_KEY_CAMEL_CASE = null;
|
||||
public static String SQL_DATE_AND_TIME_TIME_ZONE_KEY_SNAKE_CASE = null;
|
||||
public static String STRICT_BEAN_MODELS = null;
|
||||
public static String STRICT_BEAN_MODELS_KEY = null;
|
||||
public static String STRICT_BEAN_MODELS_KEY_CAMEL_CASE = null;
|
||||
public static String STRICT_BEAN_MODELS_KEY_SNAKE_CASE = null;
|
||||
public static String TEMPLATE_EXCEPTION_HANDLER_KEY = null;
|
||||
public static String TEMPLATE_EXCEPTION_HANDLER_KEY_CAMEL_CASE = null;
|
||||
public static String TEMPLATE_EXCEPTION_HANDLER_KEY_SNAKE_CASE = null;
|
||||
public static String TIME_FORMAT_KEY = null;
|
||||
public static String TIME_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String TIME_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String TIME_ZONE_KEY = null;
|
||||
public static String TIME_ZONE_KEY_CAMEL_CASE = null;
|
||||
public static String TIME_ZONE_KEY_SNAKE_CASE = null;
|
||||
public static String TRUNCATE_BUILTIN_ALGORITHM_KEY = null;
|
||||
public static String TRUNCATE_BUILTIN_ALGORITHM_KEY_CAMEL_CASE = null;
|
||||
public static String TRUNCATE_BUILTIN_ALGORITHM_KEY_SNAKE_CASE = null;
|
||||
public static String URL_ESCAPING_CHARSET_KEY = null;
|
||||
public static String URL_ESCAPING_CHARSET_KEY_CAMEL_CASE = null;
|
||||
public static String URL_ESCAPING_CHARSET_KEY_SNAKE_CASE = null;
|
||||
public static String WRAP_UNCHECKED_EXCEPTIONS_KEY = null;
|
||||
public static String WRAP_UNCHECKED_EXCEPTIONS_KEY_CAMEL_CASE = null;
|
||||
public static String WRAP_UNCHECKED_EXCEPTIONS_KEY_SNAKE_CASE = null;
|
||||
public void addAutoImport(String p0, String p1){}
|
||||
public void addAutoInclude(String p0){}
|
||||
public void removeAutoImport(String p0){}
|
||||
public void removeAutoInclude(String p0){}
|
||||
public void removeCustomAttribute(String p0){}
|
||||
public void setAPIBuiltinEnabled(boolean p0){}
|
||||
public void setArithmeticEngine(ArithmeticEngine p0){}
|
||||
public void setAttemptExceptionReporter(AttemptExceptionReporter p0){}
|
||||
public void setAutoFlush(boolean p0){}
|
||||
public void setAutoImports(Map p0){}
|
||||
public void setAutoIncludes(List p0){}
|
||||
public void setBooleanFormat(String p0){}
|
||||
public void setClassicCompatible(boolean p0){}
|
||||
public void setClassicCompatibleAsInt(int p0){}
|
||||
public void setCustomAttribute(String p0, Object p1){}
|
||||
public void setCustomDateFormats(Map<String, ? extends TemplateDateFormatFactory> p0){}
|
||||
public void setCustomNumberFormats(Map<String, ? extends TemplateNumberFormatFactory> p0){}
|
||||
public void setDateFormat(String p0){}
|
||||
public void setDateTimeFormat(String p0){}
|
||||
public void setLazyAutoImports(Boolean p0){}
|
||||
public void setLazyImports(boolean p0){}
|
||||
public void setLocale(Locale p0){}
|
||||
public void setLogTemplateExceptions(boolean p0){}
|
||||
public void setNewBuiltinClassResolver(TemplateClassResolver p0){}
|
||||
public void setNumberFormat(String p0){}
|
||||
public void setObjectWrapper(ObjectWrapper p0){}
|
||||
public void setOutputEncoding(String p0){}
|
||||
public void setSQLDateAndTimeTimeZone(TimeZone p0){}
|
||||
public void setSetting(String p0, String p1){}
|
||||
public void setSettings(InputStream p0){}
|
||||
public void setSettings(Properties p0){}
|
||||
public void setShowErrorTips(boolean p0){}
|
||||
public void setStrictBeanModels(boolean p0){}
|
||||
public void setTemplateExceptionHandler(TemplateExceptionHandler p0){}
|
||||
public void setTimeFormat(String p0){}
|
||||
public void setTimeZone(TimeZone p0){}
|
||||
public void setTruncateBuiltinAlgorithm(TruncateBuiltinAlgorithm p0){}
|
||||
public void setURLEscapingCharset(String p0){}
|
||||
public void setWrapUncheckedExceptions(boolean p0){}
|
||||
}
|
||||
17
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/DirectiveCallPlace.java
generated
Normal file
17
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/DirectiveCallPlace.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from freemarker.core.DirectiveCallPlace for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.template.Template;
|
||||
import freemarker.template.utility.ObjectFactory;
|
||||
|
||||
public interface DirectiveCallPlace
|
||||
{
|
||||
Object getOrCreateCustomData(Object p0, ObjectFactory p1);
|
||||
Template getTemplate();
|
||||
boolean isNestedOutputCacheable();
|
||||
int getBeginColumn();
|
||||
int getBeginLine();
|
||||
int getEndColumn();
|
||||
int getEndLine();
|
||||
}
|
||||
106
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Environment.java
generated
Normal file
106
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Environment.java
generated
Normal file
@@ -0,0 +1,106 @@
|
||||
// Generated automatically from freemarker.core.Environment for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Configurable;
|
||||
import freemarker.core.DirectiveCallPlace;
|
||||
import freemarker.core.TemplateDateFormat;
|
||||
import freemarker.core.TemplateElement;
|
||||
import freemarker.core.TemplateNumberFormat;
|
||||
import freemarker.template.Configuration;
|
||||
import freemarker.template.SimpleHash;
|
||||
import freemarker.template.Template;
|
||||
import freemarker.template.TemplateDirectiveModel;
|
||||
import freemarker.template.TemplateExceptionHandler;
|
||||
import freemarker.template.TemplateHashModel;
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.TemplateNodeModel;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.Writer;
|
||||
import java.text.NumberFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
|
||||
public class Environment extends Configurable
|
||||
{
|
||||
protected Environment() {}
|
||||
public Configuration getConfiguration(){ return null; }
|
||||
public DirectiveCallPlace getCurrentDirectiveCallPlace(){ return null; }
|
||||
public Environment(Template p0, TemplateHashModel p1, Writer p2){}
|
||||
public Environment.Namespace getCurrentNamespace(){ return null; }
|
||||
public Environment.Namespace getGlobalNamespace(){ return null; }
|
||||
public Environment.Namespace getMainNamespace(){ return null; }
|
||||
public Environment.Namespace getNamespace(String p0){ return null; }
|
||||
public Environment.Namespace importLib(String p0, String p1){ return null; }
|
||||
public Environment.Namespace importLib(String p0, String p1, boolean p2){ return null; }
|
||||
public Environment.Namespace importLib(Template p0, String p1){ return null; }
|
||||
public NumberFormat getCNumberFormat(){ return null; }
|
||||
public Object __getitem__(String p0){ return null; }
|
||||
public Object getCustomState(Object p0){ return null; }
|
||||
public Object setCustomState(Object p0, Object p1){ return null; }
|
||||
public Set getKnownVariableNames(){ return null; }
|
||||
public String getDefaultNS(){ return null; }
|
||||
public String getNamespaceForPrefix(String p0){ return null; }
|
||||
public String getPrefixForNamespace(String p0){ return null; }
|
||||
public String rootBasedToAbsoluteTemplateName(String p0){ return null; }
|
||||
public String toFullTemplateName(String p0, String p1){ return null; }
|
||||
public Template getCurrentTemplate(){ return null; }
|
||||
public Template getMainTemplate(){ return null; }
|
||||
public Template getTemplate(){ return null; }
|
||||
public Template getTemplateForImporting(String p0){ return null; }
|
||||
public Template getTemplateForInclusion(String p0, String p1, boolean p2){ return null; }
|
||||
public Template getTemplateForInclusion(String p0, String p1, boolean p2, boolean p3){ return null; }
|
||||
public TemplateDateFormat getTemplateDateFormat(String p0, int p1, Class<? extends Date> p2){ return null; }
|
||||
public TemplateDateFormat getTemplateDateFormat(String p0, int p1, Class<? extends Date> p2, Locale p3){ return null; }
|
||||
public TemplateDateFormat getTemplateDateFormat(String p0, int p1, Class<? extends Date> p2, Locale p3, TimeZone p4, TimeZone p5){ return null; }
|
||||
public TemplateDateFormat getTemplateDateFormat(String p0, int p1, Locale p2, TimeZone p3, boolean p4){ return null; }
|
||||
public TemplateDateFormat getTemplateDateFormat(int p0, Class<? extends Date> p1){ return null; }
|
||||
public TemplateHashModel getDataModel(){ return null; }
|
||||
public TemplateHashModel getGlobalVariables(){ return null; }
|
||||
public TemplateModel getDataModelOrSharedVariable(String p0){ return null; }
|
||||
public TemplateModel getGlobalVariable(String p0){ return null; }
|
||||
public TemplateModel getLocalVariable(String p0){ return null; }
|
||||
public TemplateModel getVariable(String p0){ return null; }
|
||||
public TemplateNodeModel getCurrentVisitorNode(){ return null; }
|
||||
public TemplateNumberFormat getTemplateNumberFormat(){ return null; }
|
||||
public TemplateNumberFormat getTemplateNumberFormat(String p0){ return null; }
|
||||
public TemplateNumberFormat getTemplateNumberFormat(String p0, Locale p1){ return null; }
|
||||
public Writer getOut(){ return null; }
|
||||
public boolean applyEqualsOperator(TemplateModel p0, TemplateModel p1){ return false; }
|
||||
public boolean applyEqualsOperatorLenient(TemplateModel p0, TemplateModel p1){ return false; }
|
||||
public boolean applyGreaterThanOperator(TemplateModel p0, TemplateModel p1){ return false; }
|
||||
public boolean applyLessThanOperator(TemplateModel p0, TemplateModel p1){ return false; }
|
||||
public boolean applyLessThanOrEqualsOperator(TemplateModel p0, TemplateModel p1){ return false; }
|
||||
public boolean applyWithGreaterThanOrEqualsOperator(TemplateModel p0, TemplateModel p1){ return false; }
|
||||
public boolean isInAttemptBlock(){ return false; }
|
||||
public class Namespace extends SimpleHash
|
||||
{
|
||||
public Template getTemplate(){ return null; }
|
||||
}
|
||||
public static Environment getCurrentEnvironment(){ return null; }
|
||||
public void __setitem__(String p0, Object p1){}
|
||||
public void include(String p0, String p1, boolean p2){}
|
||||
public void include(Template p0){}
|
||||
public void outputInstructionStack(PrintWriter p0){}
|
||||
public void process(){}
|
||||
public void setCurrentVisitorNode(TemplateNodeModel p0){}
|
||||
public void setDateFormat(String p0){}
|
||||
public void setDateTimeFormat(String p0){}
|
||||
public void setGlobalVariable(String p0, TemplateModel p1){}
|
||||
public void setLocalVariable(String p0, TemplateModel p1){}
|
||||
public void setLocale(Locale p0){}
|
||||
public void setNumberFormat(String p0){}
|
||||
public void setOut(Writer p0){}
|
||||
public void setOutputEncoding(String p0){}
|
||||
public void setSQLDateAndTimeTimeZone(TimeZone p0){}
|
||||
public void setTemplateExceptionHandler(TemplateExceptionHandler p0){}
|
||||
public void setTimeFormat(String p0){}
|
||||
public void setTimeZone(TimeZone p0){}
|
||||
public void setURLEscapingCharset(String p0){}
|
||||
public void setVariable(String p0, TemplateModel p1){}
|
||||
public void visit(TemplateElement p0, TemplateDirectiveModel p1, Map p2, List p3){}
|
||||
}
|
||||
21
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Expression.java
generated
Normal file
21
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Expression.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from freemarker.core.Expression for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.TemplateObject;
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
abstract public class Expression extends TemplateObject {
|
||||
protected abstract Expression deepCloneWithIdentifierReplaced_inner(String p0, Expression p1,
|
||||
Expression.ReplacemenetState p2);
|
||||
|
||||
public Expression() {}
|
||||
|
||||
public final TemplateModel getAsTemplateModel(Environment p0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
class ReplacemenetState {
|
||||
}
|
||||
}
|
||||
12
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/LibraryLoad.java
generated
Normal file
12
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/LibraryLoad.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from freemarker.core.LibraryLoad for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.TemplateElement;
|
||||
|
||||
public class LibraryLoad extends TemplateElement
|
||||
{
|
||||
protected LibraryLoad() {}
|
||||
protected String dump(boolean p0){ return null; }
|
||||
public String getTemplateName(){ return null; }
|
||||
}
|
||||
12
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/LocalContext.java
generated
Normal file
12
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/LocalContext.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from freemarker.core.LocalContext for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
import java.util.Collection;
|
||||
|
||||
public interface LocalContext
|
||||
{
|
||||
Collection getLocalVariableNames();
|
||||
TemplateModel getLocalVariable(String p0);
|
||||
}
|
||||
49
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Macro.java
generated
Normal file
49
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/Macro.java
generated
Normal file
@@ -0,0 +1,49 @@
|
||||
// Generated automatically from freemarker.core.Macro for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.LocalContext;
|
||||
import freemarker.core.TemplateElement;
|
||||
import freemarker.template.TemplateHashModelEx;
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.TemplateSequenceModel;
|
||||
import java.util.Collection;
|
||||
|
||||
public class Macro extends TemplateElement implements TemplateModel {
|
||||
protected Macro() {}
|
||||
|
||||
protected String dump(boolean p0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Macro.WithArgs getWithArgs() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Object getNamespaceLookupKey() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCatchAll() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getArgumentNames() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean hasArgNamed(String p0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isFunction() {
|
||||
return false;
|
||||
}
|
||||
|
||||
class WithArgs {
|
||||
}
|
||||
}
|
||||
14
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/OutputFormat.java
generated
Normal file
14
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/OutputFormat.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from freemarker.core.OutputFormat for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
|
||||
abstract public class OutputFormat
|
||||
{
|
||||
protected String toStringExtraProperties(){ return null; }
|
||||
public OutputFormat(){}
|
||||
public abstract String getMimeType();
|
||||
public abstract String getName();
|
||||
public abstract boolean isOutputFormatMixingAllowed();
|
||||
public final String toString(){ return null; }
|
||||
}
|
||||
22
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/ParserConfiguration.java
generated
Normal file
22
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/ParserConfiguration.java
generated
Normal file
@@ -0,0 +1,22 @@
|
||||
// Generated automatically from freemarker.core.ParserConfiguration for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.ArithmeticEngine;
|
||||
import freemarker.core.OutputFormat;
|
||||
import freemarker.template.Version;
|
||||
|
||||
public interface ParserConfiguration
|
||||
{
|
||||
ArithmeticEngine getArithmeticEngine();
|
||||
OutputFormat getOutputFormat();
|
||||
Version getIncompatibleImprovements();
|
||||
boolean getRecognizeStandardFileExtensions();
|
||||
boolean getStrictSyntaxMode();
|
||||
boolean getWhitespaceStripping();
|
||||
int getAutoEscapingPolicy();
|
||||
int getInterpolationSyntax();
|
||||
int getNamingConvention();
|
||||
int getTabSize();
|
||||
int getTagSyntax();
|
||||
}
|
||||
14
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateClassResolver.java
generated
Normal file
14
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateClassResolver.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from freemarker.core.TemplateClassResolver for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.template.Template;
|
||||
|
||||
public interface TemplateClassResolver
|
||||
{
|
||||
Class resolve(String p0, Environment p1, Template p2);
|
||||
static TemplateClassResolver ALLOWS_NOTHING_RESOLVER = null;
|
||||
static TemplateClassResolver SAFER_RESOLVER = null;
|
||||
static TemplateClassResolver UNRESTRICTED_RESOLVER = null;
|
||||
}
|
||||
51
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateConfiguration.java
generated
Normal file
51
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateConfiguration.java
generated
Normal file
@@ -0,0 +1,51 @@
|
||||
// Generated automatically from freemarker.core.TemplateConfiguration for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Configurable;
|
||||
import freemarker.core.OutputFormat;
|
||||
import freemarker.core.ParserConfiguration;
|
||||
import freemarker.template.Configuration;
|
||||
import freemarker.template.Template;
|
||||
import freemarker.template.Version;
|
||||
|
||||
public class TemplateConfiguration extends Configurable implements ParserConfiguration
|
||||
{
|
||||
public Configuration getParentConfiguration(){ return null; }
|
||||
public OutputFormat getOutputFormat(){ return null; }
|
||||
public String getEncoding(){ return null; }
|
||||
public TemplateConfiguration(){}
|
||||
public Version getIncompatibleImprovements(){ return null; }
|
||||
public boolean getRecognizeStandardFileExtensions(){ return false; }
|
||||
public boolean getStrictSyntaxMode(){ return false; }
|
||||
public boolean getWhitespaceStripping(){ return false; }
|
||||
public boolean isAutoEscapingPolicySet(){ return false; }
|
||||
public boolean isEncodingSet(){ return false; }
|
||||
public boolean isInterpolationSyntaxSet(){ return false; }
|
||||
public boolean isNamingConventionSet(){ return false; }
|
||||
public boolean isOutputFormatSet(){ return false; }
|
||||
public boolean isRecognizeStandardFileExtensionsSet(){ return false; }
|
||||
public boolean isStrictSyntaxModeSet(){ return false; }
|
||||
public boolean isTabSizeSet(){ return false; }
|
||||
public boolean isTagSyntaxSet(){ return false; }
|
||||
public boolean isWhitespaceStrippingSet(){ return false; }
|
||||
public int getAutoEscapingPolicy(){ return 0; }
|
||||
public int getInterpolationSyntax(){ return 0; }
|
||||
public int getNamingConvention(){ return 0; }
|
||||
public int getTabSize(){ return 0; }
|
||||
public int getTagSyntax(){ return 0; }
|
||||
public void apply(Template p0){}
|
||||
public void merge(TemplateConfiguration p0){}
|
||||
public void setAutoEscapingPolicy(int p0){}
|
||||
public void setEncoding(String p0){}
|
||||
public void setInterpolationSyntax(int p0){}
|
||||
public void setNamingConvention(int p0){}
|
||||
public void setOutputFormat(OutputFormat p0){}
|
||||
public void setParentConfiguration(Configuration p0){}
|
||||
public void setRecognizeStandardFileExtensions(boolean p0){}
|
||||
public void setStrictBeanModels(boolean p0){}
|
||||
public void setStrictSyntaxMode(boolean p0){}
|
||||
public void setTabSize(int p0){}
|
||||
public void setTagSyntax(int p0){}
|
||||
public void setWhitespaceStripping(boolean p0){}
|
||||
}
|
||||
16
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateDateFormat.java
generated
Normal file
16
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateDateFormat.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from freemarker.core.TemplateDateFormat for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.TemplateValueFormat;
|
||||
import freemarker.template.TemplateDateModel;
|
||||
|
||||
abstract public class TemplateDateFormat extends TemplateValueFormat
|
||||
{
|
||||
public Object format(TemplateDateModel p0){ return null; }
|
||||
public TemplateDateFormat(){}
|
||||
public abstract Object parse(String p0, int p1);
|
||||
public abstract String formatToPlainText(TemplateDateModel p0);
|
||||
public abstract boolean isLocaleBound();
|
||||
public abstract boolean isTimeZoneBound();
|
||||
}
|
||||
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateDateFormatFactory.java
generated
Normal file
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateDateFormatFactory.java
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from freemarker.core.TemplateDateFormatFactory for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.TemplateDateFormat;
|
||||
import freemarker.core.TemplateValueFormatFactory;
|
||||
import java.util.Locale;
|
||||
import java.util.TimeZone;
|
||||
|
||||
abstract public class TemplateDateFormatFactory extends TemplateValueFormatFactory
|
||||
{
|
||||
public TemplateDateFormatFactory(){}
|
||||
public abstract TemplateDateFormat get(String p0, int p1, Locale p2, TimeZone p3, boolean p4, Environment p5);
|
||||
}
|
||||
30
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateElement.java
generated
Normal file
30
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateElement.java
generated
Normal file
@@ -0,0 +1,30 @@
|
||||
// Generated automatically from freemarker.core.TemplateElement for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.TemplateObject;
|
||||
import freemarker.template.TemplateNodeModel;
|
||||
import freemarker.template.TemplateSequenceModel;
|
||||
import java.util.Enumeration;
|
||||
import javax.swing.tree.TreeNode;
|
||||
|
||||
abstract public class TemplateElement extends TemplateObject implements TreeNode
|
||||
{
|
||||
protected abstract String dump(boolean p0);
|
||||
public Enumeration children(){ return null; }
|
||||
public String getNodeName(){ return null; }
|
||||
public String getNodeNamespace(){ return null; }
|
||||
public String getNodeType(){ return null; }
|
||||
public TemplateElement(){}
|
||||
public TemplateNodeModel getParentNode(){ return null; }
|
||||
public TemplateSequenceModel getChildNodes(){ return null; }
|
||||
public TreeNode getChildAt(int p0){ return null; }
|
||||
public TreeNode getParent(){ return null; }
|
||||
public boolean getAllowsChildren(){ return false; }
|
||||
public boolean isLeaf(){ return false; }
|
||||
public final String getCanonicalForm(){ return null; }
|
||||
public final String getDescription(){ return null; }
|
||||
public int getChildCount(){ return 0; }
|
||||
public int getIndex(TreeNode p0){ return 0; }
|
||||
public void setChildAt(int p0, TemplateElement p1){}
|
||||
}
|
||||
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateNumberFormat.java
generated
Normal file
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateNumberFormat.java
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from freemarker.core.TemplateNumberFormat for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.TemplateValueFormat;
|
||||
import freemarker.template.TemplateNumberModel;
|
||||
|
||||
abstract public class TemplateNumberFormat extends TemplateValueFormat
|
||||
{
|
||||
public Object format(TemplateNumberModel p0){ return null; }
|
||||
public TemplateNumberFormat(){}
|
||||
public abstract String formatToPlainText(TemplateNumberModel p0);
|
||||
public abstract boolean isLocaleBound();
|
||||
public final Object parse(String p0){ return null; }
|
||||
}
|
||||
14
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateNumberFormatFactory.java
generated
Normal file
14
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateNumberFormatFactory.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from freemarker.core.TemplateNumberFormatFactory for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.TemplateNumberFormat;
|
||||
import freemarker.core.TemplateValueFormatFactory;
|
||||
import java.util.Locale;
|
||||
|
||||
abstract public class TemplateNumberFormatFactory extends TemplateValueFormatFactory
|
||||
{
|
||||
public TemplateNumberFormatFactory(){}
|
||||
public abstract TemplateNumberFormat get(String p0, Locale p1, Environment p2);
|
||||
}
|
||||
23
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateObject.java
generated
Normal file
23
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateObject.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from freemarker.core.TemplateObject for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.template.Template;
|
||||
|
||||
abstract public class TemplateObject
|
||||
{
|
||||
public String getEndLocation(){ return null; }
|
||||
public String getEndLocationQuoted(){ return null; }
|
||||
public String getStartLocation(){ return null; }
|
||||
public String getStartLocationQuoted(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public Template getTemplate(){ return null; }
|
||||
public TemplateObject(){}
|
||||
public abstract String getCanonicalForm();
|
||||
public boolean contains(int p0, int p1){ return false; }
|
||||
public final String getSource(){ return null; }
|
||||
public final int getBeginColumn(){ return 0; }
|
||||
public final int getBeginLine(){ return 0; }
|
||||
public final int getEndColumn(){ return 0; }
|
||||
public final int getEndLine(){ return 0; }
|
||||
}
|
||||
10
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateValueFormat.java
generated
Normal file
10
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateValueFormat.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from freemarker.core.TemplateValueFormat for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
|
||||
abstract public class TemplateValueFormat
|
||||
{
|
||||
public TemplateValueFormat(){}
|
||||
public abstract String getDescription();
|
||||
}
|
||||
9
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateValueFormatFactory.java
generated
Normal file
9
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TemplateValueFormatFactory.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from freemarker.core.TemplateValueFormatFactory for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
|
||||
abstract public class TemplateValueFormatFactory
|
||||
{
|
||||
public TemplateValueFormatFactory(){}
|
||||
}
|
||||
18
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TruncateBuiltinAlgorithm.java
generated
Normal file
18
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/TruncateBuiltinAlgorithm.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from freemarker.core.TruncateBuiltinAlgorithm for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.TemplateScalarModel;
|
||||
|
||||
abstract public class TruncateBuiltinAlgorithm
|
||||
{
|
||||
public TruncateBuiltinAlgorithm(){}
|
||||
public abstract TemplateModel truncateCM(String p0, int p1, TemplateModel p2, Integer p3, Environment p4);
|
||||
public abstract TemplateModel truncateM(String p0, int p1, TemplateModel p2, Integer p3, Environment p4);
|
||||
public abstract TemplateModel truncateWM(String p0, int p1, TemplateModel p2, Integer p3, Environment p4);
|
||||
public abstract TemplateScalarModel truncate(String p0, int p1, TemplateScalarModel p2, Integer p3, Environment p4);
|
||||
public abstract TemplateScalarModel truncateC(String p0, int p1, TemplateScalarModel p2, Integer p3, Environment p4);
|
||||
public abstract TemplateScalarModel truncateW(String p0, int p1, TemplateScalarModel p2, Integer p3, Environment p4);
|
||||
}
|
||||
24
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/_ErrorDescriptionBuilder.java
generated
Normal file
24
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/core/_ErrorDescriptionBuilder.java
generated
Normal file
@@ -0,0 +1,24 @@
|
||||
// Generated automatically from freemarker.core._ErrorDescriptionBuilder for testing purposes
|
||||
|
||||
package freemarker.core;
|
||||
|
||||
import freemarker.core.Expression;
|
||||
import freemarker.core.TemplateElement;
|
||||
import freemarker.template.Template;
|
||||
|
||||
public class _ErrorDescriptionBuilder
|
||||
{
|
||||
protected _ErrorDescriptionBuilder() {}
|
||||
public String toString(){ return null; }
|
||||
public String toString(TemplateElement p0, boolean p1){ return null; }
|
||||
public _ErrorDescriptionBuilder blame(Expression p0){ return null; }
|
||||
public _ErrorDescriptionBuilder showBlamer(boolean p0){ return null; }
|
||||
public _ErrorDescriptionBuilder template(Template p0){ return null; }
|
||||
public _ErrorDescriptionBuilder tip(Object... p0){ return null; }
|
||||
public _ErrorDescriptionBuilder tip(String p0){ return null; }
|
||||
public _ErrorDescriptionBuilder tips(Object... p0){ return null; }
|
||||
public _ErrorDescriptionBuilder(Object... p0){}
|
||||
public _ErrorDescriptionBuilder(String p0){}
|
||||
public static String toString(Object p0){ return null; }
|
||||
public static String tryToString(Object p0){ return null; }
|
||||
}
|
||||
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/AttemptExceptionReporter.java
generated
Normal file
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/AttemptExceptionReporter.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from freemarker.template.AttemptExceptionReporter for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.template.TemplateException;
|
||||
|
||||
public interface AttemptExceptionReporter
|
||||
{
|
||||
static AttemptExceptionReporter LOG_ERROR_REPORTER = null;
|
||||
static AttemptExceptionReporter LOG_WARN_REPORTER = null;
|
||||
void report(TemplateException p0, Environment p1);
|
||||
}
|
||||
253
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/Configuration.java
generated
Normal file
253
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/Configuration.java
generated
Normal file
@@ -0,0 +1,253 @@
|
||||
// Generated automatically from freemarker.template.Configuration for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.cache.CacheStorage;
|
||||
import freemarker.cache.TemplateConfigurationFactory;
|
||||
import freemarker.cache.TemplateLoader;
|
||||
import freemarker.cache.TemplateLookupStrategy;
|
||||
import freemarker.cache.TemplateNameFormat;
|
||||
import freemarker.core.Configurable;
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.OutputFormat;
|
||||
import freemarker.core.ParserConfiguration;
|
||||
import freemarker.template.AttemptExceptionReporter;
|
||||
import freemarker.template.ObjectWrapper;
|
||||
import freemarker.template.Template;
|
||||
import freemarker.template.TemplateExceptionHandler;
|
||||
import freemarker.template.TemplateHashModelEx;
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.Version;
|
||||
import java.io.File;
|
||||
import java.util.Collection;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
|
||||
public class Configuration extends Configurable implements Cloneable, ParserConfiguration
|
||||
{
|
||||
protected String getCorrectedNameForUnknownSetting(String p0){ return null; }
|
||||
protected void doAutoImportsAndIncludes(Environment p0){}
|
||||
public CacheStorage getCacheStorage(){ return null; }
|
||||
public Collection<? extends OutputFormat> getRegisteredCustomOutputFormats(){ return null; }
|
||||
public Configuration(){}
|
||||
public Configuration(Version p0){}
|
||||
public Object clone(){ return null; }
|
||||
public OutputFormat getOutputFormat(){ return null; }
|
||||
public OutputFormat getOutputFormat(String p0){ return null; }
|
||||
public Set getSharedVariableNames(){ return null; }
|
||||
public Set getSupportedBuiltInDirectiveNames(){ return null; }
|
||||
public Set getSupportedBuiltInNames(){ return null; }
|
||||
public Set<String> getSettingNames(boolean p0){ return null; }
|
||||
public Set<String> getSupportedBuiltInDirectiveNames(int p0){ return null; }
|
||||
public Set<String> getSupportedBuiltInNames(int p0){ return null; }
|
||||
public String getDefaultEncoding(){ return null; }
|
||||
public String getEncoding(Locale p0){ return null; }
|
||||
public String getIncompatibleEnhancements(){ return null; }
|
||||
public Template getTemplate(String p0){ return null; }
|
||||
public Template getTemplate(String p0, Locale p1){ return null; }
|
||||
public Template getTemplate(String p0, Locale p1, Object p2, String p3, boolean p4, boolean p5){ return null; }
|
||||
public Template getTemplate(String p0, Locale p1, String p2){ return null; }
|
||||
public Template getTemplate(String p0, Locale p1, String p2, boolean p3){ return null; }
|
||||
public Template getTemplate(String p0, Locale p1, String p2, boolean p3, boolean p4){ return null; }
|
||||
public Template getTemplate(String p0, String p1){ return null; }
|
||||
public TemplateConfigurationFactory getTemplateConfigurations(){ return null; }
|
||||
public TemplateLoader getTemplateLoader(){ return null; }
|
||||
public TemplateLookupStrategy getTemplateLookupStrategy(){ return null; }
|
||||
public TemplateModel getSharedVariable(String p0){ return null; }
|
||||
public TemplateNameFormat getTemplateNameFormat(){ return null; }
|
||||
public Version getIncompatibleImprovements(){ return null; }
|
||||
public boolean getFallbackOnNullLoopVariable(){ return false; }
|
||||
public boolean getLocalizedLookup(){ return false; }
|
||||
public boolean getRecognizeStandardFileExtensions(){ return false; }
|
||||
public boolean getStrictSyntaxMode(){ return false; }
|
||||
public boolean getWhitespaceStripping(){ return false; }
|
||||
public boolean isAttemptExceptionReporterExplicitlySet(){ return false; }
|
||||
public boolean isCacheStorageExplicitlySet(){ return false; }
|
||||
public boolean isDefaultEncodingExplicitlySet(){ return false; }
|
||||
public boolean isLocaleExplicitlySet(){ return false; }
|
||||
public boolean isLogTemplateExceptionsExplicitlySet(){ return false; }
|
||||
public boolean isObjectWrapperExplicitlySet(){ return false; }
|
||||
public boolean isOutputFormatExplicitlySet(){ return false; }
|
||||
public boolean isRecognizeStandardFileExtensionsExplicitlySet(){ return false; }
|
||||
public boolean isTemplateExceptionHandlerExplicitlySet(){ return false; }
|
||||
public boolean isTemplateLoaderExplicitlySet(){ return false; }
|
||||
public boolean isTemplateLookupStrategyExplicitlySet(){ return false; }
|
||||
public boolean isTemplateNameFormatExplicitlySet(){ return false; }
|
||||
public boolean isTimeZoneExplicitlySet(){ return false; }
|
||||
public boolean isWrapUncheckedExceptionsExplicitlySet(){ return false; }
|
||||
public int getAutoEscapingPolicy(){ return 0; }
|
||||
public int getInterpolationSyntax(){ return 0; }
|
||||
public int getNamingConvention(){ return 0; }
|
||||
public int getParsedIncompatibleEnhancements(){ return 0; }
|
||||
public int getTabSize(){ return 0; }
|
||||
public int getTagSyntax(){ return 0; }
|
||||
public long getTemplateUpdateDelayMilliseconds(){ return 0; }
|
||||
public static Configuration getDefaultConfiguration(){ return null; }
|
||||
public static ObjectWrapper getDefaultObjectWrapper(Version p0){ return null; }
|
||||
public static String AUTO_ESCAPING_POLICY_KEY = null;
|
||||
public static String AUTO_ESCAPING_POLICY_KEY_CAMEL_CASE = null;
|
||||
public static String AUTO_ESCAPING_POLICY_KEY_SNAKE_CASE = null;
|
||||
public static String AUTO_IMPORT_KEY = null;
|
||||
public static String AUTO_IMPORT_KEY_CAMEL_CASE = null;
|
||||
public static String AUTO_IMPORT_KEY_SNAKE_CASE = null;
|
||||
public static String AUTO_INCLUDE_KEY = null;
|
||||
public static String AUTO_INCLUDE_KEY_CAMEL_CASE = null;
|
||||
public static String AUTO_INCLUDE_KEY_SNAKE_CASE = null;
|
||||
public static String CACHE_STORAGE_KEY = null;
|
||||
public static String CACHE_STORAGE_KEY_CAMEL_CASE = null;
|
||||
public static String CACHE_STORAGE_KEY_SNAKE_CASE = null;
|
||||
public static String DEFAULT_ENCODING_KEY = null;
|
||||
public static String DEFAULT_ENCODING_KEY_CAMEL_CASE = null;
|
||||
public static String DEFAULT_ENCODING_KEY_SNAKE_CASE = null;
|
||||
public static String DEFAULT_INCOMPATIBLE_ENHANCEMENTS = null;
|
||||
public static String FALLBACK_ON_NULL_LOOP_VARIABLE_KEY = null;
|
||||
public static String FALLBACK_ON_NULL_LOOP_VARIABLE_KEY_CAMEL_CASE = null;
|
||||
public static String FALLBACK_ON_NULL_LOOP_VARIABLE_KEY_SNAKE_CASE = null;
|
||||
public static String INCOMPATIBLE_ENHANCEMENTS = null;
|
||||
public static String INCOMPATIBLE_IMPROVEMENTS = null;
|
||||
public static String INCOMPATIBLE_IMPROVEMENTS_KEY = null;
|
||||
public static String INCOMPATIBLE_IMPROVEMENTS_KEY_CAMEL_CASE = null;
|
||||
public static String INCOMPATIBLE_IMPROVEMENTS_KEY_SNAKE_CASE = null;
|
||||
public static String INTERPOLATION_SYNTAX_KEY = null;
|
||||
public static String INTERPOLATION_SYNTAX_KEY_CAMEL_CASE = null;
|
||||
public static String INTERPOLATION_SYNTAX_KEY_SNAKE_CASE = null;
|
||||
public static String LOCALIZED_LOOKUP_KEY = null;
|
||||
public static String LOCALIZED_LOOKUP_KEY_CAMEL_CASE = null;
|
||||
public static String LOCALIZED_LOOKUP_KEY_SNAKE_CASE = null;
|
||||
public static String NAMING_CONVENTION_KEY = null;
|
||||
public static String NAMING_CONVENTION_KEY_CAMEL_CASE = null;
|
||||
public static String NAMING_CONVENTION_KEY_SNAKE_CASE = null;
|
||||
public static String OUTPUT_FORMAT_KEY = null;
|
||||
public static String OUTPUT_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String OUTPUT_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String RECOGNIZE_STANDARD_FILE_EXTENSIONS_KEY = null;
|
||||
public static String RECOGNIZE_STANDARD_FILE_EXTENSIONS_KEY_CAMEL_CASE = null;
|
||||
public static String RECOGNIZE_STANDARD_FILE_EXTENSIONS_KEY_SNAKE_CASE = null;
|
||||
public static String REGISTERED_CUSTOM_OUTPUT_FORMATS_KEY = null;
|
||||
public static String REGISTERED_CUSTOM_OUTPUT_FORMATS_KEY_CAMEL_CASE = null;
|
||||
public static String REGISTERED_CUSTOM_OUTPUT_FORMATS_KEY_SNAKE_CASE = null;
|
||||
public static String STRICT_SYNTAX_KEY = null;
|
||||
public static String STRICT_SYNTAX_KEY_CAMEL_CASE = null;
|
||||
public static String STRICT_SYNTAX_KEY_SNAKE_CASE = null;
|
||||
public static String TAB_SIZE_KEY = null;
|
||||
public static String TAB_SIZE_KEY_CAMEL_CASE = null;
|
||||
public static String TAB_SIZE_KEY_SNAKE_CASE = null;
|
||||
public static String TAG_SYNTAX_KEY = null;
|
||||
public static String TAG_SYNTAX_KEY_CAMEL_CASE = null;
|
||||
public static String TAG_SYNTAX_KEY_SNAKE_CASE = null;
|
||||
public static String TEMPLATE_CONFIGURATIONS_KEY = null;
|
||||
public static String TEMPLATE_CONFIGURATIONS_KEY_CAMEL_CASE = null;
|
||||
public static String TEMPLATE_CONFIGURATIONS_KEY_SNAKE_CASE = null;
|
||||
public static String TEMPLATE_LOADER_KEY = null;
|
||||
public static String TEMPLATE_LOADER_KEY_CAMEL_CASE = null;
|
||||
public static String TEMPLATE_LOADER_KEY_SNAKE_CASE = null;
|
||||
public static String TEMPLATE_LOOKUP_STRATEGY_KEY = null;
|
||||
public static String TEMPLATE_LOOKUP_STRATEGY_KEY_CAMEL_CASE = null;
|
||||
public static String TEMPLATE_LOOKUP_STRATEGY_KEY_SNAKE_CASE = null;
|
||||
public static String TEMPLATE_NAME_FORMAT_KEY = null;
|
||||
public static String TEMPLATE_NAME_FORMAT_KEY_CAMEL_CASE = null;
|
||||
public static String TEMPLATE_NAME_FORMAT_KEY_SNAKE_CASE = null;
|
||||
public static String TEMPLATE_UPDATE_DELAY_KEY = null;
|
||||
public static String TEMPLATE_UPDATE_DELAY_KEY_CAMEL_CASE = null;
|
||||
public static String TEMPLATE_UPDATE_DELAY_KEY_SNAKE_CASE = null;
|
||||
public static String WHITESPACE_STRIPPING_KEY = null;
|
||||
public static String WHITESPACE_STRIPPING_KEY_CAMEL_CASE = null;
|
||||
public static String WHITESPACE_STRIPPING_KEY_SNAKE_CASE = null;
|
||||
public static String getVersionNumber(){ return null; }
|
||||
public static Version DEFAULT_INCOMPATIBLE_IMPROVEMENTS = null;
|
||||
public static Version VERSION_2_3_0 = null;
|
||||
public static Version VERSION_2_3_19 = null;
|
||||
public static Version VERSION_2_3_20 = null;
|
||||
public static Version VERSION_2_3_21 = null;
|
||||
public static Version VERSION_2_3_22 = null;
|
||||
public static Version VERSION_2_3_23 = null;
|
||||
public static Version VERSION_2_3_24 = null;
|
||||
public static Version VERSION_2_3_25 = null;
|
||||
public static Version VERSION_2_3_26 = null;
|
||||
public static Version VERSION_2_3_27 = null;
|
||||
public static Version VERSION_2_3_28 = null;
|
||||
public static Version VERSION_2_3_29 = null;
|
||||
public static Version VERSION_2_3_30 = null;
|
||||
public static Version VERSION_2_3_31 = null;
|
||||
public static Version getVersion(){ return null; }
|
||||
public static int ANGLE_BRACKET_TAG_SYNTAX = 0;
|
||||
public static int AUTO_DETECT_NAMING_CONVENTION = 0;
|
||||
public static int AUTO_DETECT_TAG_SYNTAX = 0;
|
||||
public static int CAMEL_CASE_NAMING_CONVENTION = 0;
|
||||
public static int DISABLE_AUTO_ESCAPING_POLICY = 0;
|
||||
public static int DOLLAR_INTERPOLATION_SYNTAX = 0;
|
||||
public static int ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY = 0;
|
||||
public static int ENABLE_IF_SUPPORTED_AUTO_ESCAPING_POLICY = 0;
|
||||
public static int LEGACY_INTERPOLATION_SYNTAX = 0;
|
||||
public static int LEGACY_NAMING_CONVENTION = 0;
|
||||
public static int PARSED_DEFAULT_INCOMPATIBLE_ENHANCEMENTS = 0;
|
||||
public static int SQUARE_BRACKET_INTERPOLATION_SYNTAX = 0;
|
||||
public static int SQUARE_BRACKET_TAG_SYNTAX = 0;
|
||||
public static void setDefaultConfiguration(Configuration p0){}
|
||||
public void clearEncodingMap(){}
|
||||
public void clearSharedVariables(){}
|
||||
public void clearTemplateCache(){}
|
||||
public void loadBuiltInEncodingMap(){}
|
||||
public void removeTemplateFromCache(String p0){}
|
||||
public void removeTemplateFromCache(String p0, Locale p1){}
|
||||
public void removeTemplateFromCache(String p0, Locale p1, Object p2, String p3, boolean p4){}
|
||||
public void removeTemplateFromCache(String p0, Locale p1, String p2){}
|
||||
public void removeTemplateFromCache(String p0, Locale p1, String p2, boolean p3){}
|
||||
public void removeTemplateFromCache(String p0, String p1){}
|
||||
public void setAllSharedVariables(TemplateHashModelEx p0){}
|
||||
public void setAttemptExceptionReporter(AttemptExceptionReporter p0){}
|
||||
public void setAutoEscapingPolicy(int p0){}
|
||||
public void setCacheStorage(CacheStorage p0){}
|
||||
public void setClassForTemplateLoading(Class p0, String p1){}
|
||||
public void setClassLoaderForTemplateLoading(ClassLoader p0, String p1){}
|
||||
public void setDefaultEncoding(String p0){}
|
||||
public void setDirectoryForTemplateLoading(File p0){}
|
||||
public void setEncoding(Locale p0, String p1){}
|
||||
public void setFallbackOnNullLoopVariable(boolean p0){}
|
||||
public void setIncompatibleEnhancements(String p0){}
|
||||
public void setIncompatibleImprovements(Version p0){}
|
||||
public void setInterpolationSyntax(int p0){}
|
||||
public void setLocale(Locale p0){}
|
||||
public void setLocalizedLookup(boolean p0){}
|
||||
public void setLogTemplateExceptions(boolean p0){}
|
||||
public void setNamingConvention(int p0){}
|
||||
public void setObjectWrapper(ObjectWrapper p0){}
|
||||
public void setOutputFormat(OutputFormat p0){}
|
||||
public void setRecognizeStandardFileExtensions(boolean p0){}
|
||||
public void setRegisteredCustomOutputFormats(Collection<? extends OutputFormat> p0){}
|
||||
public void setServletContextForTemplateLoading(Object p0, String p1){}
|
||||
public void setSetting(String p0, String p1){}
|
||||
public void setSharedVariable(String p0, Object p1){}
|
||||
public void setSharedVariable(String p0, TemplateModel p1){}
|
||||
public void setSharedVariables(Map<String, ? extends Object> p0){}
|
||||
public void setSharedVaribles(Map p0){}
|
||||
public void setStrictSyntaxMode(boolean p0){}
|
||||
public void setTabSize(int p0){}
|
||||
public void setTagSyntax(int p0){}
|
||||
public void setTemplateConfigurations(TemplateConfigurationFactory p0){}
|
||||
public void setTemplateExceptionHandler(TemplateExceptionHandler p0){}
|
||||
public void setTemplateLoader(TemplateLoader p0){}
|
||||
public void setTemplateLookupStrategy(TemplateLookupStrategy p0){}
|
||||
public void setTemplateNameFormat(TemplateNameFormat p0){}
|
||||
public void setTemplateUpdateDelay(int p0){}
|
||||
public void setTemplateUpdateDelayMilliseconds(long p0){}
|
||||
public void setTimeZone(TimeZone p0){}
|
||||
public void setWhitespaceStripping(boolean p0){}
|
||||
public void setWrapUncheckedExceptions(boolean p0){}
|
||||
public void unsetAttemptExceptionReporter(){}
|
||||
public void unsetCacheStorage(){}
|
||||
public void unsetDefaultEncoding(){}
|
||||
public void unsetLocale(){}
|
||||
public void unsetLogTemplateExceptions(){}
|
||||
public void unsetObjectWrapper(){}
|
||||
public void unsetOutputFormat(){}
|
||||
public void unsetRecognizeStandardFileExtensions(){}
|
||||
public void unsetTemplateExceptionHandler(){}
|
||||
public void unsetTemplateLoader(){}
|
||||
public void unsetTemplateLookupStrategy(){}
|
||||
public void unsetTemplateNameFormat(){}
|
||||
public void unsetTimeZone(){}
|
||||
public void unsetWrapUncheckedExceptions(){}
|
||||
}
|
||||
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/ObjectWrapper.java
generated
Normal file
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/ObjectWrapper.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from freemarker.template.ObjectWrapper for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface ObjectWrapper
|
||||
{
|
||||
TemplateModel wrap(Object p0);
|
||||
static ObjectWrapper BEANS_WRAPPER = null;
|
||||
static ObjectWrapper DEFAULT_WRAPPER = null;
|
||||
static ObjectWrapper SIMPLE_WRAPPER = null;
|
||||
}
|
||||
35
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/SimpleHash.java
generated
Normal file
35
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/SimpleHash.java
generated
Normal file
@@ -0,0 +1,35 @@
|
||||
// Generated automatically from freemarker.template.SimpleHash for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.ObjectWrapper;
|
||||
import freemarker.template.TemplateCollectionModel;
|
||||
import freemarker.template.TemplateHashModelEx2;
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.WrappingTemplateModel;
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
public class SimpleHash extends WrappingTemplateModel implements Serializable, TemplateHashModelEx2
|
||||
{
|
||||
protected Map copyMap(Map p0){ return null; }
|
||||
public Map toMap(){ return null; }
|
||||
public SimpleHash synchronizedWrapper(){ return null; }
|
||||
public SimpleHash(){}
|
||||
public SimpleHash(Map p0){}
|
||||
public SimpleHash(Map p0, ObjectWrapper p1){}
|
||||
public SimpleHash(Map<String, Object> p0, ObjectWrapper p1, int p2){}
|
||||
public SimpleHash(ObjectWrapper p0){}
|
||||
public String toString(){ return null; }
|
||||
public TemplateCollectionModel keys(){ return null; }
|
||||
public TemplateCollectionModel values(){ return null; }
|
||||
public TemplateHashModelEx2.KeyValuePairIterator keyValuePairIterator(){ return null; }
|
||||
public TemplateModel get(String p0){ return null; }
|
||||
public boolean containsKey(String p0){ return false; }
|
||||
public boolean isEmpty(){ return false; }
|
||||
public int size(){ return 0; }
|
||||
public void put(String p0, Object p1){}
|
||||
public void put(String p0, boolean p1){}
|
||||
public void putAll(Map p0){}
|
||||
public void remove(String p0){}
|
||||
}
|
||||
69
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/Template.java
generated
Normal file
69
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/Template.java
generated
Normal file
@@ -0,0 +1,69 @@
|
||||
// Generated automatically from freemarker.template.Template for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.core.Configurable;
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.LibraryLoad;
|
||||
import freemarker.core.Macro;
|
||||
import freemarker.core.OutputFormat;
|
||||
import freemarker.core.ParserConfiguration;
|
||||
import freemarker.core.TemplateElement;
|
||||
import freemarker.template.Configuration;
|
||||
import freemarker.template.ObjectWrapper;
|
||||
import freemarker.template.TemplateNodeModel;
|
||||
import java.io.PrintStream;
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.swing.tree.TreePath;
|
||||
|
||||
public class Template extends Configurable
|
||||
{
|
||||
protected Template() {}
|
||||
public Configuration getConfiguration(){ return null; }
|
||||
public Environment createProcessingEnvironment(Object p0, Writer p1){ return null; }
|
||||
public Environment createProcessingEnvironment(Object p0, Writer p1, ObjectWrapper p2){ return null; }
|
||||
public List getImports(){ return null; }
|
||||
public Map getMacros(){ return null; }
|
||||
public Object getCustomLookupCondition(){ return null; }
|
||||
public OutputFormat getOutputFormat(){ return null; }
|
||||
public ParserConfiguration getParserConfiguration(){ return null; }
|
||||
public String getDefaultNS(){ return null; }
|
||||
public String getEncoding(){ return null; }
|
||||
public String getName(){ return null; }
|
||||
public String getNamespaceForPrefix(String p0){ return null; }
|
||||
public String getPrefixForNamespace(String p0){ return null; }
|
||||
public String getPrefixedName(String p0, String p1){ return null; }
|
||||
public String getSource(int p0, int p1, int p2, int p3){ return null; }
|
||||
public String getSourceName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public Template(String p0, Reader p1){}
|
||||
public Template(String p0, Reader p1, Configuration p2){}
|
||||
public Template(String p0, Reader p1, Configuration p2, String p3){}
|
||||
public Template(String p0, String p1, Configuration p2){}
|
||||
public Template(String p0, String p1, Reader p2, Configuration p3){}
|
||||
public Template(String p0, String p1, Reader p2, Configuration p3, ParserConfiguration p4, String p5){}
|
||||
public Template(String p0, String p1, Reader p2, Configuration p3, String p4){}
|
||||
public TemplateElement getRootTreeNode(){ return null; }
|
||||
public TreePath containingElements(int p0, int p1){ return null; }
|
||||
public boolean getAutoEscaping(){ return false; }
|
||||
public int getActualNamingConvention(){ return 0; }
|
||||
public int getActualTagSyntax(){ return 0; }
|
||||
public int getInterpolationSyntax(){ return 0; }
|
||||
public static String DEFAULT_NAMESPACE_PREFIX = null;
|
||||
public static String NO_NS_PREFIX = null;
|
||||
public static Template getPlainTextTemplate(String p0, String p1, Configuration p2){ return null; }
|
||||
public static Template getPlainTextTemplate(String p0, String p1, String p2, Configuration p3){ return null; }
|
||||
public void addImport(LibraryLoad p0){}
|
||||
public void addMacro(Macro p0){}
|
||||
public void addPrefixNSMapping(String p0, String p1){}
|
||||
public void dump(PrintStream p0){}
|
||||
public void dump(Writer p0){}
|
||||
public void process(Object p0, Writer p1){}
|
||||
public void process(Object p0, Writer p1, ObjectWrapper p2){}
|
||||
public void process(Object p0, Writer p1, ObjectWrapper p2, TemplateNodeModel p3){}
|
||||
public void setCustomLookupCondition(Object p0){}
|
||||
public void setEncoding(String p0){}
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateCollectionModel.java
generated
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateCollectionModel.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.template.TemplateCollectionModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.TemplateModelIterator;
|
||||
|
||||
public interface TemplateCollectionModel extends TemplateModel
|
||||
{
|
||||
TemplateModelIterator iterator();
|
||||
}
|
||||
18
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateDateModel.java
generated
Normal file
18
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateDateModel.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from freemarker.template.TemplateDateModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface TemplateDateModel extends TemplateModel
|
||||
{
|
||||
Date getAsDate();
|
||||
int getDateType();
|
||||
static List TYPE_NAMES = null;
|
||||
static int DATE = 0;
|
||||
static int DATETIME = 0;
|
||||
static int TIME = 0;
|
||||
static int UNKNOWN = 0;
|
||||
}
|
||||
10
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateDirectiveBody.java
generated
Normal file
10
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateDirectiveBody.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from freemarker.template.TemplateDirectiveBody for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import java.io.Writer;
|
||||
|
||||
public interface TemplateDirectiveBody
|
||||
{
|
||||
void render(Writer p0);
|
||||
}
|
||||
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateDirectiveModel.java
generated
Normal file
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateDirectiveModel.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from freemarker.template.TemplateDirectiveModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.template.TemplateDirectiveBody;
|
||||
import freemarker.template.TemplateModel;
|
||||
import java.util.Map;
|
||||
|
||||
public interface TemplateDirectiveModel extends TemplateModel
|
||||
{
|
||||
void execute(Environment p0, Map p1, TemplateModel[] p2, TemplateDirectiveBody p3);
|
||||
}
|
||||
39
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateException.java
generated
Normal file
39
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateException.java
generated
Normal file
@@ -0,0 +1,39 @@
|
||||
// Generated automatically from freemarker.template.TemplateException for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.core.Expression;
|
||||
import freemarker.core._ErrorDescriptionBuilder;
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
public class TemplateException extends Exception
|
||||
{
|
||||
protected TemplateException() {}
|
||||
protected TemplateException(Throwable p0, Environment p1, Expression p2, _ErrorDescriptionBuilder p3){}
|
||||
public Environment getEnvironment(){ return null; }
|
||||
public Exception getCauseException(){ return null; }
|
||||
public Integer getColumnNumber(){ return null; }
|
||||
public Integer getEndColumnNumber(){ return null; }
|
||||
public Integer getEndLineNumber(){ return null; }
|
||||
public Integer getLineNumber(){ return null; }
|
||||
public String getBlamedExpressionString(){ return null; }
|
||||
public String getFTLInstructionStack(){ return null; }
|
||||
public String getMessage(){ return null; }
|
||||
public String getMessageWithoutStackTop(){ return null; }
|
||||
public String getTemplateName(){ return null; }
|
||||
public String getTemplateSourceName(){ return null; }
|
||||
public TemplateException(Environment p0){}
|
||||
public TemplateException(Exception p0, Environment p1){}
|
||||
public TemplateException(String p0, Environment p1){}
|
||||
public TemplateException(String p0, Exception p1, Environment p2){}
|
||||
public TemplateException(String p0, Throwable p1, Environment p2){}
|
||||
public TemplateException(Throwable p0, Environment p1){}
|
||||
public void printStackTrace(PrintStream p0){}
|
||||
public void printStackTrace(PrintStream p0, boolean p1, boolean p2, boolean p3){}
|
||||
public void printStackTrace(PrintWriter p0){}
|
||||
public void printStackTrace(PrintWriter p0, boolean p1, boolean p2, boolean p3){}
|
||||
public void printStandardStackTrace(PrintStream p0){}
|
||||
public void printStandardStackTrace(PrintWriter p0){}
|
||||
}
|
||||
16
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateExceptionHandler.java
generated
Normal file
16
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateExceptionHandler.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from freemarker.template.TemplateExceptionHandler for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.core.Environment;
|
||||
import freemarker.template.TemplateException;
|
||||
import java.io.Writer;
|
||||
|
||||
public interface TemplateExceptionHandler
|
||||
{
|
||||
static TemplateExceptionHandler DEBUG_HANDLER = null;
|
||||
static TemplateExceptionHandler HTML_DEBUG_HANDLER = null;
|
||||
static TemplateExceptionHandler IGNORE_HANDLER = null;
|
||||
static TemplateExceptionHandler RETHROW_HANDLER = null;
|
||||
void handleTemplateException(TemplateException p0, Environment p1, Writer p2);
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateHashModel.java
generated
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateHashModel.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.template.TemplateHashModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface TemplateHashModel extends TemplateModel
|
||||
{
|
||||
TemplateModel get(String p0);
|
||||
boolean isEmpty();
|
||||
}
|
||||
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateHashModelEx.java
generated
Normal file
13
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateHashModelEx.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from freemarker.template.TemplateHashModelEx for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateCollectionModel;
|
||||
import freemarker.template.TemplateHashModel;
|
||||
|
||||
public interface TemplateHashModelEx extends TemplateHashModel
|
||||
{
|
||||
TemplateCollectionModel keys();
|
||||
TemplateCollectionModel values();
|
||||
int size();
|
||||
}
|
||||
21
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateHashModelEx2.java
generated
Normal file
21
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateHashModelEx2.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from freemarker.template.TemplateHashModelEx2 for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateHashModelEx;
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface TemplateHashModelEx2 extends TemplateHashModelEx
|
||||
{
|
||||
TemplateHashModelEx2.KeyValuePairIterator keyValuePairIterator();
|
||||
static public interface KeyValuePair
|
||||
{
|
||||
TemplateModel getKey();
|
||||
TemplateModel getValue();
|
||||
}
|
||||
static public interface KeyValuePairIterator
|
||||
{
|
||||
TemplateHashModelEx2.KeyValuePair next();
|
||||
boolean hasNext();
|
||||
}
|
||||
}
|
||||
9
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateModel.java
generated
Normal file
9
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateModel.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from freemarker.template.TemplateModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
|
||||
public interface TemplateModel
|
||||
{
|
||||
static TemplateModel NOTHING = null;
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateModelIterator.java
generated
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateModelIterator.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.template.TemplateModelIterator for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface TemplateModelIterator
|
||||
{
|
||||
TemplateModel next();
|
||||
boolean hasNext();
|
||||
}
|
||||
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateNodeModel.java
generated
Normal file
15
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateNodeModel.java
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from freemarker.template.TemplateNodeModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
import freemarker.template.TemplateSequenceModel;
|
||||
|
||||
public interface TemplateNodeModel extends TemplateModel
|
||||
{
|
||||
String getNodeName();
|
||||
String getNodeNamespace();
|
||||
String getNodeType();
|
||||
TemplateNodeModel getParentNode();
|
||||
TemplateSequenceModel getChildNodes();
|
||||
}
|
||||
10
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateNumberModel.java
generated
Normal file
10
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateNumberModel.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from freemarker.template.TemplateNumberModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface TemplateNumberModel extends TemplateModel
|
||||
{
|
||||
Number getAsNumber();
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateScalarModel.java
generated
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateScalarModel.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.template.TemplateScalarModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface TemplateScalarModel extends TemplateModel
|
||||
{
|
||||
String getAsString();
|
||||
static TemplateModel EMPTY_STRING = null;
|
||||
}
|
||||
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateSequenceModel.java
generated
Normal file
11
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/TemplateSequenceModel.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from freemarker.template.TemplateSequenceModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
public interface TemplateSequenceModel extends TemplateModel
|
||||
{
|
||||
TemplateModel get(int p0);
|
||||
int size();
|
||||
}
|
||||
27
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/Version.java
generated
Normal file
27
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/Version.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from freemarker.template.Version for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class Version implements Serializable
|
||||
{
|
||||
protected Version() {}
|
||||
public Boolean isGAECompliant(){ return null; }
|
||||
public Date getBuildDate(){ return null; }
|
||||
public String getExtraInfo(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public Version(String p0){}
|
||||
public Version(String p0, Boolean p1, Date p2){}
|
||||
public Version(int p0){}
|
||||
public Version(int p0, int p1, int p2){}
|
||||
public Version(int p0, int p1, int p2, String p3, Boolean p4, Date p5){}
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int getMajor(){ return 0; }
|
||||
public int getMicro(){ return 0; }
|
||||
public int getMinor(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public int intValue(){ return 0; }
|
||||
public static int intValueFor(int p0, int p1, int p2){ return 0; }
|
||||
}
|
||||
17
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/WrappingTemplateModel.java
generated
Normal file
17
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/WrappingTemplateModel.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from freemarker.template.WrappingTemplateModel for testing purposes
|
||||
|
||||
package freemarker.template;
|
||||
|
||||
import freemarker.template.ObjectWrapper;
|
||||
import freemarker.template.TemplateModel;
|
||||
|
||||
abstract public class WrappingTemplateModel
|
||||
{
|
||||
protected WrappingTemplateModel(){}
|
||||
protected WrappingTemplateModel(ObjectWrapper p0){}
|
||||
protected final TemplateModel wrap(Object p0){ return null; }
|
||||
public ObjectWrapper getObjectWrapper(){ return null; }
|
||||
public static ObjectWrapper getDefaultObjectWrapper(){ return null; }
|
||||
public static void setDefaultObjectWrapper(ObjectWrapper p0){}
|
||||
public void setObjectWrapper(ObjectWrapper p0){}
|
||||
}
|
||||
9
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/utility/ObjectFactory.java
generated
Normal file
9
java/ql/test/stubs/apache-freemarker-2.3.31/freemarker/template/utility/ObjectFactory.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from freemarker.template.utility.ObjectFactory for testing purposes
|
||||
|
||||
package freemarker.template.utility;
|
||||
|
||||
|
||||
public interface ObjectFactory<T>
|
||||
{
|
||||
T createObject();
|
||||
}
|
||||
19
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/Template.java
generated
Normal file
19
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/Template.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from org.apache.velocity.Template for testing purposes
|
||||
|
||||
package org.apache.velocity;
|
||||
|
||||
import java.io.Writer;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.runtime.resource.Resource;
|
||||
|
||||
public class Template extends Resource
|
||||
{
|
||||
public Map<String, Object> getMacros(){ return null; }
|
||||
public Template(){}
|
||||
public boolean process(){ return false; }
|
||||
public void initDocument(){}
|
||||
public void merge(Context p0, Writer p1){}
|
||||
public void merge(Context p0, Writer p1, List<String> p2){}
|
||||
}
|
||||
22
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/VelocityContext.java
generated
Normal file
22
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/VelocityContext.java
generated
Normal file
@@ -0,0 +1,22 @@
|
||||
// Generated automatically from org.apache.velocity.VelocityContext for testing purposes
|
||||
|
||||
package org.apache.velocity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
import org.apache.velocity.context.AbstractContext;
|
||||
import org.apache.velocity.context.Context;
|
||||
|
||||
public class VelocityContext extends AbstractContext implements Cloneable, Serializable
|
||||
{
|
||||
public Object clone(){ return null; }
|
||||
public Object internalGet(String p0){ return null; }
|
||||
public Object internalPut(String p0, Object p1){ return null; }
|
||||
public Object internalRemove(String p0){ return null; }
|
||||
public String[] internalGetKeys(){ return null; }
|
||||
public VelocityContext(){}
|
||||
public VelocityContext(Context p0){}
|
||||
public VelocityContext(Map<String, Object> p0){}
|
||||
public VelocityContext(Map<String, Object> p0, Context p1){}
|
||||
public boolean internalContainsKey(String p0){ return false; }
|
||||
}
|
||||
36
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/Velocity.java
generated
Normal file
36
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/Velocity.java
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
// Generated automatically from org.apache.velocity.app.Velocity for testing purposes
|
||||
|
||||
package org.apache.velocity.app;
|
||||
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
||||
import java.util.Properties;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.runtime.RuntimeConstants;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
public class Velocity implements RuntimeConstants
|
||||
{
|
||||
public Velocity(){}
|
||||
public static Logger getLog(){ return null; }
|
||||
public static Object getProperty(String p0){ return null; }
|
||||
public static Template getTemplate(String p0){ return null; }
|
||||
public static Template getTemplate(String p0, String p1){ return null; }
|
||||
public static boolean evaluate(Context p0, Writer p1, String p2, Reader p3){ return false; }
|
||||
public static boolean evaluate(Context p0, Writer p1, String p2, String p3){ return false; }
|
||||
public static boolean invokeVelocimacro(String p0, String p1, String[] p2, Context p3, Writer p4){ return false; }
|
||||
public static boolean mergeTemplate(String p0, String p1, Context p2, Writer p3){ return false; }
|
||||
public static boolean resourceExists(String p0){ return false; }
|
||||
public static void addProperty(String p0, Object p1){}
|
||||
public static void clearProperty(String p0){}
|
||||
public static void init(){}
|
||||
public static void init(Properties p0){}
|
||||
public static void init(String p0){}
|
||||
public static void reset(){}
|
||||
public static void setApplicationAttribute(Object p0, Object p1){}
|
||||
public static void setProperties(Properties p0){}
|
||||
public static void setProperty(String p0, Object p1){}
|
||||
public void loadDirective(String p0){}
|
||||
public void removeDirective(String p0){}
|
||||
}
|
||||
40
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/VelocityEngine.java
generated
Normal file
40
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/VelocityEngine.java
generated
Normal file
@@ -0,0 +1,40 @@
|
||||
// Generated automatically from org.apache.velocity.app.VelocityEngine for testing purposes
|
||||
|
||||
package org.apache.velocity.app;
|
||||
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
||||
import java.util.Properties;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.runtime.RuntimeConstants;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
public class VelocityEngine implements RuntimeConstants
|
||||
{
|
||||
public Logger getLog(){ return null; }
|
||||
public Object getApplicationAttribute(Object p0){ return null; }
|
||||
public Object getProperty(String p0){ return null; }
|
||||
public Template getTemplate(String p0){ return null; }
|
||||
public Template getTemplate(String p0, String p1){ return null; }
|
||||
public VelocityEngine(){}
|
||||
public VelocityEngine(Properties p0){}
|
||||
public VelocityEngine(String p0){}
|
||||
public boolean evaluate(Context p0, Writer p1, String p2, Reader p3){ return false; }
|
||||
public boolean evaluate(Context p0, Writer p1, String p2, String p3){ return false; }
|
||||
public boolean invokeVelocimacro(String p0, String p1, String[] p2, Context p3, Writer p4){ return false; }
|
||||
public boolean mergeTemplate(String p0, String p1, Context p2, Writer p3){ return false; }
|
||||
public boolean resourceExists(String p0){ return false; }
|
||||
public void addProperty(String p0, Object p1){}
|
||||
public void clearProperty(String p0){}
|
||||
public void init(){}
|
||||
public void init(Properties p0){}
|
||||
public void init(String p0){}
|
||||
public void loadDirective(String p0){}
|
||||
public void removeDirective(String p0){}
|
||||
public void reset(){}
|
||||
public void setApplicationAttribute(Object p0, Object p1){}
|
||||
public void setProperties(Properties p0){}
|
||||
public void setProperties(String p0){}
|
||||
public void setProperty(String p0, Object p1){}
|
||||
}
|
||||
35
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/event/EventCartridge.java
generated
Normal file
35
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/event/EventCartridge.java
generated
Normal file
@@ -0,0 +1,35 @@
|
||||
// Generated automatically from org.apache.velocity.app.event.EventCartridge for testing purposes
|
||||
|
||||
package org.apache.velocity.app.event;
|
||||
|
||||
import org.apache.velocity.app.event.EventHandler;
|
||||
import org.apache.velocity.app.event.IncludeEventHandler;
|
||||
import org.apache.velocity.app.event.InvalidReferenceEventHandler;
|
||||
import org.apache.velocity.app.event.MethodExceptionEventHandler;
|
||||
import org.apache.velocity.app.event.ReferenceInsertionEventHandler;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
import org.apache.velocity.util.introspection.Info;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
public class EventCartridge
|
||||
{
|
||||
protected Logger getLog(){ return null; }
|
||||
protected RuntimeServices rsvc = null;
|
||||
public EventCartridge(){}
|
||||
public Object invalidGetMethod(Context p0, String p1, Object p2, String p3, Info p4){ return null; }
|
||||
public Object invalidMethod(Context p0, String p1, Object p2, String p3, Info p4){ return null; }
|
||||
public Object methodException(Context p0, Class<? extends Object> p1, String p2, Exception p3, Info p4){ return null; }
|
||||
public Object referenceInsert(InternalContextAdapter p0, String p1, Object p2){ return null; }
|
||||
public String includeEvent(Context p0, String p1, String p2, String p3){ return null; }
|
||||
public boolean addEventHandler(EventHandler p0){ return false; }
|
||||
public boolean invalidSetMethod(Context p0, String p1, String p2, Info p3){ return false; }
|
||||
public boolean removeEventHandler(EventHandler p0){ return false; }
|
||||
public final boolean attachToContext(Context p0){ return false; }
|
||||
public void addIncludeEventHandler(IncludeEventHandler p0){}
|
||||
public void addInvalidReferenceEventHandler(InvalidReferenceEventHandler p0){}
|
||||
public void addMethodExceptionHandler(MethodExceptionEventHandler p0){}
|
||||
public void addReferenceInsertionEventHandler(ReferenceInsertionEventHandler p0){}
|
||||
public void setRuntimeServices(RuntimeServices p0){}
|
||||
}
|
||||
8
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/event/EventHandler.java
generated
Normal file
8
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/event/EventHandler.java
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
// Generated automatically from org.apache.velocity.app.event.EventHandler for testing purposes
|
||||
|
||||
package org.apache.velocity.app.event;
|
||||
|
||||
|
||||
public interface EventHandler
|
||||
{
|
||||
}
|
||||
11
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/event/IncludeEventHandler.java
generated
Normal file
11
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/app/event/IncludeEventHandler.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from org.apache.velocity.app.event.IncludeEventHandler for testing purposes
|
||||
|
||||
package org.apache.velocity.app.event;
|
||||
|
||||
import org.apache.velocity.app.event.EventHandler;
|
||||
import org.apache.velocity.context.Context;
|
||||
|
||||
public interface IncludeEventHandler extends EventHandler
|
||||
{
|
||||
String includeEvent(Context p0, String p1, String p2, String p3);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from org.apache.velocity.app.event.InvalidReferenceEventHandler for testing purposes
|
||||
|
||||
package org.apache.velocity.app.event;
|
||||
|
||||
import org.apache.velocity.app.event.EventHandler;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.util.introspection.Info;
|
||||
|
||||
public interface InvalidReferenceEventHandler extends EventHandler
|
||||
{
|
||||
Object invalidGetMethod(Context p0, String p1, Object p2, String p3, Info p4);
|
||||
Object invalidMethod(Context p0, String p1, Object p2, String p3, Info p4);
|
||||
boolean invalidSetMethod(Context p0, String p1, String p2, Info p3);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from org.apache.velocity.app.event.MethodExceptionEventHandler for testing purposes
|
||||
|
||||
package org.apache.velocity.app.event;
|
||||
|
||||
import org.apache.velocity.app.event.EventHandler;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.util.introspection.Info;
|
||||
|
||||
public interface MethodExceptionEventHandler extends EventHandler
|
||||
{
|
||||
Object methodException(Context p0, Class<? extends Object> p1, String p2, Exception p3, Info p4);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from org.apache.velocity.app.event.ReferenceInsertionEventHandler for testing purposes
|
||||
|
||||
package org.apache.velocity.app.event;
|
||||
|
||||
import org.apache.velocity.app.event.EventHandler;
|
||||
import org.apache.velocity.context.Context;
|
||||
|
||||
public interface ReferenceInsertionEventHandler extends EventHandler
|
||||
{
|
||||
Object referenceInsert(Context p0, String p1, Object p2);
|
||||
}
|
||||
23
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/AbstractContext.java
generated
Normal file
23
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/AbstractContext.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from org.apache.velocity.context.AbstractContext for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.context.InternalContextBase;
|
||||
|
||||
abstract public class AbstractContext extends InternalContextBase implements Context
|
||||
{
|
||||
public AbstractContext(){}
|
||||
public AbstractContext(Context p0){}
|
||||
public Context getChainedContext(){ return null; }
|
||||
public Object get(String p0){ return null; }
|
||||
public Object put(String p0, Object p1){ return null; }
|
||||
public Object remove(String p0){ return null; }
|
||||
public String[] getKeys(){ return null; }
|
||||
public abstract Object internalGet(String p0);
|
||||
public abstract Object internalPut(String p0, Object p1);
|
||||
public abstract Object internalRemove(String p0);
|
||||
public abstract String[] internalGetKeys();
|
||||
public abstract boolean internalContainsKey(String p0);
|
||||
public boolean containsKey(String p0){ return false; }
|
||||
}
|
||||
13
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/Context.java
generated
Normal file
13
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/Context.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from org.apache.velocity.context.Context for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
|
||||
public interface Context
|
||||
{
|
||||
Object get(String p0);
|
||||
Object put(String p0, Object p1);
|
||||
Object remove(String p0);
|
||||
String[] getKeys();
|
||||
boolean containsKey(String p0);
|
||||
}
|
||||
12
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalContextAdapter.java
generated
Normal file
12
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalContextAdapter.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from org.apache.velocity.context.InternalContextAdapter for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.context.InternalEventContext;
|
||||
import org.apache.velocity.context.InternalHousekeepingContext;
|
||||
import org.apache.velocity.context.InternalWrapperContext;
|
||||
|
||||
public interface InternalContextAdapter extends Context, InternalEventContext, InternalHousekeepingContext, InternalWrapperContext
|
||||
{
|
||||
}
|
||||
32
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalContextBase.java
generated
Normal file
32
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalContextBase.java
generated
Normal file
@@ -0,0 +1,32 @@
|
||||
// Generated automatically from org.apache.velocity.context.InternalContextBase for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.app.event.EventCartridge;
|
||||
import org.apache.velocity.context.InternalEventContext;
|
||||
import org.apache.velocity.context.InternalHousekeepingContext;
|
||||
import org.apache.velocity.runtime.resource.Resource;
|
||||
import org.apache.velocity.util.introspection.IntrospectionCacheData;
|
||||
|
||||
class InternalContextBase implements InternalEventContext, InternalHousekeepingContext
|
||||
{
|
||||
public EventCartridge attachEventCartridge(EventCartridge p0){ return null; }
|
||||
public EventCartridge getEventCartridge(){ return null; }
|
||||
public IntrospectionCacheData icacheGet(Object p0){ return null; }
|
||||
public List<Template> getMacroLibraries(){ return null; }
|
||||
public Resource getCurrentResource(){ return null; }
|
||||
public String getCurrentMacroName(){ return null; }
|
||||
public String getCurrentTemplateName(){ return null; }
|
||||
public String[] getMacroNameStack(){ return null; }
|
||||
public String[] getTemplateNameStack(){ return null; }
|
||||
public int getCurrentMacroCallDepth(){ return 0; }
|
||||
public void icachePut(Object p0, IntrospectionCacheData p1){}
|
||||
public void popCurrentMacroName(){}
|
||||
public void popCurrentTemplateName(){}
|
||||
public void pushCurrentMacroName(String p0){}
|
||||
public void pushCurrentTemplateName(String p0){}
|
||||
public void setCurrentResource(Resource p0){}
|
||||
public void setMacroLibraries(List<Template> p0){}
|
||||
}
|
||||
11
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalEventContext.java
generated
Normal file
11
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalEventContext.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from org.apache.velocity.context.InternalEventContext for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
import org.apache.velocity.app.event.EventCartridge;
|
||||
|
||||
public interface InternalEventContext
|
||||
{
|
||||
EventCartridge attachEventCartridge(EventCartridge p0);
|
||||
EventCartridge getEventCartridge();
|
||||
}
|
||||
27
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalHousekeepingContext.java
generated
Normal file
27
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalHousekeepingContext.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from org.apache.velocity.context.InternalHousekeepingContext for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.runtime.resource.Resource;
|
||||
import org.apache.velocity.util.introspection.IntrospectionCacheData;
|
||||
|
||||
interface InternalHousekeepingContext
|
||||
{
|
||||
IntrospectionCacheData icacheGet(Object p0);
|
||||
List<Template> getMacroLibraries();
|
||||
Resource getCurrentResource();
|
||||
String getCurrentMacroName();
|
||||
String getCurrentTemplateName();
|
||||
String[] getMacroNameStack();
|
||||
String[] getTemplateNameStack();
|
||||
int getCurrentMacroCallDepth();
|
||||
void icachePut(Object p0, IntrospectionCacheData p1);
|
||||
void popCurrentMacroName();
|
||||
void popCurrentTemplateName();
|
||||
void pushCurrentMacroName(String p0);
|
||||
void pushCurrentTemplateName(String p0);
|
||||
void setCurrentResource(Resource p0);
|
||||
void setMacroLibraries(List<Template> p0);
|
||||
}
|
||||
15
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalWrapperContext.java
generated
Normal file
15
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/context/InternalWrapperContext.java
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from org.apache.velocity.context.InternalWrapperContext for testing purposes
|
||||
|
||||
package org.apache.velocity.context;
|
||||
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
|
||||
public interface InternalWrapperContext
|
||||
{
|
||||
Context getInternalUserContext();
|
||||
InternalContextAdapter getBaseContext();
|
||||
Object get(String p0);
|
||||
Object put(String p0, Object p1);
|
||||
boolean containsKey(String p0);
|
||||
}
|
||||
48
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/DeprecatedRuntimeConstants.java
generated
Normal file
48
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/DeprecatedRuntimeConstants.java
generated
Normal file
@@ -0,0 +1,48 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.DeprecatedRuntimeConstants for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime;
|
||||
|
||||
|
||||
public interface DeprecatedRuntimeConstants
|
||||
{
|
||||
static String OLD_CHECK_EMPTY_OBJECTS = null;
|
||||
static String OLD_CONTEXT_AUTOREFERENCE_KEY = null;
|
||||
static String OLD_CONVERSION_HANDLER_CLASS = null;
|
||||
static String OLD_CUSTOM_DIRECTIVES = null;
|
||||
static String OLD_DEFINE_DIRECTIVE_MAXDEPTH = null;
|
||||
static String OLD_DS_RESOURCE_LOADER_DATASOURCE = null;
|
||||
static String OLD_DS_RESOURCE_LOADER_KEY_COLUMN = null;
|
||||
static String OLD_DS_RESOURCE_LOADER_TEMPLATE_COLUMN = null;
|
||||
static String OLD_DS_RESOURCE_LOADER_TIMESTAMP_COLUMN = null;
|
||||
static String OLD_ERRORMSG_END = null;
|
||||
static String OLD_ERRORMSG_START = null;
|
||||
static String OLD_EVENTHANDLER_INCLUDE = null;
|
||||
static String OLD_EVENTHANDLER_INVALIDREFERENCES = null;
|
||||
static String OLD_EVENTHANDLER_METHODEXCEPTION = null;
|
||||
static String OLD_EVENTHANDLER_REFERENCEINSERTION = null;
|
||||
static String OLD_FILE_RESOURCE_LOADER_CACHE = null;
|
||||
static String OLD_FILE_RESOURCE_LOADER_PATH = null;
|
||||
static String OLD_INPUT_ENCODING = null;
|
||||
static String OLD_INTERPOLATE_STRINGLITERALS = null;
|
||||
static String OLD_MAX_NUMBER_LOOPS = null;
|
||||
static String OLD_PARSE_DIRECTIVE_MAXDEPTH = null;
|
||||
static String OLD_RESOURCE_LOADERS = null;
|
||||
static String OLD_RESOURCE_LOADER_CHECK_INTERVAL = null;
|
||||
static String OLD_RESOURCE_MANAGER_DEFAULTCACHE_SIZE = null;
|
||||
static String OLD_RESOURCE_MANAGER_LOGWHENFOUND = null;
|
||||
static String OLD_RUNTIME_LOG_REFERENCE_LOG_INVALID = null;
|
||||
static String OLD_RUNTIME_REFERENCES_STRICT = null;
|
||||
static String OLD_RUNTIME_REFERENCES_STRICT_ESCAPE = null;
|
||||
static String OLD_SKIP_INVALID_ITERATOR = null;
|
||||
static String OLD_SPACE_GOBBLING = null;
|
||||
static String OLD_STRICT_MATH = null;
|
||||
static String OLD_UBERSPECT_CLASSNAME = null;
|
||||
static String OLD_VM_BODY_REFERENCE = null;
|
||||
static String OLD_VM_ENABLE_BC_MODE = null;
|
||||
static String OLD_VM_LIBRARY = null;
|
||||
static String OLD_VM_LIBRARY_DEFAULT = null;
|
||||
static String OLD_VM_MAX_DEPTH = null;
|
||||
static String OLD_VM_PERM_ALLOW_INLINE = null;
|
||||
static String OLD_VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL = null;
|
||||
static String OLD_VM_PERM_INLINE_LOCAL = null;
|
||||
}
|
||||
13
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/ParserConfiguration.java
generated
Normal file
13
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/ParserConfiguration.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.ParserConfiguration for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime;
|
||||
|
||||
|
||||
public class ParserConfiguration
|
||||
{
|
||||
public ParserConfiguration(){}
|
||||
public char getAsteriskChar(){ return '0'; }
|
||||
public char getAtChar(){ return '0'; }
|
||||
public char getDollarChar(){ return '0'; }
|
||||
public char getHashChar(){ return '0'; }
|
||||
}
|
||||
11
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/Renderable.java
generated
Normal file
11
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/Renderable.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.Renderable for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime;
|
||||
|
||||
import java.io.Writer;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
|
||||
public interface Renderable
|
||||
{
|
||||
boolean render(InternalContextAdapter p0, Writer p1);
|
||||
}
|
||||
90
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/RuntimeConstants.java
generated
Normal file
90
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/RuntimeConstants.java
generated
Normal file
@@ -0,0 +1,90 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.RuntimeConstants for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime;
|
||||
|
||||
import org.apache.velocity.runtime.DeprecatedRuntimeConstants;
|
||||
|
||||
public interface RuntimeConstants extends DeprecatedRuntimeConstants
|
||||
{
|
||||
static String CHECK_EMPTY_OBJECTS = null;
|
||||
static String CONTEXT_AUTOREFERENCE_KEY = null;
|
||||
static String CONTEXT_SCOPE_CONTROL = null;
|
||||
static String CONVERSION_HANDLER_CLASS = null;
|
||||
static String CONVERSION_HANDLER_INSTANCE = null;
|
||||
static String CUSTOM_DIRECTIVES = null;
|
||||
static String DEFAULT_PARSER_CLASS = null;
|
||||
static String DEFAULT_RUNTIME_DIRECTIVES = null;
|
||||
static String DEFAULT_RUNTIME_LOG_NAME = null;
|
||||
static String DEFAULT_RUNTIME_PROPERTIES = null;
|
||||
static String DEFINE_DIRECTIVE_MAXDEPTH = null;
|
||||
static String DS_RESOURCE_LOADER_DATASOURCE = null;
|
||||
static String DS_RESOURCE_LOADER_KEY_COLUMN = null;
|
||||
static String DS_RESOURCE_LOADER_TABLE = null;
|
||||
static String DS_RESOURCE_LOADER_TEMPLATE_COLUMN = null;
|
||||
static String DS_RESOURCE_LOADER_TIMESTAMP_COLUMN = null;
|
||||
static String ENCODING_DEFAULT = null;
|
||||
static String ERRORMSG_END = null;
|
||||
static String ERRORMSG_START = null;
|
||||
static String EVENTHANDLER_INCLUDE = null;
|
||||
static String EVENTHANDLER_INVALIDREFERENCES = null;
|
||||
static String EVENTHANDLER_INVALIDREFERENCES_NULL = null;
|
||||
static String EVENTHANDLER_INVALIDREFERENCES_QUIET = null;
|
||||
static String EVENTHANDLER_INVALIDREFERENCES_TESTED = null;
|
||||
static String EVENTHANDLER_METHODEXCEPTION = null;
|
||||
static String EVENTHANDLER_REFERENCEINSERTION = null;
|
||||
static String FILE_RESOURCE_LOADER_CACHE = null;
|
||||
static String FILE_RESOURCE_LOADER_PATH = null;
|
||||
static String INPUT_ENCODING = null;
|
||||
static String INTERPOLATE_STRINGLITERALS = null;
|
||||
static String INTROSPECTOR_RESTRICT_CLASSES = null;
|
||||
static String INTROSPECTOR_RESTRICT_PACKAGES = null;
|
||||
static String MAX_NUMBER_LOOPS = null;
|
||||
static String PARSER_CLASS = null;
|
||||
static String PARSER_HYPHEN_ALLOWED = null;
|
||||
static String PARSER_POOL_CLASS = null;
|
||||
static String PARSER_POOL_SIZE = null;
|
||||
static String PARSE_DIRECTIVE_MAXDEPTH = null;
|
||||
static String PROVIDE_SCOPE_CONTROL = null;
|
||||
static String RESOURCE_LOADER = null;
|
||||
static String RESOURCE_LOADERS = null;
|
||||
static String RESOURCE_LOADER_CACHE = null;
|
||||
static String RESOURCE_LOADER_CHECK_INTERVAL = null;
|
||||
static String RESOURCE_LOADER_CLASS = null;
|
||||
static String RESOURCE_LOADER_IDENTIFIER = null;
|
||||
static String RESOURCE_LOADER_INSTANCE = null;
|
||||
static String RESOURCE_LOADER_PATHS = null;
|
||||
static String RESOURCE_MANAGER_CACHE_CLASS = null;
|
||||
static String RESOURCE_MANAGER_CLASS = null;
|
||||
static String RESOURCE_MANAGER_DEFAULTCACHE_SIZE = null;
|
||||
static String RESOURCE_MANAGER_INSTANCE = null;
|
||||
static String RESOURCE_MANAGER_LOGWHENFOUND = null;
|
||||
static String RUNTIME_LOG_INSTANCE = null;
|
||||
static String RUNTIME_LOG_METHOD_CALL_LOG_INVALID = null;
|
||||
static String RUNTIME_LOG_NAME = null;
|
||||
static String RUNTIME_LOG_REFERENCE_LOG_INVALID = null;
|
||||
static String RUNTIME_LOG_TRACK_LOCATION = null;
|
||||
static String RUNTIME_REFERENCES_STRICT = null;
|
||||
static String RUNTIME_REFERENCES_STRICT_ESCAPE = null;
|
||||
static String RUNTIME_STRING_INTERNING = null;
|
||||
static String SKIP_INVALID_ITERATOR = null;
|
||||
static String SPACE_GOBBLING = null;
|
||||
static String STRICT_MATH = null;
|
||||
static String UBERSPECT_CLASSNAME = null;
|
||||
static String VM_ARGUMENTS_STRICT = null;
|
||||
static String VM_BODY_REFERENCE = null;
|
||||
static String VM_ENABLE_BC_MODE = null;
|
||||
static String VM_LIBRARY = null;
|
||||
static String VM_LIBRARY_AUTORELOAD = null;
|
||||
static String VM_LIBRARY_DEFAULT = null;
|
||||
static String VM_MAX_DEPTH = null;
|
||||
static String VM_MESSAGES_ON = null;
|
||||
static String VM_PERM_ALLOW_INLINE = null;
|
||||
static String VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL = null;
|
||||
static String VM_PERM_INLINE_LOCAL = null;
|
||||
static int NUMBER_OF_PARSERS = 0;
|
||||
static public enum SpaceGobbling
|
||||
{
|
||||
BC, LINES, NONE, STRUCTURED;
|
||||
private SpaceGobbling() {}
|
||||
}
|
||||
}
|
||||
68
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/RuntimeServices.java
generated
Normal file
68
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/RuntimeServices.java
generated
Normal file
@@ -0,0 +1,68 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.RuntimeServices for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime;
|
||||
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.app.event.EventCartridge;
|
||||
import org.apache.velocity.context.Context;
|
||||
import org.apache.velocity.runtime.ParserConfiguration;
|
||||
import org.apache.velocity.runtime.RuntimeConstants;
|
||||
import org.apache.velocity.runtime.directive.Directive;
|
||||
import org.apache.velocity.runtime.directive.Macro;
|
||||
import org.apache.velocity.runtime.parser.LogContext;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.Node;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
import org.apache.velocity.runtime.resource.ContentResource;
|
||||
import org.apache.velocity.util.ExtProperties;
|
||||
import org.apache.velocity.util.introspection.Uberspect;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
public interface RuntimeServices
|
||||
{
|
||||
ContentResource getContent(String p0);
|
||||
ContentResource getContent(String p0, String p1);
|
||||
Directive getDirective(String p0);
|
||||
Directive getVelocimacro(String p0, Template p1, Template p2);
|
||||
EventCartridge getApplicationEventCartridge();
|
||||
ExtProperties getConfiguration();
|
||||
LogContext getLogContext();
|
||||
Logger getLog();
|
||||
Logger getLog(String p0);
|
||||
Object getApplicationAttribute(Object p0);
|
||||
Object getProperty(String p0);
|
||||
Object setApplicationAttribute(Object p0, Object p1);
|
||||
Parser createNewParser();
|
||||
ParserConfiguration getParserConfiguration();
|
||||
RuntimeConstants.SpaceGobbling getSpaceGobbling();
|
||||
SimpleNode parse(Reader p0, Template p1);
|
||||
String getLoaderNameForResource(String p0);
|
||||
String getString(String p0);
|
||||
String getString(String p0, String p1);
|
||||
Template getTemplate(String p0);
|
||||
Template getTemplate(String p0, String p1);
|
||||
Uberspect getUberspect();
|
||||
boolean addVelocimacro(String p0, Node p1, List<Macro.MacroArg> p2, Template p3);
|
||||
boolean evaluate(Context p0, Writer p1, String p2, Reader p3);
|
||||
boolean evaluate(Context p0, Writer p1, String p2, String p3);
|
||||
boolean getBoolean(String p0, boolean p1);
|
||||
boolean invokeVelocimacro(String p0, String p1, String[] p2, Context p3, Writer p4);
|
||||
boolean isHyphenAllowedInIdentifiers();
|
||||
boolean isInitialized();
|
||||
boolean isScopeControlEnabled(String p0);
|
||||
boolean isVelocimacro(String p0, Template p1);
|
||||
boolean useStringInterning();
|
||||
int getInt(String p0);
|
||||
int getInt(String p0, int p1);
|
||||
void addProperty(String p0, Object p1);
|
||||
void clearProperty(String p0);
|
||||
void init();
|
||||
void init(Properties p0);
|
||||
void init(String p0);
|
||||
void setConfiguration(ExtProperties p0);
|
||||
void setProperty(String p0, Object p1);
|
||||
}
|
||||
37
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/Directive.java
generated
Normal file
37
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/Directive.java
generated
Normal file
@@ -0,0 +1,37 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.directive.Directive for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.directive;
|
||||
|
||||
import java.io.Writer;
|
||||
import java.util.ArrayList;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
import org.apache.velocity.runtime.directive.DirectiveConstants;
|
||||
import org.apache.velocity.runtime.directive.Scope;
|
||||
import org.apache.velocity.runtime.parser.Token;
|
||||
import org.apache.velocity.runtime.parser.node.Node;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
abstract public class Directive implements Cloneable, DirectiveConstants
|
||||
{
|
||||
protected Logger log = null;
|
||||
protected RuntimeServices rsvc = null;
|
||||
protected Scope makeScope(Object p0){ return null; }
|
||||
protected void postRender(InternalContextAdapter p0){}
|
||||
protected void preRender(InternalContextAdapter p0){}
|
||||
public Directive(){}
|
||||
public String getScopeName(){ return null; }
|
||||
public String getTemplateName(){ return null; }
|
||||
public Template getTemplate(){ return null; }
|
||||
public abstract String getName();
|
||||
public abstract boolean render(InternalContextAdapter p0, Writer p1, Node p2);
|
||||
public abstract int getType();
|
||||
public boolean isScopeProvided(){ return false; }
|
||||
public int getColumn(){ return 0; }
|
||||
public int getLine(){ return 0; }
|
||||
public void checkArgs(ArrayList<Integer> p0, Token p1, String p2){}
|
||||
public void init(RuntimeServices p0, InternalContextAdapter p1, Node p2){}
|
||||
public void setLocation(int p0, int p1){}
|
||||
public void setLocation(int p0, int p1, Template p2){}
|
||||
}
|
||||
10
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/DirectiveConstants.java
generated
Normal file
10
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/DirectiveConstants.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.directive.DirectiveConstants for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.directive;
|
||||
|
||||
|
||||
public interface DirectiveConstants
|
||||
{
|
||||
static int BLOCK = 0;
|
||||
static int LINE = 0;
|
||||
}
|
||||
30
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/Macro.java
generated
Normal file
30
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/Macro.java
generated
Normal file
@@ -0,0 +1,30 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.directive.Macro for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.directive;
|
||||
|
||||
import java.io.Writer;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
import org.apache.velocity.runtime.directive.Directive;
|
||||
import org.apache.velocity.runtime.parser.Token;
|
||||
import org.apache.velocity.runtime.parser.node.Node;
|
||||
|
||||
public class Macro extends Directive
|
||||
{
|
||||
public Macro(){}
|
||||
public String getName(){ return null; }
|
||||
public boolean isScopeProvided(){ return false; }
|
||||
public boolean render(InternalContextAdapter p0, Writer p1, Node p2){ return false; }
|
||||
public int getType(){ return 0; }
|
||||
public static StringBuilder macroToString(StringBuilder p0, List<Macro.MacroArg> p1, RuntimeServices p2){ return null; }
|
||||
public void checkArgs(ArrayList<Integer> p0, Token p1, String p2){}
|
||||
public void init(RuntimeServices p0, InternalContextAdapter p1, Node p2){}
|
||||
static public class MacroArg
|
||||
{
|
||||
public MacroArg(){}
|
||||
public Node defaultVal = null;
|
||||
public String name = null;
|
||||
}
|
||||
}
|
||||
36
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/Scope.java
generated
Normal file
36
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/directive/Scope.java
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.directive.Scope for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.directive;
|
||||
|
||||
import java.util.AbstractMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public class Scope extends AbstractMap<Object, Object>
|
||||
{
|
||||
protected Scope() {}
|
||||
protected final Object owner = null;
|
||||
protected int getDepth(){ return 0; }
|
||||
protected void stop(){}
|
||||
public Object get(Object p0){ return null; }
|
||||
public Object getReplaced(){ return null; }
|
||||
public Object put(Object p0, Object p1){ return null; }
|
||||
public Scope getParent(){ return null; }
|
||||
public Scope getTopmost(){ return null; }
|
||||
public Scope(Object p0, Object p1){}
|
||||
public Scope.Info getInfo(){ return null; }
|
||||
public Set<Map.Entry<Object, Object>> entrySet(){ return null; }
|
||||
public String set(Object p0, Object p1){ return null; }
|
||||
static public class Info
|
||||
{
|
||||
protected Info() {}
|
||||
public Info(Scope p0, Object p1){}
|
||||
public String getName(){ return null; }
|
||||
public String getTemplate(){ return null; }
|
||||
public String getType(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public int getColumn(){ return 0; }
|
||||
public int getDepth(){ return 0; }
|
||||
public int getLine(){ return 0; }
|
||||
}
|
||||
}
|
||||
18
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/CharStream.java
generated
Normal file
18
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/CharStream.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.CharStream for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser;
|
||||
|
||||
|
||||
public interface CharStream
|
||||
{
|
||||
String GetImage();
|
||||
char BeginToken();
|
||||
char readChar();
|
||||
char[] GetSuffix(int p0);
|
||||
int getBeginColumn();
|
||||
int getBeginLine();
|
||||
int getEndColumn();
|
||||
int getEndLine();
|
||||
void Done();
|
||||
void backup(int p0);
|
||||
}
|
||||
20
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/LogContext.java
generated
Normal file
20
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/LogContext.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.LogContext for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser;
|
||||
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
import org.apache.velocity.util.introspection.Info;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
public class LogContext
|
||||
{
|
||||
protected LogContext() {}
|
||||
protected static Logger logger = null;
|
||||
public LogContext(boolean p0){}
|
||||
public String[] getStackTrace(){ return null; }
|
||||
public static String MDC_COLUMN = null;
|
||||
public static String MDC_FILE = null;
|
||||
public static String MDC_LINE = null;
|
||||
public void popLogContext(){}
|
||||
public void pushLogContext(SimpleNode p0, Info p1){}
|
||||
}
|
||||
29
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/Parser.java
generated
Normal file
29
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/Parser.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.Parser for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser;
|
||||
|
||||
import java.io.Reader;
|
||||
import org.apache.velocity.Template;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
import org.apache.velocity.runtime.directive.Directive;
|
||||
import org.apache.velocity.runtime.parser.CharStream;
|
||||
import org.apache.velocity.runtime.parser.Token;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public interface Parser
|
||||
{
|
||||
Directive getDirective(String p0);
|
||||
RuntimeServices getRuntimeServices();
|
||||
SimpleNode parse(Reader p0, Template p1);
|
||||
Template getCurrentTemplate();
|
||||
Token getToken(int p0);
|
||||
boolean isDirective(String p0);
|
||||
char asterisk();
|
||||
char at();
|
||||
char dollar();
|
||||
char hash();
|
||||
default String blockComment(){ return null; }
|
||||
default String lineComment(){ return null; }
|
||||
void ReInit(CharStream p0);
|
||||
void resetCurrentTemplate();
|
||||
}
|
||||
24
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/Token.java
generated
Normal file
24
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/Token.java
generated
Normal file
@@ -0,0 +1,24 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.Token for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Token implements Serializable
|
||||
{
|
||||
public Object getValue(){ return null; }
|
||||
public String image = null;
|
||||
public String toString(){ return null; }
|
||||
public Token next = null;
|
||||
public Token specialToken = null;
|
||||
public Token(){}
|
||||
public Token(int p0){}
|
||||
public Token(int p0, String p1){}
|
||||
public int beginColumn = 0;
|
||||
public int beginLine = 0;
|
||||
public int endColumn = 0;
|
||||
public int endLine = 0;
|
||||
public int kind = 0;
|
||||
public static Token newToken(int p0){ return null; }
|
||||
public static Token newToken(int p0, String p1){ return null; }
|
||||
}
|
||||
17
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTAddNode.java
generated
Normal file
17
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTAddNode.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTAddNode for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ASTMathNode;
|
||||
|
||||
public class ASTAddNode extends ASTMathNode
|
||||
{
|
||||
protected ASTAddNode() {}
|
||||
protected Object handleSpecial(Object p0, Object p1, InternalContextAdapter p2){ return null; }
|
||||
public ASTAddNode(Parser p0, int p1){}
|
||||
public ASTAddNode(int p0){}
|
||||
public Number perform(Number p0, Number p1, InternalContextAdapter p2){ return null; }
|
||||
public String getLiteralOperator(){ return null; }
|
||||
}
|
||||
19
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTAndNode.java
generated
Normal file
19
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTAndNode.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTAndNode for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ASTLogicalOperator;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
|
||||
public class ASTAndNode extends ASTLogicalOperator
|
||||
{
|
||||
protected ASTAndNode() {}
|
||||
public ASTAndNode(Parser p0, int p1){}
|
||||
public ASTAndNode(int p0){}
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public Object value(InternalContextAdapter p0){ return null; }
|
||||
public String getLiteralOperator(){ return null; }
|
||||
public boolean evaluate(InternalContextAdapter p0){ return false; }
|
||||
}
|
||||
17
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTAssignment.java
generated
Normal file
17
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTAssignment.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTAssignment for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTAssignment extends SimpleNode
|
||||
{
|
||||
protected ASTAssignment() {}
|
||||
public ASTAssignment(Parser p0, int p1){}
|
||||
public ASTAssignment(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTBinaryOperator for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
abstract public class ASTBinaryOperator extends SimpleNode
|
||||
{
|
||||
protected ASTBinaryOperator() {}
|
||||
public ASTBinaryOperator(Parser p0, int p1){}
|
||||
public ASTBinaryOperator(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public String literal(){ return null; }
|
||||
public abstract String getLiteralOperator();
|
||||
}
|
||||
25
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTBlock.java
generated
Normal file
25
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTBlock.java
generated
Normal file
@@ -0,0 +1,25 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTBlock for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import java.io.Writer;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTBlock extends SimpleNode
|
||||
{
|
||||
protected ASTBlock() {}
|
||||
public ASTBlock(Parser p0, int p1){}
|
||||
public ASTBlock(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public String getPostfix(){ return null; }
|
||||
public String getPrefix(){ return null; }
|
||||
public boolean endsWithNewline = false;
|
||||
public boolean render(InternalContextAdapter p0, Writer p1){ return false; }
|
||||
public void setMorePostfix(String p0){}
|
||||
public void setPostfix(String p0){}
|
||||
public void setPrefix(String p0){}
|
||||
}
|
||||
19
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTComment.java
generated
Normal file
19
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTComment.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTComment for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import java.io.Writer;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTComment extends SimpleNode
|
||||
{
|
||||
protected ASTComment() {}
|
||||
public ASTComment(Parser p0, int p1){}
|
||||
public ASTComment(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public boolean render(InternalContextAdapter p0, Writer p1){ return false; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTComparisonNode for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ASTBinaryOperator;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
|
||||
abstract public class ASTComparisonNode extends ASTBinaryOperator
|
||||
{
|
||||
protected ASTComparisonNode() {}
|
||||
public ASTComparisonNode(Parser p0, int p1){}
|
||||
public ASTComparisonNode(int p0){}
|
||||
public Boolean compareNumbers(Object p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public Object value(InternalContextAdapter p0){ return null; }
|
||||
public abstract String getLiteralOperator();
|
||||
public abstract boolean numberTest(int p0);
|
||||
public boolean compareNonNumber(Object p0, Object p1){ return false; }
|
||||
public boolean compareNull(Object p0, Object p1){ return false; }
|
||||
public boolean evaluate(InternalContextAdapter p0){ return false; }
|
||||
}
|
||||
29
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTDirective.java
generated
Normal file
29
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTDirective.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTDirective for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import java.io.Writer;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTDirective extends SimpleNode
|
||||
{
|
||||
protected ASTDirective() {}
|
||||
public ASTDirective(Parser p0, int p1){}
|
||||
public ASTDirective(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public String getDirectiveName(){ return null; }
|
||||
public String getMorePrefix(){ return null; }
|
||||
public String getPostfix(){ return null; }
|
||||
public String getPrefix(){ return null; }
|
||||
public String literal(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean render(InternalContextAdapter p0, Writer p1){ return false; }
|
||||
public int getDirectiveType(){ return 0; }
|
||||
public void setDirectiveName(String p0){}
|
||||
public void setPostfix(String p0){}
|
||||
public void setPrefix(String p0){}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTDirectiveAssign for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTDirectiveAssign extends SimpleNode
|
||||
{
|
||||
protected ASTDirectiveAssign() {}
|
||||
public ASTDirectiveAssign(Parser p0, int p1){}
|
||||
public ASTDirectiveAssign(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
}
|
||||
16
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTDivNode.java
generated
Normal file
16
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTDivNode.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTDivNode for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ASTMathNode;
|
||||
|
||||
public class ASTDivNode extends ASTMathNode
|
||||
{
|
||||
protected ASTDivNode() {}
|
||||
public ASTDivNode(Parser p0, int p1){}
|
||||
public ASTDivNode(int p0){}
|
||||
public Number perform(Number p0, Number p1, InternalContextAdapter p2){ return null; }
|
||||
public String getLiteralOperator(){ return null; }
|
||||
}
|
||||
17
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTEQNode.java
generated
Normal file
17
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTEQNode.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTEQNode for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ASTComparisonNode;
|
||||
|
||||
public class ASTEQNode extends ASTComparisonNode
|
||||
{
|
||||
protected ASTEQNode() {}
|
||||
public ASTEQNode(Parser p0, int p1){}
|
||||
public ASTEQNode(int p0){}
|
||||
public String getLiteralOperator(){ return null; }
|
||||
public boolean compareNonNumber(Object p0, Object p1){ return false; }
|
||||
public boolean compareNull(Object p0, Object p1){ return false; }
|
||||
public boolean numberTest(int p0){ return false; }
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTElseIfStatement for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import java.io.Writer;
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTElseIfStatement extends SimpleNode
|
||||
{
|
||||
protected ASTElseIfStatement() {}
|
||||
public ASTElseIfStatement(Parser p0, int p1){}
|
||||
public ASTElseIfStatement(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public boolean evaluate(InternalContextAdapter p0){ return false; }
|
||||
public boolean render(InternalContextAdapter p0, Writer p1){ return false; }
|
||||
}
|
||||
18
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTElseStatement.java
generated
Normal file
18
java/ql/test/stubs/apache-velocity-2.3/org/apache/velocity/runtime/parser/node/ASTElseStatement.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from org.apache.velocity.runtime.parser.node.ASTElseStatement for testing purposes
|
||||
|
||||
package org.apache.velocity.runtime.parser.node;
|
||||
|
||||
import org.apache.velocity.context.InternalContextAdapter;
|
||||
import org.apache.velocity.runtime.parser.Parser;
|
||||
import org.apache.velocity.runtime.parser.node.ParserVisitor;
|
||||
import org.apache.velocity.runtime.parser.node.SimpleNode;
|
||||
|
||||
public class ASTElseStatement extends SimpleNode
|
||||
{
|
||||
protected ASTElseStatement() {}
|
||||
public ASTElseStatement(Parser p0, int p1){}
|
||||
public ASTElseStatement(int p0){}
|
||||
public Object init(InternalContextAdapter p0, Object p1){ return null; }
|
||||
public Object jjtAccept(ParserVisitor p0, Object p1){ return null; }
|
||||
public boolean evaluate(InternalContextAdapter p0){ return false; }
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user