public class RuntimeRebindRuleGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
RUNTIME_REBIND_RULE_SOURCES_BY_SHORT_NAME |
static int |
runtimeRebindRuleCount |
Constructor and Description |
---|
RuntimeRebindRuleGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate(String jsniCreateInstanceExpression,
String matchesExpression)
Generates and stores a runtime rebind rule class definition for the given match expression and
instance creation expression.
The provided instance creation expression *must* be JSNI to avoid private access restrictions on the types being instantiated. |
public static final Map<String,String> RUNTIME_REBIND_RULE_SOURCES_BY_SHORT_NAME
public static int runtimeRebindRuleCount
public void generate(String jsniCreateInstanceExpression, String matchesExpression)
Copyright © 2018. All rights reserved.