Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for SuperClass (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            PropertyMetaData propertyA = property('a', classMetaData, comment: 'prop a')
            PropertyMetaData propertyB = property('b', classMetaData, comment: 'prop b')
            ClassDoc superDoc = classDoc('org.gradle.SuperClass')
            PropertyDoc propertyDocA = propertyDoc('a')
            PropertyDoc propertyDocC = propertyDoc('c')
    
            ClassDoc superType1 = classDoc("org.gradle.SuperType1")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

    import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    public class NeitherAbstractNorAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> {
      static class SuperClass {
        final List<Object> neitherOverriddenNorAnnotatedEvents = Lists.newArrayList();
        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
    - 2.5K bytes
    - Viewed (0)
Back to top