Apktool/brut.apktool.smali/examples/RecursiveAnnotation/RecursiveAnnotation.smali
2012-09-19 20:19:12 -05: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