- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isSourceParameter (0.28 sec)
-
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/model/ParameterKindInfo.java
import java.lang.annotation.Annotation; public enum ParameterKindInfo { RECEIVER, METHOD_PARAMETER, VARARG_METHOD_PARAMETER, CALLER_CLASS_NAME, KOTLIN_DEFAULT_MASK, INJECT_VISITOR_CONTEXT; public boolean isSourceParameter() { return this == METHOD_PARAMETER || this == VARARG_METHOD_PARAMETER; } public static ParameterKindInfo fromAnnotation(Annotation annotation) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 09:48:42 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java
List<ParameterInfo> params = request.getInterceptedCallable().getParameters(); List<ParameterInfo> methodParameters = params.stream().filter(parameter -> parameter.getKind().isSourceParameter()).collect(Collectors.toList()); result.add("{@link $L#$L", className, callableNameForDocComment);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/MatchesSignatureGeneratingSignatureTreeVisitor.java
private static CodeBlock argClassesExpression(CallInterceptionRequest leafInCurrent) { return leafInCurrent.getInterceptedCallable().getParameters() .stream() .filter(it -> it.getKind().isSourceParameter()) .map(it -> CodeBlock.of("$T.class", TypeUtils.typeName(it.getParameterType()))) .collect(CodeBlock.joining(", ", "new Class<?>[] {", "}")); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java
} } private static String standardCallableDescriptor(CallableInfo callableInfo) { Type[] parameterTypes = callableInfo.getParameters().stream() .filter(it -> it.getKind().isSourceParameter()) .map(ParameterInfo::getParameterType).toArray(Type[]::new); Type returnType = callableInfo.getReturnType().getType(); return Type.getMethodDescriptor(returnType, parameterTypes); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:50:01 UTC 2024 - 27.4K bytes - Viewed (0)