public class DefinitionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSROYALE_SUPPRESS_EXPORT |
| Constructor and Description |
|---|
DefinitionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
deltaFromObject(IClassDefinition definition,
ICompilerProject project) |
static boolean |
hasExportSuppressed(IDefinition def)
Utility method for checking if a definition has been marked to be suppressed for export by Closure.
|
static boolean |
isMemberDefinition(IDefinition definition) |
static boolean |
isRewrittenMultiCatchParam(IDefinition definition)
Utility method for checking if an assigned definition represents the rewritten part of a
multi-catch sequence - currently needed to avoid implicit coercions.
|
public static final String JSROYALE_SUPPRESS_EXPORT
public static boolean hasExportSuppressed(IDefinition def)
def - the definition to inspect as suppressed for exportpublic static final boolean isMemberDefinition(IDefinition definition)
public static final int deltaFromObject(IClassDefinition definition, ICompilerProject project)
public static final boolean isRewrittenMultiCatchParam(IDefinition definition)
Copyright © 2023 The Apache Software Foundation. All rights reserved.