blob: 32dca38f17322793632ed7f5b6945290dd7960d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
// Diese Annotation ist auf Klassen und Methoden beschr�nkt
@Target({ElementType.TYPE, ElementType.METHOD})
// Die Information soll auch zur Laufzeit zur Verf�gung stehen
@Retention(RetentionPolicy.RUNTIME)
public @interface Revision
{
int id();
String name();
String vorname();
String notizen() default "";
}
|