Skip to content

Commit

Permalink
Fixed failing tests related to getter documentation of property element
Browse files Browse the repository at this point in the history
Signed-off-by: Sameer Mahant <[email protected]>
  • Loading branch information
sameermahant committed Jul 21, 2023
1 parent f1b1eda commit eb0fa72
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public void disposeNative(long handle) {
public native void veryFun();
/**
* <p>Getter comment
* @return <p>Property comment
*/
@OnPropertyInClass
@NonNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public void disposeNative(long handle) {
public native String returnCommentOnly(@NonNull final String undocumented);
/**
* <p>Gets some very useful property.
* @return <p>Some very useful property.
*/
public native boolean isSomeProperty();
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public SomeStruct(final boolean someField) {
void someMethodWithoutReturnTypeOrInputParameters();
/**
* <p>Gets some very useful property.
* @return <p>Some very useful property.
*/
boolean isSomeProperty();
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public SomeStruct() {
* <p>Gets some very useful property.
* @deprecated <p>Unfortunately, this property's getter is deprecated.
* Use {@link com.example.smoke.Comments#isSomeProperty} instead.
* @return <p>Some very useful property.
*/
@Deprecated
boolean isSomeProperty();
Expand All @@ -88,6 +89,7 @@ public SomeStruct() {
/**
* <p>Gets the property but not accessors.
* @deprecated <p>Will be removed in v3.2.1.
* @return <p>Describes the property but not accessors.
*/
@Deprecated
@NonNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public void disposeNative(long handle) {
/**
* <p>Gets some very useful property.
* @hidden
* @return <p>Some very useful property.
*/
public native boolean isSomeProperty();
/**
Expand Down

0 comments on commit eb0fa72

Please sign in to comment.