smali/examples/RecursiveAnnotation/RecursiveAnnotation.smali
JesusFreke@JesusFreke.com c2b3b1457a moved the examples
git-svn-id: https://smali.googlecode.com/svn/trunk@79 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 04:39:25 +00:00

19 lines
624 B
Smali

.class public abstract interface annotation LRecursiveAnnotation;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
;this is a recursive annotation that has a default value of itself.
;Trying to print .toString() on an instance of this annotation
;will cause a stack overflow
.method public abstract value()LRecursiveAnnotation;
.end method
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation LRecursiveAnnotation;
value = .subannotation LRecursiveAnnotation;
.end subannotation
.end subannotation
.end annotation