public class SConditions
extends java.lang.Object
| Constructor and Description |
|---|
SConditions() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
adaptConditionType(Variable var,
OAVObjectType type) |
protected static java.lang.Object |
convertAttributeTypes(OAVTypeModel tmodel,
OAVObjectType otype,
java.lang.String slotname,
java.lang.String[] imports)
Convert slot name(s) to attribute(s) types.
|
protected static MethodCall |
createMethodCall(OAVObjectType otype,
java.lang.String name,
java.util.List params) |
protected static OAVObjectType |
getObjectType(OAVTypeModel tmodel,
java.lang.String typename,
java.lang.String[] imports)
Get an object type while considering imports for Java types.
|
protected static OAVObjectType |
getValueSourceType(OAVTypeModel tmodel,
java.lang.Object valuesource) |
protected static boolean |
lookaheadFunctionCall(org.antlr.runtime.TokenStream input)
Lookahead for an function call.
|
protected static boolean |
lookaheadObjectCE(org.antlr.runtime.TokenStream input)
Lookahead for an object condition.
|
protected static void adaptConditionType(Variable var, OAVObjectType type)
var - type - protected static MethodCall createMethodCall(OAVObjectType otype, java.lang.String name, java.util.List params)
otype - name - params - protected static OAVObjectType getValueSourceType(OAVTypeModel tmodel, java.lang.Object valuesource)
tmodel - valuesource - protected static boolean lookaheadObjectCE(org.antlr.runtime.TokenStream input)
protected static boolean lookaheadFunctionCall(org.antlr.runtime.TokenStream input)
protected static java.lang.Object convertAttributeTypes(OAVTypeModel tmodel, OAVObjectType otype, java.lang.String slotname, java.lang.String[] imports)
otype - The object type.slotname - The slotname string.protected static OAVObjectType getObjectType(OAVTypeModel tmodel, java.lang.String typename, java.lang.String[] imports)
tmodel - The type model.typename - The name of the type to search for.imports - The imports (if any).loader - The class loader.