- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for getDeclaringClass (0.24 sec)
-
android/guava/src/com/google/common/reflect/Invokable.java
@Override public final Class<? super T> getDeclaringClass() { return (Class<? super T>) member.getDeclaringClass(); } /** Returns the type of {@code T}. */ // Overridden in TypeToken#method() and TypeToken#constructor() @SuppressWarnings("unchecked") // The declaring class is T. public TypeToken<T> getOwnerType() { return (TypeToken<T>) TypeToken.of(getDeclaringClass()); } @CheckForNull
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e); } catch (final IllegalArgumentException e) { final Class<?> clazz = field.getDeclaringClass(); final Class<?> fieldClass = field.getType(); final Class<?> valueClass = value == null ? null : value.getClass(); final Class<?> targetClass = target == null ? field.getDeclaringClass() : target.getClass();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
private boolean isExceptPrivateAccessible(Method method) { // to avoid warning of JDK-internal access at Java11 // Lasta Di does not need private access to the classes final String fqcn = method.getDeclaringClass().getName(); return fqcn.startsWith("java.") || fqcn.startsWith("jdk.") || fqcn.startsWith("com.sun.") || fqcn.startsWith("sun."); } @Override public Field getField() {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ConstructorUtil.java
throw new InstantiationRuntimeException(constructor.getDeclaringClass(), e); } catch (final IllegalAccessException e) { throw new IllegalAccessRuntimeException(constructor.getDeclaringClass(), e); } catch (final InvocationTargetException e) { throw new InvocationTargetRuntimeException(constructor.getDeclaringClass(), e); } } /** * <code>public</code>かどうかを返します。
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* * @since 12.0 */ @GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name()); } catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 26 11:56:44 GMT 2023 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null. */ public void testConstructor(Constructor<?> ctor) { Class<?> declaringClass = ctor.getDeclaringClass(); checkArgument( Modifier.isStatic(declaringClass.getModifiers()) || declaringClass.getEnclosingClass() == null, "Cannot test constructor of non-static inner class: %s",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Enums.java
* * @since 12.0 */ @GwtIncompatible // reflection public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name()); } catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 26 11:56:44 GMT 2023 - 5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
*/ @JsMethod @SuppressWarnings("unusable-by-js") private static native <E extends Enum<E>> @Nullable Class<E> getDeclaringClassOrNullForJ2cl( E e) /*-{ return ******@****.***::getDeclaringClass()(); }-*/; static int reduceIterationsIfGwt(int iterations) { return iterations / 10; } static int reduceExponentIfGwt(int exponent) { return exponent / 2; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 29 18:16:45 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null. */ public void testConstructor(Constructor<?> ctor) { Class<?> declaringClass = ctor.getDeclaringClass(); checkArgument( Modifier.isStatic(declaringClass.getModifiers()) || declaringClass.getEnclosingClass() == null, "Cannot test constructor of non-static inner class: %s",
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0)