Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getDeclaredFields (0.08 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

        @Test
        public void test_allPathsInitialized() throws Exception {
            // Get all public static final fields of HtmlNext type
            Field[] fields = FessHtmlPath.class.getDeclaredFields();
            for (Field field : fields) {
                int modifiers = field.getModifiers();
                if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

        /**
         * Test that all label constants follow the naming convention
         */
        @Test
        public void test_labelConstantsNamingConvention() throws Exception {
            Field[] fields = FessLabels.class.getDeclaredFields();
            Pattern labelPattern = Pattern.compile("^LABELS_[A-Za-z0-9_]+$");
    
            for (Field field : fields) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/HttpHeadersTest.java

      }
    
      private static ImmutableSet<Field> httpHeadersFields() {
        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : HttpHeaders.class.getDeclaredFields()) {
          /*
           * Coverage mode generates synthetic fields.  If we ever add private
           * fields, they will cause similar problems, and we may want to switch
           * this check to isAccessible().
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          try {
            return AccessController.doPrivileged(
                (PrivilegedExceptionAction<Unsafe>)
                    () -> {
                      Class<Unsafe> k = Unsafe.class;
                      for (Field f : k.getDeclaredFields()) {
                        f.setAccessible(true);
                        Object x = f.get(null);
                        if (k.isInstance(x)) {
                          return k.cast(x);
                        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Test that constants are protected static final
        @Test
        public void test_constantsModifiers() throws Exception {
            Field[] fields = CorsHandler.class.getDeclaredFields();
            for (Field field : fields) {
                if (field.getName().startsWith("ACCESS_CONTROL_")) {
                    int modifiers = field.getModifiers();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/net/MediaTypeTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static FluentIterable<Field> getConstantFields() {
        return FluentIterable.from(asList(MediaType.class.getDeclaredFields()))
            .filter(
                field -> {
                  int modifiers = field.getModifiers();
                  return isPublic(modifiers)
                      && isStatic(modifiers)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/UnsignedBytes.java

            try {
              return doPrivileged(
                  (PrivilegedExceptionAction<Unsafe>)
                      () -> {
                        Class<Unsafe> k = Unsafe.class;
                        for (Field f : k.getDeclaredFields()) {
                          f.setAccessible(true);
                          Object x = f.get(null);
                          if (k.isInstance(x)) {
                            return k.cast(x);
                          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
Back to Top