1 package com4j;2 3 import java.lang.annotation.ElementType ;4 import java.lang.annotation.Retention ;5 import java.lang.annotation.RetentionPolicy ;6 import java.lang.annotation.Target ;7 import java.lang.annotation.Inherited ;8 9 /**10 * Annotates a COM interface by its IID.11 *12 * <p>13 * This annotation is used on interfaces derived from14 * {@link Com4jObject} to designate the IID of that interface.15 *16 * <p>17 * The runtime uses this information for various purposes.18 *19 * @author Kohsuke Kawaguchi (kk@kohsuke.org)20 */21 @Retention (RetentionPolicy.RUNTIME)22 @Target ({ElementType.TYPE})23 @Inherited 24 public @interface IID {25 /**26 * GUID as a string like "<tt>{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}</tt>".27 */28 String value();29 }30