- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 292 for GetMethod (0.29 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
executor.execute(runnable); } }; Future<?> future = newFutureInstance(); future .getClass() .getMethod( "setFuture", future.getClass().getClassLoader().loadClass(ListenableFuture.class.getName())) .invoke(future, badFuture);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/FormattingValidationProblemCollectorTest.groovy
} def "formats message with a single method problem"() { given: def collector = new FormattingValidationProblemCollector("<thing>", ModelType.of(String)) collector.add(String.class.getMethod("indexOf", String), "rule", "is not annotated with anything.") expect: collector.format() == '''Type java.lang.String is not a valid <thing>:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/AbstractServiceMethod.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt
val loadedClass = loadClass() val method = loadedClass.getMethod(methodName) val instance = loadedClass.getDeclaredConstructor().newInstance() return method.invoke(instance) } fun callStatic(methodName: String): Any { val loadedClass = loadClass() val method = loadedClass.getMethod(methodName) return method.invoke(loadedClass) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 12K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/RespondWithPathToParent.groovy
RespondWithPathToParent(String pathToParent) { this.pathToParent = pathToParent } @Override Object respond(IMockInvocation invocation) { if (invocation.getMethod().name == "getPathToParent") { return pathToParent } return EmptyOrDummyResponse.INSTANCE.respond(invocation) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java
*/ public class AnnotationUtilTest { /** * @throws Exception */ @Hoge(bbb = "3") @Test public void testGetProperties() throws Exception { final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); final Annotation anno = m.getAnnotation(Hoge.class); final Map<String, Object> props = AnnotationUtil.getProperties(anno); assertThat((String) props.get("aaa"), is("123"));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/api/internal/GeneratedSubclasses.java
private GeneratedSubclasses() { } public static Class<?> unpack(Class<?> type) { if (GeneratedSubclass.class.isAssignableFrom(type)) { try { return (Class<?>) type.getMethod("generatedFrom").invoke(null); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } return type; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MethodRuleDefinition.java
import javax.annotation.Nullable; import java.lang.annotation.Annotation; import java.util.List; public interface MethodRuleDefinition<R, S> { WeaklyTypeReferencingMethod<?, R> getMethod(); String getMethodName(); boolean isAnnotationPresent(Class<? extends Annotation> annotationType); @Nullable <A extends Annotation> A getAnnotation(Class<A> annotationType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
then: generatedType.getMethod("getValues").returnType == List generatedType.getMethod("getValues").genericReturnType.actualTypeArguments == [String] generatedType.getMethod("getOptional").returnType == Optional generatedType.getMethod("getOptional").genericReturnType.actualTypeArguments == [Boolean]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceMethod.java
Class<?> getOwner(); String getName(); Type getServiceType(); Type[] getParameterTypes(); @Nullable Object invoke(Object target, @Nullable Object... args); Method getMethod();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 17 11:08:22 UTC 2023 - 997 bytes - Viewed (0)