public class ListenerExpr extends Expr
public void onFoo(String str) {...} public void onFoo(int i) {...}
Modifier and Type | Method and Description |
---|---|
protected String |
computeUniqueKey() |
protected List<Dependency> |
constructDependencies() |
KCode |
generateCode(boolean expand) |
Expr |
getChild() |
String |
getInvertibleError() |
ModelMethod |
getMethod() |
String |
getName() |
boolean |
isDynamic()
Whether the result of this expression can change or not.
|
protected ModelClass |
resolveType(ModelAnalyzer modelAnalyzer) |
addLocation, addTwoWay, asPackage, assertIsInvertible, canBeEvaluatedToAVariable, canBeInvalidated, computeChildrenKey, considerElevatingConditionals, constructDynamicChildrenDependencies, enableDirectInvalidation, getAllCalculationPaths, getChildren, getDefaultValue, getDependants, getDependencies, getId, getInvalidFlags, getLocations, getModel, getParents, getPredicateInvalidFlags, getReadSoFar, getRequirementFlagIndex, getRequirementId, getResolvedType, getShouldReadFlags, getShouldReadFlagsWithConditionals, getUniqueKey, getVersion, hasConditionalDependant, hasId, hasNestedCannotRead, invalidateReadFlags, isBindingExpression, isConditional, isEqualityCheck, isObservable, isRead, isTwoWay, isUsed, join, join, markAsReadIfDone, markFlagsAsRead, onSwappedWith, provideScopeLocation, resetResolvedType, resolveListeners, resolveTwoWayExpressions, setBindingExpression, setId, setIsUsed, setModel, setRequirementId, setTwoWay, shouldReadNow, toCode, toCode, toFullCode, toInverseCode, toString, trimShouldReadFlags, updateExpr
protected ModelClass resolveType(ModelAnalyzer modelAnalyzer)
resolveType
in class Expr
public ModelMethod getMethod()
public Expr getChild()
public String getName()
public boolean isDynamic()
Expr
protected List<Dependency> constructDependencies()
constructDependencies
in class Expr
protected String computeUniqueKey()
computeUniqueKey
in class Expr
public KCode generateCode(boolean expand)
generateCode
in class Expr
public String getInvertibleError()
getInvertibleError
in class Expr