@Retention(value=RUNTIME) @Target(value={PACKAGE,ANNOTATION_TYPE}) @Documented public @interface Module
public abstract String id
Assuming a package com.acme.myapp.module annotated with Module, tooling could use a resource bundle
to lookup the keys com.acme.myapp.module._name and com.acme.myapp.module_description to resolve
name and description respectively.
public abstract String name
id().
Tooling should prevent both value() and name() from being configured at the same time. If in
doubt, the value defined in name() will be preferred.id()Copyright © 2023. All rights reserved.