org.fusesource.hawtjni.runtime.FieldFlag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leveldbjni-all Show documentation
Show all versions of leveldbjni-all Show documentation
An uber jar which contains all the leveldbjni platform libraries and dependencies
The newest version!
/*******************************************************************************
* Copyright (C) 2009-2011 FuseSource Corp.
* Copyright (c) 2004, 2008 IBM Corporation and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.fusesource.hawtjni.runtime;
/**
*
* @author Hiram Chirino
*/
public enum FieldFlag {
/**
* Indicate that the item should not be generated. For example,
* custom natives are coded by hand.
*/
FIELD_SKIP,
/**
* Indicate that the field represents a constant or global
* variable. It is expected that the java field will be declared
* static.
*/
CONSTANT,
/**
* Indicate that the field is a pointer.
*/
POINTER_FIELD,
/**
* Indicate that the field is a shared pointer.
*/
SHARED_PTR,
/**
* Indicate that the getter method used is not part of
* the structure. Useful for using wrappers to access
* certain structure fields.
*
* Only useful when the getter is declared explicitly.
*/
GETTER_NONMEMBER,
/**
* Indicate that the setter method used is not part of
* the structure. Useful for using wrappers to access
* certain structure fields.
*
* Only useful when the setter is declared explicitly.
*/
SETTER_NONMEMBER,
}