Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Annotator helps highlight and annotate code based on specific rules.

1. Define an annotator

In this tutorial we will annotate usages of the properties within Java code. Let's consider a literal which starts with "simple:" as a usage of our property.

2. Register the annotator

3. Run the project

Let's define the following Java class and check if the IDE resolves a property.

If we type an undefined property name, it will annotate the code with a error.

  • No labels