Index

A B C D F G H I J K M N P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractCompilationUnitBuilder - Class in com.google.j2cl.transpiler.frontend.common
Base class for implementing that AST conversion from different front ends.
AbstractCompilationUnitBuilder() - Constructor for class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 

B

build() - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport.Builder
 
Builder() - Constructor for class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport.Builder
 

C

clear() - Static method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
 
com.google.j2cl.transpiler.frontend.common - package com.google.j2cl.transpiler.frontend.common
 

D

DEFAULT_PACKAGE_REPORT - Static variable in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
When nothing is known about a particular package in a particular class path entry the answers to questions about package properties are taken from this instance.
DO_NOT_AUTOBOX_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 

F

FrontendConstants - Class in com.google.j2cl.transpiler.frontend.common
Constants common to all frontends.

G

get() - Static method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
 
getCurrentCompilationUnit() - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
getCurrentSourceFile() - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
getCurrentType() - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
Returns the current type.
getJsNamespace() - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport
 
getJsNamespace(String) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
Returns the JsNamespace for the given type, which must be a top level type and referenced by fully qualified source name.
getObjectiveCName() - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport
 
getObjectiveCName(String) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
Returns the ObjectiveCName for the given type which must be a top level type and referenced by its fully qualified source name.

H

HAS_NO_SIDE_EFFECTS_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 

I

init(List<String>, Problems) - Static method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
 
internalCompilerError(String, Object...) - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
internalCompilerError(Throwable, String, Object...) - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
internalCompilerErrorMessage(String, Object...) - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
isNonNullAnnotation(String) - Static method in class com.google.j2cl.transpiler.frontend.common.Nullability
 
isNullableAnnotation(String) - Static method in class com.google.j2cl.transpiler.frontend.common.Nullability
 
isNullMarked() - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport
 
isNullMarked(String) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
 
isNullMarkedAnnotation(String) - Static method in class com.google.j2cl.transpiler.frontend.common.Nullability
 

J

JS_ASYNC_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_CONSTRUCTOR_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
Annotations names.
JS_ENUM_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_FUNCTION_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_IGNORE_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_METHOD_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_OPTIONAL_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_OVERLAY_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_PACKAGE_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_PROPERTY_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
JS_TYPE_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 

K

KT_DISABLED_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_IN_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_NAME_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_NATIVE_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_OBJECTIVE_C_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_OUT_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_PROPERTY_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
KT_THROWS_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 

M

markAsSource(String) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
Let the PackageInfoCache know that this class is Source, otherwise it would have to rummage around in the class path to figure it out and it might even come up with the wrong answer.

N

newBuilder() - Static method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport
 
Nullability - Class in com.google.j2cl.transpiler.frontend.common
Utility that provides the handling of recognized nullability annotations.

P

PackageInfoCache - Class in com.google.j2cl.transpiler.frontend.common
A cache for information on package-info files that are needed for transpilation, like JsInterop annotations.
PackageInfoCache.PackageReport - Class in com.google.j2cl.transpiler.frontend.common
Encapsulates all that is known about a particular package in a particular class path entry.
PackageInfoCache.PackageReport.Builder - Class in com.google.j2cl.transpiler.frontend.common
A Builder for PackageReport.
PackageReport() - Constructor for class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport
 
processEnclosedBy(Type, Supplier<T>) - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
Invoke supplier with type in the type stack.

R

RECOGNIZED_NULL_MARKED_ANNOTATIONS_QUALIFIED_NAMES - Static variable in class com.google.j2cl.transpiler.frontend.common.Nullability
 

S

setCurrentCompilationUnit(CompilationUnit) - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
setCurrentSourceFile(String) - Method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
 
setJsNamespace(String) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport.Builder
 
setNullMarked(boolean) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport.Builder
 
setObjectiveCName(String) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache.PackageReport.Builder
 
setPackageProperties(String, String, String, String, boolean) - Method in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
Specify the JavaScript namespace and whether it defines a null marked scope for a given package (as identified by the combination of class path entry and package path).
SOURCE_CLASS_PATH_ENTRY - Static variable in class com.google.j2cl.transpiler.frontend.common.PackageInfoCache
 
SUPPRESS_WARNINGS_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 

T

toResource(Expression) - Static method in class com.google.j2cl.transpiler.frontend.common.AbstractCompilationUnitBuilder
Creates temporary variables for a resource that is declared outside of the try-catch statement.

U

UNCHECKED_CAST_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 

W

WASM_ANNOTATION_NAME - Static variable in class com.google.j2cl.transpiler.frontend.common.FrontendConstants
 
A B C D F G H I J K M N P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values