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 java.lang.Object
Method Summary |
static
|
get(java.lang.reflect.Field field)
Gets the optimized Accessor that accesses the given field. |
static
|
get(java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Gets the optimized Accessor that accesses the given getter/setter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static final <B,V> Accessor<B,V> get(java.lang.reflect.Method getter,
java.lang.reflect.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(java.lang.reflect.Field field)
- Gets the optimized
Accessor
that accesses the given field.
- Returns:
- null
if for some reason it fails to create an optimized version.