- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for markCurrentCallAsIntercepted (0.25 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultInstrumentedGroovyCallsTrackerTest.groovy
"is still deeper in the stack" | 1 } def 'throws an exception on instance.markCurrentCallAsIntercepted if its #part does not match'() { given: def entryFoo = instance.enterCall("FooCallerClass", "foo", INVOKE_METHOD) when: instance.markCurrentCallAsIntercepted(name, kind) then: thrown(IllegalStateException) instance.leaveCall(entryFoo)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:59 UTC 2023 - 4.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/PerThreadInstrumentedGroovyCallsTracker.java
return perThreadImplementation.get().findCallerForCurrentCallIfNotIntercepted(callableName, kind); } @Override public void markCurrentCallAsIntercepted(String callableName, CallKind kind) { perThreadImplementation.get().markCurrentCallAsIntercepted(callableName, kind); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:59 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentedGroovyCallsTracker.java
* matches a method or property and has not been intercepted yet. <p> * * If it satisfies, then the third party may mark the call as intercepted with {@link InstrumentedGroovyCallsTracker#markCurrentCallAsIntercepted}, so that other * parties will not be able to match the call. */ @NonNullApi public interface InstrumentedGroovyCallsTracker { /** * Registers the current call in the instrumented calls stack.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:59 UTC 2023 - 3.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultInstrumentedGroovyCallsTracker.java
} if (top.isMatchedAtDispatchSite()) { return null; } return top.getCallerClassName(); } @Override public void markCurrentCallAsIntercepted(String callableName, CallKind kind) { String result = findCallerForCurrentCallIfNotIntercepted(callableName, kind); if (result == null) { throw new IllegalStateException(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 4.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java
throw new IllegalStateException("this is an unreachable statement, the call above always throws an exception"); } finally { if (!invokedOriginal.invoked) { callsTracker.markCurrentCallAsIntercepted(name, kind); } } } private static Invocation callOriginalReportingInvocation(Object receiver, Object[] arguments, Callable<Object> doCallOriginal, Runnable reportCallOriginal) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 21.8K bytes - Viewed (0)