Top "Annotations" questions

In programming, annotations are used to add information to a code element which cannot be expressed by the type system.

When to use @RunWith and when @ExtendWith

My team and I have been working on a bunch of microservices using Spring boot. Since the services went through …

spring-boot annotations junit4 junit5
Django Count() in multiple annotations

Say I have a simple forum model: class User(models.Model): username = models.CharField(max_length=25) ... class Topic(models.Model): …

django annotations count django-queryset
Jetty Annotation Timeout Reason

I am tying to run my web application with maven jetty plugin. But after some time at startup, it gives …

maven spring-mvc annotations jetty maven-jetty-plugin
Hibernate mapping between PostgreSQL enum and Java enum

Background Spring 3.x, JPA 2.0, Hibernate 4.x, Postgresql 9.x. Working on a Hibernate mapped class with an enum property that I …

java postgresql enums annotations hibernate-mapping
Google Chart, how to move annotation on top of columns

I'm using Google Chart's stacked column chart, what i wanna achieve is to display the total on top of each …

annotations google-visualization stacked-chart
Should I add an @Override annotation when implementing abstract methods in Java?

When overriding a non-virtual method in Java, use of the @Override annotation is recommended, but what if I implement an …

java annotations overriding abstract
Adding italicised r with correlation coefficient to a scatter plot chart in ggplot

I'm trying to use the code below to generate a simple scatter plot with a correlation coefficient that would have …

r ggplot2 annotations expression scatter-plot
Which @NonNull Java annotation to use

What is the best 'NonNull' annotation? "Best" in the sense of Standard way e.g. future proofness (e.g. support …

java eclipse intellij-idea nullpointerexception annotations
Using Spring cache annotation in multiple modules

I have a util module that produces a jar to be used in other applications. I'd like this module to …

spring caching annotations ehcache spring-annotations
What are the similarities and differences between Java Annotations and C# Attributes?

I have a Java library I'm considering porting to C#. The Java library makes extensive use of annotations (at both …

c# java attributes annotations custom-attributes