The j2ee/metadata/support module provides a friend API which helps implementing
models of Java EE metadata expressed in annotations and XML deployment
descriptors. The purpose of this module is to avoid some copy-pasting and to
make the task of implementing models easier. The module will be used by the
modules which implement the models themselves: j2ee/ddapi in the enterprise
cluster and j2ee/persistenceapi in the java cluster. The support module will be
in the java cluster.
The sources are in the j2ee/metadata/support directory in trunk. The API is
still a work in progress, so there is not much Javadoc yet. Two packages are
exposed as friend API:
- org.netbeans.modules.j2ee.metadata.model.api.support.annotation - the core
part, which handles the cooperation with the Java source API, supports scanning
for annotated elements and provides support for caching parts of the model and
listening on the Java infrastructure.
- org.netbeans.modules.j2ee.metadata.model.api.support.annotation.parser -
provides some support for parsing annotations, which makes the task of creating
model objects from annotation elements easier.
I would like to ask for a fast-track review.
Since the module is already in trunk I will just close the issue after waiting
one more day.