org.mvel2
Class PropertyAccessor
java.lang.Object
org.mvel2.PropertyAccessor
public class PropertyAccessor
- extends Object
Constructor Summary |
PropertyAccessor(char[] property,
int offset,
int end,
Object ctx,
VariableResolverFactory resolver)
|
PropertyAccessor(char[] property,
Object ctx)
|
PropertyAccessor(char[] property,
Object ctx,
Object thisRef,
VariableResolverFactory resolver,
Object thisReference)
|
PropertyAccessor(char[] property,
Object ctx,
VariableResolverFactory resolver,
Object thisReference)
|
PropertyAccessor(String property,
Object ctx)
|
PropertyAccessor(VariableResolverFactory resolver,
Object thisReference)
|
Method Summary |
static Class[] |
checkParmTypesCache(Method member)
|
static void |
clearPropertyResolverCache()
|
static Object |
get(char[] property,
int offset,
int end,
Object ctx,
VariableResolverFactory resolver)
|
static Object |
get(char[] property,
Object ctx,
VariableResolverFactory resolver,
Object thisReference)
|
static Object |
get(String property,
Object ctx)
|
static Object |
get(String property,
Object ctx,
VariableResolverFactory resolver,
Object thisReference)
|
int |
getCursorPosition()
|
static void |
reportCacheSizes()
|
static void |
set(Object ctx,
String property,
Object value)
|
static void |
set(Object ctx,
VariableResolverFactory resolver,
String property,
Object value)
|
protected int |
trimLeft(int pos)
|
protected Object |
tryStaticAccess()
Try static access of the property, and return an instance of the Field, Method of Class if successful. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyAccessor
public PropertyAccessor(char[] property,
Object ctx)
PropertyAccessor
public PropertyAccessor(char[] property,
Object ctx,
VariableResolverFactory resolver,
Object thisReference)
PropertyAccessor
public PropertyAccessor(char[] property,
Object ctx,
Object thisRef,
VariableResolverFactory resolver,
Object thisReference)
PropertyAccessor
public PropertyAccessor(VariableResolverFactory resolver,
Object thisReference)
PropertyAccessor
public PropertyAccessor(char[] property,
int offset,
int end,
Object ctx,
VariableResolverFactory resolver)
PropertyAccessor
public PropertyAccessor(String property,
Object ctx)
get
public static Object get(String property,
Object ctx)
get
public static Object get(char[] property,
Object ctx,
VariableResolverFactory resolver,
Object thisReference)
get
public static Object get(char[] property,
int offset,
int end,
Object ctx,
VariableResolverFactory resolver)
get
public static Object get(String property,
Object ctx,
VariableResolverFactory resolver,
Object thisReference)
set
public static void set(Object ctx,
String property,
Object value)
set
public static void set(Object ctx,
VariableResolverFactory resolver,
String property,
Object value)
trimLeft
protected int trimLeft(int pos)
clearPropertyResolverCache
public static void clearPropertyResolverCache()
reportCacheSizes
public static void reportCacheSizes()
checkParmTypesCache
public static Class[] checkParmTypesCache(Method member)
getCursorPosition
public int getCursorPosition()
tryStaticAccess
protected Object tryStaticAccess()
- Try static access of the property, and return an instance of the Field, Method of Class if successful.
- Returns:
- - Field, Method or Class instance.
Copyright © 2011. All Rights Reserved.