Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 35 of 35 for setAccessible (0.08 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                          () -> {
                            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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                          () -> {
                            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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                            pluginDescriptor,
                            "Unable to find field '" + resolution.getField() + "' annotated with @Resolution");
                }
                field.setAccessible(true);
                String pathScope = resolution.getPathScope();
                Object result = null;
                if (pathScope != null && !pathScope.isEmpty()) {
                    // resolution
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static int bucketsOf(HashMap<?, ?> hashMap) throws Exception {
        Field tableField = HashMap.class.getDeclaredField("table");
        tableField.setAccessible(true);
        Object[] table = (Object[]) tableField.get(hashMap);
        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static int bucketsOf(HashMap<?, ?> hashMap) throws Exception {
        Field tableField = HashMap.class.getDeclaredField("table");
        tableField.setAccessible(true);
        Object[] table = (Object[]) tableField.get(hashMap);
        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
Back to Top