public class RedefinitionHelper extends Object
Constructor and Description |
---|
RedefinitionHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
accessingField(Object o,
int absoluteIndex)
Notify the state manager for
o (if any) that a field
is about to be accessed. |
static void |
assignLazyLoadProxies(StateManagerImpl sm)
Create a container instance that will delegate back to the state
manager to emulate lazy loading.
|
static void |
dirtyCheck(StateManager sm)
Call
StateManagerImpl.dirtyCheck() if the argument is a
StateManagerImpl . |
static void |
settingField(Object o,
int idx,
boolean cur,
boolean next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
byte cur,
byte next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
char cur,
char next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
double cur,
double next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
float cur,
float next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
int cur,
int next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
long cur,
long next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
Object cur,
Object next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
short cur,
short next)
Setting state callback.
|
static void |
settingField(Object o,
int idx,
String cur,
String next)
Setting state callback.
|
public static void dirtyCheck(StateManager sm)
StateManagerImpl.dirtyCheck()
if the argument is a
StateManagerImpl
.public static void accessingField(Object o, int absoluteIndex)
o
(if any) that a field
is about to be accessed.public static void settingField(Object o, int idx, boolean cur, boolean next)
public static void settingField(Object o, int idx, char cur, char next)
public static void settingField(Object o, int idx, byte cur, byte next)
public static void settingField(Object o, int idx, short cur, short next)
public static void settingField(Object o, int idx, int cur, int next)
public static void settingField(Object o, int idx, long cur, long next)
public static void settingField(Object o, int idx, float cur, float next)
public static void settingField(Object o, int idx, double cur, double next)
public static void settingField(Object o, int idx, String cur, String next)
public static void settingField(Object o, int idx, Object cur, Object next)
public static void assignLazyLoadProxies(StateManagerImpl sm)
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.