Package org.codehaus.groovy.vmplugin.v7
Class IndyGuardsFiltersAndSignatures
java.lang.Object
org.codehaus.groovy.vmplugin.v7.IndyGuardsFiltersAndSignatures
@Deprecated
public class IndyGuardsFiltersAndSignatures
extends java.lang.Object
Deprecated.
This class contains guards, runtime filters and
 MethodType signatures used by indy.
- 
Field SummaryFields Modifier and Type Field Description protected static java.lang.invoke.MethodHandleARRAYLIST_CONSTRUCTORDeprecated.protected static java.lang.invoke.MethodHandleBEAN_CONSTRUCTOR_PROPERTY_SETTERDeprecated.protected static java.lang.invoke.MethodHandleBOOLEAN_IDENTITYDeprecated.protected static java.lang.invoke.MethodHandleCLASS_FOR_NAMEDeprecated.protected static java.lang.invoke.MethodHandleDTT_CAST_TO_TYPEDeprecated.protected static java.lang.invoke.MethodHandleEQUALSDeprecated.protected static java.lang.invoke.MethodHandleGROOVY_CAST_EXCEPTIONDeprecated.protected static java.lang.invoke.MethodHandleGROOVY_OBJECT_GET_PROPERTYDeprecated.protected static java.lang.invoke.MethodHandleGROOVY_OBJECT_INVOKERDeprecated.protected static java.lang.invoke.MethodHandleHAS_CATEGORY_IN_CURRENT_THREAD_GUARDDeprecated.protected static java.lang.invoke.MethodHandleHASHSET_CONSTRUCTORDeprecated.protected static java.lang.invoke.MethodHandleINTERCEPTABLE_INVOKERDeprecated.protected static java.lang.invoke.MethodHandleIS_NULLDeprecated.protected static java.lang.invoke.MethodHandleMETA_CLASS_INVOKE_STATIC_METHODDeprecated.protected static java.lang.invoke.MethodHandleMETA_METHOD_INVOKERDeprecated.protected static java.lang.invoke.MethodHandleMETA_PROPERTY_GETTERDeprecated.protected static java.lang.invoke.MethodHandleMOP_GETDeprecated.protected static java.lang.invoke.MethodHandleMOP_INVOKE_CONSTRUCTORDeprecated.protected static java.lang.invoke.MethodHandleMOP_INVOKE_METHODDeprecated.protected static java.lang.invoke.MethodHandleNULL_REFDeprecated.protected static java.lang.invoke.MethodHandleSAM_CONVERSIONDeprecated.protected static java.lang.invoke.MethodHandleSAME_CLASSDeprecated.protected static java.lang.invoke.MethodHandleSAME_MCDeprecated.protected static java.lang.invoke.MethodHandleSLOW_META_CLASS_FINDDeprecated.protected static java.lang.invoke.MethodHandleUNWRAP_EXCEPTIONDeprecated.protected static java.lang.invoke.MethodHandleUNWRAP_METHODDeprecated.
- 
Constructor SummaryConstructors Constructor Description IndyGuardsFiltersAndSignatures()Deprecated.
- 
Method SummaryModifier and Type Method Description static java.lang.ObjectinvokeGroovyObjectInvoker(MissingMethodException e, java.lang.Object receiver, java.lang.String name, java.lang.Object[] args)Deprecated.GroovyObject.invokeMethod(String, Object)path as fallback.static booleanisNull(java.lang.Object o)Deprecated.Guard to check if the argument is null.static booleanisSameMetaClass(MetaClass mc, java.lang.Object receiver)Deprecated.called by handlestatic booleansameClass(java.lang.Class<?> c, java.lang.Object o)Deprecated.Guard to check if the provided Object has the same class as the provided Class.static java.lang.ObjectsetBeanProperties(MetaClass mc, java.lang.Object bean, java.util.Map properties)Deprecated.This method is called by he handle to realize the bean constructor with property map.static java.lang.Objectunwrap(GroovyRuntimeException gre)Deprecated.Unwraps aGroovyRuntimeException.static java.lang.Objectunwrap(java.lang.Object o)Deprecated.Unwraps aWrapper.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
SAME_CLASSprotected static final java.lang.invoke.MethodHandle SAME_CLASSDeprecated.
- 
UNWRAP_METHODprotected static final java.lang.invoke.MethodHandle UNWRAP_METHODDeprecated.
- 
SAME_MCprotected static final java.lang.invoke.MethodHandle SAME_MCDeprecated.
- 
IS_NULLprotected static final java.lang.invoke.MethodHandle IS_NULLDeprecated.
- 
UNWRAP_EXCEPTIONprotected static final java.lang.invoke.MethodHandle UNWRAP_EXCEPTIONDeprecated.
- 
META_METHOD_INVOKERprotected static final java.lang.invoke.MethodHandle META_METHOD_INVOKERDeprecated.
- 
GROOVY_OBJECT_INVOKERprotected static final java.lang.invoke.MethodHandle GROOVY_OBJECT_INVOKERDeprecated.
- 
GROOVY_OBJECT_GET_PROPERTYprotected static final java.lang.invoke.MethodHandle GROOVY_OBJECT_GET_PROPERTYDeprecated.
- 
HAS_CATEGORY_IN_CURRENT_THREAD_GUARDprotected static final java.lang.invoke.MethodHandle HAS_CATEGORY_IN_CURRENT_THREAD_GUARDDeprecated.
- 
BEAN_CONSTRUCTOR_PROPERTY_SETTERprotected static final java.lang.invoke.MethodHandle BEAN_CONSTRUCTOR_PROPERTY_SETTERDeprecated.
- 
META_PROPERTY_GETTERprotected static final java.lang.invoke.MethodHandle META_PROPERTY_GETTERDeprecated.
- 
SLOW_META_CLASS_FINDprotected static final java.lang.invoke.MethodHandle SLOW_META_CLASS_FINDDeprecated.
- 
META_CLASS_INVOKE_STATIC_METHODprotected static final java.lang.invoke.MethodHandle META_CLASS_INVOKE_STATIC_METHODDeprecated.
- 
MOP_GETprotected static final java.lang.invoke.MethodHandle MOP_GETDeprecated.
- 
MOP_INVOKE_CONSTRUCTORprotected static final java.lang.invoke.MethodHandle MOP_INVOKE_CONSTRUCTORDeprecated.
- 
MOP_INVOKE_METHODprotected static final java.lang.invoke.MethodHandle MOP_INVOKE_METHODDeprecated.
- 
INTERCEPTABLE_INVOKERprotected static final java.lang.invoke.MethodHandle INTERCEPTABLE_INVOKERDeprecated.
- 
CLASS_FOR_NAMEprotected static final java.lang.invoke.MethodHandle CLASS_FOR_NAMEDeprecated.
- 
BOOLEAN_IDENTITYprotected static final java.lang.invoke.MethodHandle BOOLEAN_IDENTITYDeprecated.
- 
DTT_CAST_TO_TYPEprotected static final java.lang.invoke.MethodHandle DTT_CAST_TO_TYPEDeprecated.
- 
SAM_CONVERSIONprotected static final java.lang.invoke.MethodHandle SAM_CONVERSIONDeprecated.
- 
HASHSET_CONSTRUCTORprotected static final java.lang.invoke.MethodHandle HASHSET_CONSTRUCTORDeprecated.
- 
ARRAYLIST_CONSTRUCTORprotected static final java.lang.invoke.MethodHandle ARRAYLIST_CONSTRUCTORDeprecated.
- 
GROOVY_CAST_EXCEPTIONprotected static final java.lang.invoke.MethodHandle GROOVY_CAST_EXCEPTIONDeprecated.
- 
EQUALSprotected static final java.lang.invoke.MethodHandle EQUALSDeprecated.
- 
NULL_REFprotected static final java.lang.invoke.MethodHandle NULL_REFDeprecated.
 
- 
- 
Constructor Details- 
IndyGuardsFiltersAndSignaturespublic IndyGuardsFiltersAndSignatures()Deprecated.
 
- 
- 
Method Details- 
setBeanPropertiespublic static java.lang.Object setBeanProperties(MetaClass mc, java.lang.Object bean, java.util.Map properties)Deprecated.This method is called by he handle to realize the bean constructor with property map.
- 
invokeGroovyObjectInvokerpublic static java.lang.Object invokeGroovyObjectInvoker(MissingMethodException e, java.lang.Object receiver, java.lang.String name, java.lang.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.
- 
unwrapDeprecated.Unwraps aGroovyRuntimeException. This method is called by the handle to unwrap internal exceptions of the runtime.- Throws:
- java.lang.Throwable
 
- 
isSameMetaClassDeprecated.called by handle
- 
unwrappublic static java.lang.Object unwrap(java.lang.Object o)Deprecated.Unwraps aWrapper. This method is called by the handle to unwrap a Wrapper, which we use to force method selection.
- 
isNullpublic static boolean isNull(java.lang.Object o)Deprecated.Guard to check if the argument is null. This method is called by the handle to check if the provided argument is null.
- 
sameClasspublic static boolean sameClass(java.lang.Class<?> c, java.lang.Object o)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.
 
-