lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Thu, 25 Apr 2019 at 17:29, Sean Conner <> wrote:
>   So I'm looking at Java because they now have annotations.  From a cursory
> look, it appears the syntax to be:
>         '@' ID
>   So things like
>         @Override
>         @Deprecated
>         @SuppressWarnings

Hi, above is not exactly correct in that Java allows annotations to
have attributes.

Some examples:

@KafkaListener(id = "fooGroup3", topics = "topic3")
public void listen2(List<String> in) {

@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
@ContextConfiguration(classes = {Application.class, TestConfig.class,
public class TestMe {


Since @ symbol is not valid in Java programs, its use in annotations
makes them very visible.