Update the package-info stylesheet so that it generates a suitable PublicAPI annotation for generated packages:
@org.opends.server.types.PublicAPI(
stability=org.opends.server.types.StabilityLevel.VOLATILE,
mayInstantiate=false,
mayExtend=false,
mayInvoke=true)
| | |
| | | <xsl:with-param name="content" |
| | | select="concat('Provides introspection interfaces for the ', |
| | | normalize-space(adm:package/adm:synopsis), |
| | | ' This package provides programmatic access to ', |
| | | ' This package provides access to meta-', |
| | | 'information about the managed objects, their ', |
| | | 'properties, their relationships with other ', |
| | | 'managed objects, and their inheritance model.')" /> |
| | |
| | | </xsl:otherwise> |
| | | </xsl:choose> |
| | | <xsl:value-of select="' */
'" /> |
| | | <xsl:value-of select="concat('@org.opends.server.types.PublicAPI(
', |
| | | ' stability=org.opends.server.types.StabilityLevel.VOLATILE,
', |
| | | ' mayInstantiate=false,
', |
| | | ' mayExtend=false,
', |
| | | ' mayInvoke=true)
')"/> |
| | | <xsl:value-of |
| | | select="concat('package ', adm:package/@name, '.', $type, ';
')" /> |
| | | </xsl:template> |