- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 4,569 for METHOD (0.12 sec)
-
guava-tests/test/com/google/common/reflect/InvokableTest.java
for (Method method : c.getMethods()) { if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) { continue; } StringBuilder signature = new StringBuilder() .append(typeName(method.getReturnType())) .append(" ") .append(method.getName()) .append("("); String sep = "";
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ParameterTest.java
/* * Parameter declares a method that returns AnnotatedType, which isn't available on Android. * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError. */ return; } for (Method method : ParameterTest.class.getDeclaredMethods()) { for (Parameter param : Invokable.from(method).getParameters()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 02:06:03 UTC 2023 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ParameterTest.java
/* * Parameter declares a method that returns AnnotatedType, which isn't available on Android. * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError. */ return; } for (Method method : ParameterTest.class.getDeclaredMethods()) { for (Parameter param : Invokable.from(method).getParameters()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 02:06:03 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/types/testdata/check/methodsets.go
func (T0) v0() {} func (*T0) p0() {} type T1 struct {} // like T0 with different method names func (T1) v1() {} func (*T1) p1() {} type T2 interface { v2() p2() } type T3 struct { T0 *T1 T2 } // Method expressions func _() { var ( _ func(T0) = T0.v0 _ = T0.p0 /* ERROR "invalid method expression T0.p0 (needs pointer receiver (*T0).p0)" */ _ func (*T0) = (*T0).v0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 3.5K bytes - Viewed (0) -
src/net/rpc/server.go
for m := 0; m < typ.NumMethod(); m++ { method := typ.Method(m) mtype := method.Type mname := method.Name // Method must be exported. if !method.IsExported() { continue } // Method needs three ins: receiver, *args, *reply. if mtype.NumIn() != 3 { if logErr { log.Printf("rpc.Register: method %q has %d input parameters; needs exactly three\n", mname, mtype.NumIn()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code),
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 10 20:36:34 UTC 2022 - 3.9K bytes - Viewed (0) -
src/internal/types/testdata/check/decls2/decls2a.go
// Methods with zero or multiple receivers. func ( /* ERROR "method has no receiver" */ ) _() {} func (T3, * /* ERROR "method has multiple receivers" */ T3) _() {} func (T3, T3, T3 /* ERROR "method has multiple receivers" */ ) _() {} func (a, b /* ERROR "method has multiple receivers" */ T3) _() {} func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {} // Methods associated with non-local or unnamed types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/FormattingValidationProblemCollector.java
} } @Override public void add(Method method, String role, String problem) { MethodDescription description = MethodDescription.name(method.getName()) .takes(method.getGenericParameterTypes()); StringBuilder message = new StringBuilder("Method "); if (method.getDeclaringClass().equals(source.getConcreteClass())) { message.append(description);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
return getMethod(methodName, arguments).invoke(lockLikeObject, arguments); } private Method getMethod(String methodName, Object... arguments) throws Exception { METHODS: for (Method method : lockLikeObject.getClass().getMethods()) { Class<?>[] parameterTypes = method.getParameterTypes(); if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
} }; } @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static Object invokeAccessibleNonThrowingMethod( Method method, Object receiver, Object... params) { try { return method.invoke(receiver, params); } catch (IllegalAccessException e) { throw new RuntimeException(e); } catch (InvocationTargetException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 06 15:38:58 UTC 2024 - 20.6K bytes - Viewed (0)