- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 851 for MethodA (2.46 sec)
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* <li>If the constructor or factory method used to construct instance takes a parameter that * {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail. * <li>If there is no visible constructor or visible static factory method declared by {@code * C}, instance methods are skipped for nulls test.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java
@Nullable private static Method findAgentMethod(String agentClassName, String methodName, Class<?>... args) { Class<?> agentClass = tryLoadAgentClass(agentClassName); if (agentClass == null) { return null; } try { Method method = agentClass.getMethod(methodName, args); method.setAccessible(true); return method; } catch (NoSuchMethodException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy
output.contains "hello" } @Issue("https://issues.gradle.org/browse/GRADLE-3079") def "methods defined in script are available to used script plugins"() { given: buildScript """ def addTask(project) { project.tasks.create("hello").doLast { println "hello from method" } } apply from: "script.gradle" """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:34 UTC 2024 - 9.9K bytes - Viewed (0) -
src/go/doc/reader.go
return } recvTypeName, imp := baseTypeName(fun.Recv.List[0].Type) if imp { // should not happen (incorrect AST); // don't show this method return } if typ := r.lookupType(recvTypeName); typ != nil { typ.methods.set(fun, r.mode&PreserveAST != 0) } // otherwise ignore the method // TODO(gri): There may be exported methods of non-exported types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java
} } // Query the declared methods of the meta class for (MetaMethod method : metaClass.getMethods()) { if (method.getName().equals("propertyMissing") && method.getParameterTypes().length == 1) { return method; } } return null; } @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 29.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
} assert defaultTask.doStuff() == 'method' assert javaTask.doStuff() == 'method' assert groovyTask.doStuff() == 'method' assert configurations.test.doStuff() == 'method' configurations.test.dependencies.each { assert it.doStuff() == 'method' } assert repositories.doStuff() == 'method' repositories {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
return getMethod(methodName, arguments).invoke(lockLikeObject, arguments); } private Method getMethod(String methodName, Object... arguments) throws Exception { METHODS: for (Method method : lockLikeObject.getClass().getMethods()) { Class<?>[] parameterTypes = method.getParameterTypes(); if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy
reason = "Exercises IP incompatible behavior: Groovy method inheritance" ) def "produces reasonable error message from a method inherited from a script containing only methods"() { createDirs("child") settingsFile << """ include 'child' """ buildFile << """ // Build script contains only methods def broken() { throw new RuntimeException('failure') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 17:01:37 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
} } } private void validateNonRuleMethod(Method method, RuleSourceValidationProblemCollector problems) { if (!Modifier.isPrivate(method.getModifiers()) && !Modifier.isStatic(method.getModifiers()) && !method.isSynthetic() && !GroovyMethods.isObjectMethod(method)) { problems.add(method, "A method that is not annotated as a rule must be private"); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
return getMethod(methodName, arguments).invoke(lockLikeObject, arguments); } private Method getMethod(String methodName, Object... arguments) throws Exception { METHODS: for (Method method : lockLikeObject.getClass().getMethods()) { Class<?>[] parameterTypes = method.getParameterTypes(); if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0)