Index

A C E F G H J L N O P R S U V W 
All Classes and Interfaces|All Packages

A

ACCEPT_NATIVE_BOOLS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Java boolean arguments are converted to Objective C BOOL types (including handling OBJC_BOOL_IS_BOOL differences).
ACCEPT_NATIVE_ENUMS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Java enumeration argument values are converted from their NS_ENUM equivalent.
adaptations() - Element in annotation type com.google.j2objc.annotations.ObjectiveCAdapterMethod
List of adaptations the adapter method will use.
AutoreleasePool - Annotation Type in com.google.j2objc.annotations
Annotation that indicates the translator should inject an autorelease pool around the method body.

C

com.google.j2objc.annotations - module com.google.j2objc.annotations
 
com.google.j2objc.annotations - package com.google.j2objc.annotations
 

E

EXCEPTIONS_AS_ERRORS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Catch Java exceptions inside the adapter method and convert those exceptions to simple NSErrors (see JreExceptionAdapters).

F

FAST_ENUMERATION - Enum constant in enum com.google.j2objc.annotations.LoopTranslation.LoopStyle
 
FULL - Enum constant in enum com.google.j2objc.annotations.ReflectionSupport.Level
 

G

GenerateObjectiveCGenerics - Annotation Type in com.google.j2objc.annotations
Annotation that specifies that the class should be generated using Objective-C lightweight generics.

H

header() - Element in annotation type com.google.j2objc.annotations.ObjectiveCNativeProtocol
The header to include for the protocol definition.

J

J2ObjCIncompatible - Annotation Type in com.google.j2objc.annotations
Marks a declaration to be stripped by the J2ObjC translator prior to compilation.
JAVA_ITERATOR - Enum constant in enum com.google.j2objc.annotations.LoopTranslation.LoopStyle
 

L

LoopTranslation - Annotation Type in com.google.j2objc.annotations
Annotation that specifies how an enhanced for loop should be translated by the J2ObjC translator.
LoopTranslation.LoopStyle - Enum in com.google.j2objc.annotations
Enumerates the available translation options for enhanced for loops.

N

name() - Element in annotation type com.google.j2objc.annotations.ObjectiveCNativeProtocol
The name of the Objective-C protocol to conform to, for example "NSCoding".
NATIVE_ONLY - Enum constant in enum com.google.j2objc.annotations.ReflectionSupport.Level
 

O

ObjectiveCAdapterMethod - Annotation Type in com.google.j2objc.annotations
Annotation applicable to methods that generates a peer "adapter" method in the transpiled class or interface.
ObjectiveCAdapterMethod.Adaptation - Enum in com.google.j2objc.annotations
Specific adaptations applied by the annotation.
ObjectiveCAdapterProtocol - Annotation Type in com.google.j2objc.annotations
Annotation applicable to classes and interface that indicates the Objective-C protocol that should be used in for methods annotated with ObjectiveCAdapterMethod that specify RETURN_ADAPTER_PROTOCOLS.
ObjectiveCName - Annotation Type in com.google.j2objc.annotations
Annotation that specifies what the Objective-C class, protocol, method, constructor or package declaration should be when translated.
ObjectiveCNativeEnumName - Annotation Type in com.google.j2objc.annotations
Annotation applicable to enums to control the name of the generated Objective-C native enum (NS_ENUM).
ObjectiveCNativeProtocol - Annotation Type in com.google.j2objc.annotations
Annotation applicable to classes and interfaces that adds a Objective-C protocol and optional associated header to the declaration.
ObjectiveCNativeProtocols - Annotation Type in com.google.j2objc.annotations
Repeated ObjectiveCNativeProtocol annotation.
OnDealloc - Annotation Type in com.google.j2objc.annotations
Annotates a method which will be called from "- (void)dealloc" method in the transpiled ObjC code.

P

Property - Annotation Type in com.google.j2objc.annotations
Adds property declarations to generated Objective-C for annotated fields.
Property.Suppress - Annotation Type in com.google.j2objc.annotations
Prevents a method from being converted to a property when its class is annotated with `@Property`.

R

reason() - Element in annotation type com.google.j2objc.annotations.Property.Suppress
 
ReflectionSupport - Annotation Type in com.google.j2objc.annotations
Annotation that specifies the level of reflection support for a particular class.
ReflectionSupport.Level - Enum in com.google.j2objc.annotations
Enumerates the available levels of reflection support.
RetainedLocalRef - Annotation Type in com.google.j2objc.annotations
Annotation that indicates a local variable should be retained outside of any subsequent AutoreleasePool use.
RetainedWith - Annotation Type in com.google.j2objc.annotations
PLEASE READ THIS DOCUMENTATION BEFORE USING THIS ANNOTATION!
RETURN_ADAPTER_PROTOCOLS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Java return values annotated with ObjectiveCAdapterProtocol are replaced with the protocol specified by ObjectiveCAdapterProtocol.
RETURN_LISTS_AS_NATIVE_ARRAYS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Java return values of java.util.List are returned as NSArrays.
RETURN_NATIVE_BOOLS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Java returned booleans are converted to Objective C BOOL types (including handling OBJC_BOOL_IS_BOOL differences).
RETURN_NATIVE_ENUMS - Enum constant in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Java enumeration return values are converted to the NS_ENUM equivalent.

S

selector() - Element in annotation type com.google.j2objc.annotations.ObjectiveCAdapterMethod
The Objective-C selector to use for the adapter method.
SwiftName - Annotation Type in com.google.j2objc.annotations
Annotation that specifies what the Swift class, protocol, method, constructor or package declaration should be when translated.

U

UsedByNative - Annotation Type in com.google.j2objc.annotations
Annotation used for marking types, methods and fields that are called from native code.
UsedByReflection - Annotation Type in com.google.j2objc.annotations
Annotation used for marking types, methods and fields that are called by reflection.

V

value() - Element in annotation type com.google.j2objc.annotations.LoopTranslation
 
value() - Element in annotation type com.google.j2objc.annotations.ObjectiveCAdapterProtocol
The name of the Objective-C protocol to use in place of the type in adapter methods.
value() - Element in annotation type com.google.j2objc.annotations.ObjectiveCName
The Objective-C name to use for this element.
value() - Element in annotation type com.google.j2objc.annotations.ObjectiveCNativeEnumName
The name to apply to the native NSEnum.
value() - Element in annotation type com.google.j2objc.annotations.ObjectiveCNativeProtocols
 
value() - Element in annotation type com.google.j2objc.annotations.Property
 
value() - Element in annotation type com.google.j2objc.annotations.ReflectionSupport
 
value() - Element in annotation type com.google.j2objc.annotations.SwiftName
The Swift name to use for this element.
valueOf(String) - Static method in enum com.google.j2objc.annotations.LoopTranslation.LoopStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.j2objc.annotations.ReflectionSupport.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.j2objc.annotations.LoopTranslation.LoopStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.j2objc.annotations.ObjectiveCAdapterMethod.Adaptation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.j2objc.annotations.ReflectionSupport.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

Weak - Annotation Type in com.google.j2objc.annotations
Annotation that indicates a variable has a weak relationship to its owner.
WeakOuter - Annotation Type in com.google.j2objc.annotations
Annotation that indicates an inner class has a weak relationship to its owning class.
A C E F G H J L N O P R S U V W 
All Classes and Interfaces|All Packages