Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 2,945 for methods (0.14 seconds)

  1. android/guava/src/com/google/common/annotations/GwtCompatible.java

     *
     * <p>Note that a {@code GwtCompatible} type may have some {@link GwtIncompatible} methods.
     *
     * @author Charles Fry
     * @author Hayward Chan
     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.TYPE, ElementType.METHOD})
    @Documented
    @GwtCompatible
    public @interface GwtCompatible {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:15:36 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Marks a method as a provider of beans for dependency injection.
     * <p>
     * This annotation can be used on static methods to programmatically create and configure
     * beans that will be managed by the dependency injection container. It's particularly
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    @Tag("Slow")
    class AllMainsTest {
      @ParameterizedTest
      @ArgumentsSource(MainTestProvider::class)
      fun runMain(className: String) {
        val mainMethod =
          Class
            .forName(className)
            .methods
            .find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolver.java

     *
     * @since 3.0
     */
    @Named("farthest")
    @Singleton
    @Deprecated
    public class FarthestConflictResolver implements ConflictResolver {
        // ConflictResolver methods -----------------------------------------------
    
        /*
         * @see org.apache.maven.artifact.resolver.conflict.ConflictResolver#resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

            }
        }
    
        @Test
        void testExtendedPluginDescriptor() {
            ExtendedPluginDescriptor.Builder builder = new ExtendedPluginDescriptor.Builder();
            // make sure to call the subclasses' builder methods first, otherwise fluent API would not work
            builder.additionalField("additional")
                    .groupId("org.apache.maven")
                    .artifactId("maven-plugin-api")
                    .version("1.0.0");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Verify that the response inherits from ServerMessageBlock2Response
                assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
    
                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/SneakyThrows.java

       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 30 18:44:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
                        + " ExecutorService.close() (which would forward to methods like shutdown() on"
                        + " the delegate) instead of forwarding to delegate.close()");
              }
            };
        ExecutorService wrapper =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    /**
     * Provides a skeleton implementation for execution listeners. The methods of this class are empty.
     *
     */
    public class AbstractExecutionListener implements ExecutionListener {
    
        @Override
        public void projectDiscoveryStarted(ExecutionEvent event) {
            // default does nothing
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

    import static junit.framework.Assert.fail;
    
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        try {
          future.get();
          fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top