- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,295 for METHOD (0.1 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt
assertHasAccepted( "Method com.example.Task.getSourceCompatibility(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method return type has changed", "Method is now abstract"), "Method com.example.Task.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed") ) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 20.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskMutator.java
break; } } if (method == null) { return; } throw new IllegalStateException(format(method)); } private String format(String method) { return String.format("Cannot call %s on %s after task has started execution.", method, task); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 2.8K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
.collect(toList()); List<Method> factoryMethods = Arrays.stream(cls.getDeclaredMethods()) .filter(method -> method.getReturnType() == cls && Modifier.isStatic(method.getModifiers())) .collect(toList()); List<Method> injectFactoryMethods = factoryMethods.stream() .filter(method -> method.isAnnotationPresent(Inject.class)) .collect(toList());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
* @param method * メソッド。{@literal null}であってはいけません */ public MethodDescImpl(final BeanDesc beanDesc, final Method method) { assertArgumentNotNull("beanDesc", beanDesc); assertArgumentNotNull("method", method); this.beanDesc = beanDesc; this.method = method; methodName = method.getName();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy
def "serializes a method invocation with parameters"() { def method = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE) def invocation = new MethodInvocation(method, [1, 2] as Object[]) when: def serialized = serialize(invocation) def result = deserialize(serialized) then: result.method == method result.arguments == [1, 2] as Object[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
final Method method; MethodInvokable(Method method) { super(method); this.method = method; } @Override @CheckForNull final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args) throws InvocationTargetException, IllegalAccessException { return method.invoke(receiver, args); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionReader.java
} } return methodOptionElements; } private Option findOption(Method method) { Option option = method.getAnnotation(Option.class); if (option != null) { if (Modifier.isStatic(method.getModifiers())) { throw new OptionValidationException(String.format("@Option on static method '%s' not supported in class '%s'.",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 06 09:51:34 UTC 2023 - 10K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
public enum $TEST_INTERFACE_SIMPLE_NAME { field; void method() { } } """ : apiElement.startsWith('annotation') ? """ public @interface $TEST_INTERFACE_SIMPLE_NAME { String method(); } """ : apiElement == 'interface' ? """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/RuleSourceBackedRuleActionTest.groovy
new RuleSourceWithDifferentSubjectType() | [ "Method theRule(java.util.List<java.lang.Integer>) is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ] new RuleSourceWithNoSubject() | [ "Method theRule() is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java
} finally { method.releaseConnection(); } return null; } // GetMethod is used in a private method, so doesn't belong to the API private int doGet(GetMethod method) throws Exception { int statusCode = client.executeMethod(method); if (statusCode != HttpStatus.SC_OK) { System.err.println("Method failed: " + method.getStatusLine()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0)