1 /*
   2  *  Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
   3  *  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  *  This code is free software; you can redistribute it and/or modify it
   6  *  under the terms of the GNU General Public License version 2 only, as
   7  *  published by the Free Software Foundation.  Oracle designates this
   8  *  particular file as subject to the "Classpath" exception as provided
   9  *  by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  *  This code is distributed in the hope that it will be useful, but WITHOUT
  12  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  *  version 2 for more details (a copy is included in the LICENSE file that
  15  *  accompanied this code).
  16  *
  17  *  You should have received a copy of the GNU General Public License version
  18  *  2 along with this work; if not, write to the Free Software Foundation,
  19  *  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  *   Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  *  or visit www.oracle.com if you need additional information or have any
  23  *  questions.
  24  */
  25 
  26 // Generated by jextract
  27 
  28 package jdk.internal.clang.libclang;
  29 
  30 import java.lang.invoke.MethodHandle;
  31 import java.lang.invoke.VarHandle;
  32 import java.nio.ByteOrder;
  33 import jdk.incubator.foreign.*;
  34 import static jdk.incubator.foreign.ValueLayout.*;
  35 public class Index_h  {
  36 
  37     /* package-private */ Index_h() {}
  38     public static ValueLayout.OfByte C_CHAR = JAVA_BYTE;
  39     public static ValueLayout.OfShort C_SHORT = JAVA_SHORT;
  40     public static ValueLayout.OfInt C_INT = JAVA_INT;
  41     public static ValueLayout.OfLong C_LONG = JAVA_LONG;
  42     public static ValueLayout.OfLong C_LONG_LONG = JAVA_LONG;
  43     public static ValueLayout.OfFloat C_FLOAT = JAVA_FLOAT;
  44     public static ValueLayout.OfDouble C_DOUBLE = JAVA_DOUBLE;
  45     public static ValueLayout.OfAddress C_POINTER = ValueLayout.ADDRESS;
  46     public static int CXError_Success() {
  47         return (int)0L;
  48     }
  49     public static int CXError_Failure() {
  50         return (int)1L;
  51     }
  52     public static int CXError_Crashed() {
  53         return (int)2L;
  54     }
  55     public static int CXError_InvalidArguments() {
  56         return (int)3L;
  57     }
  58     public static int CXError_ASTReadError() {
  59         return (int)4L;
  60     }
  61     public static MethodHandle clang_getCString$MH() {
  62         return RuntimeHelper.requireNonNull(constants$0.clang_getCString$MH,"clang_getCString");
  63     }
  64     public static MemoryAddress clang_getCString ( MemorySegment string) {
  65         var mh$ = RuntimeHelper.requireNonNull(constants$0.clang_getCString$MH, "clang_getCString");
  66         try {
  67             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(string);
  68         } catch (Throwable ex$) {
  69             throw new AssertionError("should not reach here", ex$);
  70         }
  71     }
  72     public static MethodHandle clang_disposeString$MH() {
  73         return RuntimeHelper.requireNonNull(constants$0.clang_disposeString$MH,"clang_disposeString");
  74     }
  75     public static void clang_disposeString ( MemorySegment string) {
  76         var mh$ = RuntimeHelper.requireNonNull(constants$0.clang_disposeString$MH, "clang_disposeString");
  77         try {
  78             mh$.invokeExact(string);
  79         } catch (Throwable ex$) {
  80             throw new AssertionError("should not reach here", ex$);
  81         }
  82     }
  83     public static ValueLayout.OfAddress CXIndex = ValueLayout.ADDRESS;
  84     public static ValueLayout.OfAddress CXTranslationUnit = ValueLayout.ADDRESS;
  85     public static int CXCursor_ExceptionSpecificationKind_None() {
  86         return (int)0L;
  87     }
  88     public static int CXCursor_ExceptionSpecificationKind_DynamicNone() {
  89         return (int)1L;
  90     }
  91     public static int CXCursor_ExceptionSpecificationKind_Dynamic() {
  92         return (int)2L;
  93     }
  94     public static int CXCursor_ExceptionSpecificationKind_MSAny() {
  95         return (int)3L;
  96     }
  97     public static int CXCursor_ExceptionSpecificationKind_BasicNoexcept() {
  98         return (int)4L;
  99     }
 100     public static int CXCursor_ExceptionSpecificationKind_ComputedNoexcept() {
 101         return (int)5L;
 102     }
 103     public static int CXCursor_ExceptionSpecificationKind_Unevaluated() {
 104         return (int)6L;
 105     }
 106     public static int CXCursor_ExceptionSpecificationKind_Uninstantiated() {
 107         return (int)7L;
 108     }
 109     public static int CXCursor_ExceptionSpecificationKind_Unparsed() {
 110         return (int)8L;
 111     }
 112     public static int CXCursor_ExceptionSpecificationKind_NoThrow() {
 113         return (int)9L;
 114     }
 115     public static MethodHandle clang_createIndex$MH() {
 116         return RuntimeHelper.requireNonNull(constants$0.clang_createIndex$MH,"clang_createIndex");
 117     }
 118     public static MemoryAddress clang_createIndex ( int excludeDeclarationsFromPCH,  int displayDiagnostics) {
 119         var mh$ = RuntimeHelper.requireNonNull(constants$0.clang_createIndex$MH, "clang_createIndex");
 120         try {
 121             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(excludeDeclarationsFromPCH, displayDiagnostics);
 122         } catch (Throwable ex$) {
 123             throw new AssertionError("should not reach here", ex$);
 124         }
 125     }
 126     public static MethodHandle clang_disposeIndex$MH() {
 127         return RuntimeHelper.requireNonNull(constants$0.clang_disposeIndex$MH,"clang_disposeIndex");
 128     }
 129     public static void clang_disposeIndex ( Addressable index) {
 130         var mh$ = RuntimeHelper.requireNonNull(constants$0.clang_disposeIndex$MH, "clang_disposeIndex");
 131         try {
 132             mh$.invokeExact(index);
 133         } catch (Throwable ex$) {
 134             throw new AssertionError("should not reach here", ex$);
 135         }
 136     }
 137     public static MethodHandle clang_getFileName$MH() {
 138         return RuntimeHelper.requireNonNull(constants$0.clang_getFileName$MH,"clang_getFileName");
 139     }
 140     public static MemorySegment clang_getFileName ( SegmentAllocator allocator,  Addressable SFile) {
 141         var mh$ = RuntimeHelper.requireNonNull(constants$0.clang_getFileName$MH, "clang_getFileName");
 142         try {
 143             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, SFile);
 144         } catch (Throwable ex$) {
 145             throw new AssertionError("should not reach here", ex$);
 146         }
 147     }
 148     public static MemorySegment clang_getFileName ( ResourceScope scope,  Addressable SFile) {
 149         return clang_getFileName(SegmentAllocator.nativeAllocator(scope), SFile);
 150     }
 151     public static MethodHandle clang_getNullLocation$MH() {
 152         return RuntimeHelper.requireNonNull(constants$0.clang_getNullLocation$MH,"clang_getNullLocation");
 153     }
 154     public static MemorySegment clang_getNullLocation ( SegmentAllocator allocator) {
 155         var mh$ = RuntimeHelper.requireNonNull(constants$0.clang_getNullLocation$MH, "clang_getNullLocation");
 156         try {
 157             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator);
 158         } catch (Throwable ex$) {
 159             throw new AssertionError("should not reach here", ex$);
 160         }
 161     }
 162     public static MemorySegment clang_getNullLocation ( ResourceScope scope) {
 163         return clang_getNullLocation(SegmentAllocator.nativeAllocator(scope));
 164     }
 165     public static MethodHandle clang_equalLocations$MH() {
 166         return RuntimeHelper.requireNonNull(constants$1.clang_equalLocations$MH,"clang_equalLocations");
 167     }
 168     public static int clang_equalLocations ( MemorySegment loc1,  MemorySegment loc2) {
 169         var mh$ = RuntimeHelper.requireNonNull(constants$1.clang_equalLocations$MH, "clang_equalLocations");
 170         try {
 171             return (int)mh$.invokeExact(loc1, loc2);
 172         } catch (Throwable ex$) {
 173             throw new AssertionError("should not reach here", ex$);
 174         }
 175     }
 176     public static MethodHandle clang_getLocation$MH() {
 177         return RuntimeHelper.requireNonNull(constants$1.clang_getLocation$MH,"clang_getLocation");
 178     }
 179     public static MemorySegment clang_getLocation ( SegmentAllocator allocator,  Addressable tu,  Addressable file,  int line,  int column) {
 180         var mh$ = RuntimeHelper.requireNonNull(constants$1.clang_getLocation$MH, "clang_getLocation");
 181         try {
 182             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, tu, file, line, column);
 183         } catch (Throwable ex$) {
 184             throw new AssertionError("should not reach here", ex$);
 185         }
 186     }
 187     public static MemorySegment clang_getLocation ( ResourceScope scope,  Addressable tu,  Addressable file,  int line,  int column) {
 188         return clang_getLocation(SegmentAllocator.nativeAllocator(scope), tu, file, line, column);
 189     }
 190     public static MethodHandle clang_getLocationForOffset$MH() {
 191         return RuntimeHelper.requireNonNull(constants$1.clang_getLocationForOffset$MH,"clang_getLocationForOffset");
 192     }
 193     public static MemorySegment clang_getLocationForOffset ( SegmentAllocator allocator,  Addressable tu,  Addressable file,  int offset) {
 194         var mh$ = RuntimeHelper.requireNonNull(constants$1.clang_getLocationForOffset$MH, "clang_getLocationForOffset");
 195         try {
 196             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, tu, file, offset);
 197         } catch (Throwable ex$) {
 198             throw new AssertionError("should not reach here", ex$);
 199         }
 200     }
 201     public static MemorySegment clang_getLocationForOffset ( ResourceScope scope,  Addressable tu,  Addressable file,  int offset) {
 202         return clang_getLocationForOffset(SegmentAllocator.nativeAllocator(scope), tu, file, offset);
 203     }
 204     public static MethodHandle clang_Location_isInSystemHeader$MH() {
 205         return RuntimeHelper.requireNonNull(constants$1.clang_Location_isInSystemHeader$MH,"clang_Location_isInSystemHeader");
 206     }
 207     public static int clang_Location_isInSystemHeader ( MemorySegment location) {
 208         var mh$ = RuntimeHelper.requireNonNull(constants$1.clang_Location_isInSystemHeader$MH, "clang_Location_isInSystemHeader");
 209         try {
 210             return (int)mh$.invokeExact(location);
 211         } catch (Throwable ex$) {
 212             throw new AssertionError("should not reach here", ex$);
 213         }
 214     }
 215     public static MethodHandle clang_Location_isFromMainFile$MH() {
 216         return RuntimeHelper.requireNonNull(constants$1.clang_Location_isFromMainFile$MH,"clang_Location_isFromMainFile");
 217     }
 218     public static int clang_Location_isFromMainFile ( MemorySegment location) {
 219         var mh$ = RuntimeHelper.requireNonNull(constants$1.clang_Location_isFromMainFile$MH, "clang_Location_isFromMainFile");
 220         try {
 221             return (int)mh$.invokeExact(location);
 222         } catch (Throwable ex$) {
 223             throw new AssertionError("should not reach here", ex$);
 224         }
 225     }
 226     public static MethodHandle clang_Range_isNull$MH() {
 227         return RuntimeHelper.requireNonNull(constants$1.clang_Range_isNull$MH,"clang_Range_isNull");
 228     }
 229     public static int clang_Range_isNull ( MemorySegment range) {
 230         var mh$ = RuntimeHelper.requireNonNull(constants$1.clang_Range_isNull$MH, "clang_Range_isNull");
 231         try {
 232             return (int)mh$.invokeExact(range);
 233         } catch (Throwable ex$) {
 234             throw new AssertionError("should not reach here", ex$);
 235         }
 236     }
 237     public static MethodHandle clang_getExpansionLocation$MH() {
 238         return RuntimeHelper.requireNonNull(constants$2.clang_getExpansionLocation$MH,"clang_getExpansionLocation");
 239     }
 240     public static void clang_getExpansionLocation ( MemorySegment location,  Addressable file,  Addressable line,  Addressable column,  Addressable offset) {
 241         var mh$ = RuntimeHelper.requireNonNull(constants$2.clang_getExpansionLocation$MH, "clang_getExpansionLocation");
 242         try {
 243             mh$.invokeExact(location, file, line, column, offset);
 244         } catch (Throwable ex$) {
 245             throw new AssertionError("should not reach here", ex$);
 246         }
 247     }
 248     public static MethodHandle clang_getSpellingLocation$MH() {
 249         return RuntimeHelper.requireNonNull(constants$2.clang_getSpellingLocation$MH,"clang_getSpellingLocation");
 250     }
 251     public static void clang_getSpellingLocation ( MemorySegment location,  Addressable file,  Addressable line,  Addressable column,  Addressable offset) {
 252         var mh$ = RuntimeHelper.requireNonNull(constants$2.clang_getSpellingLocation$MH, "clang_getSpellingLocation");
 253         try {
 254             mh$.invokeExact(location, file, line, column, offset);
 255         } catch (Throwable ex$) {
 256             throw new AssertionError("should not reach here", ex$);
 257         }
 258     }
 259     public static MethodHandle clang_getFileLocation$MH() {
 260         return RuntimeHelper.requireNonNull(constants$2.clang_getFileLocation$MH,"clang_getFileLocation");
 261     }
 262     public static void clang_getFileLocation ( MemorySegment location,  Addressable file,  Addressable line,  Addressable column,  Addressable offset) {
 263         var mh$ = RuntimeHelper.requireNonNull(constants$2.clang_getFileLocation$MH, "clang_getFileLocation");
 264         try {
 265             mh$.invokeExact(location, file, line, column, offset);
 266         } catch (Throwable ex$) {
 267             throw new AssertionError("should not reach here", ex$);
 268         }
 269     }
 270     public static MethodHandle clang_getRangeStart$MH() {
 271         return RuntimeHelper.requireNonNull(constants$2.clang_getRangeStart$MH,"clang_getRangeStart");
 272     }
 273     public static MemorySegment clang_getRangeStart ( SegmentAllocator allocator,  MemorySegment range) {
 274         var mh$ = RuntimeHelper.requireNonNull(constants$2.clang_getRangeStart$MH, "clang_getRangeStart");
 275         try {
 276             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, range);
 277         } catch (Throwable ex$) {
 278             throw new AssertionError("should not reach here", ex$);
 279         }
 280     }
 281     public static MemorySegment clang_getRangeStart ( ResourceScope scope,  MemorySegment range) {
 282         return clang_getRangeStart(SegmentAllocator.nativeAllocator(scope), range);
 283     }
 284     public static MethodHandle clang_getRangeEnd$MH() {
 285         return RuntimeHelper.requireNonNull(constants$2.clang_getRangeEnd$MH,"clang_getRangeEnd");
 286     }
 287     public static MemorySegment clang_getRangeEnd ( SegmentAllocator allocator,  MemorySegment range) {
 288         var mh$ = RuntimeHelper.requireNonNull(constants$2.clang_getRangeEnd$MH, "clang_getRangeEnd");
 289         try {
 290             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, range);
 291         } catch (Throwable ex$) {
 292             throw new AssertionError("should not reach here", ex$);
 293         }
 294     }
 295     public static MemorySegment clang_getRangeEnd ( ResourceScope scope,  MemorySegment range) {
 296         return clang_getRangeEnd(SegmentAllocator.nativeAllocator(scope), range);
 297     }
 298     public static int CXDiagnostic_Ignored() {
 299         return (int)0L;
 300     }
 301     public static int CXDiagnostic_Note() {
 302         return (int)1L;
 303     }
 304     public static int CXDiagnostic_Warning() {
 305         return (int)2L;
 306     }
 307     public static int CXDiagnostic_Error() {
 308         return (int)3L;
 309     }
 310     public static int CXDiagnostic_Fatal() {
 311         return (int)4L;
 312     }
 313     public static MethodHandle clang_getChildDiagnostics$MH() {
 314         return RuntimeHelper.requireNonNull(constants$2.clang_getChildDiagnostics$MH,"clang_getChildDiagnostics");
 315     }
 316     public static MemoryAddress clang_getChildDiagnostics ( Addressable D) {
 317         var mh$ = RuntimeHelper.requireNonNull(constants$2.clang_getChildDiagnostics$MH, "clang_getChildDiagnostics");
 318         try {
 319             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(D);
 320         } catch (Throwable ex$) {
 321             throw new AssertionError("should not reach here", ex$);
 322         }
 323     }
 324     public static MethodHandle clang_getNumDiagnostics$MH() {
 325         return RuntimeHelper.requireNonNull(constants$3.clang_getNumDiagnostics$MH,"clang_getNumDiagnostics");
 326     }
 327     public static int clang_getNumDiagnostics ( Addressable Unit) {
 328         var mh$ = RuntimeHelper.requireNonNull(constants$3.clang_getNumDiagnostics$MH, "clang_getNumDiagnostics");
 329         try {
 330             return (int)mh$.invokeExact(Unit);
 331         } catch (Throwable ex$) {
 332             throw new AssertionError("should not reach here", ex$);
 333         }
 334     }
 335     public static MethodHandle clang_getDiagnostic$MH() {
 336         return RuntimeHelper.requireNonNull(constants$3.clang_getDiagnostic$MH,"clang_getDiagnostic");
 337     }
 338     public static MemoryAddress clang_getDiagnostic ( Addressable Unit,  int Index) {
 339         var mh$ = RuntimeHelper.requireNonNull(constants$3.clang_getDiagnostic$MH, "clang_getDiagnostic");
 340         try {
 341             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(Unit, Index);
 342         } catch (Throwable ex$) {
 343             throw new AssertionError("should not reach here", ex$);
 344         }
 345     }
 346     public static MethodHandle clang_disposeDiagnostic$MH() {
 347         return RuntimeHelper.requireNonNull(constants$3.clang_disposeDiagnostic$MH,"clang_disposeDiagnostic");
 348     }
 349     public static void clang_disposeDiagnostic ( Addressable Diagnostic) {
 350         var mh$ = RuntimeHelper.requireNonNull(constants$3.clang_disposeDiagnostic$MH, "clang_disposeDiagnostic");
 351         try {
 352             mh$.invokeExact(Diagnostic);
 353         } catch (Throwable ex$) {
 354             throw new AssertionError("should not reach here", ex$);
 355         }
 356     }
 357     public static int CXDiagnostic_DisplaySourceLocation() {
 358         return (int)1L;
 359     }
 360     public static int CXDiagnostic_DisplayColumn() {
 361         return (int)2L;
 362     }
 363     public static int CXDiagnostic_DisplaySourceRanges() {
 364         return (int)4L;
 365     }
 366     public static int CXDiagnostic_DisplayOption() {
 367         return (int)8L;
 368     }
 369     public static int CXDiagnostic_DisplayCategoryId() {
 370         return (int)16L;
 371     }
 372     public static int CXDiagnostic_DisplayCategoryName() {
 373         return (int)32L;
 374     }
 375     public static MethodHandle clang_formatDiagnostic$MH() {
 376         return RuntimeHelper.requireNonNull(constants$3.clang_formatDiagnostic$MH,"clang_formatDiagnostic");
 377     }
 378     public static MemorySegment clang_formatDiagnostic ( SegmentAllocator allocator,  Addressable Diagnostic,  int Options) {
 379         var mh$ = RuntimeHelper.requireNonNull(constants$3.clang_formatDiagnostic$MH, "clang_formatDiagnostic");
 380         try {
 381             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, Diagnostic, Options);
 382         } catch (Throwable ex$) {
 383             throw new AssertionError("should not reach here", ex$);
 384         }
 385     }
 386     public static MemorySegment clang_formatDiagnostic ( ResourceScope scope,  Addressable Diagnostic,  int Options) {
 387         return clang_formatDiagnostic(SegmentAllocator.nativeAllocator(scope), Diagnostic, Options);
 388     }
 389     public static MethodHandle clang_defaultDiagnosticDisplayOptions$MH() {
 390         return RuntimeHelper.requireNonNull(constants$3.clang_defaultDiagnosticDisplayOptions$MH,"clang_defaultDiagnosticDisplayOptions");
 391     }
 392     public static int clang_defaultDiagnosticDisplayOptions () {
 393         var mh$ = RuntimeHelper.requireNonNull(constants$3.clang_defaultDiagnosticDisplayOptions$MH, "clang_defaultDiagnosticDisplayOptions");
 394         try {
 395             return (int)mh$.invokeExact();
 396         } catch (Throwable ex$) {
 397             throw new AssertionError("should not reach here", ex$);
 398         }
 399     }
 400     public static MethodHandle clang_getDiagnosticSeverity$MH() {
 401         return RuntimeHelper.requireNonNull(constants$3.clang_getDiagnosticSeverity$MH,"clang_getDiagnosticSeverity");
 402     }
 403     public static int clang_getDiagnosticSeverity ( Addressable x0) {
 404         var mh$ = RuntimeHelper.requireNonNull(constants$3.clang_getDiagnosticSeverity$MH, "clang_getDiagnosticSeverity");
 405         try {
 406             return (int)mh$.invokeExact(x0);
 407         } catch (Throwable ex$) {
 408             throw new AssertionError("should not reach here", ex$);
 409         }
 410     }
 411     public static MethodHandle clang_getDiagnosticLocation$MH() {
 412         return RuntimeHelper.requireNonNull(constants$4.clang_getDiagnosticLocation$MH,"clang_getDiagnosticLocation");
 413     }
 414     public static MemorySegment clang_getDiagnosticLocation ( SegmentAllocator allocator,  Addressable x1) {
 415         var mh$ = RuntimeHelper.requireNonNull(constants$4.clang_getDiagnosticLocation$MH, "clang_getDiagnosticLocation");
 416         try {
 417             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
 418         } catch (Throwable ex$) {
 419             throw new AssertionError("should not reach here", ex$);
 420         }
 421     }
 422     public static MemorySegment clang_getDiagnosticLocation ( ResourceScope scope,  Addressable x1) {
 423         return clang_getDiagnosticLocation(SegmentAllocator.nativeAllocator(scope), x1);
 424     }
 425     public static MethodHandle clang_getDiagnosticSpelling$MH() {
 426         return RuntimeHelper.requireNonNull(constants$4.clang_getDiagnosticSpelling$MH,"clang_getDiagnosticSpelling");
 427     }
 428     public static MemorySegment clang_getDiagnosticSpelling ( SegmentAllocator allocator,  Addressable x1) {
 429         var mh$ = RuntimeHelper.requireNonNull(constants$4.clang_getDiagnosticSpelling$MH, "clang_getDiagnosticSpelling");
 430         try {
 431             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
 432         } catch (Throwable ex$) {
 433             throw new AssertionError("should not reach here", ex$);
 434         }
 435     }
 436     public static MemorySegment clang_getDiagnosticSpelling ( ResourceScope scope,  Addressable x1) {
 437         return clang_getDiagnosticSpelling(SegmentAllocator.nativeAllocator(scope), x1);
 438     }
 439     public static int CXTranslationUnit_None() {
 440         return (int)0L;
 441     }
 442     public static int CXTranslationUnit_DetailedPreprocessingRecord() {
 443         return (int)1L;
 444     }
 445     public static int CXTranslationUnit_Incomplete() {
 446         return (int)2L;
 447     }
 448     public static int CXTranslationUnit_PrecompiledPreamble() {
 449         return (int)4L;
 450     }
 451     public static int CXTranslationUnit_CacheCompletionResults() {
 452         return (int)8L;
 453     }
 454     public static int CXTranslationUnit_ForSerialization() {
 455         return (int)16L;
 456     }
 457     public static int CXTranslationUnit_CXXChainedPCH() {
 458         return (int)32L;
 459     }
 460     public static int CXTranslationUnit_SkipFunctionBodies() {
 461         return (int)64L;
 462     }
 463     public static int CXTranslationUnit_IncludeBriefCommentsInCodeCompletion() {
 464         return (int)128L;
 465     }
 466     public static int CXTranslationUnit_CreatePreambleOnFirstParse() {
 467         return (int)256L;
 468     }
 469     public static int CXTranslationUnit_KeepGoing() {
 470         return (int)512L;
 471     }
 472     public static int CXTranslationUnit_SingleFileParse() {
 473         return (int)1024L;
 474     }
 475     public static int CXTranslationUnit_LimitSkipFunctionBodiesToPreamble() {
 476         return (int)2048L;
 477     }
 478     public static int CXTranslationUnit_IncludeAttributedTypes() {
 479         return (int)4096L;
 480     }
 481     public static int CXTranslationUnit_VisitImplicitAttributes() {
 482         return (int)8192L;
 483     }
 484     public static int CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles() {
 485         return (int)16384L;
 486     }
 487     public static int CXTranslationUnit_RetainExcludedConditionalBlocks() {
 488         return (int)32768L;
 489     }
 490     public static MethodHandle clang_parseTranslationUnit$MH() {
 491         return RuntimeHelper.requireNonNull(constants$4.clang_parseTranslationUnit$MH,"clang_parseTranslationUnit");
 492     }
 493     public static MemoryAddress clang_parseTranslationUnit ( Addressable CIdx,  Addressable source_filename,  Addressable command_line_args,  int num_command_line_args,  Addressable unsaved_files,  int num_unsaved_files,  int options) {
 494         var mh$ = RuntimeHelper.requireNonNull(constants$4.clang_parseTranslationUnit$MH, "clang_parseTranslationUnit");
 495         try {
 496             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(CIdx, source_filename, command_line_args, num_command_line_args, unsaved_files, num_unsaved_files, options);
 497         } catch (Throwable ex$) {
 498             throw new AssertionError("should not reach here", ex$);
 499         }
 500     }
 501     public static MethodHandle clang_parseTranslationUnit2$MH() {
 502         return RuntimeHelper.requireNonNull(constants$4.clang_parseTranslationUnit2$MH,"clang_parseTranslationUnit2");
 503     }
 504     public static int clang_parseTranslationUnit2 ( Addressable CIdx,  Addressable source_filename,  Addressable command_line_args,  int num_command_line_args,  Addressable unsaved_files,  int num_unsaved_files,  int options,  Addressable out_TU) {
 505         var mh$ = RuntimeHelper.requireNonNull(constants$4.clang_parseTranslationUnit2$MH, "clang_parseTranslationUnit2");
 506         try {
 507             return (int)mh$.invokeExact(CIdx, source_filename, command_line_args, num_command_line_args, unsaved_files, num_unsaved_files, options, out_TU);
 508         } catch (Throwable ex$) {
 509             throw new AssertionError("should not reach here", ex$);
 510         }
 511     }
 512     public static int CXSaveTranslationUnit_None() {
 513         return (int)0L;
 514     }
 515     public static int CXSaveError_None() {
 516         return (int)0L;
 517     }
 518     public static int CXSaveError_Unknown() {
 519         return (int)1L;
 520     }
 521     public static int CXSaveError_TranslationErrors() {
 522         return (int)2L;
 523     }
 524     public static int CXSaveError_InvalidTU() {
 525         return (int)3L;
 526     }
 527     public static MethodHandle clang_saveTranslationUnit$MH() {
 528         return RuntimeHelper.requireNonNull(constants$4.clang_saveTranslationUnit$MH,"clang_saveTranslationUnit");
 529     }
 530     public static int clang_saveTranslationUnit ( Addressable TU,  Addressable FileName,  int options) {
 531         var mh$ = RuntimeHelper.requireNonNull(constants$4.clang_saveTranslationUnit$MH, "clang_saveTranslationUnit");
 532         try {
 533             return (int)mh$.invokeExact(TU, FileName, options);
 534         } catch (Throwable ex$) {
 535             throw new AssertionError("should not reach here", ex$);
 536         }
 537     }
 538     public static MethodHandle clang_disposeTranslationUnit$MH() {
 539         return RuntimeHelper.requireNonNull(constants$4.clang_disposeTranslationUnit$MH,"clang_disposeTranslationUnit");
 540     }
 541     public static void clang_disposeTranslationUnit ( Addressable x0) {
 542         var mh$ = RuntimeHelper.requireNonNull(constants$4.clang_disposeTranslationUnit$MH, "clang_disposeTranslationUnit");
 543         try {
 544             mh$.invokeExact(x0);
 545         } catch (Throwable ex$) {
 546             throw new AssertionError("should not reach here", ex$);
 547         }
 548     }
 549     public static int CXReparse_None() {
 550         return (int)0L;
 551     }
 552     public static MethodHandle clang_defaultReparseOptions$MH() {
 553         return RuntimeHelper.requireNonNull(constants$5.clang_defaultReparseOptions$MH,"clang_defaultReparseOptions");
 554     }
 555     public static int clang_defaultReparseOptions ( Addressable TU) {
 556         var mh$ = RuntimeHelper.requireNonNull(constants$5.clang_defaultReparseOptions$MH, "clang_defaultReparseOptions");
 557         try {
 558             return (int)mh$.invokeExact(TU);
 559         } catch (Throwable ex$) {
 560             throw new AssertionError("should not reach here", ex$);
 561         }
 562     }
 563     public static MethodHandle clang_reparseTranslationUnit$MH() {
 564         return RuntimeHelper.requireNonNull(constants$5.clang_reparseTranslationUnit$MH,"clang_reparseTranslationUnit");
 565     }
 566     public static int clang_reparseTranslationUnit ( Addressable TU,  int num_unsaved_files,  Addressable unsaved_files,  int options) {
 567         var mh$ = RuntimeHelper.requireNonNull(constants$5.clang_reparseTranslationUnit$MH, "clang_reparseTranslationUnit");
 568         try {
 569             return (int)mh$.invokeExact(TU, num_unsaved_files, unsaved_files, options);
 570         } catch (Throwable ex$) {
 571             throw new AssertionError("should not reach here", ex$);
 572         }
 573     }
 574     public static int CXCursor_UnexposedDecl() {
 575         return (int)1L;
 576     }
 577     public static int CXCursor_StructDecl() {
 578         return (int)2L;
 579     }
 580     public static int CXCursor_UnionDecl() {
 581         return (int)3L;
 582     }
 583     public static int CXCursor_ClassDecl() {
 584         return (int)4L;
 585     }
 586     public static int CXCursor_EnumDecl() {
 587         return (int)5L;
 588     }
 589     public static int CXCursor_FieldDecl() {
 590         return (int)6L;
 591     }
 592     public static int CXCursor_EnumConstantDecl() {
 593         return (int)7L;
 594     }
 595     public static int CXCursor_FunctionDecl() {
 596         return (int)8L;
 597     }
 598     public static int CXCursor_VarDecl() {
 599         return (int)9L;
 600     }
 601     public static int CXCursor_ParmDecl() {
 602         return (int)10L;
 603     }
 604     public static int CXCursor_ObjCInterfaceDecl() {
 605         return (int)11L;
 606     }
 607     public static int CXCursor_ObjCCategoryDecl() {
 608         return (int)12L;
 609     }
 610     public static int CXCursor_ObjCProtocolDecl() {
 611         return (int)13L;
 612     }
 613     public static int CXCursor_ObjCPropertyDecl() {
 614         return (int)14L;
 615     }
 616     public static int CXCursor_ObjCIvarDecl() {
 617         return (int)15L;
 618     }
 619     public static int CXCursor_ObjCInstanceMethodDecl() {
 620         return (int)16L;
 621     }
 622     public static int CXCursor_ObjCClassMethodDecl() {
 623         return (int)17L;
 624     }
 625     public static int CXCursor_ObjCImplementationDecl() {
 626         return (int)18L;
 627     }
 628     public static int CXCursor_ObjCCategoryImplDecl() {
 629         return (int)19L;
 630     }
 631     public static int CXCursor_TypedefDecl() {
 632         return (int)20L;
 633     }
 634     public static int CXCursor_CXXMethod() {
 635         return (int)21L;
 636     }
 637     public static int CXCursor_Namespace() {
 638         return (int)22L;
 639     }
 640     public static int CXCursor_LinkageSpec() {
 641         return (int)23L;
 642     }
 643     public static int CXCursor_Constructor() {
 644         return (int)24L;
 645     }
 646     public static int CXCursor_Destructor() {
 647         return (int)25L;
 648     }
 649     public static int CXCursor_ConversionFunction() {
 650         return (int)26L;
 651     }
 652     public static int CXCursor_TemplateTypeParameter() {
 653         return (int)27L;
 654     }
 655     public static int CXCursor_NonTypeTemplateParameter() {
 656         return (int)28L;
 657     }
 658     public static int CXCursor_TemplateTemplateParameter() {
 659         return (int)29L;
 660     }
 661     public static int CXCursor_FunctionTemplate() {
 662         return (int)30L;
 663     }
 664     public static int CXCursor_ClassTemplate() {
 665         return (int)31L;
 666     }
 667     public static int CXCursor_ClassTemplatePartialSpecialization() {
 668         return (int)32L;
 669     }
 670     public static int CXCursor_NamespaceAlias() {
 671         return (int)33L;
 672     }
 673     public static int CXCursor_UsingDirective() {
 674         return (int)34L;
 675     }
 676     public static int CXCursor_UsingDeclaration() {
 677         return (int)35L;
 678     }
 679     public static int CXCursor_TypeAliasDecl() {
 680         return (int)36L;
 681     }
 682     public static int CXCursor_ObjCSynthesizeDecl() {
 683         return (int)37L;
 684     }
 685     public static int CXCursor_ObjCDynamicDecl() {
 686         return (int)38L;
 687     }
 688     public static int CXCursor_CXXAccessSpecifier() {
 689         return (int)39L;
 690     }
 691     public static int CXCursor_FirstDecl() {
 692         return (int)1L;
 693     }
 694     public static int CXCursor_LastDecl() {
 695         return (int)39L;
 696     }
 697     public static int CXCursor_FirstRef() {
 698         return (int)40L;
 699     }
 700     public static int CXCursor_ObjCSuperClassRef() {
 701         return (int)40L;
 702     }
 703     public static int CXCursor_ObjCProtocolRef() {
 704         return (int)41L;
 705     }
 706     public static int CXCursor_ObjCClassRef() {
 707         return (int)42L;
 708     }
 709     public static int CXCursor_TypeRef() {
 710         return (int)43L;
 711     }
 712     public static int CXCursor_CXXBaseSpecifier() {
 713         return (int)44L;
 714     }
 715     public static int CXCursor_TemplateRef() {
 716         return (int)45L;
 717     }
 718     public static int CXCursor_NamespaceRef() {
 719         return (int)46L;
 720     }
 721     public static int CXCursor_MemberRef() {
 722         return (int)47L;
 723     }
 724     public static int CXCursor_LabelRef() {
 725         return (int)48L;
 726     }
 727     public static int CXCursor_OverloadedDeclRef() {
 728         return (int)49L;
 729     }
 730     public static int CXCursor_VariableRef() {
 731         return (int)50L;
 732     }
 733     public static int CXCursor_LastRef() {
 734         return (int)50L;
 735     }
 736     public static int CXCursor_FirstInvalid() {
 737         return (int)70L;
 738     }
 739     public static int CXCursor_InvalidFile() {
 740         return (int)70L;
 741     }
 742     public static int CXCursor_NoDeclFound() {
 743         return (int)71L;
 744     }
 745     public static int CXCursor_NotImplemented() {
 746         return (int)72L;
 747     }
 748     public static int CXCursor_InvalidCode() {
 749         return (int)73L;
 750     }
 751     public static int CXCursor_LastInvalid() {
 752         return (int)73L;
 753     }
 754     public static int CXCursor_FirstExpr() {
 755         return (int)100L;
 756     }
 757     public static int CXCursor_UnexposedExpr() {
 758         return (int)100L;
 759     }
 760     public static int CXCursor_DeclRefExpr() {
 761         return (int)101L;
 762     }
 763     public static int CXCursor_MemberRefExpr() {
 764         return (int)102L;
 765     }
 766     public static int CXCursor_CallExpr() {
 767         return (int)103L;
 768     }
 769     public static int CXCursor_ObjCMessageExpr() {
 770         return (int)104L;
 771     }
 772     public static int CXCursor_BlockExpr() {
 773         return (int)105L;
 774     }
 775     public static int CXCursor_IntegerLiteral() {
 776         return (int)106L;
 777     }
 778     public static int CXCursor_FloatingLiteral() {
 779         return (int)107L;
 780     }
 781     public static int CXCursor_ImaginaryLiteral() {
 782         return (int)108L;
 783     }
 784     public static int CXCursor_StringLiteral() {
 785         return (int)109L;
 786     }
 787     public static int CXCursor_CharacterLiteral() {
 788         return (int)110L;
 789     }
 790     public static int CXCursor_ParenExpr() {
 791         return (int)111L;
 792     }
 793     public static int CXCursor_UnaryOperator() {
 794         return (int)112L;
 795     }
 796     public static int CXCursor_ArraySubscriptExpr() {
 797         return (int)113L;
 798     }
 799     public static int CXCursor_BinaryOperator() {
 800         return (int)114L;
 801     }
 802     public static int CXCursor_CompoundAssignOperator() {
 803         return (int)115L;
 804     }
 805     public static int CXCursor_ConditionalOperator() {
 806         return (int)116L;
 807     }
 808     public static int CXCursor_CStyleCastExpr() {
 809         return (int)117L;
 810     }
 811     public static int CXCursor_CompoundLiteralExpr() {
 812         return (int)118L;
 813     }
 814     public static int CXCursor_InitListExpr() {
 815         return (int)119L;
 816     }
 817     public static int CXCursor_AddrLabelExpr() {
 818         return (int)120L;
 819     }
 820     public static int CXCursor_StmtExpr() {
 821         return (int)121L;
 822     }
 823     public static int CXCursor_GenericSelectionExpr() {
 824         return (int)122L;
 825     }
 826     public static int CXCursor_GNUNullExpr() {
 827         return (int)123L;
 828     }
 829     public static int CXCursor_CXXStaticCastExpr() {
 830         return (int)124L;
 831     }
 832     public static int CXCursor_CXXDynamicCastExpr() {
 833         return (int)125L;
 834     }
 835     public static int CXCursor_CXXReinterpretCastExpr() {
 836         return (int)126L;
 837     }
 838     public static int CXCursor_CXXConstCastExpr() {
 839         return (int)127L;
 840     }
 841     public static int CXCursor_CXXFunctionalCastExpr() {
 842         return (int)128L;
 843     }
 844     public static int CXCursor_CXXTypeidExpr() {
 845         return (int)129L;
 846     }
 847     public static int CXCursor_CXXBoolLiteralExpr() {
 848         return (int)130L;
 849     }
 850     public static int CXCursor_CXXNullPtrLiteralExpr() {
 851         return (int)131L;
 852     }
 853     public static int CXCursor_CXXThisExpr() {
 854         return (int)132L;
 855     }
 856     public static int CXCursor_CXXThrowExpr() {
 857         return (int)133L;
 858     }
 859     public static int CXCursor_CXXNewExpr() {
 860         return (int)134L;
 861     }
 862     public static int CXCursor_CXXDeleteExpr() {
 863         return (int)135L;
 864     }
 865     public static int CXCursor_UnaryExpr() {
 866         return (int)136L;
 867     }
 868     public static int CXCursor_ObjCStringLiteral() {
 869         return (int)137L;
 870     }
 871     public static int CXCursor_ObjCEncodeExpr() {
 872         return (int)138L;
 873     }
 874     public static int CXCursor_ObjCSelectorExpr() {
 875         return (int)139L;
 876     }
 877     public static int CXCursor_ObjCProtocolExpr() {
 878         return (int)140L;
 879     }
 880     public static int CXCursor_ObjCBridgedCastExpr() {
 881         return (int)141L;
 882     }
 883     public static int CXCursor_PackExpansionExpr() {
 884         return (int)142L;
 885     }
 886     public static int CXCursor_SizeOfPackExpr() {
 887         return (int)143L;
 888     }
 889     public static int CXCursor_LambdaExpr() {
 890         return (int)144L;
 891     }
 892     public static int CXCursor_ObjCBoolLiteralExpr() {
 893         return (int)145L;
 894     }
 895     public static int CXCursor_ObjCSelfExpr() {
 896         return (int)146L;
 897     }
 898     public static int CXCursor_OMPArraySectionExpr() {
 899         return (int)147L;
 900     }
 901     public static int CXCursor_ObjCAvailabilityCheckExpr() {
 902         return (int)148L;
 903     }
 904     public static int CXCursor_FixedPointLiteral() {
 905         return (int)149L;
 906     }
 907     public static int CXCursor_LastExpr() {
 908         return (int)149L;
 909     }
 910     public static int CXCursor_FirstStmt() {
 911         return (int)200L;
 912     }
 913     public static int CXCursor_UnexposedStmt() {
 914         return (int)200L;
 915     }
 916     public static int CXCursor_LabelStmt() {
 917         return (int)201L;
 918     }
 919     public static int CXCursor_CompoundStmt() {
 920         return (int)202L;
 921     }
 922     public static int CXCursor_CaseStmt() {
 923         return (int)203L;
 924     }
 925     public static int CXCursor_DefaultStmt() {
 926         return (int)204L;
 927     }
 928     public static int CXCursor_IfStmt() {
 929         return (int)205L;
 930     }
 931     public static int CXCursor_SwitchStmt() {
 932         return (int)206L;
 933     }
 934     public static int CXCursor_WhileStmt() {
 935         return (int)207L;
 936     }
 937     public static int CXCursor_DoStmt() {
 938         return (int)208L;
 939     }
 940     public static int CXCursor_ForStmt() {
 941         return (int)209L;
 942     }
 943     public static int CXCursor_GotoStmt() {
 944         return (int)210L;
 945     }
 946     public static int CXCursor_IndirectGotoStmt() {
 947         return (int)211L;
 948     }
 949     public static int CXCursor_ContinueStmt() {
 950         return (int)212L;
 951     }
 952     public static int CXCursor_BreakStmt() {
 953         return (int)213L;
 954     }
 955     public static int CXCursor_ReturnStmt() {
 956         return (int)214L;
 957     }
 958     public static int CXCursor_GCCAsmStmt() {
 959         return (int)215L;
 960     }
 961     public static int CXCursor_AsmStmt() {
 962         return (int)215L;
 963     }
 964     public static int CXCursor_ObjCAtTryStmt() {
 965         return (int)216L;
 966     }
 967     public static int CXCursor_ObjCAtCatchStmt() {
 968         return (int)217L;
 969     }
 970     public static int CXCursor_ObjCAtFinallyStmt() {
 971         return (int)218L;
 972     }
 973     public static int CXCursor_ObjCAtThrowStmt() {
 974         return (int)219L;
 975     }
 976     public static int CXCursor_ObjCAtSynchronizedStmt() {
 977         return (int)220L;
 978     }
 979     public static int CXCursor_ObjCAutoreleasePoolStmt() {
 980         return (int)221L;
 981     }
 982     public static int CXCursor_ObjCForCollectionStmt() {
 983         return (int)222L;
 984     }
 985     public static int CXCursor_CXXCatchStmt() {
 986         return (int)223L;
 987     }
 988     public static int CXCursor_CXXTryStmt() {
 989         return (int)224L;
 990     }
 991     public static int CXCursor_CXXForRangeStmt() {
 992         return (int)225L;
 993     }
 994     public static int CXCursor_SEHTryStmt() {
 995         return (int)226L;
 996     }
 997     public static int CXCursor_SEHExceptStmt() {
 998         return (int)227L;
 999     }
1000     public static int CXCursor_SEHFinallyStmt() {
1001         return (int)228L;
1002     }
1003     public static int CXCursor_MSAsmStmt() {
1004         return (int)229L;
1005     }
1006     public static int CXCursor_NullStmt() {
1007         return (int)230L;
1008     }
1009     public static int CXCursor_DeclStmt() {
1010         return (int)231L;
1011     }
1012     public static int CXCursor_OMPParallelDirective() {
1013         return (int)232L;
1014     }
1015     public static int CXCursor_OMPSimdDirective() {
1016         return (int)233L;
1017     }
1018     public static int CXCursor_OMPForDirective() {
1019         return (int)234L;
1020     }
1021     public static int CXCursor_OMPSectionsDirective() {
1022         return (int)235L;
1023     }
1024     public static int CXCursor_OMPSectionDirective() {
1025         return (int)236L;
1026     }
1027     public static int CXCursor_OMPSingleDirective() {
1028         return (int)237L;
1029     }
1030     public static int CXCursor_OMPParallelForDirective() {
1031         return (int)238L;
1032     }
1033     public static int CXCursor_OMPParallelSectionsDirective() {
1034         return (int)239L;
1035     }
1036     public static int CXCursor_OMPTaskDirective() {
1037         return (int)240L;
1038     }
1039     public static int CXCursor_OMPMasterDirective() {
1040         return (int)241L;
1041     }
1042     public static int CXCursor_OMPCriticalDirective() {
1043         return (int)242L;
1044     }
1045     public static int CXCursor_OMPTaskyieldDirective() {
1046         return (int)243L;
1047     }
1048     public static int CXCursor_OMPBarrierDirective() {
1049         return (int)244L;
1050     }
1051     public static int CXCursor_OMPTaskwaitDirective() {
1052         return (int)245L;
1053     }
1054     public static int CXCursor_OMPFlushDirective() {
1055         return (int)246L;
1056     }
1057     public static int CXCursor_SEHLeaveStmt() {
1058         return (int)247L;
1059     }
1060     public static int CXCursor_OMPOrderedDirective() {
1061         return (int)248L;
1062     }
1063     public static int CXCursor_OMPAtomicDirective() {
1064         return (int)249L;
1065     }
1066     public static int CXCursor_OMPForSimdDirective() {
1067         return (int)250L;
1068     }
1069     public static int CXCursor_OMPParallelForSimdDirective() {
1070         return (int)251L;
1071     }
1072     public static int CXCursor_OMPTargetDirective() {
1073         return (int)252L;
1074     }
1075     public static int CXCursor_OMPTeamsDirective() {
1076         return (int)253L;
1077     }
1078     public static int CXCursor_OMPTaskgroupDirective() {
1079         return (int)254L;
1080     }
1081     public static int CXCursor_OMPCancellationPointDirective() {
1082         return (int)255L;
1083     }
1084     public static int CXCursor_OMPCancelDirective() {
1085         return (int)256L;
1086     }
1087     public static int CXCursor_OMPTargetDataDirective() {
1088         return (int)257L;
1089     }
1090     public static int CXCursor_OMPTaskLoopDirective() {
1091         return (int)258L;
1092     }
1093     public static int CXCursor_OMPTaskLoopSimdDirective() {
1094         return (int)259L;
1095     }
1096     public static int CXCursor_OMPDistributeDirective() {
1097         return (int)260L;
1098     }
1099     public static int CXCursor_OMPTargetEnterDataDirective() {
1100         return (int)261L;
1101     }
1102     public static int CXCursor_OMPTargetExitDataDirective() {
1103         return (int)262L;
1104     }
1105     public static int CXCursor_OMPTargetParallelDirective() {
1106         return (int)263L;
1107     }
1108     public static int CXCursor_OMPTargetParallelForDirective() {
1109         return (int)264L;
1110     }
1111     public static int CXCursor_OMPTargetUpdateDirective() {
1112         return (int)265L;
1113     }
1114     public static int CXCursor_OMPDistributeParallelForDirective() {
1115         return (int)266L;
1116     }
1117     public static int CXCursor_OMPDistributeParallelForSimdDirective() {
1118         return (int)267L;
1119     }
1120     public static int CXCursor_OMPDistributeSimdDirective() {
1121         return (int)268L;
1122     }
1123     public static int CXCursor_OMPTargetParallelForSimdDirective() {
1124         return (int)269L;
1125     }
1126     public static int CXCursor_OMPTargetSimdDirective() {
1127         return (int)270L;
1128     }
1129     public static int CXCursor_OMPTeamsDistributeDirective() {
1130         return (int)271L;
1131     }
1132     public static int CXCursor_OMPTeamsDistributeSimdDirective() {
1133         return (int)272L;
1134     }
1135     public static int CXCursor_OMPTeamsDistributeParallelForSimdDirective() {
1136         return (int)273L;
1137     }
1138     public static int CXCursor_OMPTeamsDistributeParallelForDirective() {
1139         return (int)274L;
1140     }
1141     public static int CXCursor_OMPTargetTeamsDirective() {
1142         return (int)275L;
1143     }
1144     public static int CXCursor_OMPTargetTeamsDistributeDirective() {
1145         return (int)276L;
1146     }
1147     public static int CXCursor_OMPTargetTeamsDistributeParallelForDirective() {
1148         return (int)277L;
1149     }
1150     public static int CXCursor_OMPTargetTeamsDistributeParallelForSimdDirective() {
1151         return (int)278L;
1152     }
1153     public static int CXCursor_OMPTargetTeamsDistributeSimdDirective() {
1154         return (int)279L;
1155     }
1156     public static int CXCursor_BuiltinBitCastExpr() {
1157         return (int)280L;
1158     }
1159     public static int CXCursor_OMPMasterTaskLoopDirective() {
1160         return (int)281L;
1161     }
1162     public static int CXCursor_OMPParallelMasterTaskLoopDirective() {
1163         return (int)282L;
1164     }
1165     public static int CXCursor_OMPMasterTaskLoopSimdDirective() {
1166         return (int)283L;
1167     }
1168     public static int CXCursor_OMPParallelMasterTaskLoopSimdDirective() {
1169         return (int)284L;
1170     }
1171     public static int CXCursor_LastStmt() {
1172         return (int)285L;
1173     }
1174     public static int CXCursor_TranslationUnit() {
1175         return (int)300L;
1176     }
1177     public static int CXCursor_FirstAttr() {
1178         return (int)400L;
1179     }
1180     public static int CXCursor_UnexposedAttr() {
1181         return (int)400L;
1182     }
1183     public static int CXCursor_IBActionAttr() {
1184         return (int)401L;
1185     }
1186     public static int CXCursor_IBOutletAttr() {
1187         return (int)402L;
1188     }
1189     public static int CXCursor_IBOutletCollectionAttr() {
1190         return (int)403L;
1191     }
1192     public static int CXCursor_CXXFinalAttr() {
1193         return (int)404L;
1194     }
1195     public static int CXCursor_CXXOverrideAttr() {
1196         return (int)405L;
1197     }
1198     public static int CXCursor_AnnotateAttr() {
1199         return (int)406L;
1200     }
1201     public static int CXCursor_AsmLabelAttr() {
1202         return (int)407L;
1203     }
1204     public static int CXCursor_PackedAttr() {
1205         return (int)408L;
1206     }
1207     public static int CXCursor_PureAttr() {
1208         return (int)409L;
1209     }
1210     public static int CXCursor_ConstAttr() {
1211         return (int)410L;
1212     }
1213     public static int CXCursor_NoDuplicateAttr() {
1214         return (int)411L;
1215     }
1216     public static int CXCursor_CUDAConstantAttr() {
1217         return (int)412L;
1218     }
1219     public static int CXCursor_CUDADeviceAttr() {
1220         return (int)413L;
1221     }
1222     public static int CXCursor_CUDAGlobalAttr() {
1223         return (int)414L;
1224     }
1225     public static int CXCursor_CUDAHostAttr() {
1226         return (int)415L;
1227     }
1228     public static int CXCursor_CUDASharedAttr() {
1229         return (int)416L;
1230     }
1231     public static int CXCursor_VisibilityAttr() {
1232         return (int)417L;
1233     }
1234     public static int CXCursor_DLLExport() {
1235         return (int)418L;
1236     }
1237     public static int CXCursor_DLLImport() {
1238         return (int)419L;
1239     }
1240     public static int CXCursor_NSReturnsRetained() {
1241         return (int)420L;
1242     }
1243     public static int CXCursor_NSReturnsNotRetained() {
1244         return (int)421L;
1245     }
1246     public static int CXCursor_NSReturnsAutoreleased() {
1247         return (int)422L;
1248     }
1249     public static int CXCursor_NSConsumesSelf() {
1250         return (int)423L;
1251     }
1252     public static int CXCursor_NSConsumed() {
1253         return (int)424L;
1254     }
1255     public static int CXCursor_ObjCException() {
1256         return (int)425L;
1257     }
1258     public static int CXCursor_ObjCNSObject() {
1259         return (int)426L;
1260     }
1261     public static int CXCursor_ObjCIndependentClass() {
1262         return (int)427L;
1263     }
1264     public static int CXCursor_ObjCPreciseLifetime() {
1265         return (int)428L;
1266     }
1267     public static int CXCursor_ObjCReturnsInnerPointer() {
1268         return (int)429L;
1269     }
1270     public static int CXCursor_ObjCRequiresSuper() {
1271         return (int)430L;
1272     }
1273     public static int CXCursor_ObjCRootClass() {
1274         return (int)431L;
1275     }
1276     public static int CXCursor_ObjCSubclassingRestricted() {
1277         return (int)432L;
1278     }
1279     public static int CXCursor_ObjCExplicitProtocolImpl() {
1280         return (int)433L;
1281     }
1282     public static int CXCursor_ObjCDesignatedInitializer() {
1283         return (int)434L;
1284     }
1285     public static int CXCursor_ObjCRuntimeVisible() {
1286         return (int)435L;
1287     }
1288     public static int CXCursor_ObjCBoxable() {
1289         return (int)436L;
1290     }
1291     public static int CXCursor_FlagEnum() {
1292         return (int)437L;
1293     }
1294     public static int CXCursor_ConvergentAttr() {
1295         return (int)438L;
1296     }
1297     public static int CXCursor_WarnUnusedAttr() {
1298         return (int)439L;
1299     }
1300     public static int CXCursor_WarnUnusedResultAttr() {
1301         return (int)440L;
1302     }
1303     public static int CXCursor_AlignedAttr() {
1304         return (int)441L;
1305     }
1306     public static int CXCursor_LastAttr() {
1307         return (int)441L;
1308     }
1309     public static int CXCursor_PreprocessingDirective() {
1310         return (int)500L;
1311     }
1312     public static int CXCursor_MacroDefinition() {
1313         return (int)501L;
1314     }
1315     public static int CXCursor_MacroExpansion() {
1316         return (int)502L;
1317     }
1318     public static int CXCursor_MacroInstantiation() {
1319         return (int)502L;
1320     }
1321     public static int CXCursor_InclusionDirective() {
1322         return (int)503L;
1323     }
1324     public static int CXCursor_FirstPreprocessing() {
1325         return (int)500L;
1326     }
1327     public static int CXCursor_LastPreprocessing() {
1328         return (int)503L;
1329     }
1330     public static int CXCursor_ModuleImportDecl() {
1331         return (int)600L;
1332     }
1333     public static int CXCursor_TypeAliasTemplateDecl() {
1334         return (int)601L;
1335     }
1336     public static int CXCursor_StaticAssert() {
1337         return (int)602L;
1338     }
1339     public static int CXCursor_FriendDecl() {
1340         return (int)603L;
1341     }
1342     public static int CXCursor_FirstExtraDecl() {
1343         return (int)600L;
1344     }
1345     public static int CXCursor_LastExtraDecl() {
1346         return (int)603L;
1347     }
1348     public static int CXCursor_OverloadCandidate() {
1349         return (int)700L;
1350     }
1351     public static MethodHandle clang_getNullCursor$MH() {
1352         return RuntimeHelper.requireNonNull(constants$5.clang_getNullCursor$MH,"clang_getNullCursor");
1353     }
1354     public static MemorySegment clang_getNullCursor ( SegmentAllocator allocator) {
1355         var mh$ = RuntimeHelper.requireNonNull(constants$5.clang_getNullCursor$MH, "clang_getNullCursor");
1356         try {
1357             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator);
1358         } catch (Throwable ex$) {
1359             throw new AssertionError("should not reach here", ex$);
1360         }
1361     }
1362     public static MemorySegment clang_getNullCursor ( ResourceScope scope) {
1363         return clang_getNullCursor(SegmentAllocator.nativeAllocator(scope));
1364     }
1365     public static MethodHandle clang_getTranslationUnitCursor$MH() {
1366         return RuntimeHelper.requireNonNull(constants$5.clang_getTranslationUnitCursor$MH,"clang_getTranslationUnitCursor");
1367     }
1368     public static MemorySegment clang_getTranslationUnitCursor ( SegmentAllocator allocator,  Addressable x1) {
1369         var mh$ = RuntimeHelper.requireNonNull(constants$5.clang_getTranslationUnitCursor$MH, "clang_getTranslationUnitCursor");
1370         try {
1371             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
1372         } catch (Throwable ex$) {
1373             throw new AssertionError("should not reach here", ex$);
1374         }
1375     }
1376     public static MemorySegment clang_getTranslationUnitCursor ( ResourceScope scope,  Addressable x1) {
1377         return clang_getTranslationUnitCursor(SegmentAllocator.nativeAllocator(scope), x1);
1378     }
1379     public static MethodHandle clang_equalCursors$MH() {
1380         return RuntimeHelper.requireNonNull(constants$5.clang_equalCursors$MH,"clang_equalCursors");
1381     }
1382     public static int clang_equalCursors ( MemorySegment x0,  MemorySegment x1) {
1383         var mh$ = RuntimeHelper.requireNonNull(constants$5.clang_equalCursors$MH, "clang_equalCursors");
1384         try {
1385             return (int)mh$.invokeExact(x0, x1);
1386         } catch (Throwable ex$) {
1387             throw new AssertionError("should not reach here", ex$);
1388         }
1389     }
1390     public static MethodHandle clang_Cursor_isNull$MH() {
1391         return RuntimeHelper.requireNonNull(constants$5.clang_Cursor_isNull$MH,"clang_Cursor_isNull");
1392     }
1393     public static int clang_Cursor_isNull ( MemorySegment cursor) {
1394         var mh$ = RuntimeHelper.requireNonNull(constants$5.clang_Cursor_isNull$MH, "clang_Cursor_isNull");
1395         try {
1396             return (int)mh$.invokeExact(cursor);
1397         } catch (Throwable ex$) {
1398             throw new AssertionError("should not reach here", ex$);
1399         }
1400     }
1401     public static MethodHandle clang_getCursorKind$MH() {
1402         return RuntimeHelper.requireNonNull(constants$6.clang_getCursorKind$MH,"clang_getCursorKind");
1403     }
1404     public static int clang_getCursorKind ( MemorySegment x0) {
1405         var mh$ = RuntimeHelper.requireNonNull(constants$6.clang_getCursorKind$MH, "clang_getCursorKind");
1406         try {
1407             return (int)mh$.invokeExact(x0);
1408         } catch (Throwable ex$) {
1409             throw new AssertionError("should not reach here", ex$);
1410         }
1411     }
1412     public static MethodHandle clang_isDeclaration$MH() {
1413         return RuntimeHelper.requireNonNull(constants$6.clang_isDeclaration$MH,"clang_isDeclaration");
1414     }
1415     public static int clang_isDeclaration ( int x0) {
1416         var mh$ = RuntimeHelper.requireNonNull(constants$6.clang_isDeclaration$MH, "clang_isDeclaration");
1417         try {
1418             return (int)mh$.invokeExact(x0);
1419         } catch (Throwable ex$) {
1420             throw new AssertionError("should not reach here", ex$);
1421         }
1422     }
1423     public static MethodHandle clang_isAttribute$MH() {
1424         return RuntimeHelper.requireNonNull(constants$6.clang_isAttribute$MH,"clang_isAttribute");
1425     }
1426     public static int clang_isAttribute ( int x0) {
1427         var mh$ = RuntimeHelper.requireNonNull(constants$6.clang_isAttribute$MH, "clang_isAttribute");
1428         try {
1429             return (int)mh$.invokeExact(x0);
1430         } catch (Throwable ex$) {
1431             throw new AssertionError("should not reach here", ex$);
1432         }
1433     }
1434     public static MethodHandle clang_isInvalid$MH() {
1435         return RuntimeHelper.requireNonNull(constants$6.clang_isInvalid$MH,"clang_isInvalid");
1436     }
1437     public static int clang_isInvalid ( int x0) {
1438         var mh$ = RuntimeHelper.requireNonNull(constants$6.clang_isInvalid$MH, "clang_isInvalid");
1439         try {
1440             return (int)mh$.invokeExact(x0);
1441         } catch (Throwable ex$) {
1442             throw new AssertionError("should not reach here", ex$);
1443         }
1444     }
1445     public static MethodHandle clang_isPreprocessing$MH() {
1446         return RuntimeHelper.requireNonNull(constants$6.clang_isPreprocessing$MH,"clang_isPreprocessing");
1447     }
1448     public static int clang_isPreprocessing ( int x0) {
1449         var mh$ = RuntimeHelper.requireNonNull(constants$6.clang_isPreprocessing$MH, "clang_isPreprocessing");
1450         try {
1451             return (int)mh$.invokeExact(x0);
1452         } catch (Throwable ex$) {
1453             throw new AssertionError("should not reach here", ex$);
1454         }
1455     }
1456     public static int CXLanguage_Invalid() {
1457         return (int)0L;
1458     }
1459     public static int CXLanguage_C() {
1460         return (int)1L;
1461     }
1462     public static int CXLanguage_ObjC() {
1463         return (int)2L;
1464     }
1465     public static int CXLanguage_CPlusPlus() {
1466         return (int)3L;
1467     }
1468     public static MethodHandle clang_getCursorLanguage$MH() {
1469         return RuntimeHelper.requireNonNull(constants$6.clang_getCursorLanguage$MH,"clang_getCursorLanguage");
1470     }
1471     public static int clang_getCursorLanguage ( MemorySegment cursor) {
1472         var mh$ = RuntimeHelper.requireNonNull(constants$6.clang_getCursorLanguage$MH, "clang_getCursorLanguage");
1473         try {
1474             return (int)mh$.invokeExact(cursor);
1475         } catch (Throwable ex$) {
1476             throw new AssertionError("should not reach here", ex$);
1477         }
1478     }
1479     public static MethodHandle clang_Cursor_getTranslationUnit$MH() {
1480         return RuntimeHelper.requireNonNull(constants$7.clang_Cursor_getTranslationUnit$MH,"clang_Cursor_getTranslationUnit");
1481     }
1482     public static MemoryAddress clang_Cursor_getTranslationUnit ( MemorySegment x0) {
1483         var mh$ = RuntimeHelper.requireNonNull(constants$7.clang_Cursor_getTranslationUnit$MH, "clang_Cursor_getTranslationUnit");
1484         try {
1485             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(x0);
1486         } catch (Throwable ex$) {
1487             throw new AssertionError("should not reach here", ex$);
1488         }
1489     }
1490     public static MethodHandle clang_getCursorLocation$MH() {
1491         return RuntimeHelper.requireNonNull(constants$7.clang_getCursorLocation$MH,"clang_getCursorLocation");
1492     }
1493     public static MemorySegment clang_getCursorLocation ( SegmentAllocator allocator,  MemorySegment x1) {
1494         var mh$ = RuntimeHelper.requireNonNull(constants$7.clang_getCursorLocation$MH, "clang_getCursorLocation");
1495         try {
1496             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
1497         } catch (Throwable ex$) {
1498             throw new AssertionError("should not reach here", ex$);
1499         }
1500     }
1501     public static MemorySegment clang_getCursorLocation ( ResourceScope scope,  MemorySegment x1) {
1502         return clang_getCursorLocation(SegmentAllocator.nativeAllocator(scope), x1);
1503     }
1504     public static MethodHandle clang_getCursorExtent$MH() {
1505         return RuntimeHelper.requireNonNull(constants$7.clang_getCursorExtent$MH,"clang_getCursorExtent");
1506     }
1507     public static MemorySegment clang_getCursorExtent ( SegmentAllocator allocator,  MemorySegment x1) {
1508         var mh$ = RuntimeHelper.requireNonNull(constants$7.clang_getCursorExtent$MH, "clang_getCursorExtent");
1509         try {
1510             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
1511         } catch (Throwable ex$) {
1512             throw new AssertionError("should not reach here", ex$);
1513         }
1514     }
1515     public static MemorySegment clang_getCursorExtent ( ResourceScope scope,  MemorySegment x1) {
1516         return clang_getCursorExtent(SegmentAllocator.nativeAllocator(scope), x1);
1517     }
1518     public static int CXType_Invalid() {
1519         return (int)0L;
1520     }
1521     public static int CXType_Unexposed() {
1522         return (int)1L;
1523     }
1524     public static int CXType_Void() {
1525         return (int)2L;
1526     }
1527     public static int CXType_Bool() {
1528         return (int)3L;
1529     }
1530     public static int CXType_Char_U() {
1531         return (int)4L;
1532     }
1533     public static int CXType_UChar() {
1534         return (int)5L;
1535     }
1536     public static int CXType_Char16() {
1537         return (int)6L;
1538     }
1539     public static int CXType_Char32() {
1540         return (int)7L;
1541     }
1542     public static int CXType_UShort() {
1543         return (int)8L;
1544     }
1545     public static int CXType_UInt() {
1546         return (int)9L;
1547     }
1548     public static int CXType_ULong() {
1549         return (int)10L;
1550     }
1551     public static int CXType_ULongLong() {
1552         return (int)11L;
1553     }
1554     public static int CXType_UInt128() {
1555         return (int)12L;
1556     }
1557     public static int CXType_Char_S() {
1558         return (int)13L;
1559     }
1560     public static int CXType_SChar() {
1561         return (int)14L;
1562     }
1563     public static int CXType_WChar() {
1564         return (int)15L;
1565     }
1566     public static int CXType_Short() {
1567         return (int)16L;
1568     }
1569     public static int CXType_Int() {
1570         return (int)17L;
1571     }
1572     public static int CXType_Long() {
1573         return (int)18L;
1574     }
1575     public static int CXType_LongLong() {
1576         return (int)19L;
1577     }
1578     public static int CXType_Int128() {
1579         return (int)20L;
1580     }
1581     public static int CXType_Float() {
1582         return (int)21L;
1583     }
1584     public static int CXType_Double() {
1585         return (int)22L;
1586     }
1587     public static int CXType_LongDouble() {
1588         return (int)23L;
1589     }
1590     public static int CXType_NullPtr() {
1591         return (int)24L;
1592     }
1593     public static int CXType_Overload() {
1594         return (int)25L;
1595     }
1596     public static int CXType_Dependent() {
1597         return (int)26L;
1598     }
1599     public static int CXType_ObjCId() {
1600         return (int)27L;
1601     }
1602     public static int CXType_ObjCClass() {
1603         return (int)28L;
1604     }
1605     public static int CXType_ObjCSel() {
1606         return (int)29L;
1607     }
1608     public static int CXType_Float128() {
1609         return (int)30L;
1610     }
1611     public static int CXType_Half() {
1612         return (int)31L;
1613     }
1614     public static int CXType_Float16() {
1615         return (int)32L;
1616     }
1617     public static int CXType_ShortAccum() {
1618         return (int)33L;
1619     }
1620     public static int CXType_Accum() {
1621         return (int)34L;
1622     }
1623     public static int CXType_LongAccum() {
1624         return (int)35L;
1625     }
1626     public static int CXType_UShortAccum() {
1627         return (int)36L;
1628     }
1629     public static int CXType_UAccum() {
1630         return (int)37L;
1631     }
1632     public static int CXType_ULongAccum() {
1633         return (int)38L;
1634     }
1635     public static int CXType_FirstBuiltin() {
1636         return (int)2L;
1637     }
1638     public static int CXType_LastBuiltin() {
1639         return (int)38L;
1640     }
1641     public static int CXType_Complex() {
1642         return (int)100L;
1643     }
1644     public static int CXType_Pointer() {
1645         return (int)101L;
1646     }
1647     public static int CXType_BlockPointer() {
1648         return (int)102L;
1649     }
1650     public static int CXType_LValueReference() {
1651         return (int)103L;
1652     }
1653     public static int CXType_RValueReference() {
1654         return (int)104L;
1655     }
1656     public static int CXType_Record() {
1657         return (int)105L;
1658     }
1659     public static int CXType_Enum() {
1660         return (int)106L;
1661     }
1662     public static int CXType_Typedef() {
1663         return (int)107L;
1664     }
1665     public static int CXType_ObjCInterface() {
1666         return (int)108L;
1667     }
1668     public static int CXType_ObjCObjectPointer() {
1669         return (int)109L;
1670     }
1671     public static int CXType_FunctionNoProto() {
1672         return (int)110L;
1673     }
1674     public static int CXType_FunctionProto() {
1675         return (int)111L;
1676     }
1677     public static int CXType_ConstantArray() {
1678         return (int)112L;
1679     }
1680     public static int CXType_Vector() {
1681         return (int)113L;
1682     }
1683     public static int CXType_IncompleteArray() {
1684         return (int)114L;
1685     }
1686     public static int CXType_VariableArray() {
1687         return (int)115L;
1688     }
1689     public static int CXType_DependentSizedArray() {
1690         return (int)116L;
1691     }
1692     public static int CXType_MemberPointer() {
1693         return (int)117L;
1694     }
1695     public static int CXType_Auto() {
1696         return (int)118L;
1697     }
1698     public static int CXType_Elaborated() {
1699         return (int)119L;
1700     }
1701     public static int CXType_Pipe() {
1702         return (int)120L;
1703     }
1704     public static int CXType_OCLImage1dRO() {
1705         return (int)121L;
1706     }
1707     public static int CXType_OCLImage1dArrayRO() {
1708         return (int)122L;
1709     }
1710     public static int CXType_OCLImage1dBufferRO() {
1711         return (int)123L;
1712     }
1713     public static int CXType_OCLImage2dRO() {
1714         return (int)124L;
1715     }
1716     public static int CXType_OCLImage2dArrayRO() {
1717         return (int)125L;
1718     }
1719     public static int CXType_OCLImage2dDepthRO() {
1720         return (int)126L;
1721     }
1722     public static int CXType_OCLImage2dArrayDepthRO() {
1723         return (int)127L;
1724     }
1725     public static int CXType_OCLImage2dMSAARO() {
1726         return (int)128L;
1727     }
1728     public static int CXType_OCLImage2dArrayMSAARO() {
1729         return (int)129L;
1730     }
1731     public static int CXType_OCLImage2dMSAADepthRO() {
1732         return (int)130L;
1733     }
1734     public static int CXType_OCLImage2dArrayMSAADepthRO() {
1735         return (int)131L;
1736     }
1737     public static int CXType_OCLImage3dRO() {
1738         return (int)132L;
1739     }
1740     public static int CXType_OCLImage1dWO() {
1741         return (int)133L;
1742     }
1743     public static int CXType_OCLImage1dArrayWO() {
1744         return (int)134L;
1745     }
1746     public static int CXType_OCLImage1dBufferWO() {
1747         return (int)135L;
1748     }
1749     public static int CXType_OCLImage2dWO() {
1750         return (int)136L;
1751     }
1752     public static int CXType_OCLImage2dArrayWO() {
1753         return (int)137L;
1754     }
1755     public static int CXType_OCLImage2dDepthWO() {
1756         return (int)138L;
1757     }
1758     public static int CXType_OCLImage2dArrayDepthWO() {
1759         return (int)139L;
1760     }
1761     public static int CXType_OCLImage2dMSAAWO() {
1762         return (int)140L;
1763     }
1764     public static int CXType_OCLImage2dArrayMSAAWO() {
1765         return (int)141L;
1766     }
1767     public static int CXType_OCLImage2dMSAADepthWO() {
1768         return (int)142L;
1769     }
1770     public static int CXType_OCLImage2dArrayMSAADepthWO() {
1771         return (int)143L;
1772     }
1773     public static int CXType_OCLImage3dWO() {
1774         return (int)144L;
1775     }
1776     public static int CXType_OCLImage1dRW() {
1777         return (int)145L;
1778     }
1779     public static int CXType_OCLImage1dArrayRW() {
1780         return (int)146L;
1781     }
1782     public static int CXType_OCLImage1dBufferRW() {
1783         return (int)147L;
1784     }
1785     public static int CXType_OCLImage2dRW() {
1786         return (int)148L;
1787     }
1788     public static int CXType_OCLImage2dArrayRW() {
1789         return (int)149L;
1790     }
1791     public static int CXType_OCLImage2dDepthRW() {
1792         return (int)150L;
1793     }
1794     public static int CXType_OCLImage2dArrayDepthRW() {
1795         return (int)151L;
1796     }
1797     public static int CXType_OCLImage2dMSAARW() {
1798         return (int)152L;
1799     }
1800     public static int CXType_OCLImage2dArrayMSAARW() {
1801         return (int)153L;
1802     }
1803     public static int CXType_OCLImage2dMSAADepthRW() {
1804         return (int)154L;
1805     }
1806     public static int CXType_OCLImage2dArrayMSAADepthRW() {
1807         return (int)155L;
1808     }
1809     public static int CXType_OCLImage3dRW() {
1810         return (int)156L;
1811     }
1812     public static int CXType_OCLSampler() {
1813         return (int)157L;
1814     }
1815     public static int CXType_OCLEvent() {
1816         return (int)158L;
1817     }
1818     public static int CXType_OCLQueue() {
1819         return (int)159L;
1820     }
1821     public static int CXType_OCLReserveID() {
1822         return (int)160L;
1823     }
1824     public static int CXType_ObjCObject() {
1825         return (int)161L;
1826     }
1827     public static int CXType_ObjCTypeParam() {
1828         return (int)162L;
1829     }
1830     public static int CXType_Attributed() {
1831         return (int)163L;
1832     }
1833     public static int CXType_OCLIntelSubgroupAVCMcePayload() {
1834         return (int)164L;
1835     }
1836     public static int CXType_OCLIntelSubgroupAVCImePayload() {
1837         return (int)165L;
1838     }
1839     public static int CXType_OCLIntelSubgroupAVCRefPayload() {
1840         return (int)166L;
1841     }
1842     public static int CXType_OCLIntelSubgroupAVCSicPayload() {
1843         return (int)167L;
1844     }
1845     public static int CXType_OCLIntelSubgroupAVCMceResult() {
1846         return (int)168L;
1847     }
1848     public static int CXType_OCLIntelSubgroupAVCImeResult() {
1849         return (int)169L;
1850     }
1851     public static int CXType_OCLIntelSubgroupAVCRefResult() {
1852         return (int)170L;
1853     }
1854     public static int CXType_OCLIntelSubgroupAVCSicResult() {
1855         return (int)171L;
1856     }
1857     public static int CXType_OCLIntelSubgroupAVCImeResultSingleRefStreamout() {
1858         return (int)172L;
1859     }
1860     public static int CXType_OCLIntelSubgroupAVCImeResultDualRefStreamout() {
1861         return (int)173L;
1862     }
1863     public static int CXType_OCLIntelSubgroupAVCImeSingleRefStreamin() {
1864         return (int)174L;
1865     }
1866     public static int CXType_OCLIntelSubgroupAVCImeDualRefStreamin() {
1867         return (int)175L;
1868     }
1869     public static int CXType_ExtVector() {
1870         return (int)176L;
1871     }
1872     public static int CXCallingConv_Default() {
1873         return (int)0L;
1874     }
1875     public static int CXCallingConv_C() {
1876         return (int)1L;
1877     }
1878     public static int CXCallingConv_X86StdCall() {
1879         return (int)2L;
1880     }
1881     public static int CXCallingConv_X86FastCall() {
1882         return (int)3L;
1883     }
1884     public static int CXCallingConv_X86ThisCall() {
1885         return (int)4L;
1886     }
1887     public static int CXCallingConv_X86Pascal() {
1888         return (int)5L;
1889     }
1890     public static int CXCallingConv_AAPCS() {
1891         return (int)6L;
1892     }
1893     public static int CXCallingConv_AAPCS_VFP() {
1894         return (int)7L;
1895     }
1896     public static int CXCallingConv_X86RegCall() {
1897         return (int)8L;
1898     }
1899     public static int CXCallingConv_IntelOclBicc() {
1900         return (int)9L;
1901     }
1902     public static int CXCallingConv_Win64() {
1903         return (int)10L;
1904     }
1905     public static int CXCallingConv_X86_64Win64() {
1906         return (int)10L;
1907     }
1908     public static int CXCallingConv_X86_64SysV() {
1909         return (int)11L;
1910     }
1911     public static int CXCallingConv_X86VectorCall() {
1912         return (int)12L;
1913     }
1914     public static int CXCallingConv_Swift() {
1915         return (int)13L;
1916     }
1917     public static int CXCallingConv_PreserveMost() {
1918         return (int)14L;
1919     }
1920     public static int CXCallingConv_PreserveAll() {
1921         return (int)15L;
1922     }
1923     public static int CXCallingConv_AArch64VectorCall() {
1924         return (int)16L;
1925     }
1926     public static int CXCallingConv_Invalid() {
1927         return (int)100L;
1928     }
1929     public static int CXCallingConv_Unexposed() {
1930         return (int)200L;
1931     }
1932     public static MethodHandle clang_getCursorType$MH() {
1933         return RuntimeHelper.requireNonNull(constants$7.clang_getCursorType$MH,"clang_getCursorType");
1934     }
1935     public static MemorySegment clang_getCursorType ( SegmentAllocator allocator,  MemorySegment C) {
1936         var mh$ = RuntimeHelper.requireNonNull(constants$7.clang_getCursorType$MH, "clang_getCursorType");
1937         try {
1938             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, C);
1939         } catch (Throwable ex$) {
1940             throw new AssertionError("should not reach here", ex$);
1941         }
1942     }
1943     public static MemorySegment clang_getCursorType ( ResourceScope scope,  MemorySegment C) {
1944         return clang_getCursorType(SegmentAllocator.nativeAllocator(scope), C);
1945     }
1946     public static MethodHandle clang_getTypeSpelling$MH() {
1947         return RuntimeHelper.requireNonNull(constants$7.clang_getTypeSpelling$MH,"clang_getTypeSpelling");
1948     }
1949     public static MemorySegment clang_getTypeSpelling ( SegmentAllocator allocator,  MemorySegment CT) {
1950         var mh$ = RuntimeHelper.requireNonNull(constants$7.clang_getTypeSpelling$MH, "clang_getTypeSpelling");
1951         try {
1952             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, CT);
1953         } catch (Throwable ex$) {
1954             throw new AssertionError("should not reach here", ex$);
1955         }
1956     }
1957     public static MemorySegment clang_getTypeSpelling ( ResourceScope scope,  MemorySegment CT) {
1958         return clang_getTypeSpelling(SegmentAllocator.nativeAllocator(scope), CT);
1959     }
1960     public static MethodHandle clang_getTypedefDeclUnderlyingType$MH() {
1961         return RuntimeHelper.requireNonNull(constants$7.clang_getTypedefDeclUnderlyingType$MH,"clang_getTypedefDeclUnderlyingType");
1962     }
1963     public static MemorySegment clang_getTypedefDeclUnderlyingType ( SegmentAllocator allocator,  MemorySegment C) {
1964         var mh$ = RuntimeHelper.requireNonNull(constants$7.clang_getTypedefDeclUnderlyingType$MH, "clang_getTypedefDeclUnderlyingType");
1965         try {
1966             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, C);
1967         } catch (Throwable ex$) {
1968             throw new AssertionError("should not reach here", ex$);
1969         }
1970     }
1971     public static MemorySegment clang_getTypedefDeclUnderlyingType ( ResourceScope scope,  MemorySegment C) {
1972         return clang_getTypedefDeclUnderlyingType(SegmentAllocator.nativeAllocator(scope), C);
1973     }
1974     public static MethodHandle clang_getEnumDeclIntegerType$MH() {
1975         return RuntimeHelper.requireNonNull(constants$8.clang_getEnumDeclIntegerType$MH,"clang_getEnumDeclIntegerType");
1976     }
1977     public static MemorySegment clang_getEnumDeclIntegerType ( SegmentAllocator allocator,  MemorySegment C) {
1978         var mh$ = RuntimeHelper.requireNonNull(constants$8.clang_getEnumDeclIntegerType$MH, "clang_getEnumDeclIntegerType");
1979         try {
1980             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, C);
1981         } catch (Throwable ex$) {
1982             throw new AssertionError("should not reach here", ex$);
1983         }
1984     }
1985     public static MemorySegment clang_getEnumDeclIntegerType ( ResourceScope scope,  MemorySegment C) {
1986         return clang_getEnumDeclIntegerType(SegmentAllocator.nativeAllocator(scope), C);
1987     }
1988     public static MethodHandle clang_getEnumConstantDeclValue$MH() {
1989         return RuntimeHelper.requireNonNull(constants$8.clang_getEnumConstantDeclValue$MH,"clang_getEnumConstantDeclValue");
1990     }
1991     public static long clang_getEnumConstantDeclValue ( MemorySegment C) {
1992         var mh$ = RuntimeHelper.requireNonNull(constants$8.clang_getEnumConstantDeclValue$MH, "clang_getEnumConstantDeclValue");
1993         try {
1994             return (long)mh$.invokeExact(C);
1995         } catch (Throwable ex$) {
1996             throw new AssertionError("should not reach here", ex$);
1997         }
1998     }
1999     public static MethodHandle clang_getEnumConstantDeclUnsignedValue$MH() {
2000         return RuntimeHelper.requireNonNull(constants$8.clang_getEnumConstantDeclUnsignedValue$MH,"clang_getEnumConstantDeclUnsignedValue");
2001     }
2002     public static long clang_getEnumConstantDeclUnsignedValue ( MemorySegment C) {
2003         var mh$ = RuntimeHelper.requireNonNull(constants$8.clang_getEnumConstantDeclUnsignedValue$MH, "clang_getEnumConstantDeclUnsignedValue");
2004         try {
2005             return (long)mh$.invokeExact(C);
2006         } catch (Throwable ex$) {
2007             throw new AssertionError("should not reach here", ex$);
2008         }
2009     }
2010     public static MethodHandle clang_getFieldDeclBitWidth$MH() {
2011         return RuntimeHelper.requireNonNull(constants$8.clang_getFieldDeclBitWidth$MH,"clang_getFieldDeclBitWidth");
2012     }
2013     public static int clang_getFieldDeclBitWidth ( MemorySegment C) {
2014         var mh$ = RuntimeHelper.requireNonNull(constants$8.clang_getFieldDeclBitWidth$MH, "clang_getFieldDeclBitWidth");
2015         try {
2016             return (int)mh$.invokeExact(C);
2017         } catch (Throwable ex$) {
2018             throw new AssertionError("should not reach here", ex$);
2019         }
2020     }
2021     public static MethodHandle clang_Cursor_getNumArguments$MH() {
2022         return RuntimeHelper.requireNonNull(constants$8.clang_Cursor_getNumArguments$MH,"clang_Cursor_getNumArguments");
2023     }
2024     public static int clang_Cursor_getNumArguments ( MemorySegment C) {
2025         var mh$ = RuntimeHelper.requireNonNull(constants$8.clang_Cursor_getNumArguments$MH, "clang_Cursor_getNumArguments");
2026         try {
2027             return (int)mh$.invokeExact(C);
2028         } catch (Throwable ex$) {
2029             throw new AssertionError("should not reach here", ex$);
2030         }
2031     }
2032     public static MethodHandle clang_Cursor_getArgument$MH() {
2033         return RuntimeHelper.requireNonNull(constants$8.clang_Cursor_getArgument$MH,"clang_Cursor_getArgument");
2034     }
2035     public static MemorySegment clang_Cursor_getArgument ( SegmentAllocator allocator,  MemorySegment C,  int i) {
2036         var mh$ = RuntimeHelper.requireNonNull(constants$8.clang_Cursor_getArgument$MH, "clang_Cursor_getArgument");
2037         try {
2038             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, C, i);
2039         } catch (Throwable ex$) {
2040             throw new AssertionError("should not reach here", ex$);
2041         }
2042     }
2043     public static MemorySegment clang_Cursor_getArgument ( ResourceScope scope,  MemorySegment C,  int i) {
2044         return clang_Cursor_getArgument(SegmentAllocator.nativeAllocator(scope), C, i);
2045     }
2046     public static MethodHandle clang_equalTypes$MH() {
2047         return RuntimeHelper.requireNonNull(constants$9.clang_equalTypes$MH,"clang_equalTypes");
2048     }
2049     public static int clang_equalTypes ( MemorySegment A,  MemorySegment B) {
2050         var mh$ = RuntimeHelper.requireNonNull(constants$9.clang_equalTypes$MH, "clang_equalTypes");
2051         try {
2052             return (int)mh$.invokeExact(A, B);
2053         } catch (Throwable ex$) {
2054             throw new AssertionError("should not reach here", ex$);
2055         }
2056     }
2057     public static MethodHandle clang_getCanonicalType$MH() {
2058         return RuntimeHelper.requireNonNull(constants$9.clang_getCanonicalType$MH,"clang_getCanonicalType");
2059     }
2060     public static MemorySegment clang_getCanonicalType ( SegmentAllocator allocator,  MemorySegment T) {
2061         var mh$ = RuntimeHelper.requireNonNull(constants$9.clang_getCanonicalType$MH, "clang_getCanonicalType");
2062         try {
2063             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T);
2064         } catch (Throwable ex$) {
2065             throw new AssertionError("should not reach here", ex$);
2066         }
2067     }
2068     public static MemorySegment clang_getCanonicalType ( ResourceScope scope,  MemorySegment T) {
2069         return clang_getCanonicalType(SegmentAllocator.nativeAllocator(scope), T);
2070     }
2071     public static MethodHandle clang_isConstQualifiedType$MH() {
2072         return RuntimeHelper.requireNonNull(constants$9.clang_isConstQualifiedType$MH,"clang_isConstQualifiedType");
2073     }
2074     public static int clang_isConstQualifiedType ( MemorySegment T) {
2075         var mh$ = RuntimeHelper.requireNonNull(constants$9.clang_isConstQualifiedType$MH, "clang_isConstQualifiedType");
2076         try {
2077             return (int)mh$.invokeExact(T);
2078         } catch (Throwable ex$) {
2079             throw new AssertionError("should not reach here", ex$);
2080         }
2081     }
2082     public static MethodHandle clang_Cursor_isMacroFunctionLike$MH() {
2083         return RuntimeHelper.requireNonNull(constants$9.clang_Cursor_isMacroFunctionLike$MH,"clang_Cursor_isMacroFunctionLike");
2084     }
2085     public static int clang_Cursor_isMacroFunctionLike ( MemorySegment C) {
2086         var mh$ = RuntimeHelper.requireNonNull(constants$9.clang_Cursor_isMacroFunctionLike$MH, "clang_Cursor_isMacroFunctionLike");
2087         try {
2088             return (int)mh$.invokeExact(C);
2089         } catch (Throwable ex$) {
2090             throw new AssertionError("should not reach here", ex$);
2091         }
2092     }
2093     public static MethodHandle clang_isVolatileQualifiedType$MH() {
2094         return RuntimeHelper.requireNonNull(constants$9.clang_isVolatileQualifiedType$MH,"clang_isVolatileQualifiedType");
2095     }
2096     public static int clang_isVolatileQualifiedType ( MemorySegment T) {
2097         var mh$ = RuntimeHelper.requireNonNull(constants$9.clang_isVolatileQualifiedType$MH, "clang_isVolatileQualifiedType");
2098         try {
2099             return (int)mh$.invokeExact(T);
2100         } catch (Throwable ex$) {
2101             throw new AssertionError("should not reach here", ex$);
2102         }
2103     }
2104     public static MethodHandle clang_getTypedefName$MH() {
2105         return RuntimeHelper.requireNonNull(constants$9.clang_getTypedefName$MH,"clang_getTypedefName");
2106     }
2107     public static MemorySegment clang_getTypedefName ( SegmentAllocator allocator,  MemorySegment CT) {
2108         var mh$ = RuntimeHelper.requireNonNull(constants$9.clang_getTypedefName$MH, "clang_getTypedefName");
2109         try {
2110             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, CT);
2111         } catch (Throwable ex$) {
2112             throw new AssertionError("should not reach here", ex$);
2113         }
2114     }
2115     public static MemorySegment clang_getTypedefName ( ResourceScope scope,  MemorySegment CT) {
2116         return clang_getTypedefName(SegmentAllocator.nativeAllocator(scope), CT);
2117     }
2118     public static MethodHandle clang_getPointeeType$MH() {
2119         return RuntimeHelper.requireNonNull(constants$10.clang_getPointeeType$MH,"clang_getPointeeType");
2120     }
2121     public static MemorySegment clang_getPointeeType ( SegmentAllocator allocator,  MemorySegment T) {
2122         var mh$ = RuntimeHelper.requireNonNull(constants$10.clang_getPointeeType$MH, "clang_getPointeeType");
2123         try {
2124             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T);
2125         } catch (Throwable ex$) {
2126             throw new AssertionError("should not reach here", ex$);
2127         }
2128     }
2129     public static MemorySegment clang_getPointeeType ( ResourceScope scope,  MemorySegment T) {
2130         return clang_getPointeeType(SegmentAllocator.nativeAllocator(scope), T);
2131     }
2132     public static MethodHandle clang_getTypeDeclaration$MH() {
2133         return RuntimeHelper.requireNonNull(constants$10.clang_getTypeDeclaration$MH,"clang_getTypeDeclaration");
2134     }
2135     public static MemorySegment clang_getTypeDeclaration ( SegmentAllocator allocator,  MemorySegment T) {
2136         var mh$ = RuntimeHelper.requireNonNull(constants$10.clang_getTypeDeclaration$MH, "clang_getTypeDeclaration");
2137         try {
2138             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T);
2139         } catch (Throwable ex$) {
2140             throw new AssertionError("should not reach here", ex$);
2141         }
2142     }
2143     public static MemorySegment clang_getTypeDeclaration ( ResourceScope scope,  MemorySegment T) {
2144         return clang_getTypeDeclaration(SegmentAllocator.nativeAllocator(scope), T);
2145     }
2146     public static MethodHandle clang_getTypeKindSpelling$MH() {
2147         return RuntimeHelper.requireNonNull(constants$10.clang_getTypeKindSpelling$MH,"clang_getTypeKindSpelling");
2148     }
2149     public static MemorySegment clang_getTypeKindSpelling ( SegmentAllocator allocator,  int K) {
2150         var mh$ = RuntimeHelper.requireNonNull(constants$10.clang_getTypeKindSpelling$MH, "clang_getTypeKindSpelling");
2151         try {
2152             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, K);
2153         } catch (Throwable ex$) {
2154             throw new AssertionError("should not reach here", ex$);
2155         }
2156     }
2157     public static MemorySegment clang_getTypeKindSpelling ( ResourceScope scope,  int K) {
2158         return clang_getTypeKindSpelling(SegmentAllocator.nativeAllocator(scope), K);
2159     }
2160     public static MethodHandle clang_getFunctionTypeCallingConv$MH() {
2161         return RuntimeHelper.requireNonNull(constants$10.clang_getFunctionTypeCallingConv$MH,"clang_getFunctionTypeCallingConv");
2162     }
2163     public static int clang_getFunctionTypeCallingConv ( MemorySegment T) {
2164         var mh$ = RuntimeHelper.requireNonNull(constants$10.clang_getFunctionTypeCallingConv$MH, "clang_getFunctionTypeCallingConv");
2165         try {
2166             return (int)mh$.invokeExact(T);
2167         } catch (Throwable ex$) {
2168             throw new AssertionError("should not reach here", ex$);
2169         }
2170     }
2171     public static MethodHandle clang_getResultType$MH() {
2172         return RuntimeHelper.requireNonNull(constants$10.clang_getResultType$MH,"clang_getResultType");
2173     }
2174     public static MemorySegment clang_getResultType ( SegmentAllocator allocator,  MemorySegment T) {
2175         var mh$ = RuntimeHelper.requireNonNull(constants$10.clang_getResultType$MH, "clang_getResultType");
2176         try {
2177             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T);
2178         } catch (Throwable ex$) {
2179             throw new AssertionError("should not reach here", ex$);
2180         }
2181     }
2182     public static MemorySegment clang_getResultType ( ResourceScope scope,  MemorySegment T) {
2183         return clang_getResultType(SegmentAllocator.nativeAllocator(scope), T);
2184     }
2185     public static MethodHandle clang_getNumArgTypes$MH() {
2186         return RuntimeHelper.requireNonNull(constants$10.clang_getNumArgTypes$MH,"clang_getNumArgTypes");
2187     }
2188     public static int clang_getNumArgTypes ( MemorySegment T) {
2189         var mh$ = RuntimeHelper.requireNonNull(constants$10.clang_getNumArgTypes$MH, "clang_getNumArgTypes");
2190         try {
2191             return (int)mh$.invokeExact(T);
2192         } catch (Throwable ex$) {
2193             throw new AssertionError("should not reach here", ex$);
2194         }
2195     }
2196     public static MethodHandle clang_getArgType$MH() {
2197         return RuntimeHelper.requireNonNull(constants$11.clang_getArgType$MH,"clang_getArgType");
2198     }
2199     public static MemorySegment clang_getArgType ( SegmentAllocator allocator,  MemorySegment T,  int i) {
2200         var mh$ = RuntimeHelper.requireNonNull(constants$11.clang_getArgType$MH, "clang_getArgType");
2201         try {
2202             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T, i);
2203         } catch (Throwable ex$) {
2204             throw new AssertionError("should not reach here", ex$);
2205         }
2206     }
2207     public static MemorySegment clang_getArgType ( ResourceScope scope,  MemorySegment T,  int i) {
2208         return clang_getArgType(SegmentAllocator.nativeAllocator(scope), T, i);
2209     }
2210     public static MethodHandle clang_isFunctionTypeVariadic$MH() {
2211         return RuntimeHelper.requireNonNull(constants$11.clang_isFunctionTypeVariadic$MH,"clang_isFunctionTypeVariadic");
2212     }
2213     public static int clang_isFunctionTypeVariadic ( MemorySegment T) {
2214         var mh$ = RuntimeHelper.requireNonNull(constants$11.clang_isFunctionTypeVariadic$MH, "clang_isFunctionTypeVariadic");
2215         try {
2216             return (int)mh$.invokeExact(T);
2217         } catch (Throwable ex$) {
2218             throw new AssertionError("should not reach here", ex$);
2219         }
2220     }
2221     public static MethodHandle clang_getCursorResultType$MH() {
2222         return RuntimeHelper.requireNonNull(constants$11.clang_getCursorResultType$MH,"clang_getCursorResultType");
2223     }
2224     public static MemorySegment clang_getCursorResultType ( SegmentAllocator allocator,  MemorySegment C) {
2225         var mh$ = RuntimeHelper.requireNonNull(constants$11.clang_getCursorResultType$MH, "clang_getCursorResultType");
2226         try {
2227             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, C);
2228         } catch (Throwable ex$) {
2229             throw new AssertionError("should not reach here", ex$);
2230         }
2231     }
2232     public static MemorySegment clang_getCursorResultType ( ResourceScope scope,  MemorySegment C) {
2233         return clang_getCursorResultType(SegmentAllocator.nativeAllocator(scope), C);
2234     }
2235     public static MethodHandle clang_getElementType$MH() {
2236         return RuntimeHelper.requireNonNull(constants$11.clang_getElementType$MH,"clang_getElementType");
2237     }
2238     public static MemorySegment clang_getElementType ( SegmentAllocator allocator,  MemorySegment T) {
2239         var mh$ = RuntimeHelper.requireNonNull(constants$11.clang_getElementType$MH, "clang_getElementType");
2240         try {
2241             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T);
2242         } catch (Throwable ex$) {
2243             throw new AssertionError("should not reach here", ex$);
2244         }
2245     }
2246     public static MemorySegment clang_getElementType ( ResourceScope scope,  MemorySegment T) {
2247         return clang_getElementType(SegmentAllocator.nativeAllocator(scope), T);
2248     }
2249     public static MethodHandle clang_getNumElements$MH() {
2250         return RuntimeHelper.requireNonNull(constants$11.clang_getNumElements$MH,"clang_getNumElements");
2251     }
2252     public static long clang_getNumElements ( MemorySegment T) {
2253         var mh$ = RuntimeHelper.requireNonNull(constants$11.clang_getNumElements$MH, "clang_getNumElements");
2254         try {
2255             return (long)mh$.invokeExact(T);
2256         } catch (Throwable ex$) {
2257             throw new AssertionError("should not reach here", ex$);
2258         }
2259     }
2260     public static MethodHandle clang_getArrayElementType$MH() {
2261         return RuntimeHelper.requireNonNull(constants$11.clang_getArrayElementType$MH,"clang_getArrayElementType");
2262     }
2263     public static MemorySegment clang_getArrayElementType ( SegmentAllocator allocator,  MemorySegment T) {
2264         var mh$ = RuntimeHelper.requireNonNull(constants$11.clang_getArrayElementType$MH, "clang_getArrayElementType");
2265         try {
2266             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, T);
2267         } catch (Throwable ex$) {
2268             throw new AssertionError("should not reach here", ex$);
2269         }
2270     }
2271     public static MemorySegment clang_getArrayElementType ( ResourceScope scope,  MemorySegment T) {
2272         return clang_getArrayElementType(SegmentAllocator.nativeAllocator(scope), T);
2273     }
2274     public static MethodHandle clang_getArraySize$MH() {
2275         return RuntimeHelper.requireNonNull(constants$12.clang_getArraySize$MH,"clang_getArraySize");
2276     }
2277     public static long clang_getArraySize ( MemorySegment T) {
2278         var mh$ = RuntimeHelper.requireNonNull(constants$12.clang_getArraySize$MH, "clang_getArraySize");
2279         try {
2280             return (long)mh$.invokeExact(T);
2281         } catch (Throwable ex$) {
2282             throw new AssertionError("should not reach here", ex$);
2283         }
2284     }
2285     public static int CXTypeNullability_NonNull() {
2286         return (int)0L;
2287     }
2288     public static int CXTypeNullability_Nullable() {
2289         return (int)1L;
2290     }
2291     public static int CXTypeNullability_Unspecified() {
2292         return (int)2L;
2293     }
2294     public static int CXTypeNullability_Invalid() {
2295         return (int)3L;
2296     }
2297     public static int CXTypeLayoutError_Invalid() {
2298         return (int)-1L;
2299     }
2300     public static int CXTypeLayoutError_Incomplete() {
2301         return (int)-2L;
2302     }
2303     public static int CXTypeLayoutError_Dependent() {
2304         return (int)-3L;
2305     }
2306     public static int CXTypeLayoutError_NotConstantSize() {
2307         return (int)-4L;
2308     }
2309     public static int CXTypeLayoutError_InvalidFieldName() {
2310         return (int)-5L;
2311     }
2312     public static int CXTypeLayoutError_Undeduced() {
2313         return (int)-6L;
2314     }
2315     public static MethodHandle clang_Type_getSizeOf$MH() {
2316         return RuntimeHelper.requireNonNull(constants$12.clang_Type_getSizeOf$MH,"clang_Type_getSizeOf");
2317     }
2318     public static long clang_Type_getSizeOf ( MemorySegment T) {
2319         var mh$ = RuntimeHelper.requireNonNull(constants$12.clang_Type_getSizeOf$MH, "clang_Type_getSizeOf");
2320         try {
2321             return (long)mh$.invokeExact(T);
2322         } catch (Throwable ex$) {
2323             throw new AssertionError("should not reach here", ex$);
2324         }
2325     }
2326     public static MethodHandle clang_Type_getOffsetOf$MH() {
2327         return RuntimeHelper.requireNonNull(constants$12.clang_Type_getOffsetOf$MH,"clang_Type_getOffsetOf");
2328     }
2329     public static long clang_Type_getOffsetOf ( MemorySegment T,  Addressable S) {
2330         var mh$ = RuntimeHelper.requireNonNull(constants$12.clang_Type_getOffsetOf$MH, "clang_Type_getOffsetOf");
2331         try {
2332             return (long)mh$.invokeExact(T, S);
2333         } catch (Throwable ex$) {
2334             throw new AssertionError("should not reach here", ex$);
2335         }
2336     }
2337     public static MethodHandle clang_Cursor_isAnonymous$MH() {
2338         return RuntimeHelper.requireNonNull(constants$12.clang_Cursor_isAnonymous$MH,"clang_Cursor_isAnonymous");
2339     }
2340     public static int clang_Cursor_isAnonymous ( MemorySegment C) {
2341         var mh$ = RuntimeHelper.requireNonNull(constants$12.clang_Cursor_isAnonymous$MH, "clang_Cursor_isAnonymous");
2342         try {
2343             return (int)mh$.invokeExact(C);
2344         } catch (Throwable ex$) {
2345             throw new AssertionError("should not reach here", ex$);
2346         }
2347     }
2348     public static MethodHandle clang_Cursor_isAnonymousRecordDecl$MH() {
2349         return RuntimeHelper.requireNonNull(constants$12.clang_Cursor_isAnonymousRecordDecl$MH,"clang_Cursor_isAnonymousRecordDecl");
2350     }
2351     public static int clang_Cursor_isAnonymousRecordDecl ( MemorySegment C) {
2352         var mh$ = RuntimeHelper.requireNonNull(constants$12.clang_Cursor_isAnonymousRecordDecl$MH, "clang_Cursor_isAnonymousRecordDecl");
2353         try {
2354             return (int)mh$.invokeExact(C);
2355         } catch (Throwable ex$) {
2356             throw new AssertionError("should not reach here", ex$);
2357         }
2358     }
2359     public static MethodHandle clang_Cursor_isBitField$MH() {
2360         return RuntimeHelper.requireNonNull(constants$12.clang_Cursor_isBitField$MH,"clang_Cursor_isBitField");
2361     }
2362     public static int clang_Cursor_isBitField ( MemorySegment C) {
2363         var mh$ = RuntimeHelper.requireNonNull(constants$12.clang_Cursor_isBitField$MH, "clang_Cursor_isBitField");
2364         try {
2365             return (int)mh$.invokeExact(C);
2366         } catch (Throwable ex$) {
2367             throw new AssertionError("should not reach here", ex$);
2368         }
2369     }
2370     public static int CXChildVisit_Break() {
2371         return (int)0L;
2372     }
2373     public static int CXChildVisit_Continue() {
2374         return (int)1L;
2375     }
2376     public static int CXChildVisit_Recurse() {
2377         return (int)2L;
2378     }
2379     public static MethodHandle clang_visitChildren$MH() {
2380         return RuntimeHelper.requireNonNull(constants$13.clang_visitChildren$MH,"clang_visitChildren");
2381     }
2382     public static int clang_visitChildren ( MemorySegment parent,  Addressable visitor,  Addressable client_data) {
2383         var mh$ = RuntimeHelper.requireNonNull(constants$13.clang_visitChildren$MH, "clang_visitChildren");
2384         try {
2385             return (int)mh$.invokeExact(parent, visitor, client_data);
2386         } catch (Throwable ex$) {
2387             throw new AssertionError("should not reach here", ex$);
2388         }
2389     }
2390     public static MethodHandle clang_getCursorUSR$MH() {
2391         return RuntimeHelper.requireNonNull(constants$13.clang_getCursorUSR$MH,"clang_getCursorUSR");
2392     }
2393     public static MemorySegment clang_getCursorUSR ( SegmentAllocator allocator,  MemorySegment x1) {
2394         var mh$ = RuntimeHelper.requireNonNull(constants$13.clang_getCursorUSR$MH, "clang_getCursorUSR");
2395         try {
2396             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
2397         } catch (Throwable ex$) {
2398             throw new AssertionError("should not reach here", ex$);
2399         }
2400     }
2401     public static MemorySegment clang_getCursorUSR ( ResourceScope scope,  MemorySegment x1) {
2402         return clang_getCursorUSR(SegmentAllocator.nativeAllocator(scope), x1);
2403     }
2404     public static MethodHandle clang_getCursorSpelling$MH() {
2405         return RuntimeHelper.requireNonNull(constants$13.clang_getCursorSpelling$MH,"clang_getCursorSpelling");
2406     }
2407     public static MemorySegment clang_getCursorSpelling ( SegmentAllocator allocator,  MemorySegment x1) {
2408         var mh$ = RuntimeHelper.requireNonNull(constants$13.clang_getCursorSpelling$MH, "clang_getCursorSpelling");
2409         try {
2410             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
2411         } catch (Throwable ex$) {
2412             throw new AssertionError("should not reach here", ex$);
2413         }
2414     }
2415     public static MemorySegment clang_getCursorSpelling ( ResourceScope scope,  MemorySegment x1) {
2416         return clang_getCursorSpelling(SegmentAllocator.nativeAllocator(scope), x1);
2417     }
2418     public static int CXPrintingPolicy_Indentation() {
2419         return (int)0L;
2420     }
2421     public static int CXPrintingPolicy_SuppressSpecifiers() {
2422         return (int)1L;
2423     }
2424     public static int CXPrintingPolicy_SuppressTagKeyword() {
2425         return (int)2L;
2426     }
2427     public static int CXPrintingPolicy_IncludeTagDefinition() {
2428         return (int)3L;
2429     }
2430     public static int CXPrintingPolicy_SuppressScope() {
2431         return (int)4L;
2432     }
2433     public static int CXPrintingPolicy_SuppressUnwrittenScope() {
2434         return (int)5L;
2435     }
2436     public static int CXPrintingPolicy_SuppressInitializers() {
2437         return (int)6L;
2438     }
2439     public static int CXPrintingPolicy_ConstantArraySizeAsWritten() {
2440         return (int)7L;
2441     }
2442     public static int CXPrintingPolicy_AnonymousTagLocations() {
2443         return (int)8L;
2444     }
2445     public static int CXPrintingPolicy_SuppressStrongLifetime() {
2446         return (int)9L;
2447     }
2448     public static int CXPrintingPolicy_SuppressLifetimeQualifiers() {
2449         return (int)10L;
2450     }
2451     public static int CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors() {
2452         return (int)11L;
2453     }
2454     public static int CXPrintingPolicy_Bool() {
2455         return (int)12L;
2456     }
2457     public static int CXPrintingPolicy_Restrict() {
2458         return (int)13L;
2459     }
2460     public static int CXPrintingPolicy_Alignof() {
2461         return (int)14L;
2462     }
2463     public static int CXPrintingPolicy_UnderscoreAlignof() {
2464         return (int)15L;
2465     }
2466     public static int CXPrintingPolicy_UseVoidForZeroParams() {
2467         return (int)16L;
2468     }
2469     public static int CXPrintingPolicy_TerseOutput() {
2470         return (int)17L;
2471     }
2472     public static int CXPrintingPolicy_PolishForDeclaration() {
2473         return (int)18L;
2474     }
2475     public static int CXPrintingPolicy_Half() {
2476         return (int)19L;
2477     }
2478     public static int CXPrintingPolicy_MSWChar() {
2479         return (int)20L;
2480     }
2481     public static int CXPrintingPolicy_IncludeNewlines() {
2482         return (int)21L;
2483     }
2484     public static int CXPrintingPolicy_MSVCFormatting() {
2485         return (int)22L;
2486     }
2487     public static int CXPrintingPolicy_ConstantsAsWritten() {
2488         return (int)23L;
2489     }
2490     public static int CXPrintingPolicy_SuppressImplicitBase() {
2491         return (int)24L;
2492     }
2493     public static int CXPrintingPolicy_FullyQualifiedName() {
2494         return (int)25L;
2495     }
2496     public static int CXPrintingPolicy_LastProperty() {
2497         return (int)25L;
2498     }
2499     public static MethodHandle clang_PrintingPolicy_getProperty$MH() {
2500         return RuntimeHelper.requireNonNull(constants$13.clang_PrintingPolicy_getProperty$MH,"clang_PrintingPolicy_getProperty");
2501     }
2502     public static int clang_PrintingPolicy_getProperty ( Addressable Policy,  int Property) {
2503         var mh$ = RuntimeHelper.requireNonNull(constants$13.clang_PrintingPolicy_getProperty$MH, "clang_PrintingPolicy_getProperty");
2504         try {
2505             return (int)mh$.invokeExact(Policy, Property);
2506         } catch (Throwable ex$) {
2507             throw new AssertionError("should not reach here", ex$);
2508         }
2509     }
2510     public static MethodHandle clang_PrintingPolicy_setProperty$MH() {
2511         return RuntimeHelper.requireNonNull(constants$14.clang_PrintingPolicy_setProperty$MH,"clang_PrintingPolicy_setProperty");
2512     }
2513     public static void clang_PrintingPolicy_setProperty ( Addressable Policy,  int Property,  int Value) {
2514         var mh$ = RuntimeHelper.requireNonNull(constants$14.clang_PrintingPolicy_setProperty$MH, "clang_PrintingPolicy_setProperty");
2515         try {
2516             mh$.invokeExact(Policy, Property, Value);
2517         } catch (Throwable ex$) {
2518             throw new AssertionError("should not reach here", ex$);
2519         }
2520     }
2521     public static MethodHandle clang_getCursorPrintingPolicy$MH() {
2522         return RuntimeHelper.requireNonNull(constants$14.clang_getCursorPrintingPolicy$MH,"clang_getCursorPrintingPolicy");
2523     }
2524     public static MemoryAddress clang_getCursorPrintingPolicy ( MemorySegment x0) {
2525         var mh$ = RuntimeHelper.requireNonNull(constants$14.clang_getCursorPrintingPolicy$MH, "clang_getCursorPrintingPolicy");
2526         try {
2527             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(x0);
2528         } catch (Throwable ex$) {
2529             throw new AssertionError("should not reach here", ex$);
2530         }
2531     }
2532     public static MethodHandle clang_PrintingPolicy_dispose$MH() {
2533         return RuntimeHelper.requireNonNull(constants$14.clang_PrintingPolicy_dispose$MH,"clang_PrintingPolicy_dispose");
2534     }
2535     public static void clang_PrintingPolicy_dispose ( Addressable Policy) {
2536         var mh$ = RuntimeHelper.requireNonNull(constants$14.clang_PrintingPolicy_dispose$MH, "clang_PrintingPolicy_dispose");
2537         try {
2538             mh$.invokeExact(Policy);
2539         } catch (Throwable ex$) {
2540             throw new AssertionError("should not reach here", ex$);
2541         }
2542     }
2543     public static MethodHandle clang_getCursorPrettyPrinted$MH() {
2544         return RuntimeHelper.requireNonNull(constants$14.clang_getCursorPrettyPrinted$MH,"clang_getCursorPrettyPrinted");
2545     }
2546     public static MemorySegment clang_getCursorPrettyPrinted ( SegmentAllocator allocator,  MemorySegment Cursor,  Addressable Policy) {
2547         var mh$ = RuntimeHelper.requireNonNull(constants$14.clang_getCursorPrettyPrinted$MH, "clang_getCursorPrettyPrinted");
2548         try {
2549             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, Cursor, Policy);
2550         } catch (Throwable ex$) {
2551             throw new AssertionError("should not reach here", ex$);
2552         }
2553     }
2554     public static MemorySegment clang_getCursorPrettyPrinted ( ResourceScope scope,  MemorySegment Cursor,  Addressable Policy) {
2555         return clang_getCursorPrettyPrinted(SegmentAllocator.nativeAllocator(scope), Cursor, Policy);
2556     }
2557     public static MethodHandle clang_getCursorDisplayName$MH() {
2558         return RuntimeHelper.requireNonNull(constants$14.clang_getCursorDisplayName$MH,"clang_getCursorDisplayName");
2559     }
2560     public static MemorySegment clang_getCursorDisplayName ( SegmentAllocator allocator,  MemorySegment x1) {
2561         var mh$ = RuntimeHelper.requireNonNull(constants$14.clang_getCursorDisplayName$MH, "clang_getCursorDisplayName");
2562         try {
2563             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
2564         } catch (Throwable ex$) {
2565             throw new AssertionError("should not reach here", ex$);
2566         }
2567     }
2568     public static MemorySegment clang_getCursorDisplayName ( ResourceScope scope,  MemorySegment x1) {
2569         return clang_getCursorDisplayName(SegmentAllocator.nativeAllocator(scope), x1);
2570     }
2571     public static MethodHandle clang_getCursorReferenced$MH() {
2572         return RuntimeHelper.requireNonNull(constants$14.clang_getCursorReferenced$MH,"clang_getCursorReferenced");
2573     }
2574     public static MemorySegment clang_getCursorReferenced ( SegmentAllocator allocator,  MemorySegment x1) {
2575         var mh$ = RuntimeHelper.requireNonNull(constants$14.clang_getCursorReferenced$MH, "clang_getCursorReferenced");
2576         try {
2577             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
2578         } catch (Throwable ex$) {
2579             throw new AssertionError("should not reach here", ex$);
2580         }
2581     }
2582     public static MemorySegment clang_getCursorReferenced ( ResourceScope scope,  MemorySegment x1) {
2583         return clang_getCursorReferenced(SegmentAllocator.nativeAllocator(scope), x1);
2584     }
2585     public static MethodHandle clang_getCursorDefinition$MH() {
2586         return RuntimeHelper.requireNonNull(constants$15.clang_getCursorDefinition$MH,"clang_getCursorDefinition");
2587     }
2588     public static MemorySegment clang_getCursorDefinition ( SegmentAllocator allocator,  MemorySegment x1) {
2589         var mh$ = RuntimeHelper.requireNonNull(constants$15.clang_getCursorDefinition$MH, "clang_getCursorDefinition");
2590         try {
2591             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
2592         } catch (Throwable ex$) {
2593             throw new AssertionError("should not reach here", ex$);
2594         }
2595     }
2596     public static MemorySegment clang_getCursorDefinition ( ResourceScope scope,  MemorySegment x1) {
2597         return clang_getCursorDefinition(SegmentAllocator.nativeAllocator(scope), x1);
2598     }
2599     public static MethodHandle clang_isCursorDefinition$MH() {
2600         return RuntimeHelper.requireNonNull(constants$15.clang_isCursorDefinition$MH,"clang_isCursorDefinition");
2601     }
2602     public static int clang_isCursorDefinition ( MemorySegment x0) {
2603         var mh$ = RuntimeHelper.requireNonNull(constants$15.clang_isCursorDefinition$MH, "clang_isCursorDefinition");
2604         try {
2605             return (int)mh$.invokeExact(x0);
2606         } catch (Throwable ex$) {
2607             throw new AssertionError("should not reach here", ex$);
2608         }
2609     }
2610     public static MethodHandle clang_Cursor_isVariadic$MH() {
2611         return RuntimeHelper.requireNonNull(constants$15.clang_Cursor_isVariadic$MH,"clang_Cursor_isVariadic");
2612     }
2613     public static int clang_Cursor_isVariadic ( MemorySegment C) {
2614         var mh$ = RuntimeHelper.requireNonNull(constants$15.clang_Cursor_isVariadic$MH, "clang_Cursor_isVariadic");
2615         try {
2616             return (int)mh$.invokeExact(C);
2617         } catch (Throwable ex$) {
2618             throw new AssertionError("should not reach here", ex$);
2619         }
2620     }
2621     public static MethodHandle clang_Cursor_getMangling$MH() {
2622         return RuntimeHelper.requireNonNull(constants$15.clang_Cursor_getMangling$MH,"clang_Cursor_getMangling");
2623     }
2624     public static MemorySegment clang_Cursor_getMangling ( SegmentAllocator allocator,  MemorySegment x1) {
2625         var mh$ = RuntimeHelper.requireNonNull(constants$15.clang_Cursor_getMangling$MH, "clang_Cursor_getMangling");
2626         try {
2627             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1);
2628         } catch (Throwable ex$) {
2629             throw new AssertionError("should not reach here", ex$);
2630         }
2631     }
2632     public static MemorySegment clang_Cursor_getMangling ( ResourceScope scope,  MemorySegment x1) {
2633         return clang_Cursor_getMangling(SegmentAllocator.nativeAllocator(scope), x1);
2634     }
2635     public static int CXToken_Punctuation() {
2636         return (int)0L;
2637     }
2638     public static int CXToken_Keyword() {
2639         return (int)1L;
2640     }
2641     public static int CXToken_Identifier() {
2642         return (int)2L;
2643     }
2644     public static int CXToken_Literal() {
2645         return (int)3L;
2646     }
2647     public static int CXToken_Comment() {
2648         return (int)4L;
2649     }
2650     public static MethodHandle clang_getTokenKind$MH() {
2651         return RuntimeHelper.requireNonNull(constants$15.clang_getTokenKind$MH,"clang_getTokenKind");
2652     }
2653     public static int clang_getTokenKind ( MemorySegment x0) {
2654         var mh$ = RuntimeHelper.requireNonNull(constants$15.clang_getTokenKind$MH, "clang_getTokenKind");
2655         try {
2656             return (int)mh$.invokeExact(x0);
2657         } catch (Throwable ex$) {
2658             throw new AssertionError("should not reach here", ex$);
2659         }
2660     }
2661     public static MethodHandle clang_getTokenSpelling$MH() {
2662         return RuntimeHelper.requireNonNull(constants$15.clang_getTokenSpelling$MH,"clang_getTokenSpelling");
2663     }
2664     public static MemorySegment clang_getTokenSpelling ( SegmentAllocator allocator,  Addressable x1,  MemorySegment x2) {
2665         var mh$ = RuntimeHelper.requireNonNull(constants$15.clang_getTokenSpelling$MH, "clang_getTokenSpelling");
2666         try {
2667             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1, x2);
2668         } catch (Throwable ex$) {
2669             throw new AssertionError("should not reach here", ex$);
2670         }
2671     }
2672     public static MemorySegment clang_getTokenSpelling ( ResourceScope scope,  Addressable x1,  MemorySegment x2) {
2673         return clang_getTokenSpelling(SegmentAllocator.nativeAllocator(scope), x1, x2);
2674     }
2675     public static MethodHandle clang_getTokenLocation$MH() {
2676         return RuntimeHelper.requireNonNull(constants$16.clang_getTokenLocation$MH,"clang_getTokenLocation");
2677     }
2678     public static MemorySegment clang_getTokenLocation ( SegmentAllocator allocator,  Addressable x1,  MemorySegment x2) {
2679         var mh$ = RuntimeHelper.requireNonNull(constants$16.clang_getTokenLocation$MH, "clang_getTokenLocation");
2680         try {
2681             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1, x2);
2682         } catch (Throwable ex$) {
2683             throw new AssertionError("should not reach here", ex$);
2684         }
2685     }
2686     public static MemorySegment clang_getTokenLocation ( ResourceScope scope,  Addressable x1,  MemorySegment x2) {
2687         return clang_getTokenLocation(SegmentAllocator.nativeAllocator(scope), x1, x2);
2688     }
2689     public static MethodHandle clang_getTokenExtent$MH() {
2690         return RuntimeHelper.requireNonNull(constants$16.clang_getTokenExtent$MH,"clang_getTokenExtent");
2691     }
2692     public static MemorySegment clang_getTokenExtent ( SegmentAllocator allocator,  Addressable x1,  MemorySegment x2) {
2693         var mh$ = RuntimeHelper.requireNonNull(constants$16.clang_getTokenExtent$MH, "clang_getTokenExtent");
2694         try {
2695             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, x1, x2);
2696         } catch (Throwable ex$) {
2697             throw new AssertionError("should not reach here", ex$);
2698         }
2699     }
2700     public static MemorySegment clang_getTokenExtent ( ResourceScope scope,  Addressable x1,  MemorySegment x2) {
2701         return clang_getTokenExtent(SegmentAllocator.nativeAllocator(scope), x1, x2);
2702     }
2703     public static MethodHandle clang_tokenize$MH() {
2704         return RuntimeHelper.requireNonNull(constants$16.clang_tokenize$MH,"clang_tokenize");
2705     }
2706     public static void clang_tokenize ( Addressable TU,  MemorySegment Range,  Addressable Tokens,  Addressable NumTokens) {
2707         var mh$ = RuntimeHelper.requireNonNull(constants$16.clang_tokenize$MH, "clang_tokenize");
2708         try {
2709             mh$.invokeExact(TU, Range, Tokens, NumTokens);
2710         } catch (Throwable ex$) {
2711             throw new AssertionError("should not reach here", ex$);
2712         }
2713     }
2714     public static MethodHandle clang_disposeTokens$MH() {
2715         return RuntimeHelper.requireNonNull(constants$16.clang_disposeTokens$MH,"clang_disposeTokens");
2716     }
2717     public static void clang_disposeTokens ( Addressable TU,  Addressable Tokens,  int NumTokens) {
2718         var mh$ = RuntimeHelper.requireNonNull(constants$16.clang_disposeTokens$MH, "clang_disposeTokens");
2719         try {
2720             mh$.invokeExact(TU, Tokens, NumTokens);
2721         } catch (Throwable ex$) {
2722             throw new AssertionError("should not reach here", ex$);
2723         }
2724     }
2725     public static MethodHandle clang_getCursorKindSpelling$MH() {
2726         return RuntimeHelper.requireNonNull(constants$16.clang_getCursorKindSpelling$MH,"clang_getCursorKindSpelling");
2727     }
2728     public static MemorySegment clang_getCursorKindSpelling ( SegmentAllocator allocator,  int Kind) {
2729         var mh$ = RuntimeHelper.requireNonNull(constants$16.clang_getCursorKindSpelling$MH, "clang_getCursorKindSpelling");
2730         try {
2731             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator, Kind);
2732         } catch (Throwable ex$) {
2733             throw new AssertionError("should not reach here", ex$);
2734         }
2735     }
2736     public static MemorySegment clang_getCursorKindSpelling ( ResourceScope scope,  int Kind) {
2737         return clang_getCursorKindSpelling(SegmentAllocator.nativeAllocator(scope), Kind);
2738     }
2739     public static MethodHandle clang_getClangVersion$MH() {
2740         return RuntimeHelper.requireNonNull(constants$16.clang_getClangVersion$MH,"clang_getClangVersion");
2741     }
2742     public static MemorySegment clang_getClangVersion ( SegmentAllocator allocator) {
2743         var mh$ = RuntimeHelper.requireNonNull(constants$16.clang_getClangVersion$MH, "clang_getClangVersion");
2744         try {
2745             return (jdk.incubator.foreign.MemorySegment)mh$.invokeExact(allocator);
2746         } catch (Throwable ex$) {
2747             throw new AssertionError("should not reach here", ex$);
2748         }
2749     }
2750     public static MemorySegment clang_getClangVersion ( ResourceScope scope) {
2751         return clang_getClangVersion(SegmentAllocator.nativeAllocator(scope));
2752     }
2753     public static MethodHandle clang_toggleCrashRecovery$MH() {
2754         return RuntimeHelper.requireNonNull(constants$17.clang_toggleCrashRecovery$MH,"clang_toggleCrashRecovery");
2755     }
2756     public static void clang_toggleCrashRecovery ( int isEnabled) {
2757         var mh$ = RuntimeHelper.requireNonNull(constants$17.clang_toggleCrashRecovery$MH, "clang_toggleCrashRecovery");
2758         try {
2759             mh$.invokeExact(isEnabled);
2760         } catch (Throwable ex$) {
2761             throw new AssertionError("should not reach here", ex$);
2762         }
2763     }
2764     public static MethodHandle clang_Cursor_Evaluate$MH() {
2765         return RuntimeHelper.requireNonNull(constants$17.clang_Cursor_Evaluate$MH,"clang_Cursor_Evaluate");
2766     }
2767     public static MemoryAddress clang_Cursor_Evaluate ( MemorySegment C) {
2768         var mh$ = RuntimeHelper.requireNonNull(constants$17.clang_Cursor_Evaluate$MH, "clang_Cursor_Evaluate");
2769         try {
2770             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(C);
2771         } catch (Throwable ex$) {
2772             throw new AssertionError("should not reach here", ex$);
2773         }
2774     }
2775     public static MethodHandle clang_EvalResult_getKind$MH() {
2776         return RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_getKind$MH,"clang_EvalResult_getKind");
2777     }
2778     public static int clang_EvalResult_getKind ( Addressable E) {
2779         var mh$ = RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_getKind$MH, "clang_EvalResult_getKind");
2780         try {
2781             return (int)mh$.invokeExact(E);
2782         } catch (Throwable ex$) {
2783             throw new AssertionError("should not reach here", ex$);
2784         }
2785     }
2786     public static MethodHandle clang_EvalResult_getAsInt$MH() {
2787         return RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_getAsInt$MH,"clang_EvalResult_getAsInt");
2788     }
2789     public static int clang_EvalResult_getAsInt ( Addressable E) {
2790         var mh$ = RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_getAsInt$MH, "clang_EvalResult_getAsInt");
2791         try {
2792             return (int)mh$.invokeExact(E);
2793         } catch (Throwable ex$) {
2794             throw new AssertionError("should not reach here", ex$);
2795         }
2796     }
2797     public static MethodHandle clang_EvalResult_getAsLongLong$MH() {
2798         return RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_getAsLongLong$MH,"clang_EvalResult_getAsLongLong");
2799     }
2800     public static long clang_EvalResult_getAsLongLong ( Addressable E) {
2801         var mh$ = RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_getAsLongLong$MH, "clang_EvalResult_getAsLongLong");
2802         try {
2803             return (long)mh$.invokeExact(E);
2804         } catch (Throwable ex$) {
2805             throw new AssertionError("should not reach here", ex$);
2806         }
2807     }
2808     public static MethodHandle clang_EvalResult_isUnsignedInt$MH() {
2809         return RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_isUnsignedInt$MH,"clang_EvalResult_isUnsignedInt");
2810     }
2811     public static int clang_EvalResult_isUnsignedInt ( Addressable E) {
2812         var mh$ = RuntimeHelper.requireNonNull(constants$17.clang_EvalResult_isUnsignedInt$MH, "clang_EvalResult_isUnsignedInt");
2813         try {
2814             return (int)mh$.invokeExact(E);
2815         } catch (Throwable ex$) {
2816             throw new AssertionError("should not reach here", ex$);
2817         }
2818     }
2819     public static MethodHandle clang_EvalResult_getAsUnsigned$MH() {
2820         return RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_getAsUnsigned$MH,"clang_EvalResult_getAsUnsigned");
2821     }
2822     public static long clang_EvalResult_getAsUnsigned ( Addressable E) {
2823         var mh$ = RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_getAsUnsigned$MH, "clang_EvalResult_getAsUnsigned");
2824         try {
2825             return (long)mh$.invokeExact(E);
2826         } catch (Throwable ex$) {
2827             throw new AssertionError("should not reach here", ex$);
2828         }
2829     }
2830     public static MethodHandle clang_EvalResult_getAsDouble$MH() {
2831         return RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_getAsDouble$MH,"clang_EvalResult_getAsDouble");
2832     }
2833     public static double clang_EvalResult_getAsDouble ( Addressable E) {
2834         var mh$ = RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_getAsDouble$MH, "clang_EvalResult_getAsDouble");
2835         try {
2836             return (double)mh$.invokeExact(E);
2837         } catch (Throwable ex$) {
2838             throw new AssertionError("should not reach here", ex$);
2839         }
2840     }
2841     public static MethodHandle clang_EvalResult_getAsStr$MH() {
2842         return RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_getAsStr$MH,"clang_EvalResult_getAsStr");
2843     }
2844     public static MemoryAddress clang_EvalResult_getAsStr ( Addressable E) {
2845         var mh$ = RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_getAsStr$MH, "clang_EvalResult_getAsStr");
2846         try {
2847             return (jdk.incubator.foreign.MemoryAddress)mh$.invokeExact(E);
2848         } catch (Throwable ex$) {
2849             throw new AssertionError("should not reach here", ex$);
2850         }
2851     }
2852     public static MethodHandle clang_EvalResult_dispose$MH() {
2853         return RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_dispose$MH,"clang_EvalResult_dispose");
2854     }
2855     public static void clang_EvalResult_dispose ( Addressable E) {
2856         var mh$ = RuntimeHelper.requireNonNull(constants$18.clang_EvalResult_dispose$MH, "clang_EvalResult_dispose");
2857         try {
2858             mh$.invokeExact(E);
2859         } catch (Throwable ex$) {
2860             throw new AssertionError("should not reach here", ex$);
2861         }
2862     }
2863     public static int CXResult_Success() {
2864         return (int)0L;
2865     }
2866     public static int CXResult_Invalid() {
2867         return (int)1L;
2868     }
2869     public static int CXResult_VisitBreak() {
2870         return (int)2L;
2871     }
2872 }
2873 
2874