Class CharacterJavaProperty

java.lang.Object
ghidra.pyghidra.property.CharacterJavaProperty
All Implemented Interfaces:
JavaProperty<Character>

public final class CharacterJavaProperty extends Object
The JavaProperty for the primitive char type
  • Field Details

    • field

      public final String field
      The name of the property
  • Method Details

    • fget

      public char fget(Object self) throws Throwable
      The method to be used as the fget value for a Python property. This method will be called by the Python property __get__ function.
      Parameters:
      self - the object containing the property
      Returns:
      the property's value
      Throws:
      Throwable - if any exception occurs while getting the value
    • hasGetter

      public boolean hasGetter()
      Checks if this property has a getter
      Returns:
      true if this property has a getter
    • hasSetter

      public boolean hasSetter()
      Checks if this property has a setter
      Returns:
      true if this property has a setter
    • doGet

      protected final Character doGet(Object self) throws Throwable
      Throws:
      Throwable
    • fset

      public final void fset(Object self, Character value) throws Throwable
      Description copied from interface: JavaProperty
      The method to be used as the fset value for a Python property. This method will be called by the Python property __set__ function.
      Specified by:
      fset in interface JavaProperty<T>
      Parameters:
      self - the object containing the property
      value - the value to be set
      Throws:
      Throwable - if any exception occurs while setting the value