blob: 29c87f26e51becc265df5159ebf6e5df7ca51420 [file] [log] [blame]
package testsubjects;
import testannotations.ArrayAnnotation;
import testannotations.Maybe;
import testannotations.Outer;
import testannotations.PrimitiveValues;
import testannotations.SimpleAnnotation;
import testannotations.Truth;
@SimpleAnnotation
@ArrayAnnotation
public class AnnotationSubject
{
private int noAnnotation;
@Maybe(Truth.YES)
private int hasMaybeAnnotation;
@Maybe(Truth.YES)
void yes()
{
}
@Maybe(Truth.NO)
void no()
{
}
void keepThisMethodFreeOfAnnotations()
{
}
@PrimitiveValues(count = 5, type = Runnable.class, title = "runnables")
void primitiveValues()
{
}
@Outer(maybe = @Maybe(Truth.YES))
void nestedAnnotation()
{
}
}