Package ghidra.pyghidra

# Interface PythonFieldExposer

public sealed interface PythonFieldExposer
A marker interface to apply Jpype class customizations to a class. The Jpype class customizations will create Python properties which can access protected fields. This interface is for internal use only and is only public so it can be visible to Python to apply the Jpype class customizations.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static class`
  `PythonFieldExposer.ExposedField`
  Base class for making a protected field accessible from Python.
  `static @interface`
  `PythonFieldExposer.ExposedFields`
  An annotation for exposing protected fields of a class to Python

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static Map<String,PythonFieldExposer.ExposedField>`
  `getProperties(Class<? extends PythonFieldExposer> cls)`
  Gets a mapping of all the explicitly exposed fields of a class.

- ## Method Details

  - ### getProperties

    static Map<String,PythonFieldExposer.ExposedField> getProperties(Class<? extends PythonFieldExposer> cls)
    Gets a mapping of all the explicitly exposed fields of a class. This method is for internal use only and is only public so it can be called from Python.
    Parameters:
      `cls` - the PythonFieldExposer class
    Returns:
      a map of the exposed fields