- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getDeclaredFields (0.21 sec)
-
android/guava/src/com/google/common/cache/Striped64.java
@Override public sun.misc.Unsafe run() throws Exception { Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; for (java.lang.reflect.Field f : k.getDeclaredFields()) { f.setAccessible(true); Object x = f.get(null); if (k.isInstance(x)) return k.cast(x); } throw new NoSuchFieldError("the Unsafe");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
} } // Visible for other tests to use static ImmutableSet<Field> relevantFields(Class<?> cls) { ImmutableSet.Builder<Field> builder = ImmutableSet.builder(); for (Field field : cls.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(). */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Jan 17 17:41:51 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HttpHeadersTest.java
} } // Visible for other tests to use static ImmutableSet<Field> relevantFields(Class<?> cls) { ImmutableSet.Builder<Field> builder = ImmutableSet.builder(); for (Field field : cls.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(). */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 22 21:08:08 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
@Override public sun.misc.Unsafe run() throws Exception { Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; for (java.lang.reflect.Field f : k.getDeclaredFields()) { f.setAccessible(true); Object x = f.get(null); if (k.isInstance(x)) { return k.cast(x); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/Striped64.java
@Override public sun.misc.Unsafe run() throws Exception { Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; for (java.lang.reflect.Field f : k.getDeclaredFields()) { f.setAccessible(true); Object x = f.get(null); if (k.isInstance(x)) return k.cast(x); } throw new NoSuchFieldError("the Unsafe");
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
@Override public sun.misc.Unsafe run() throws Exception { Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; for (java.lang.reflect.Field f : k.getDeclaredFields()) { f.setAccessible(true); Object x = f.get(null); if (k.isInstance(x)) return k.cast(x); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
if (cls.isArray()) { evaluateArray(target); } else if (isQualifiedForInterpolation(cls)) { Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields()); for (Field field : fields) { Class<?> type = field.getType(); if (isQualifiedForInterpolation(field, type)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Striped64.java
@Override public sun.misc.Unsafe run() throws Exception { Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; for (java.lang.reflect.Field f : k.getDeclaredFields()) { f.setAccessible(true); Object x = f.get(null); if (k.isInstance(x)) return k.cast(x); } throw new NoSuchFieldError("the Unsafe");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
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); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* クラスまたはインターフェースに定義されたフィールドを追加します。 * * @param clazz * 対象のクラスまたはインターフェース */ protected void addFieldDescs(final Class<?> clazz) { for (final Field field : clazz.getDeclaredFields()) { final String fname = field.getName(); if (fieldDescCache.containsKey(fname)) { continue; } setFieldAccessible(field);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 26.1K bytes - Viewed (0)