package com.yinbodotcc2.annotation;
public class ArrayAnnotation
{
@ToDo(items= {"open the door", "light the fire"})
private void t1()
{
}
//数组里面就一个元素的时候可以省略掉大括弧
@ToDo(items= "open the door")
private void t2()
{
}
}
@interface ToDo
{
String[] items();
}