public class JavetProxyPluginClass extends BaseJavetProxyPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
The constant NAME.
|
HINT_BOOLEAN, HINT_DEFAULT, HINT_NUMBER, HINT_STRING, OBJECT_CONVERTER, PROXY_CONVERTER, TO_JSON, TO_STRING, VALUE_OF| Constructor and Description |
|---|
JavetProxyPluginClass()
Instantiates a new Javet proxy plugin class.
|
| Modifier and Type | Method and Description |
|---|---|
static JavetProxyPluginClass |
getInstance()
Gets instance.
|
java.lang.String |
getName()
Gets the plugin name.
|
<E extends java.lang.Exception> |
getProxyGetByString(java.lang.Class<?> targetClass,
java.lang.String propertyName)
Gets proxy get function by string property.
|
<E extends java.lang.Exception> |
getProxyGetBySymbol(java.lang.Class<?> targetClass,
java.lang.String symbolName)
Gets proxy get function by symbol property.
|
boolean |
isMethodProxyable(java.lang.String methodName,
java.lang.Class<?> targetClass)
Is method proxyable.
|
boolean |
isProxyable(java.lang.Class<?> targetClass)
Is the target class proxyable.
|
callWithObjectConverter, deleteByObject, getByIndex, getProxyOwnKeys, getProxyOwnPropertyDescriptor, getProxySymbolToPrimitive, getTargetObjectConstructor, hasByObject, isDeleteSupported, isHasSupported, isIndexSupported, isOwnKeysSupported, isUniqueKeySupported, populateUniqueKeys, setByIndex, symbolToPrimitive, typeErrorFunctionIsNotSupportedpublic JavetProxyPluginClass()
public static JavetProxyPluginClass getInstance()
public java.lang.String getName()
IClassProxyPluginpublic <E extends java.lang.Exception> IClassProxyPluginFunction<E> getProxyGetByString(java.lang.Class<?> targetClass, java.lang.String propertyName)
IClassProxyPluginE - the type parametertargetClass - the target classpropertyName - the property namepublic <E extends java.lang.Exception> IClassProxyPluginFunction<E> getProxyGetBySymbol(java.lang.Class<?> targetClass, java.lang.String symbolName)
IClassProxyPlugingetProxyGetBySymbol in interface IClassProxyPlugingetProxyGetBySymbol in class BaseJavetProxyPluginE - the type parametertargetClass - the target classsymbolName - the symbol namepublic boolean isMethodProxyable(java.lang.String methodName,
java.lang.Class<?> targetClass)
IClassProxyPluginmethodName - the method nametargetClass - the target classpublic boolean isProxyable(java.lang.Class<?> targetClass)
IClassProxyPlugintargetClass - the target class