Home
last modified time | relevance | path

Searched refs:methodHandles (Results 1 – 25 of 50) sorted by relevance

12

/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/internal/dynalink/beans/
H A DOverloadedMethod.java115 …OverloadedMethod(final List<MethodHandle> methodHandles, final OverloadedDynamicMethod parent, fin… in OverloadedMethod() argument
118 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
122 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
123 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
125 for(MethodHandle mh: methodHandles) { in OverloadedMethod()
269 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
270 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
H A DOverloadedDynamicMethod.java220 final List<MethodHandle> methodHandles = new ArrayList<>(invokables.size()); in getInvocation() local
223 methodHandles.add(method.getTarget(lookup)); in getInvocation()
225 … return new OverloadedMethod(methodHandles, this, callSiteType, linkerServices).getInvoker(); in getInvocation()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/internal/dynalink/beans/
H A DOverloadedMethod.java115 …OverloadedMethod(final List<MethodHandle> methodHandles, final OverloadedDynamicMethod parent, fin… in OverloadedMethod() argument
118 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
122 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
123 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
125 for(MethodHandle mh: methodHandles) { in OverloadedMethod()
269 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
270 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
H A DOverloadedDynamicMethod.java220 final List<MethodHandle> methodHandles = new ArrayList<>(invokables.size()); in getInvocation() local
223 methodHandles.add(method.getTarget(lookup)); in getInvocation()
225 … return new OverloadedMethod(methodHandles, this, callSiteType, linkerServices).getInvoker(); in getInvocation()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
H A DOverloadedDynamicMethod.java188 final List<MethodHandle> methodHandles = new ArrayList<>(invokables.size()); in getInvocation() local
190 methodHandles.add(method.getTarget(callSiteDescriptor)); in getInvocation()
192 …return new OverloadedMethod(methodHandles, this, getCallSiteClassLoader(callSiteDescriptor), callS… in getInvocation()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DOverloadedMethod.java93 OverloadedMethod(final List<MethodHandle> methodHandles, in OverloadedMethod() argument
101 final Class<?> commonRetType = getCommonReturnType(methodHandles); in OverloadedMethod()
106 fixArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
107 varArgMethods = new ArrayList<>(methodHandles.size()); in OverloadedMethod()
109 for(final MethodHandle mh: methodHandles) { in OverloadedMethod()
256 private static Class<?> getCommonReturnType(final List<MethodHandle> methodHandles) { in getCommonReturnType() argument
257 final Iterator<MethodHandle> it = methodHandles.iterator(); in getCommonReturnType()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java54 final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
112 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
118 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
125 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
194 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
203 this.methodHandles = null; in MethodTypeForm()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java54 final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
113 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
119 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
126 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
195 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
204 this.methodHandles = null; in MethodTypeForm()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java54 final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
108 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
114 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
121 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
190 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
199 this.methodHandles = null; in MethodTypeForm()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java54 final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
108 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
114 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
121 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
190 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
199 this.methodHandles = null; in MethodTypeForm()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java56 @Stable final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
116 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
122 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
129 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
212 this.methodHandles = null; in MethodTypeForm()
258 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/lang/invoke/
H A DMethodTypeForm.java53 @Stable final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
110 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
116 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
123 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
206 this.methodHandles = null; in MethodTypeForm()
252 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java56 @Stable final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
116 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
122 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
129 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
212 this.methodHandles = null; in MethodTypeForm()
258 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java56 @Stable final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
116 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
122 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
129 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
212 this.methodHandles = null; in MethodTypeForm()
258 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/java/lang/invoke/
H A DMethodTypeForm.java56 @Stable final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
116 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
122 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
129 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
212 this.methodHandles = null; in MethodTypeForm()
258 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/lang/invoke/
H A DMethodTypeForm.java53 @Stable final SoftReference<MethodHandle>[] methodHandles; field in MethodTypeForm
110 SoftReference<MethodHandle> entry = methodHandles[which]; in cachedMethodHandle()
116 SoftReference<MethodHandle> entry = methodHandles[which]; in setCachedMethodHandle()
123 methodHandles[which] = new SoftReference<>(mh); in setCachedMethodHandle()
206 this.methodHandles = null; in MethodTypeForm()
252 this.methodHandles = new SoftReference[MH_LIMIT]; in MethodTypeForm()
/dports/devel/jna/jna-5.7.0/src/com/sun/jna/internal/
H A DReflectionUtils.java67 Class methodHandles = lookupClass("java.lang.invoke.MethodHandles");
73 METHOD_HANDLES_LOOKUP = lookupMethod(methodHandles, "lookup");
79 …METHOD_HANDLES_PRIVATE_LOOKUP_IN = lookupMethod(methodHandles, "privateLookupIn", Class.class, loo…
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/
H A DSourceTypeElementInfo.java224 SourceMethod[] methodHandles = getMethodHandles(); in getMethods() local
225 int length = methodHandles.length; in getMethods()
230 ISourceMethod method = (ISourceMethod) methodHandles[i].getElementInfo(); in getMethods()

12