Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getSuperClass (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/TestFailureMapper.java

         */
        public boolean supports(Class<?> cls) {
            if (getSupportedClassNames().contains(cls.getName())) {
                return true;
            }
    
            Class<?> superclass = cls.getSuperclass();
            if (superclass == null) {
                return false;
            } else {
                return supports(superclass);
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:48:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/DefaultTaskClassInfoStore.java

            IncrementalTaskActionFactory foundIncrementalTaskActionFactory = null;
            for (Class current = type; current != null; current = current.getSuperclass()) {
                for (Method method : current.getDeclaredMethods()) {
                    TaskActionFactory taskActionFactory = createTaskAction(type, method);
                    if (taskActionFactory == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:47 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    }
                    for (Class<?> interfaceType : c.getInterfaces()) {
                        queue.addFirst(interfaceType);
                    }
                    if (c.getSuperclass() != null) {
                        queue.addFirst(c.getSuperclass());
                    }
                }
                match.setAccessible(true);
                return Optional.of(match);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top