Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for getFields (0.1 sec)

  1. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
            final ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(field, map);
            assertThat(desc.getRawClass(), is(sameClass(Map.class)));
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                final String source) {
            final GetFieldMappingsResponse gfmResponse = indicesClient.prepareGetFieldMappings(index).setFields(field).execute().actionGet();
            final FieldMappingMetadata fieldMappings = gfmResponse.fieldMappings(index, field);
            if (fieldMappings == null) {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), wildcardQuery.getField());
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(propDesc.getReadMethod(), is(notNullValue()));
            assertThat(propDesc.getWriteMethod(), is(nullValue()));
            assertThat(propDesc.getField(), is(notNullValue()));
    
            propDesc = beanDesc.getPropertyDesc("CCC");
            assertThat(propDesc.getPropertyName(), is("CCC"));
            assertThat(propDesc.getPropertyType(), is(sameClass(boolean.class)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/TempFileCreator.java

          // Try another way.
        }
    
        try {
          int version = (int) Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
          int jellyBean =
              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     * from ConsoleLauncher.
     *
     * https://github.com/junit-team/junit5/issues/2469
     */
    fun treeListener(): TestExecutionListener {
      val colorPalette =
        Class.forName("org.junit.platform.console.tasks.ColorPalette").getField("DEFAULT").apply {
          isAccessible = true
        }.get(null)
      return Class.forName(
        "org.junit.platform.console.tasks.TreePrintingListener",
      ).declaredConstructors.first()
        .apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            return fqcn.startsWith("java.") || fqcn.startsWith("jdk.") || fqcn.startsWith("com.sun.") || fqcn.startsWith("sun.");
        }
    
        @Override
        public Field getField() {
            return field;
        }
    
        /**
         * プロパティとして認識しているpublicフィールドを設定します。
         *
         * @param field
         *            プロパティとして認識するpublicフィールド
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *             指定された名前のフィールドが見つからない場合
         * @see Class#getField(String)
         */
        public static Field getField(final Class<?> clazz, final String name) throws NoSuchFieldRuntimeException {
            assertArgumentNotNull("clazz", clazz);
            assertArgumentNotEmpty("name", name);
    
            try {
                return clazz.getField(name);
            } catch (final NoSuchFieldException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top