4.3.2.3 Extension

Annotation for a non-standard extension.

4.3.2.3.1 Synopsis
 @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) public @interface Extension {
  public String vendorName ;
  public String key ;
  public String value ;
}
4.3.2.3.2 key

The key for the extension (required).

Table 4.81 key

Parameter Description
return the key

4.3.2.3.3 value

The value for the extension (required).

Table 4.82 value

Parameter Description
return the value

4.3.2.3.4 vendorName

Vendor that the extension applies to (required to make the key unique).

Table 4.83 vendorName

Parameter Description
return the vendor