From 0bc03603de2d8e4269ae1768b7fc5405fa75b576 Mon Sep 17 00:00:00 2001 From: Carsten Hammer Date: Sat, 28 Sep 2024 14:21:18 +0200 Subject: [PATCH] add javadoc --- .../jdt/internal/common/LambdaASTVisitor.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/common/LambdaASTVisitor.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/common/LambdaASTVisitor.java index 16bca976e74..9d6a8ba2862 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/common/LambdaASTVisitor.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/common/LambdaASTVisitor.java @@ -18,18 +18,19 @@ import java.util.function.BiPredicate; import org.eclipse.jdt.core.dom.*; + import org.eclipse.jdt.internal.corext.dom.ASTNodes; /** * * @author chammer * - * @param - * @param - * @param + * @param - type that extends HelpVisitorProvider that provides {@code HelperVisitor} + * @param - type that HelperVisitor uses as map key type + * @param - type that HelperVisitor uses as map value type * @since 1.15 */ -@SuppressWarnings({ "unchecked", "restriction" }) +@SuppressWarnings({ "unchecked" }) public class LambdaASTVisitor, V, T> extends ASTVisitor { /** * @@ -37,7 +38,7 @@ public class LambdaASTVisitor, V, T> exte private final HelperVisitor helperVisitor; /** - * @param helperVisitor + * @param helperVisitor - HelperVisitor */ LambdaASTVisitor(HelperVisitor helperVisitor) { super(false); @@ -520,7 +521,7 @@ public boolean visit(MethodInvocation node) { } Class typeof=(Class) map.get(HelperVisitor.TYPEOF); String[] parameterTypesQualifiedNames=(String[]) map.get(HelperVisitor.PARAMTYPENAMES); - + if(typeof!=null) { if(parameterTypesQualifiedNames==null) { if (ASTNodes.usesGivenSignature(node, typeof.getCanonicalName(), data)) {