java.lang.Object
io.quarkus.qute.debug.client.JavaSourceLocationArguments
Arguments describing a Java element referenced from a Qute template.
Sent by the Debug Adapter via JavaSourceResolver.resolveJavaSource(io.quarkus.qute.debug.client.JavaSourceLocationArguments)
to the client in order to locate the corresponding Java source file and position.
Example of a qute-java URI
qute-java://com.acme.Bean#process@io.quarkus.qute.TemplateContents
Interpretation:
- javaElementUri = "qute-java://com.acme.Bean#process@io.quarkus.qute.TemplateContents"
- typeName = "com.acme.Bean"
- method = "process" (optional; if null, the annotation is applied on the class)
- annotation = "io.quarkus.qute.TemplateContents"
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified Java annotation name.Returns the qute-java URI used to locate the Java element.Returns the Java method name.Returns the fully qualified Java class, interface name.voidsetAnnotation(String annotation) Sets the fully qualified Java annotation name.voidsetJavaElementUri(String javaElementUri) Sets the qute-java URI used to locate the Java element.voidSets the Java method name.voidsetTypeName(String typeName) Sets the fully qualified Java class, interface name.
-
Constructor Details
-
JavaSourceLocationArguments
public JavaSourceLocationArguments()
-
-
Method Details
-
getJavaElementUri
Returns the qute-java URI used to locate the Java element.- Returns:
- the URI string
-
setJavaElementUri
Sets the qute-java URI used to locate the Java element.- Parameters:
javaElementUri- the URI string to set
-
getTypeName
Returns the fully qualified Java class, interface name.- Returns:
- the class name
-
setTypeName
Sets the fully qualified Java class, interface name.- Parameters:
typeName- the class, interface name to set
-
getMethod
Returns the Java method name.- Returns:
- the method name, or
nullif the annotation applies to the class
-
setMethod
Sets the Java method name.- Parameters:
method- the method name to set, ornullif the annotation applies to the class
-
getAnnotation
Returns the fully qualified Java annotation name.- Returns:
- the annotation name (e.g., "io.quarkus.qute.TemplateContents")
-
setAnnotation
Sets the fully qualified Java annotation name.- Parameters:
annotation- the annotation name to set
-