com.sun.xml.bind.v2.runtime.reflect.opt
Class OptimizedAccessorFactory
java.lang.Object
com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory
public abstract class OptimizedAccessorFactory
- extends Object
Method Summary |
static
|
get(Field field)
Gets the optimizd Accessor that accesses the given field. |
static
|
get(Method getter,
Method setter)
Gets the optimized Accessor that accesses the given getter/setter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static final <B,V> Accessor<B,V> get(Method getter,
Method setter)
- Gets the optimized
Accessor
that accesses the given getter/setter.
- Returns:
- null
if for some reason it fails to create an optimized version.
get
public static final <B,V> Accessor<B,V> get(Field field)
- Gets the optimizd
Accessor
that accesses the given field.
- Returns:
- null
if for some reason it fails to create an optimized version.