Skip to content

Commit

Permalink
Update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed May 17, 2024
1 parent e06a0d6 commit 6439de9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
*/
public sealed interface ProcessorType {
/**
* @return the class desc for method handles
* {@return the class desc for method handles}
*/
ClassDesc downcallClassDesc();

/**
* @return the class desc for methods in {@link overrun.marshal.Marshal}
* {@return the class desc for methods in {@link overrun.marshal.Marshal}}
*/
ClassDesc marshalClassDesc();

Expand Down Expand Up @@ -244,6 +244,8 @@ public ClassDesc marshalClassDesc() {

/**
* Array type
*
* @param componentType the component type
*/
record Array(ProcessorType componentType) implements ProcessorType {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
public final class ProcessorTypes {
private static final Map<Class<?>, ProcessorType> map = new HashMap<>(0);

private ProcessorTypes() {
}

/**
* Get the processor type from the given class.
*
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/overrun/marshal/internal/StringCharset.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
* @since 0.1.0
*/
public final class StringCharset {
private StringCharset() {
}

/**
* {@return hasCharset}
*
Expand All @@ -51,6 +54,8 @@ public static String getCharset(AnnotatedElement element) {
}

/**
* {@return getCharset}
*
* @param codeBuilder codeBuilder
* @param charset charset
*/
Expand Down

0 comments on commit 6439de9

Please sign in to comment.