/* ### * IP: Apache License 2.0 with LLVM Exceptions */ package SWIG; /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ public class SBFunction { private transient long swigCPtr; protected transient boolean swigCMemOwn; protected SBFunction(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(SBFunction obj) { return (obj == null) ? 0 : obj.swigCPtr; } @SuppressWarnings("deprecation") protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; lldbJNI.delete_SBFunction(swigCPtr); } swigCPtr = 0; } } public SBFunction() { this(lldbJNI.new_SBFunction__SWIG_0(), true); } public SBFunction(SBFunction rhs) { this(lldbJNI.new_SBFunction__SWIG_1(SBFunction.getCPtr(rhs), rhs), true); } public boolean IsValid() { return lldbJNI.SBFunction_IsValid(swigCPtr, this); } public String GetName() { return lldbJNI.SBFunction_GetName(swigCPtr, this); } public String GetDisplayName() { return lldbJNI.SBFunction_GetDisplayName(swigCPtr, this); } public String GetMangledName() { return lldbJNI.SBFunction_GetMangledName(swigCPtr, this); } public SBInstructionList GetInstructions(SBTarget target) { return new SBInstructionList(lldbJNI.SBFunction_GetInstructions__SWIG_0(swigCPtr, this, SBTarget.getCPtr(target), target), true); } public SBInstructionList GetInstructions(SBTarget target, String flavor) { return new SBInstructionList(lldbJNI.SBFunction_GetInstructions__SWIG_1(swigCPtr, this, SBTarget.getCPtr(target), target, flavor), true); } public SBAddress GetStartAddress() { return new SBAddress(lldbJNI.SBFunction_GetStartAddress(swigCPtr, this), true); } public SBAddress GetEndAddress() { return new SBAddress(lldbJNI.SBFunction_GetEndAddress(swigCPtr, this), true); } public String GetArgumentName(long arg_idx) { return lldbJNI.SBFunction_GetArgumentName(swigCPtr, this, arg_idx); } public long GetPrologueByteSize() { return lldbJNI.SBFunction_GetPrologueByteSize(swigCPtr, this); } public SBType GetType() { return new SBType(lldbJNI.SBFunction_GetType(swigCPtr, this), true); } public SBBlock GetBlock() { return new SBBlock(lldbJNI.SBFunction_GetBlock(swigCPtr, this), true); } public LanguageType GetLanguage() { return LanguageType.swigToEnum(lldbJNI.SBFunction_GetLanguage(swigCPtr, this)); } public boolean GetIsOptimized() { return lldbJNI.SBFunction_GetIsOptimized(swigCPtr, this); } public boolean GetDescription(SBStream description) { return lldbJNI.SBFunction_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description); } public String __str__() { return lldbJNI.SBFunction___str__(swigCPtr, this); } }