Skip to main content
1 vote
1 answer
43 views

I am reading into java compile-time annotation-processing. I can easily process annotations manually on the commandline, using javac -d . MyAnnotation.java javac -d . MyAnnotationProcessor.java javac -...
Viktor Engelmann's user avatar
0 votes
0 answers
56 views

Using Markdown with MkDocs Material, I'm trying to implement a glossary with automatically appended definitions and custom styling. I've successfully used the snippets extension to auto-append a ...
ABCdC's user avatar
  • 1
0 votes
1 answer
136 views

I got an error from the following code. public @Nullable String getWhatever() { return whatever; } public void setWhatever(@Nullable final String whatever) { this.whatever ...
Jin Kwon's user avatar
  • 22.4k
2 votes
0 answers
110 views

I want to create a REST API in which I use Jakarta Validation constraint annotations such as @NotNull, @Valid, @Max... But I want to define the methods for the controller in an interface as follows: ...
FelixFeuerdorn's user avatar
1 vote
1 answer
37 views

I’m unmarshalling an incoming XML into POJOs using JAXB (javax.xml.bind) with @XmlAccessorType(XmlAccessType.FIELD). Most fields under bind correctly for me (e.g. asFer, square, SOY, ab), but the ...
eddasahin61's user avatar
2 votes
2 answers
111 views

I'm looking to create a plot in R that dynamically retrieves and displays the results of a statistical test as an annotated text directly on the plot. I want to achieve precise formatting for the ...
thanmour's user avatar
-3 votes
1 answer
120 views

I have a custom annotation @myAnno that I want repeatable. This @myAnno annotation is marked with another annotation called @Constraint. When I process an object I look for all annotations that are ...
A User's user avatar
  • 43
0 votes
0 answers
121 views

I am currently looking for an easy way of plotting gene annotation with the GeneRegionTrack of the Bioconductor Gviz R package. The documentation claims to be able to plot gene annotation directly ...
Sofia's user avatar
  • 295
1 vote
1 answer
51 views

Spring beginner here. I am making two custom annotations @Satisfy and @Verify, meant to be used to track requirements in code. @Satisfy denotes where the requirement is implemented @Verify denotes ...
Kurt Andersen's user avatar
0 votes
1 answer
127 views

I'm building a Spring Boot 3.4.6 application using MongoDB and encountering an issue where @NonNull and @Email annotations are not triggering validation errors/exceptions even though I am using @Valid ...
sathwikhbhat's user avatar
0 votes
1 answer
43 views

I am trying to develop an AI Agent using LangChain4J Quarkus plugin, in Kotlin. I have created this class: package prova.langchainkotlin.test import io.quarkiverse.langchain4j.RegisterAiService ...
Valerio Storch's user avatar
0 votes
1 answer
76 views

I had written a couple annotation processors in the past, mainly for processing classes annotated with certain annotations and creating an object to easily manipulate those classes or perform certain ...
Neglected Sanity's user avatar
0 votes
0 answers
103 views

I am writing a Java library in which I'm attempting to auto-generate some boilerplate code using annotations. The generated code is a large hierarchy of sealed interfaces with lots of cyclic ...
Jamie Mullowney's user avatar
0 votes
1 answer
49 views

I'm trying to create classes that can be saved to a JSON file. The idea is to convert my object to a dataclass that stores only the important attributes. I'll then use something from json or ...
Quantasm's user avatar
0 votes
0 answers
25 views

I wrote myself a small library that scans one or more packages for classes that are annotated using a specific annotation and then does some fancy stuff on these classes. Now I just wanted to use that ...
mmo's user avatar
  • 4,396

15 30 50 per page
1
2 3 4 5
854