Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for getType (0.09 sec)

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

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    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

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    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. src/test/java/jcifs/tests/FileLocationTest.java

                SmbResourceLocator fl = p.getLocator();
                assertNull(fl.getServer());
                assertNull(fl.getShare());
                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
                assertEquals("/", fl.getURLPath());
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
                        } else if (get(i + 1).getType() == LIST_ITEM) {
                            Item item = ((ListItem) get(i + 1)).get(0);
                            if (item.getType() == COMBINATION_ITEM || item.getType() == STRING_ITEM) {
                                remove(i);
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                getCurrentClass().addWriteableProperty(propName, type, rawCommentText, methodMetaData);
            }
        }
    
        private void extractParameters(MethodDeclaration n, MethodMetaData method) {
            for (Parameter parameter : n.getParameters()) {
                TypeMetaData typeMetaData = extractTypeName(parameter.getType());
                if (parameter.isVarArgs()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        @Override
        public void setVersion(String version) {
            this.version = version;
            setBaseVersionInternal(version);
            versionRange = null;
        }
    
        @Override
        public String getType() {
            return type;
        }
    
        @Override
        public void setFile(File file) {
            this.file = file;
        }
    
        @Override
        public File getFile() {
            return file;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
                    + "'; please provide one using NullPointerTester.setDefault()",
                args[i] != null || isNullable(param));
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields());
    
                    for (Field field : fields) {
                        Class<?> type = field.getType();
                        if (isQualifiedForInterpolation(field, type)) {
                            boolean isAccessible = field.isAccessible();
                            field.setAccessible(true);
                            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), Names.named(s));
                } else if (key.getQualifier() instanceof Annotation a) {
                    return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), a);
                } else {
                    return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType());
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top