Use it like this :
@MyAnnotation(name="someValue")
public void someMethod(){
}
because by default annotation has value method so if you specify like this
@MyAnnotation("someValue")
public void someMethod(){
}
it will by default take it as value="someValue"