- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for getDeclaringClass (2.25 sec)
-
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();
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
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()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K 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); } } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
rootLocaleFormat( "%s.%s() must return an array of %s.", annotationClass, propertyName, annotationClass.getDeclaringClass())) .that(returnType.getComponentType()) .isEqualTo(annotationClass.getDeclaringClass()); } } // This is public so that tests for Feature enums we haven't yet imagined // can reuse it.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
} /** * Test getDeclaringClass method */ public void test_getDeclaringClass() { assertEquals(CrawlerStatus.class, CrawlerStatus.INITIALIZING.getDeclaringClass()); assertEquals(CrawlerStatus.class, CrawlerStatus.RUNNING.getDeclaringClass()); assertEquals(CrawlerStatus.class, CrawlerStatus.DONE.getDeclaringClass()); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} } private static boolean nullabilityOf(CtField field) { NullableFieldVisitor visitor = new NullableFieldVisitor(field.getName()) new ClassReader(byteCodeFrom(field.getDeclaringClass())).accept(visitor, 0) return visitor.nullable } static class NullableFieldVisitor extends ClassVisitor { boolean nullable = false private final String fieldNameRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 15.4K 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",
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
return current.getName().endsWith("Test") || current.getName().endsWith("Spec"); } @Override protected boolean shouldVisitMethod(MethodNode node) { return isIntegrationTest(node.getDeclaringClass()); } @Override public void visitMethodCallExpression(MethodCallExpression mce) { if (AstUtil.isMethodNamed(mce, "contains")) { checkOutputContains(mce);
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K 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() {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K 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",
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0)