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

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

Introduction

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

Prototype

@Override
public int getModifiers() 

Source Link

Document

Answer an int whose bits are set according the access constants defined by the VM spec.

Usage

From source file:io.takari.maven.plugins.compile.jdt.ClassfileDigester.java

License:Open Source License

private void updateField(FieldInfo fieldInfo) {
    // generic signature
    updateChars(fieldInfo.getGenericSignature());
    updateInt(fieldInfo.getModifiers());
    updateLong(fieldInfo.getTagBits() & TagBits.AnnotationDeprecated);
    updateAnnotations(fieldInfo.getAnnotations());
    updateChars(fieldInfo.getName());/*from w w  w .  ja  va2  s .  c  om*/
    updateChars(fieldInfo.getTypeName());
    updateBoolean(fieldInfo.hasConstant());
    if (fieldInfo.hasConstant()) {
        updateConstant(fieldInfo.getConstant());
    }
}