Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for instanceMethod (0.32 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/SignatureTree.java

    import static org.gradle.internal.instrumentation.model.CallableKindInfo.GROOVY_PROPERTY_SETTER;
    import static org.gradle.internal.instrumentation.model.CallableKindInfo.INSTANCE_METHOD;
    import static org.gradle.internal.instrumentation.model.CallableKindInfo.STATIC_METHOD;
    import static org.gradle.internal.instrumentation.processor.codegen.groovy.ParameterMatchEntry.Kind.PARAMETER;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

        }
    
        def "collects instance methods that are not getters or setters"() {
            expect:
            def details = ClassInspector.inspect(SomeClass)
    
            details.instanceMethods.find { it.name == 'prop' }
            !details.instanceMethods.contains(details.getProperty('prop').getters[0])
        }
    
        def "ignores overridden property getters and setters"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesReader.java

        }
    
        private static boolean shouldPostProcess(CallInterceptionRequest request) {
            CallableKindInfo kind = request.getInterceptedCallable().getKind();
            return kind == CallableKindInfo.INSTANCE_METHOD || kind == CallableKindInfo.GROOVY_PROPERTY_GETTER || kind == CallableKindInfo.GROOVY_PROPERTY_SETTER;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

            CallableKindInfo kind = interceptedCallable.getKind();
            return kind == CallableKindInfo.STATIC_METHOD ? "static method" :
                kind == CallableKindInfo.INSTANCE_METHOD ? "instance method" :
                    kind == CallableKindInfo.AFTER_CONSTRUCTOR ? "constructor (getting notified after it)" :
                        kind == CallableKindInfo.GROOVY_PROPERTY_GETTER ? "Groovy property getter" :
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

    import static org.gradle.internal.instrumentation.model.CallableKindInfo.GROOVY_PROPERTY_GETTER;
    import static org.gradle.internal.instrumentation.model.CallableKindInfo.INSTANCE_METHOD;
    import static org.gradle.internal.instrumentation.model.ParameterKindInfo.METHOD_PARAMETER;
    import static org.gradle.internal.instrumentation.model.ParameterKindInfo.RECEIVER;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

            if (callableKinds.contains(CallableKindInfo.STATIC_METHOD) || callableKinds.contains(CallableKindInfo.INSTANCE_METHOD)) {
                scopeExpressions.add(CodeBlock.of("$T.methodsNamed($S)", INTERCEPTED_SCOPE_CLASS, name));
            }
            return scopeExpressions.stream().distinct().collect(CodeBlock.joining(", "));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top