langtools/test/tools/javadoc/annotations/defaults/expected.out
author twisti
Thu, 07 May 2009 00:28:13 -0700
changeset 2863 ef8439ec732b
parent 10 06bc494ca11e
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
@interface pkg1.A
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
  elements:
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
    String value() default "sigh"
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
    int i() default 2
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
    double d() default 3.14
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
    boolean b() default true
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
    java.lang.Class c() default java.lang.Boolean.class
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
    java.lang.Class<? extends java.lang.Number> w() default java.lang.Long.class
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
    ElementType e() default java.lang.annotation.ElementType.TYPE
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
    A a() default @pkg1.A(d=2.718)
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
    java.lang.String[] sa() default {"up", "down"}
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
method pkg1.B.m1()
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
  signature: ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
             ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
  annotations:
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
    @pkg1.A
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
  returns:
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
    void
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
method pkg1.B.m2()
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
  signature: ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
             ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
  annotations:
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
    @pkg1.A("flip")
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
  returns:
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
    void
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
method pkg1.B.m3()
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
  signature: ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
             ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
  annotations:
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
    @pkg1.A("flop")
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
  returns:
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
    void
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
method pkg1.B.m4()
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
  signature: ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
             ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
  annotations:
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
    @pkg1.A(c=java.lang.Boolean.class, w=java.lang.Long.class, sa={})
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
  returns:
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
    void
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
method pkg1.B.m5()
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
  signature: ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
             ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
  annotations:
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
    @pkg1.A(i=0, e=java.lang.annotation.ElementType.FIELD)
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
  returns:
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
    void
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
method pkg1.B.m6()
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
  signature: ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
             ()
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
  annotations:
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
    @pkg1.A(a=@pkg1.A("splat"))
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
  returns:
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
    void
06bc494ca11e Initial load
duke
parents:
diff changeset
    55