Skip to content

Commit

Permalink
[MNG-7344] Add since and docs to methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovds committed Apr 12, 2024
1 parent 237de75 commit 73f5ff2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public Map<Object, InputLocation> getLocations() {
/**
* Gets the parent InputLocation where this InputLocation may have been imported from.
* Can return {@code null}.
*
* @return InputLocation
* @since 4.0.0
*/
public InputLocation getImportedFrom() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@
public interface InputLocationTracker {
InputLocation getLocation(Object field);

/**
* Gets the parent InputLocation where this InputLocation may have been imported from.
* Can return {@code null}.
*
* @return InputLocation
* @since 4.0.0
*/
InputLocation getImportedFrom();
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ public String getModelId() {
return this.modelId;
}

/**
* Gets the parent InputLocation where this InputLocation may have been imported from.
* Can return {@code null}.
*
* @return InputLocation
* @since 4.0.0
*/
public InputLocation getImportedFrom() {
return importedFrom;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,11 @@ public InputSource getSource() {
} // -- InputSource getSource()

/**
* Get the imported from location.
* Gets the parent InputLocation where this InputLocation may have been imported from.
* Can return {@code null}.
*
* @return InputLocation
* @since 4.0.0
*/
public InputLocation getImportedFrom() {
return importedFrom;
Expand Down

0 comments on commit 73f5ff2

Please sign in to comment.