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.
  • 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