66import org .python .core .PyBuiltinFunction ;
77import org .python .core .PyBuiltinMethod ;
88import org .python .core .PyBuiltinMethodNarrow ;
9+ import org .python .core .PyDataDescr ;
910import org .python .core .PyException ;
1011import org .python .core .PyInteger ;
1112import org .python .core .PyNewWrapper ;
2021import org .python .expose .ExposedType ;
2122import org .python .expose .TypeBuilder ;
2223
23- /**
24+ /**
2425 * Type objects used by exposed generation.
2526 */
2627public interface PyTypes {
@@ -52,6 +53,10 @@ public interface PyTypes {
5253
5354 public static final Type ABUILTIN_FUNCTION = Type .getType (PyBuiltinFunction [].class );
5455
56+ public static final Type DATA_DESCR = Type .getType (PyDataDescr .class );
57+
58+ public static final Type ADATA_DESCR = Type .getType (PyDataDescr [].class );
59+
5560 public static final Type BUILTIN_INFO = Type .getType (PyBuiltinFunction .Info .class );
5661
5762 // Exposer Jython types
@@ -60,30 +65,30 @@ public interface PyTypes {
6065 public static final Type EXPOSED_METHOD = Type .getType (ExposedMethod .class );
6166
6267 public static final Type EXPOSED_NEW = Type .getType (ExposedNew .class );
63-
68+
6469 public static final Type EXPOSED_GET = Type .getType (ExposedGet .class );
65-
70+
6671 public static final Type EXPOSED_SET = Type .getType (ExposedSet .class );
67-
72+
6873 public static final Type EXPOSED_DELETE = Type .getType (ExposedDelete .class );
6974
7075 public static final Type TYPEBUILDER = Type .getType (TypeBuilder .class );
71-
76+
7277 // Java types
7378 public static final Type OBJECT = Type .getType (Object .class );
74-
79+
7580 public static final Type STRING = Type .getType (String .class );
7681
7782 public static final Type ASTRING = Type .getType (String [].class );
7883
7984 public static final Type STRING_BUILDER = Type .getType (StringBuilder .class );
8085
8186 public static final Type CLASS = Type .getType (Class .class );
82-
87+
8388 // Primitives
8489 public static final Type INT = Type .INT_TYPE ;
8590
8691 public static final Type VOID = Type .VOID_TYPE ;
87-
92+
8893 public static final Type BOOLEAN = Type .BOOLEAN_TYPE ;
8994}
0 commit comments