- Sort Score
- Num 10 results
- Language All
Results 1401 - 1410 of 2,945 for methods (0.17 seconds)
-
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
import static com.google.common.base.Preconditions.checkNotNull; import java.lang.reflect.Method; /** * Context for an exception thrown by a subscriber. * * @since 16.0 */ public class SubscriberExceptionContext { private final EventBus eventBus; private final Object event; private final Object subscriber; private final Method subscriberMethod; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/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),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/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),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/https/HandlerTest.java
@DisplayName("Should handle reflection access to protected method") void testProtectedMethodAccess() throws Exception { // Given Handler testHandler = new Handler(null); // When Method method = Handler.class.getDeclaredMethod("getDefaultPort"); // Then assertTrue(Modifier.isProtected(method.getModifiers()));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java
import java.lang.reflect.Method; /** * Signals that a method could not be made accessible. */ public class BeanMethodSetAccessibleFailureException extends ClRuntimeException { private static final long serialVersionUID = 1L; /** * The target class. */ protected final Class<?> targetClass; /** * The target method. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt
) { assertHasErrors( "Method com.example.Source.plus(java.lang.String,java.util.List): Breaking Kotlin modifier change.", "Method com.example.Source.plus(int,java.util.List): Breaking Kotlin modifier change.", "Method com.example.SourceKt.invoke(java.lang.String,int): Breaking Kotlin modifier change.", "Method com.example.SourceKt.invoke(long,int): Breaking Kotlin modifier change.",Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
// Test private method using reflection Method method = KeyMatchHelper.class.getDeclaredMethod("toLowerCase", String.class); method.setAccessible(true); String result = (String) method.invoke(keyMatchHelper, "JAVA"); assertEquals("java", result); result = (String) method.invoke(keyMatchHelper, "Mixed_Case");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
* Test of writeBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testWriteBytesWireFormat() { byte[] dst = new byte[10]; int dstIndex = 0; // This method does nothing and should return 0. assertEquals(0, response.writeBytesWireFormat(dst, dstIndex)); } /** * Test of readParameterWordsWireFormat method, of class SmbComQueryInformationResponse.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
} @Test void testIsEndOfSearch() { // Test the isEndOfSearch method // By default, it should be false assertFalse(response.isEndOfSearch()); } @Test void testGetNumEntries() { // Test the getNumEntries method // By default, it should be 0 assertEquals(0, response.getNumEntries()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40."); assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given Trans2QueryPathInformation trans = new Trans2QueryPathInformation("test.txt", 0x0101); byte[] dst = new byte[2];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0)