Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for getSuperClass (0.68 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java

            }
        }
    
        private static void superClasses(Class<?> current, Collection<Class<?>> supers) {
            Class<?> superclass = current.getSuperclass();
            while (superclass != null) {
                supers.add(superclass);
                superclass = superclass.getSuperclass();
            }
        }
    
        private static void inspectClass(Class<?> type, MutableClassDetails classDetails) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

                if (scopeOf(type) != null) {
                    annotatedSuperTypes.add(type);
                    continue;
                }
    
                if (type.getSuperclass() != null) {
                    queue.add(type.getSuperclass());
                }
                for (Class<?> superInterface : type.getInterfaces()) {
                    if (seen.add(superInterface)) {
                        queue.add(superInterface);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/SerializedLambdaQueries.java

            if (!(lambda instanceof Serializable)) {
                return Optional.empty();
            }
            for (Class<?> lambdaClass = lambda.getClass(); lambdaClass != null; lambdaClass = lambdaClass.getSuperclass()) {
                try {
                    Method replaceMethod = lambdaClass.getDeclaredMethod("writeReplace");
                    replaceMethod.setAccessible(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 20:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

                return valueDescription;
            }
            return type + "#toString() returned null";
        }
    
        public static String description(ModelType<?> type) {
            if (type.getRawClass().getSuperclass() == null && type.getRawClass().getInterfaces().length == 0) {
                return type.toString();
            }
            return type + " (or assignment compatible type thereof)";
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java

                        return;
                    default:
                        throw new AssertionError("Unexpected result: " + result);
                }
    
                Class<? super T> superclass = type.getSuperclass();
                if (superclass != null) {
                    queue.add(superclass);
                }
                for (Class<?> iface : type.getInterfaces()) {
                    if (seenInterfaces.add(iface)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java

        }
    
        private void visitFields(Class<?> type, ValidationProblemCollector collector) {
            if (type.equals(Object.class)) {
                return;
            }
            if (type.getSuperclass() != null) {
                visitFields(type.getSuperclass(), collector);
            }
    
            // Disallow instance fields. This doesn't guarantee that the object is immutable, just makes it less likely
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java

                    continue;
                }
                // Do not reprocess
                if (!seenTypes.add(type)) {
                    continue;
                }
    
                Class<?> superclass = rawClass.getSuperclass();
                if (superclass != null) {
                    ModelType<?> superType = ModelType.of(superclass);
                    if (!seenTypes.contains(superType)) {
                        queue.add(superType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassIterator.java

        }
    
        @Override
        public Class<?> next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final Class<?> result = clazz;
            clazz = clazz.getSuperclass();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/RelevantMethods.java

                this.type = type;
            }
    
            public RelevantMethods build() {
                for (Class<?> clazz = type; clazz != Object.class && clazz != DefaultServiceRegistry.class; clazz = clazz.getSuperclass()) {
                    for (Method method : clazz.getDeclaredMethods()) {
                        if (Modifier.isStatic(method.getModifiers())) {
                            continue;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

            }
            doBindImplicit(key, binding);
            Class<?> cls = key.getRawType().getSuperclass();
            while (cls != Object.class && cls != null) {
                key = Key.of(cls, key.getQualifier());
                doBindImplicit(key, binding);
                cls = cls.getSuperclass();
            }
            current.remove(key);
            return this;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top