- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for superclasses (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
import java.util.Map; import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
import java.util.Map; import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
when: def m = method.overriddenMethod then: m == overriddenMethod _ * owner.superClass >> superClassMetaData _ * owner.interfaces >> [] 1 * superClassMetaData.findDeclaredMethod('method()') >> null _ * superClassMetaData.superClass >> ancestorClassMetaData _ * superClassMetaData.interfaces >> []
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
classes[it.simpleName] = instanceScopedPool.get(it.name) } classes['OldBase'].superclass = classes['OldSuperInternal'] classes['NewBase'].superclass = classes['NewSuperInternal'] classes['OldSub'].superclass = classes['OldBase'] classes['NewSub'].superclass = classes['NewBase'] apiClass.compatibilityChanges >> [JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS] }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy
return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty } @Override protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) { return acceptOrReject(apiClass.superclass, Violation.notBinaryCompatible(apiClass.superclass)) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java
if (superClassName != null) { // Assume this is a class and so has implemented all properties and methods somewhere in the superclass hierarchy ClassDoc superClass = model.getClassDoc(superClassName); classDoc.setSuperClass(superClass); superClass.addSubClass(classDoc); } List<String> interfaceNames = classMetaData.getInterfaceNames();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
MethodDoc methodAOverridden = methodDoc('a') MethodDoc methodC = methodDoc('c') MethodDoc methodD = methodDoc('d') MethodDoc methodE = methodDoc('e') ClassDoc superClass = classDoc('org.gradle.SuperClass') ClassDoc superType1 = classDoc("org.gradle.SuperType1") ClassDoc superType2 = classDoc("org.gradle.SuperType2") def content = parse(''' <section>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java
import java.util.Collection; import java.util.Map; /** * A dummy superclass to support GWT serialization of the element types of an {@link * ArrayListMultimap}. The GWT supersource for this class contains a field for each type. * * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same * approach but with a subclass rather than a superclass. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 24 18:57:48 UTC 2019 - 1.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
} protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) { Set<CtMethod> oldMethods = collectAllPublicApiMethods(oldClass.superclass) Set<CtMethod> newMethods = collectAllPublicApiMethods(newClass.superclass) oldMethods.removeAll(newMethods) if (oldMethods.isEmpty()) { return null }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { abstract static class SuperClass { public abstract void overriddenInSubclassNowhereAnnotated(Object o); public abstract void overriddenAndAnnotatedInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenInSubclassNowhereAnnotatedEvents = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2K bytes - Viewed (0)