Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

/**
* Represents the AArch64 architecture.
*
* The value returned by {@code Architecture#getName} for an instance of this class is {@code "aarch64"}.
*/
public class AArch64 extends Architecture {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@

/**
* Represents the AMD64 architecture.
*
* The value returned by {@code Architecture#getName} for an instance of this class is {@code "AMD64"}.
*/
public class AMD64 extends Architecture {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected Architecture(String name, PlatformKind wordKind, ByteOrder byteOrder,
/**
* Converts this architecture to a string.
*
* @return the string representation of this architecture
* @return a lowercase version of {@linkplain #getName name}
*/
@Override
public final String toString() {
Expand All @@ -126,9 +126,14 @@ public PlatformKind getWordKind() {
return wordKind;
}

/**
* Gets the name of this architecture.
*/
/// Gets the name of this architecture. The value returned for
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good opportunity to use the new markdown support for javadoc.

/// each architecture is shown in the table below.
///
/// | Name | Receiver type |
/// |-----------|-----------------------------|
/// | "aarch64" | [jdk.vm.ci.aarch64.AArch64] |
/// | "AMD64" | [jdk.vm.ci.amd64.AMD64] |
/// | "riscv64" | [jdk.vm.ci.riscv64.RISCV64] |
public String getName() {
return name;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

/**
* Represents the RISCV64 architecture.
*
* The value returned by {@code Architecture#getName} for an instance of this class is {@code "riscv64"}.
*/
public class RISCV64 extends Architecture {

Expand Down