public class ResourceExpr extends Expr
Modifier and Type | Field and Description |
---|---|
protected String |
mPackage |
protected String |
mResourceId |
protected String |
mResourceType |
Constructor and Description |
---|
ResourceExpr(String packageName,
String resourceType,
String resourceName,
List<Expr> args) |
Modifier and Type | Method and Description |
---|---|
protected String |
computeUniqueKey() |
protected List<Dependency> |
constructDependencies() |
protected KCode |
generateCode(boolean expand) |
String |
getInvertibleError() |
String |
getResourceId() |
protected ModelClass |
resolveType(ModelAnalyzer modelAnalyzer) |
String |
toJava() |
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, isDynamic, 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 final String mPackage
protected final String mResourceType
protected final String mResourceId
protected ModelClass resolveType(ModelAnalyzer modelAnalyzer)
resolveType
in class Expr
protected List<Dependency> constructDependencies()
constructDependencies
in class Expr
protected String computeUniqueKey()
computeUniqueKey
in class Expr
protected KCode generateCode(boolean expand)
generateCode
in class Expr
public String getResourceId()
public String getInvertibleError()
getInvertibleError
in class Expr
public String toJava()