-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31939 from aloubyansky/codegen-javadoc
A bit of javadoc for codegen
- Loading branch information
Showing
7 changed files
with
200 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
independent-projects/bootstrap/app-model/src/main/java/io/quarkus/paths/PathVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
package io.quarkus.paths; | ||
|
||
/** | ||
* {@link PathTree} path visitor | ||
*/ | ||
public interface PathVisitor { | ||
|
||
/** | ||
* Called to visit a path when walking a path tree or when a caller | ||
* requested to visit a specific path in a tree. In the latter case | ||
* if the requested path does not exist, the {@code visit} argument | ||
* will be null and it'll be up to the caller how to handle that, | ||
* i.e. whether to throw a path not found exception or return silently. | ||
* | ||
* @param visit visit object or null, in case the requested path does not exist | ||
*/ | ||
void visitPath(PathVisit visit); | ||
} |