xref: /aosp_15_r20/external/google-smali/examples/AnnotationValues/AnnotationWithValues.smali (revision 37f5703ca959d1ce24046e7595880d209e15c133)
1*37f5703cSAndroid Build Coastguard Worker.class public abstract interface annotation LAnnotationWithValues;
2*37f5703cSAndroid Build Coastguard Worker.super Ljava/lang/Object;
3*37f5703cSAndroid Build Coastguard Worker.implements Ljava/lang/annotation/Annotation;
4*37f5703cSAndroid Build Coastguard Worker
5*37f5703cSAndroid Build Coastguard Worker.method public abstract booleanValue()Z
6*37f5703cSAndroid Build Coastguard Worker.end method
7*37f5703cSAndroid Build Coastguard Worker
8*37f5703cSAndroid Build Coastguard Worker.method public abstract byteValue()B
9*37f5703cSAndroid Build Coastguard Worker.end method
10*37f5703cSAndroid Build Coastguard Worker
11*37f5703cSAndroid Build Coastguard Worker.method public abstract charValue()C
12*37f5703cSAndroid Build Coastguard Worker.end method
13*37f5703cSAndroid Build Coastguard Worker
14*37f5703cSAndroid Build Coastguard Worker.method public abstract shortValue()S
15*37f5703cSAndroid Build Coastguard Worker.end method
16*37f5703cSAndroid Build Coastguard Worker
17*37f5703cSAndroid Build Coastguard Worker.method public abstract intValue()I
18*37f5703cSAndroid Build Coastguard Worker.end method
19*37f5703cSAndroid Build Coastguard Worker
20*37f5703cSAndroid Build Coastguard Worker.method public abstract longValue()J
21*37f5703cSAndroid Build Coastguard Worker.end method
22*37f5703cSAndroid Build Coastguard Worker
23*37f5703cSAndroid Build Coastguard Worker.method public abstract floatValue()F
24*37f5703cSAndroid Build Coastguard Worker.end method
25*37f5703cSAndroid Build Coastguard Worker
26*37f5703cSAndroid Build Coastguard Worker.method public abstract doubleValue()D
27*37f5703cSAndroid Build Coastguard Worker.end method
28*37f5703cSAndroid Build Coastguard Worker
29*37f5703cSAndroid Build Coastguard Worker.method public abstract stringValue()Ljava/lang/String;
30*37f5703cSAndroid Build Coastguard Worker.end method
31*37f5703cSAndroid Build Coastguard Worker
32*37f5703cSAndroid Build Coastguard Worker.method public abstract subAnnotationValue()LSubAnnotation;
33*37f5703cSAndroid Build Coastguard Worker.end method
34*37f5703cSAndroid Build Coastguard Worker
35*37f5703cSAndroid Build Coastguard Worker.method public abstract typeValue()Ljava/lang/Class;
36*37f5703cSAndroid Build Coastguard Worker.end method
37*37f5703cSAndroid Build Coastguard Worker
38*37f5703cSAndroid Build Coastguard Worker.method public abstract methodValue()Ljava/lang/reflect/Method;
39*37f5703cSAndroid Build Coastguard Worker.end method
40*37f5703cSAndroid Build Coastguard Worker
41*37f5703cSAndroid Build Coastguard Worker#dalvik doesn't seem to like field values
42*37f5703cSAndroid Build Coastguard Worker#.method public abstract fieldValue()Ljava/lang/reflect/Field;
43*37f5703cSAndroid Build Coastguard Worker#.end method
44*37f5703cSAndroid Build Coastguard Worker
45*37f5703cSAndroid Build Coastguard Worker.method public abstract enumValue()LEnum;
46*37f5703cSAndroid Build Coastguard Worker.end method
47*37f5703cSAndroid Build Coastguard Worker
48*37f5703cSAndroid Build Coastguard Worker.annotation system Ldalvik/annotation/AnnotationDefault;
49*37f5703cSAndroid Build Coastguard Worker    value = .subannotation LAnnotationWithValues;
50*37f5703cSAndroid Build Coastguard Worker                booleanValue = false
51*37f5703cSAndroid Build Coastguard Worker                byteValue = 1t
52*37f5703cSAndroid Build Coastguard Worker                charValue = '2'
53*37f5703cSAndroid Build Coastguard Worker                shortValue = 3s
54*37f5703cSAndroid Build Coastguard Worker                intValue = 4
55*37f5703cSAndroid Build Coastguard Worker                longValue = 5l
56*37f5703cSAndroid Build Coastguard Worker                floatValue = 6.0f
57*37f5703cSAndroid Build Coastguard Worker                doubleValue = 7.0
58*37f5703cSAndroid Build Coastguard Worker                stringValue = "8"
59*37f5703cSAndroid Build Coastguard Worker                subAnnotationValue = .subannotation LSubAnnotation;
60*37f5703cSAndroid Build Coastguard Worker                                            stringValue = "9"
61*37f5703cSAndroid Build Coastguard Worker                                     .end subannotation
62*37f5703cSAndroid Build Coastguard Worker                typeValue = L10;
63*37f5703cSAndroid Build Coastguard Worker                methodValue = L10;->11()V
64*37f5703cSAndroid Build Coastguard Worker                enumValue = .enum LEnum;->12:LEnum;
65*37f5703cSAndroid Build Coastguard Worker            .end subannotation
66*37f5703cSAndroid Build Coastguard Worker.end annotation
67*37f5703cSAndroid Build Coastguard Worker
68