com.google.j2objc.annotations
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
AutoreleasePool |
Annotation that indicates the translator should inject an autorelease pool
around the method body. |
J2ObjCIncompatible |
Marks a declaration to be stripped by the J2ObjC translator prior to
compilation. |
LoopTranslation |
Annotation that specifies how an enhanced for loop should be translated by
the J2ObjC translator. |
ObjectiveCName |
Annotation that specifies what the Objective-C class, protocol, method,
constructor or package declaration should be when translated. |
OnDealloc |
Annotates a method which will be called from "- (void)dealloc" method in the transpiled ObjC
code. |
Property |
Adds property declarations to generated Objective-C for annotated fields. |
ReflectionSupport |
Annotation that specifies the level of reflection support for a particular
class. |
RetainedLocalRef |
Annotation that indicates a local variable should be retained outside of any
subsequent AutoreleasePool use. |
RetainedWith |
PLEASE READ THIS DOCUMENTATION BEFORE USING THIS ANNOTATION!
Note the criteria listed below which cannot be enforced by static analysis
in j2objc. |
Weak |
Annotation that indicates a variable has a weak relationship to its owner. |
WeakOuter |
Annotation that indicates an inner class has a weak relationship to its owning class. |
Enums
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]