Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for setParameters (0.29 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       *     static
       */
      private void testParameter(
          @Nullable Object instance, Invokable<?, ?> invokable, int paramIndex, Class<?> testedClass) {
        if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) {
          return; // there's nothing to test
        }
        @Nullable Object[] params = buildParamList(invokable, paramIndex);
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                        }
                    }
    
                    // Check if the method's parameters are annotated with the wrong Nullable
                    for (JavaParameter parameter : method.getParameters()) {
                        if (!parameter.isAnnotatedWith(Nullable.class)) {
                            Set<JavaAnnotation<JavaParameter>> annotations = parameter.getAnnotations();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    return;
                }
    
                Object returnValue;
                try {
                    returnValue = targetMethod.invoke(invocation.getDelegate(), invocation.getParameters());
                } catch (InvocationTargetException e) {
                    throw e.getCause();
                }
    
                invocation.setResult(returnValue);
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Invokable.java

    /**
     * Wrapper around either a {@link Method} or a {@link Constructor}. Convenience API is provided to
     * make common reflective operation easier to deal with, such as {@link #isPublic}, {@link
     * #getParameters} etc.
     *
     * <p>In addition to convenience methods, {@link TypeToken#method} and {@link TypeToken#constructor}
     * will resolve the type parameters of the method or constructor in the context of the owner type,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

            try {
                CallableInfo callable = request.getInterceptedCallable();
                ImplementationInfo implementation = request.getImplementationInfo();
                List<ParameterSpec> parameters = callable.getParameters().stream()
                    .map(parameter -> ParameterSpec.builder(typeName(parameter.getParameterType()), parameter.getName()).build())
                    .collect(Collectors.toList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                if (Constants.SAMBA.equals(fileAuth.getProtocolScheme())) {
                    final SmbAuthentication smbAuth = new SmbAuthentication();
                    final Map<String, String> map = ParameterUtil.parse(fileAuth.getParameters());
                    final String domain = map.get("domain");
                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidateAction.java

            Property<Boolean> getEnableStricterValidation();
    
        }
    
        @Override
        public void execute() {
            List<Problem> taskValidationProblems = new ArrayList<>();
    
            Params params = getParameters();
    
            params.getClasses().getAsFileTree().visit(new ValidationProblemCollector(taskValidationProblems, params));
            storeResults(taskValidationProblems, params.getOutputFile());
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Invokable.java

    /**
     * Wrapper around either a {@link Method} or a {@link Constructor}. Convenience API is provided to
     * make common reflective operation easier to deal with, such as {@link #isPublic}, {@link
     * #getParameters} etc.
     *
     * <p>In addition to convenience methods, {@link TypeToken#method} and {@link TypeToken#constructor}
     * will resolve the type parameters of the method or constructor in the context of the owner type,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

                        public ProbeService() {}
    
                        public void probe(String eventName, String taskPath) {
                            String probe = Static.probe(getParameters().getProjectName().get());
                            System.out.println(eventName + ": " + taskPath + ": " + probe);
                        }
    
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                }
            }
    
            return null;
        }
    
        public static XmlNode convert(org.apache.maven.api.plugin.descriptor.MojoDescriptor mojoDescriptor) {
            List<XmlNode> children = mojoDescriptor.getParameters().stream()
                    .filter(p -> p.getDefaultValue() != null || p.getExpression() != null)
                    .map(p -> new XmlNodeImpl(
                            p.getName(),
                            p.getExpression(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top