@@ -322,8 +322,6 @@ public final class ${ctx.lib_name.camel} {
322
322
323
323
/**
324
324
* Convert a C Langkit exception to the LangkitException class.
325
-
326
- * @param
327
325
*/
328
326
private static LangkitException wrapException(
329
327
final LangkitExceptionNative exc
@@ -807,7 +805,7 @@ public final class ${ctx.lib_name.camel} {
807
805
% endfor
808
806
;
809
807
810
- // ----- Class attributes
808
+ // ----- Class attributes -----
811
809
812
810
/** Singleton that represents the none expcetion kind. */
813
811
public static final ExceptionKind NONE =
@@ -1820,7 +1818,7 @@ public final class ${ctx.lib_name.camel} {
1820
1818
1821
1819
// ----- Class attributes -----
1822
1820
1823
- /** Singleton that represents the none diagnositc . */
1821
+ /** Singleton that represents the none diagnostic . */
1824
1822
public static final Diagnostic NONE = new Diagnostic(
1825
1823
SourceLocationRange.NONE,
1826
1824
Text.NONE
@@ -1873,8 +1871,8 @@ public final class ${ctx.lib_name.camel} {
1873
1871
/**
1874
1872
* Wrap a pointer to a native diagnostic.
1875
1873
*
1876
- * @param pointer The pointer to the native diagnositc .
1877
- * @return The wrapped diagnositc .
1874
+ * @param pointer The pointer to the native diagnostic .
1875
+ * @return The wrapped diagnostic .
1878
1876
*/
1879
1877
static Diagnostic wrap(
1880
1878
final Pointer pointer
@@ -1886,7 +1884,7 @@ public final class ${ctx.lib_name.camel} {
1886
1884
* Wrap a diagnostic native value in the Java class.
1887
1885
*
1888
1886
* @param diagnosticNative The diagnostic NI native value.
1889
- * @return The newly wrapped diagnositc .
1887
+ * @return The newly wrapped diagnostic .
1890
1888
*/
1891
1889
static Diagnostic wrap(
1892
1890
final DiagnosticNative diagnosticNative
@@ -2049,7 +2047,7 @@ public final class ${ctx.lib_name.camel} {
2049
2047
2050
2048
}
2051
2049
2052
- ${ c_doc (' langkit.unit_provider_type' )}
2050
+ ${ java_doc (' langkit.unit_provider_type' , 4 )}
2053
2051
public static final class UnitProvider implements AutoCloseable {
2054
2052
2055
2053
// ----- Class attributes -----
@@ -2141,7 +2139,7 @@ public final class ${ctx.lib_name.camel} {
2141
2139
2142
2140
}
2143
2141
2144
- ${ java_doc(' langkit.event_handler_type' )}
2142
+ ${ java_doc(' langkit.event_handler_type' , 4 )}
2145
2143
public static final class EventHandler implements AutoCloseable {
2146
2144
2147
2145
// ----- Class attributes -----
@@ -3551,9 +3549,9 @@ public final class ${ctx.lib_name.camel} {
3551
3549
}
3552
3550
3553
3551
/**
3554
- * Get the list of assiated diagnositcs . Those are parsing errors.
3552
+ * Get the list of associated diagnostics . Those are parsing errors.
3555
3553
*
3556
- * @return The diagnositcs of the unit.
3554
+ * @return The diagnostics of the unit.
3557
3555
*/
3558
3556
public List<Diagnostic > getDiagnostics() {
3559
3557
final int diagnosticCount;
0 commit comments