File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/SwiftJavaDocumentation/Documentation.docc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ you are expected to add a Guava dependency to your Java project.
159
159
160
160
> Note: The ` wrap-guava ` mode is currently only available in FFM mode of jextract.
161
161
162
- #### Enums
162
+ ### Enums
163
163
164
164
> Note: Enums are currently only supported in JNI mode.
165
165
@@ -194,7 +194,7 @@ try (var arena = SwiftArena.ofConfined()) {
194
194
}
195
195
```
196
196
197
- ##### Switching
197
+ #### Switching
198
198
199
199
If you only need to switch on the case and not access any associated values,
200
200
you can use the ` getDiscriminator() ` method:
@@ -246,7 +246,7 @@ if (case instanceof Vehicle.Bicycle) {
246
246
}
247
247
```
248
248
249
- ##### RawRepresentable
249
+ #### RawRepresentable
250
250
251
251
JExtract also supports extracting enums that conform to ` RawRepresentable `
252
252
by giving access to an optional initializer and the ` rawValue ` variable.
You can’t perform that action at this time.
0 commit comments