@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface MyAnnotation
Modifier and Type | Required Element and Description |
---|---|
int |
myProperty |
Modifier and Type | Optional Element and Description |
---|---|
String |
myPropertyWithDefault |
public abstract int myProperty
public abstract String myPropertyWithDefault
Java Examples available from http://www.basilv.com/psd/software Copyright © 2009 by Basil Vandegriend. All Rights Reserved.