/* Simple test classes to run through javap. */ public @interface SimpleAnno { } public @interface BooleanAnno { boolean value(); } public @interface IntAnno { int value(); } public @interface IntDefaultAnno { int value() default3; }
@Retention(RetentionPolicy.RUNTIME) public @interface ByteAnno { byte value(); }
@Retention(RetentionPolicy.RUNTIME) public @interface ShortAnno { short value(); }
public @interface NameAnno { String name(); } public @interface ArrayAnno { long[] value(); } public @interface EnumAnno { ElementKind kind(); } public @interface ClassAnno { Class<?> type(); } public @interface MultiAnno { float f(); double d(); }
public @interface AnnoAnno { IntAnno value(); }
@Target(ElementType.TYPE_USE) public @interface TypeAnno { }
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.3Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.