- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for paramTypes (0.16 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaMethod.java
public JavaMethod(Class<T> target, Class<R> returnType, String name, boolean allowStatic, Class<?>... paramTypes) { this(returnType, findMethod(target, name, allowStatic, paramTypes)); } public JavaMethod(Class<T> target, Class<R> returnType, String name, Class<?>... paramTypes) { this(target, returnType, name, false, paramTypes); } public JavaMethod(Class<R> returnType, Method method) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 20 11:07:38 UTC 2023 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
return new String(buf); } private static String getSignature(final Class<?>... paramTypes) { if (paramTypes == null || paramTypes.length == 0) { return ""; } final StringBuilder buf = new StringBuilder(100); for (final Class<?> type : paramTypes) { if (type != null) { buf.append(type.getName()); } else {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/method/WeaklyTypeReferencingMethod.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedCollectionProxyClassGenerator.java
Type[] paramTypes = new Type[constructor.getParameterTypes().length]; for (int i = 0; i < paramTypes.length; i++) { paramTypes[i] = Type.getType(constructor.getParameterTypes()[i]); } String methodDescriptor = Type.getMethodDescriptor(Type.VOID_TYPE, paramTypes);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
def method(Map<String, ?> args, String name, ClassMetaData classMetaData) { MethodMetaData method = Mock() List<String> paramTypes = args.paramTypes ?: [] _ * method.name >> name _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})" _ * method.parameters >> paramTypes.collect { def param = new ParameterMetaData("p"); param.type = new TypeMetaData(it) return param
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java
int paramCount = decoder.readSmallInt(); Class<?>[] paramTypes = new Class<?>[paramCount]; for (int i = 0; i < paramTypes.length; i++) { paramTypes[i] = readType(); } Method method = declaringClass.getDeclaredMethod(methodName, paramTypes);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
*/ <T> T newInstance(Object... args); /** * 引数の型に応じた{@link ConstructorDesc}を返します。 * * @param paramTypes * コンストラクタに渡す引数型の並び * @return 引数の型に応じた{@link ConstructorDesc} */ ConstructorDesc getConstructorDesc(Class<?>... paramTypes); /** * 引数に適合する{@link ConstructorDesc}を返します。 * * @param args * コンストラクタに渡す引数の並び
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
def method(Map<String, ?> args, String name, ClassMetaData classMetaData) { MethodMetaData method = Mock() List<String> paramTypes = args.paramTypes ?: [] _ * method.name >> name _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})" _ * method.parameters >> paramTypes.collect { def param = new ParameterMetaData("p"); param.type = new TypeMetaData(it) return param
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt
val paramTypes: Array<Type> = getArgumentTypes(signature) // Treat all parameters equally, regardless of whether they are implicit captured parameters or the lambda signature ones. // If any of them is of an unsupported type, a build that runs from the serialized state won't be able to provide an instance anyway. paramTypes.forEach { paramType ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
method.addParameter('param1', new TypeMetaData('ParamType')) method.addParameter('param2', new TypeMetaData('ParamType2')) expect: method.signature == 'ReturnType method(ParamType param1, ParamType2 param2)' method.overrideSignature == 'method(ParamType, ParamType2)' } def formatsOverrideSignatureUsingRawParameterTypes() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0)