- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getReceiver (0.25 sec)
-
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) -
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/data/Message.java
public String getMessage() { 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() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 670 bytes - Viewed (0)