Package com.google.j2objc.annotations
Annotation Type LoopTranslation
-
@Target(LOCAL_VARIABLE) @Retention(SOURCE) public @interface LoopTranslation
Annotation that specifies how an enhanced for loop should be translated by the J2ObjC translator.Example usage:
for (@LoopTranslation(LoopStyle.JAVA_ITERATOR) Runnable r : tasks) { r.run(); }
- Author:
- Keith Stanger
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description LoopTranslation.LoopStyle
value
-
-
-
Element Detail
-
value
LoopTranslation.LoopStyle value
-
-