A modelling language for the effective design of Java annotations

07/10/2018
by   Irene Córdoba, et al.
0

This paper describes a new modelling language for the effective design of Java annotations. Since their inclusion in the 5th edition of Java, annotations have grown from a useful tool for the addition of meta-data to play a central role in many popular software projects. Usually they are conceived as sets with dependency and integrity constraints within them; however, the native support provided by Java for expressing this design is very limited. To overcome its deficiencies and make explicit the rich conceptual model which lies behind a set of annotations, we propose a domain-specific modelling language. The proposal has been implemented as an Eclipse plug-in, including an editor and an integrated code generator that synthesises annotation processors. The language has been tested using a real set of annotations from the Java Persistence API (JPA). It has proven to cover a greater scope with respect to other related work in different shared areas of application.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/02/2018

Ann: A domain-specific language for the effective design and validation of Java annotations

This paper describes a new modelling language for the effective design a...
research
05/04/2018

Characterizing the Usage and Impact of Java Annotations Over 1000+ Projects

As a kind of meta-data feature, annotations have been formally introduce...
research
05/24/2022

A Complex Java Code Generator for ACL2 Based on a Shallow Embedding of ACL2 in Java

This paper describes a code generator that translates ACL2 constructs to...
research
02/26/2020

Declarative Programming with Intensional Sets in Java Using JSetL

Intensional sets are sets given by a property rather than by enumerating...
research
09/08/2017

Java Extensions for OMNeT++

On the one side, network simulation frameworks are important tools for r...
research
01/28/2021

Compact Java Monitors

For scope and context, the idea we'll describe below, Compact Java Monit...
research
03/29/2023

Personalised Language Modelling of Screen Characters Using Rich Metadata Annotations

Personalisation of language models for dialogue sensitises them to bette...

Please sign up or login with your details

Forgot password? Click here to reset