Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,085 for CONSTRUCTOR (0.11 sec)

  1. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         *             このコンストラクタが列挙型に関連している場合
         * @see Constructor#newInstance(Object[])
         */
        public static <T> T newInstance(final Constructor<T> constructor, final Object... args)
                throws InstantiationRuntimeException, IllegalAccessRuntimeException {
            assertArgumentNotNull("constructor", constructor);
    
            try {
                return constructor.newInstance(args);
            } catch (final InstantiationException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Invokable.java

          return method.isVarArgs();
        }
      }
    
      static class ConstructorInvokable<T> extends Invokable<T, T> {
    
        final Constructor<?> constructor;
    
        ConstructorInvokable(Constructor<?> constructor) {
          super(constructor);
          this.constructor = constructor;
        }
    
        @Override
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolveException.java

        }
    
        /**
         * The actual constructor called by concrete resolve exception implementations. Should not be
         * called except from Gradle internal code.
         *
         * <p>This constructor accepts a dummy parameter since we cannot call the constructor without it,
         * as that emits a deprecation warning. In 9.0, we can change the above constructor to protected
         * and remove this constructor.</p>
         *
         * @since 8.9
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

        }
    
        public static class CachedConstructor {
            private final ClassGenerator.GeneratedConstructor<?> constructor;
            private final RuntimeException error;
    
            private CachedConstructor(ClassGenerator.GeneratedConstructor<?> constructor, RuntimeException error) {
                this.constructor = constructor;
                this.error = error;
            }
    
            public ClassGenerator.GeneratedConstructor<?> getConstructor() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ParamsMatchingConstructorSelector.java

            // sorted by the number of parameters the constructor requires
            for (ClassGenerator.GeneratedConstructor<?> constructor : constructors) {
                Class<?>[] parameterTypes = constructor.getParameterTypes();
                // The candidate constructor has fewer parameters than the number of
                // parameters we were given. This can't be the constructor
                if (parameterTypes.length < params.length) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodDescription.java

                    .takes(method.getGenericParameterTypes());
        }
    
        public static MethodDescription of(Constructor<?> constructor) {
            return name("<init>")
                    .owner(constructor.getDeclaringClass())
                    .takes(constructor.getGenericParameterTypes());
        }
    
        private String typeName(Type type) {
            if (type == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultRuleSourceValidationProblemCollector.java

        }
    
        @Override
        public void add(Method method, String role, String problem) {
            collector.add(method, role, problem);
        }
    
        @Override
        public void add(Constructor<?> constructor, String problem) {
            collector.add(constructor, problem);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/IdentityClassGenerator.java

                @Override
                public List<GeneratedConstructor<T>> getConstructors() {
                    List<GeneratedConstructor<T>> constructors = new ArrayList<GeneratedConstructor<T>>();
                    for (final Constructor<?> constructor : type.getDeclaredConstructors()) {
                        constructors.add(new GeneratedConstructor<T>() {
                            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

              .reverse();
      private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM =
          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      @CheckForNull
      private static <X> X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/groovy/build.gradle

    // tag::inject-task-constructor[]
    abstract class CustomTask extends DefaultTask {
        private final String message
        private final int number
    
        @Inject
        CustomTask(String message, int number) {
            this.message = message
            this.number = number
        }
    // end::inject-task-constructor[]
    
        @TaskAction
        void printIt() {
            println("$message $number")
        }
    // tag::inject-task-constructor[]
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 559 bytes
    - Viewed (0)
Back to top