- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getReceivers (0.37 sec)
-
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/data/Message.java
return message; } public void setMessage(String message) { this.message = message; } public List<String> getReceivers() { return receivers; } public void setReceivers(List<String> receivers) { this.receivers = receivers; } @Override public String toString() { return "Message{message='" + message + '\'' +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 670 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/CompositeCallInterceptor.java
@Override public Object intercept(Invocation invocation, String consumer) throws Throwable { return first.intercept(new Invocation() { @Override public Object getReceiver() { return invocation.getReceiver(); } @Override public int getArgsCount() { return invocation.getArgsCount(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 14:02:30 UTC 2024 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/ClassBoundCallInterceptor.java
if (!expectedReceiver.equals(invocation.getReceiver())) { return invocation.callOriginal(); } return interceptSafe(invocation, consumer); } /** * Same as the {@link AbstractCallInterceptor#intercept(Invocation, String)} but the {@code invocation.getReceiver()} is guaranteed * to be the {@code expectedReceiver} passed to the constructor. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 2.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/AbstractInvocation.java
protected final Object[] args; public AbstractInvocation(R receiver, Object[] args) { this.receiver = receiver; this.args = args; } @Override public Object getReceiver() { return receiver; } @Override public int getArgsCount() { return args.length; } @Override public Object getArgument(int pos) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:55 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/MethodHandleInvocation.java
unspreadArgsOffset = 0; } else { unspreadArgs = originalArgs; unspreadArgsOffset = 1; } } @Override public Object getReceiver() { return unwrap(originalArgs[0]); } @Override public int getArgsCount() { return unspreadArgs.length - unspreadArgsOffset; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 08 05:57:27 UTC 2022 - 2K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
checkIndirectOutputContains(objectExpr, mce); } } private void checkOutputContains(MethodCallExpression call) { ASTNode receiver = call.getReceiver(); if (receiver instanceof PropertyExpression) { if (((PropertyExpression) receiver).getPropertyAsString().equals("output")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/Invocation.java
* It can be the instance if the invocation targets the instance method or property. * * @return the receiver of the method * @see CallSite */ Object getReceiver(); /** * Returns a number of arguments supplied for this invocation. */ int getArgsCount(); /** * Returns an <b>unwrapped</b> argument at the position {@code pos}.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 08 05:57:27 UTC 2022 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java
int argsCount = invocation.getArgsCount(); if (1 <= argsCount && argsCount <= 3) { Optional<Process> result = tryCallExec(invocation.getReceiver(), invocation.getArgument(0), invocation.getOptionalArgument(1), invocation.getOptionalArgument(2), consumer); if (result.isPresent()) { return result.get(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 34.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java
@Override public Object intercept(Invocation invocation, String consumer) throws Throwable { Object receiver = invocation.getReceiver(); if (receiver instanceof Class) { CallInterceptor realConstructorInterceptor = interceptors.get(InterceptScope.constructorsOf((Class<?>) receiver));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java
} private static CodeBlock generateCodeFromInterceptorSignatureTree(SignatureTree tree) { CodeBlock.Builder result = CodeBlock.builder(); result.addStatement("$T receiver = invocation.getReceiver()", Object.class); new CodeGeneratingSignatureTreeVisitor(result).visit(tree, -1); result.addStatement("return invocation.callOriginal()"); return result.build(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 16.4K bytes - Viewed (0)