Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for setAccessible (0.06 sec)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                }
            }
        }
    
        private void setFieldAccessible(Field field) {
            if (isExceptPrivateAccessible(field)) {
                return;
            }
            try {
                field.setAccessible(true);
            } catch (RuntimeException e) {
                throw new BeanFieldSetAccessibleFailureException(beanClass, field, e);
            }
        }
    
        private boolean isExceptPrivateAccessible(Field field) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        }
    
        private void setValueToObject(Object obj, String name, Object value) {
            Field field = ClassUtil.getDeclaredField(obj.getClass(), name);
            field.setAccessible(true);
            FieldUtil.set(field, obj, value);
        }
    
        public void test_pruneNode() throws Exception {
            final String data = "<html><body><br/><script>foo</script><noscript>bar</noscript></body></html>";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        if (v4src != null) {
                            Field field = InputSource.class.getDeclaredField("modelId");
                            field.setAccessible(true);
                            field.set(v4src, ModelProblemUtils.toId(model));
                        }
                    } catch (Throwable t) {
                        // TODO: use a lazy source ?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top