Slice-to-Java Compat Mapping for Local Types
The mapping for local
enum
, local sequence
, local dictionary
and local struct
to Java Compat is identical to the mapping for these constructs without the local
qualifier. The generated Java code for local enums and structs does not include support for marshaling, so you cannot use them as parameters for operations on non-local types, or as data members on non-local types.
The rest of this section describes the mapping of the remaining local types to Java Compat:
- Java Compat Mapping for Local Interfaces
- Java Compat Mapping for Local Classes
- Java Compat Mapping for Local Exceptions
- Java Compat Mapping for Operations on Local Types
- Java Compat Mapping for Data Members in Local Types