public static final class Node.SideEffectFlags
extends java.lang.Object
The following values are of interest:
MUTATES_GLOBAL_STATE
)
MUTATES_THIS
)
MUTATES_ARGUMENTS
)
THROWS
)
ESCAPED_RETURN
)
Modifier and Type | Field and Description |
---|---|
static int |
ALL_SIDE_EFFECTS |
static int |
ESCAPED_RETURN |
static int |
MUTATES_ARGUMENTS |
static int |
MUTATES_GLOBAL_STATE |
static int |
MUTATES_THIS |
static int |
NO_SIDE_EFFECTS |
static int |
THROWS |
Constructor and Description |
---|
SideEffectFlags() |
SideEffectFlags(int value) |
Modifier and Type | Method and Description |
---|---|
Node.SideEffectFlags |
clearAllFlags()
No side-effects occur and the returned results are local.
|
void |
clearSideEffectFlags()
Preserve the return result flag, but clear the others:
no global state change, no throws, no this change, no arguments change
|
Node.SideEffectFlags |
setAllFlags()
All side-effect occur and the returned results are non-local.
|
Node.SideEffectFlags |
setMutatesArguments() |
Node.SideEffectFlags |
setMutatesGlobalState() |
Node.SideEffectFlags |
setMutatesThis() |
Node.SideEffectFlags |
setReturnsTainted() |
Node.SideEffectFlags |
setThrows() |
java.lang.String |
toString() |
int |
valueOf() |
public static final int MUTATES_GLOBAL_STATE
public static final int MUTATES_THIS
public static final int MUTATES_ARGUMENTS
public static final int THROWS
public static final int ESCAPED_RETURN
public static final int NO_SIDE_EFFECTS
public static final int ALL_SIDE_EFFECTS
public SideEffectFlags()
public SideEffectFlags(int value)
public int valueOf()
public Node.SideEffectFlags setAllFlags()
public Node.SideEffectFlags clearAllFlags()
public void clearSideEffectFlags()
public Node.SideEffectFlags setMutatesGlobalState()
public Node.SideEffectFlags setThrows()
public Node.SideEffectFlags setMutatesThis()
public Node.SideEffectFlags setMutatesArguments()
public Node.SideEffectFlags setReturnsTainted()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2020 Google. All Rights Reserved.