Interface SourceCodeAnalysis.Documentation
- Enclosing class:
SourceCodeAnalysis
public static interface SourceCodeAnalysis.Documentation
A documentation for a candidate for continuation of the given user's input.
- Since:
- 9
-
Method Summary
Modifier and TypeMethodDescriptiondefault intIf thisDocumentationis created for a method invocation, return the current parameter index.javadoc()The javadoc of the given element.The signature of the given element.
-
Method Details
-
signature
-
javadoc
String javadoc()The javadoc of the given element.- Returns:
- the javadoc, or null if not found or not requested
-
activeParameterIndex
default int activeParameterIndex()If thisDocumentationis created for a method invocation, return the current parameter index.- Implementation Note:
- the default implementation returns
-1 - Returns:
- the active parameter index, or
-1if not available - Since:
- 26
-