Example usage for org.eclipse.jdt.core.util IVerificationTypeInfo ITEM_UNINITIALIZED

List of usage examples for org.eclipse.jdt.core.util IVerificationTypeInfo ITEM_UNINITIALIZED

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.util IVerificationTypeInfo ITEM_UNINITIALIZED.

Prototype

int ITEM_UNINITIALIZED

To view the source code for org.eclipse.jdt.core.util IVerificationTypeInfo ITEM_UNINITIALIZED.

Click Source Link

Document

The tag value representing uninitialized variable info

Usage

From source file:org.eclipse.objectteams.otdt.internal.core.compiler.bytecode.BytecodeTransformer.java

License:Open Source License

private int rewriteVerificationInfo(byte[] codeToAdjust, int offset) {
    // this code is a stripped down version of VerificationInfo.<init> (from model):
    final int t = (codeToAdjust[offset] & 0xFF);
    int readOffset = 1;
    switch (t) {//from www  .j av a2  s.  co  m
    case IVerificationTypeInfo.ITEM_OBJECT:
        updateCPO(null, codeToAdjust, offset + 1, 2);
        readOffset += 2;
        break;
    case IVerificationTypeInfo.ITEM_UNINITIALIZED:
        readOffset += 2;
    }
    return readOffset;
}