- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 60 for getNotifiers (0.06 seconds)
-
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
*/ public void testConstructor(Constructor<?> ctor) { Class<?> declaringClass = ctor.getDeclaringClass(); checkArgument( Modifier.isStatic(declaringClass.getModifiers()) || declaringClass.getEnclosingClass() == null, "Cannot test constructor of non-static inner class: %s", declaringClass.getName()); Class<?>[] types = ctor.getParameterTypes();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName()); for (Method method : AbstractFutureTest.class.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) { suite.addTest( TestSuite.createTest(AbstractFutureFallbackAtomicHelperTest.class, method.getName())); } } return suite; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
// Interfaces can have default methods that aren't abstract. // No need to verify them. // Can't check isDefault() for Android compatibility. if (!Modifier.isAbstract(method.getModifiers())) { continue; } // The interface could be package-private or private. // filter out equals/hashCode/toString if (method.getName().equals("equals")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
if (isQualifiedForInterpolation(currentField, type)) { if (String.class == type) { if (!Modifier.isFinal(currentField.getModifiers())) { fields.add(new StringField(currentField)); } } else if (List.class.isAssignableFrom(type)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throws ParameterNotInstantiableException, IllegalAccessException, InvocationTargetException, FactoryMethodReturnsNullException { if (!Modifier.isAbstract(cls.getModifiers())) { nullPointerTester.testConstructors(cls, visibility); } nullPointerTester.testStaticMethods(cls, visibility); if (hasInstanceMethodToTestNulls(cls, visibility)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
} } private static <T> void callAllPublicMethods(TypeToken<T> type, T object) throws InvocationTargetException { for (Method method : type.getRawType().getMethods()) { if ((method.getModifiers() & STATIC) != 0) { continue; } ImmutableList<Parameter> parameters = type.method(method).getParameters(); Object[] args = new Object[parameters.size()];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
// Verify constructor is private Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private"); // Force accessibility and create instance to achieve coverage constructor.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
for (final Method method : propertyType.getMethods()) { if (method.isBridge() || method.isSynthetic()) { continue; } if (ModifierUtil.isStatic(method.getModifiers()) && method.getName().equals("valueOf") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0].equals(String.class)) { valueOfMethod = method; break;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 15.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
*/ public void testConstructor(Constructor<?> ctor) { Class<?> declaringClass = ctor.getDeclaringClass(); checkArgument( Modifier.isStatic(declaringClass.getModifiers()) || declaringClass.getEnclosingClass() == null, "Cannot test constructor of non-static inner class: %s", declaringClass.getName()); Class<?>[] types = ctor.getParameterTypes();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
while (clazz != null && !clazz.equals(Object.class)) { for (Field field : clazz.getDeclaredFields()) { // Skip static fields and synthetic fields if (Modifier.isStatic(field.getModifiers()) || field.isSynthetic()) { continue; } try { field.setAccessible(true); Object value = field.get(node);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0)