Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isVarargs (0.1 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(delegate.isVarArgs());
      }
    
      public void testPrivateFinalInstanceMethod_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("privateFinalMethod");
        assertTrue(delegate.isPrivate());
        assertTrue(delegate.isFinal());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(delegate.isVarArgs());
      }
    
      public void testPrivateFinalInstanceMethod_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("privateFinalMethod");
        assertTrue(delegate.isPrivate());
        assertTrue(delegate.isFinal());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            if (!(extensionCandidate || ktFunction.valueParameters.size == paramCount)) {
                return@collectDescendantsOfType false
            }
            val isVarargs = Modifier.isVarArgs(method.modifiers)
    
            // Parameter type check
            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Invokable.java

          return !(isFinal()
              || isPrivate()
              || isStatic()
              || Modifier.isFinal(getDeclaringClass().getModifiers()));
        }
    
        @Override
        public final boolean isVarArgs() {
          return method.isVarArgs();
        }
      }
    
      static class ConstructorInvokable<T> extends Invokable<T, T> {
    
        final Constructor<?> constructor;
    
        ConstructorInvokable(Constructor<?> constructor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

        }
    
        public TypeMetaData setArrayDimensions(int arrayDimensions) {
            this.arrayDimensions = arrayDimensions;
            return this;
        }
    
        public boolean isVarargs() {
            return varargs;
        }
    
        public TypeMetaData setVarargs() {
            this.varargs = true;
            return this;
        }
    
        public List<TypeMetaData> getTypeArgs() {
            return typeArgs;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            for (Parameter parameter : n.getParameters()) {
                TypeMetaData typeMetaData = extractTypeName(parameter.getType());
                if (parameter.isVarArgs()) {
                    typeMetaData.setVarargs();
                }
                method.addParameter(parameter.getNameAsString(), typeMetaData);
            }
        }
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top