Home | History | Annotate | Download | only in floating_point_annotations
      1 // Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
      2 // for details. All rights reserved. Use of this source code is governed by a
      3 // BSD-style license that can be found in the LICENSE file.
      4 package floating_point_annotations;
      5 
      6 import java.lang.annotation.Retention;
      7 import java.lang.annotation.RetentionPolicy;
      8 
      9 @Retention(RetentionPolicy.RUNTIME)
     10 public @interface FloatingPointValuedAnnotation {
     11   double doubleValue() default 42.42;
     12   float floatValue() default 42.42f;
     13 }
     14