Package org.codehaus.groovy.vmplugin.v7
Class IndyGuardsFiltersAndSignatures
java.lang.Object
org.codehaus.groovy.vmplugin.v7.IndyGuardsFiltersAndSignatures
@Deprecated public class IndyGuardsFiltersAndSignatures extends Object
Deprecated.
This class contains guards, runtime filters and
MethodType signatures used by indy.
-
Field Summary
Fields Modifier and Type Field Description protected static MethodHandleARRAYLIST_CONSTRUCTORDeprecated.protected static MethodHandleBEAN_CONSTRUCTOR_PROPERTY_SETTERDeprecated.protected static MethodHandleBOOLEAN_IDENTITYDeprecated.protected static MethodHandleCLASS_FOR_NAMEDeprecated.protected static MethodHandleDTT_CAST_TO_TYPEDeprecated.protected static MethodHandleEQUALSDeprecated.protected static MethodHandleGROOVY_CAST_EXCEPTIONDeprecated.protected static MethodHandleGROOVY_OBJECT_GET_PROPERTYDeprecated.protected static MethodHandleGROOVY_OBJECT_INVOKERDeprecated.protected static MethodHandleHAS_CATEGORY_IN_CURRENT_THREAD_GUARDDeprecated.protected static MethodHandleHASHSET_CONSTRUCTORDeprecated.protected static MethodHandleINTERCEPTABLE_INVOKERDeprecated.protected static MethodHandleIS_NULLDeprecated.protected static MethodHandleMETA_CLASS_INVOKE_STATIC_METHODDeprecated.protected static MethodHandleMETA_METHOD_INVOKERDeprecated.protected static MethodHandleMETA_PROPERTY_GETTERDeprecated.protected static MethodHandleMOP_GETDeprecated.protected static MethodHandleMOP_INVOKE_CONSTRUCTORDeprecated.protected static MethodHandleMOP_INVOKE_METHODDeprecated.protected static MethodHandleNULL_REFDeprecated.protected static MethodHandleSAM_CONVERSIONDeprecated.protected static MethodHandleSAME_CLASSDeprecated.protected static MethodHandleSAME_MCDeprecated.protected static MethodHandleSLOW_META_CLASS_FINDDeprecated.protected static MethodHandleUNWRAP_EXCEPTIONDeprecated.protected static MethodHandleUNWRAP_METHODDeprecated. -
Constructor Summary
Constructors Constructor Description IndyGuardsFiltersAndSignatures()Deprecated. -
Method Summary
Modifier and Type Method Description static ObjectinvokeGroovyObjectInvoker(MissingMethodException e, Object receiver, String name, Object[] args)Deprecated.GroovyObject.invokeMethod(String, Object)path as fallback.static booleanisNull(Object o)Deprecated.Guard to check if the argument is null.static booleanisSameMetaClass(MetaClass mc, Object receiver)Deprecated.called by handlestatic booleansameClass(Class<?> c, Object o)Deprecated.Guard to check if the provided Object has the same class as the provided Class.static ObjectsetBeanProperties(MetaClass mc, Object bean, Map properties)Deprecated.This method is called by he handle to realize the bean constructor with property map.static Objectunwrap(GroovyRuntimeException gre)Deprecated.Unwraps aGroovyRuntimeException.static Objectunwrap(Object o)Deprecated.Unwraps aWrapper.
-
Field Details
-
SAME_CLASS
Deprecated. -
UNWRAP_METHOD
Deprecated. -
SAME_MC
Deprecated. -
IS_NULL
Deprecated. -
UNWRAP_EXCEPTION
Deprecated. -
META_METHOD_INVOKER
Deprecated. -
GROOVY_OBJECT_INVOKER
Deprecated. -
GROOVY_OBJECT_GET_PROPERTY
Deprecated. -
HAS_CATEGORY_IN_CURRENT_THREAD_GUARD
Deprecated. -
BEAN_CONSTRUCTOR_PROPERTY_SETTER
Deprecated. -
META_PROPERTY_GETTER
Deprecated. -
SLOW_META_CLASS_FIND
Deprecated. -
META_CLASS_INVOKE_STATIC_METHOD
Deprecated. -
MOP_GET
Deprecated. -
MOP_INVOKE_CONSTRUCTOR
Deprecated. -
MOP_INVOKE_METHOD
Deprecated. -
INTERCEPTABLE_INVOKER
Deprecated. -
CLASS_FOR_NAME
Deprecated. -
BOOLEAN_IDENTITY
Deprecated. -
DTT_CAST_TO_TYPE
Deprecated. -
SAM_CONVERSION
Deprecated. -
HASHSET_CONSTRUCTOR
Deprecated. -
ARRAYLIST_CONSTRUCTOR
Deprecated. -
GROOVY_CAST_EXCEPTION
Deprecated. -
EQUALS
Deprecated. -
NULL_REF
Deprecated.
-
-
Constructor Details
-
IndyGuardsFiltersAndSignatures
public IndyGuardsFiltersAndSignatures()Deprecated.
-
-
Method Details
-
setBeanProperties
Deprecated.This method is called by he handle to realize the bean constructor with property map. -
invokeGroovyObjectInvoker
public static Object invokeGroovyObjectInvoker(MissingMethodException e, Object receiver, String name, Object[] args)Deprecated.GroovyObject.invokeMethod(String, Object)path as fallback. This method is called by the handle as exception handler in case the selected method causes a MissingMethodExecutionFailed, where we will just give through the exception, and a normal MissingMethodException where we callGroovyObject.invokeMethod(String, Object)if receiver class, the type transported by the exception and the name for the method stored in the exception and our current method name are equal. Should those conditions not apply we just rethrow the exception. -
unwrap
Deprecated.Unwraps aGroovyRuntimeException. This method is called by the handle to unwrap internal exceptions of the runtime.- Throws:
Throwable
-
isSameMetaClass
Deprecated.called by handle -
unwrap
Deprecated.Unwraps aWrapper. This method is called by the handle to unwrap a Wrapper, which we use to force method selection. -
isNull
Deprecated.Guard to check if the argument is null. This method is called by the handle to check if the provided argument is null. -
sameClass
Deprecated.Guard to check if the provided Object has the same class as the provided Class. This method will return false if the Object is null.
-