Skip to content

Commit

Permalink
Update Javadoc for alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Aug 11, 2022
1 parent b822357 commit 4c06b48
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ public String name() {

/**
* Returns the alias of the {@link #name()}.
* An alias could be set when a {@link StructInfo} has two different names.
*
* <p>For example, if a {@link StructInfo} extreact from a {@code com.google.protobuf.Message},
* the {@link StructInfo#name()} is set to the full name defined in the proto file and the
* {@link StructInfo#alias()} is set to the {@linkplain Class#getName() name} of the generated
* {@link Class}.
*/
@Nullable
@JsonInclude(Include.NON_NULL)
Expand Down

0 comments on commit 4c06b48

Please sign in to comment.