- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 312 for subclass (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.AnnotatedNotAbstractInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List; public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> notOverriddenInSubclassEvents = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List; public class NeitherAbstractNorAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> neitherOverriddenNorAnnotatedEvents = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
} private Type resolveTypeArgsForSubclass(Class<?> subclass) { // If both runtimeType and subclass are not parameterized, return subclass // If runtimeType is not parameterized but subclass is, process subclass as a parameterized type // If runtimeType is a raw type (i.e. is a parameterized type specified as a Class<?>), we // return subclass as a raw type if (runtimeType instanceof Class
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.AnnotatedNotAbstractInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List; public class AnnotatedNotAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> notOverriddenInSubclassEvents = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List; public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { abstract static class SuperClass { public abstract void overriddenInSubclassNowhereAnnotated(Object o);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
public class UserRoleLoginExceptionTest extends UnitFessTestCase { // Mock subclass of RootAction for testing generic type safety private static class TestAction extends RootAction { // Test subclass } // Another mock subclass for testing private static class AdminAction extends RootAction { // Test admin subclass } @Test public void test_constructor() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
// The raw class isn't even a subclass. } } if (!spec.suppressGetSupertype()) { try { assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType())) .isNotEqualTo(returnType); } catch (IllegalArgumentException notSubtype2) { // The raw class isn't even a subclass. } } return null; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public void testSubtypeOfInnerClass_nonStaticAnonymousClass() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; Class<?> subclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/ReplaceByKey.java
/** * An abstract common class to handle replacing key and values under a parent object * This class can be subclass to transform the * "getKeyToFind": {"requiredChildKey": "foo"} * into * "getKeyToFind": {"newChildKey": "getReplacementNode"} * a getKeyToFind and transformTest would have to be implemented in a subclass */ public abstract class ReplaceByKey implements RestTestTransformByParentObject {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public void testSubtypeOfInnerClass_nonStaticAnonymousClass() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; Class<?> subclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0)