// Path: src/org/udalov/jclang/structs/CXIdxAttrInfo.java
// @SuppressWarnings("unused")
// public class CXIdxAttrInfo extends Structure {
//     public int kind;
//     public CXCursor.ByValue cursor;
//     public CXIdxLoc.ByValue loc;
// 
//     public CXIdxAttrInfo() {
//         super();
//         initFieldOrder();
//     }
// 
//     public CXIdxAttrInfo(@NotNull Pointer pointer) {
//         super(pointer);
//         initFieldOrder();
//         read();
//     }
// 
//     private void initFieldOrder() {
//         setFieldOrder(new String[]{"kind", "cursor", "loc"});
//     }
// }


import com.sun.jna.Pointer;
import com.sun.jna.ptr.PointerByReference;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.udalov.jclang.structs.CXIdxAttrInfo;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/*
 * Copyright 2013 Alexander Udalov
 *
 * 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.
 */

package org.udalov.jclang;



public class IndexAttribute {
    public enum Kind {
        UNEXPOSED,
        IB_ACTION,
        IB_OUTLET,
        IB_OUTLET_COLLECTION
    }

    private final Kind kind;
    private final Cursor cursor;
    private final IndexLocation location;

// Path: src/org/udalov/jclang/structs/CXIdxAttrInfo.java
// @SuppressWarnings("unused")
// public class CXIdxAttrInfo extends Structure {
//     public int kind;
//     public CXCursor.ByValue cursor;
//     public CXIdxLoc.ByValue loc;
// 
//     public CXIdxAttrInfo() {
//         super();
//         initFieldOrder();
//     }
// 
//     public CXIdxAttrInfo(@NotNull Pointer pointer) {
//         super(pointer);
//         initFieldOrder();
//         read();
//     }
// 
//     private void initFieldOrder() {
//         setFieldOrder(new String[]{"kind", "cursor", "loc"});
//     }
// }


// Path: src/org/udalov/jclang/IndexAttribute.java
import com.sun.jna.Pointer;
import com.sun.jna.ptr.PointerByReference;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.udalov.jclang.structs.CXIdxAttrInfo;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/*
 * Copyright 2013 Alexander Udalov
 *
 * 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.
 */

package org.udalov.jclang;



public class IndexAttribute {
    public enum Kind {
        UNEXPOSED,
        IB_ACTION,
        IB_OUTLET,
        IB_OUTLET_COLLECTION
    }

    private final Kind kind;
    private final Cursor cursor;
    private final IndexLocation location;

    public IndexAttribute(@NotNull CXIdxAttrInfo info) {