- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 112 for methodName2 (0.17 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/StackTraceElementPlaceholder.java
declaringClass = ste.getClassName(); methodName = ste.getMethodName(); fileName = ste.getFileName(); lineNumber = ste.getLineNumber(); } public StackTraceElement toStackTraceElement() { if (JavaVersion.current().isJava9Compatible()) { return new StackTraceElement(classLoaderName, moduleName, moduleVersion, declaringClass, methodName, fileName, lineNumber); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/math/MathPreconditions.java
} static void checkNoOverflow(boolean condition, String methodName, int a, int b) { if (!condition) { throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")"); } } static void checkNoOverflow(boolean condition, String methodName, long a, long b) { if (!condition) { throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")"); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGenerator.java
public UpgradedProperty(String containingType, String propertyName, String methodName, String methodDescriptor, List<ReplacedAccessor> replacedAccessors) { this.containingType = containingType; this.propertyName = propertyName; this.methodName = methodName; this.methodDescriptor = methodDescriptor; this.replacedAccessors = replacedAccessors;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 7.5K bytes - Viewed (0) -
subprojects/core-api/src/testFixtures/groovy/org/gradle/api/tasks/util/AbstractTestForPatternSet.groovy
} void checkIncludesExcludes(PatternFilterable patternSet, String methodName, String propertyName) { assert patternSet."$methodName"(TEST_PATTERN_1, TEST_PATTERN_2).is(patternSet) assert patternSet."$propertyName" == [TEST_PATTERN_1, TEST_PATTERN_2] as Set assert patternSet."$methodName"(TEST_PATTERN_3).is(patternSet)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 06:53:27 UTC 2019 - 2.4K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/StackTraceFilterTest.groovy
spec.isSatisfiedBy(_) >> { StackTraceElement elem -> elem.methodName.size() > 10 } when: def filtered = filter.filter(trace) then: filtered.size() > 0 filtered.size() < trace.size() filtered == trace.findAll { StackTraceElement elem -> elem.methodName.size() > 10 } } def "filters stack trace in invocation order (bottom to top)"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
} String methodName = cells.get(0).getTextContent().trim(); Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) { throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/ScriptBlockBuilder.java
* Adds a method invocation statement to this block */ void methodInvocation(@Nullable String comment, String methodName, Object... methodArgs); /** * Adds a method invocation statement to this block */ void methodInvocation(@Nullable String comment, BuildScriptBuilder.Expression target, String methodName, Object... methodArgs); /** * Adds a statement to this block. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 04 03:37:40 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultTestLauncherTest.groovy
assert request.testClassNames == ["test"] assert request.testExecutionDescriptors == [] assert request.getInternalJvmTestRequests().collect {[it.className, it.methodName]} == [["test", null]] launcher.withJvmTestClasses("test2") launcher.withTests(Stub(TestOperationDescriptor)) assert request.testClassNames == ["test"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy
} then: assertTaskNotExecuted(":test") assertTaskExecuted(":secondTest") assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest") assertTestNotExecuted(className: "example.MyTest", methodName: "foo") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/integration/GradleApiParameterNamesTest.kt
) } private fun assertHasParameterNames(type: KClass<*>, methodName: String, parameterTypes: List<KClass<*>>, parameterNames: List<String>) { // java.lang.reflect val javaMethod = type.java.getDeclaredMethod( methodName, *parameterTypes.map { it.java }.toTypedArray() ) assertThat(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.1K bytes - Viewed (0)