Search in sources :

Example 1 with Value

use of com.android.tools.idea.experimental.codeanalysis.datastructs.value.Value in project android by JetBrains.

the class SwitchBranchingNodeImpl method getOut.

@Override
public GraphNode[] getOut() {
    GraphNode[] retArray = new GraphNode[mSwitchTable.size()];
    int i = 0;
    for (Value v : mSwitchTable.keySet()) {
        GraphNode target = mSwitchTable.get(v);
        retArray[i] = target;
        i++;
    }
    return retArray;
}
Also used : Value(com.android.tools.idea.experimental.codeanalysis.datastructs.value.Value) GraphNode(com.android.tools.idea.experimental.codeanalysis.datastructs.graph.node.GraphNode)

Example 2 with Value

use of com.android.tools.idea.experimental.codeanalysis.datastructs.value.Value in project android by JetBrains.

the class PolyadicExprImpl method getSimpleName.

@Override
public String getSimpleName() {
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < mExprList.size(); i++) {
        Value v = mExprList.get(i);
        sb.append(v.getSimpleName());
        if (i != mExprList.size() - 1) {
            sb.append(" ");
            sb.append(mOperator.toString());
            sb.append(" ");
        }
    }
    return sb.toString();
}
Also used : Value(com.android.tools.idea.experimental.codeanalysis.datastructs.value.Value)

Aggregations

Value (com.android.tools.idea.experimental.codeanalysis.datastructs.value.Value)2 GraphNode (com.android.tools.idea.experimental.codeanalysis.datastructs.graph.node.GraphNode)1