Example usage for org.eclipse.jdt.internal.compiler.classfmt FieldInfo u2At

List of usage examples for org.eclipse.jdt.internal.compiler.classfmt FieldInfo u2At

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.classfmt FieldInfo u2At.

Prototype

public int u2At(int relativeOffset) 

Source Link

Usage

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

License:Open Source License

/**
* just like readModifiers(MethodInfo,int)
*//* w  w  w .  j a va  2s.  co m*/
public static void readModifiers(FieldInfo field, int readOffset) {
    int value = field.u2At(readOffset);
    field.setAccessFlags(value);
}