Java程序  |  78行  |  1.89 KB

/*
 * Copyright (C) 2011 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

public class Blort
{
    private int field0 = 0;
    private int field1 = 1;
    private int field2 = 2;
    private int field3 = 3;
    private int field4 = 4;
    private int field5 = 5;
    private int field6 = 6;
    private int field7 = 7;
    private int field8 = 8;
    private int field9 = 9;

    public void test() {
        int v0 = field0;
        int v1 = field1;
        int v2 = field2;
        int v3 = field3;
        int v4 = field4;
        int v5 = field5;
        int v6 = field6;
        int v7 = field7;
        int v8 = field8;
        int v9 = field9;
        int v10 = field0;
        int v11 = field1;
        int v12 = field2;
        int v13 = field3;
        int v14 = field4;
        int v15 = field5;
        int v16 = field6;
        int v17 = field7;
        int v18 = field8;
        int v19 = field9;

        sink(v0);
        sink(v1);
        sink(v2);
        sink(v3);
        sink(v4);
        sink(v5);
        sink(v6);
        sink(v7);
        sink(v8);
        sink(v9);
        sink(v10);
        sink(v11);
        sink(v12);
        sink(v13);
        sink(v14);
        sink(v15);
        sink(v16);
        sink(v17);
        sink(v18);
        sink(v19);
    }

    private static void sink(int arg) {
        // This space intentionally left blank.
    }
}