mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup: use generic type
GitOrigin-RevId: 14f2edb71f92ede14856bba639a10682fc98ef89
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a52b8220b
commit
ed037f6922
@@ -25,7 +25,7 @@ public class SyntheticMethodBreakpoint extends WildcardMethodBreakpoint {
|
||||
}
|
||||
|
||||
@Override
|
||||
public StreamEx matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess) {
|
||||
public StreamEx<Method> matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess) {
|
||||
String methodName = getMethodName();
|
||||
return methods
|
||||
.filter(m -> Comparing.equal(methodName, m.name()) && (mySignature == null || Comparing.equal(mySignature, m.signature())))
|
||||
|
||||
@@ -520,7 +520,7 @@ public class MethodBreakpoint extends BreakpointWithHighlighter<JavaMethodBreakp
|
||||
}
|
||||
|
||||
@Override
|
||||
public StreamEx matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess) {
|
||||
public StreamEx<Method> matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess) {
|
||||
try {
|
||||
String methodName = getMethodName();
|
||||
String signature = mySignature != null ? mySignature.getName(debugProcess) : null;
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.debugger.ui.breakpoints;
|
||||
|
||||
import com.intellij.debugger.engine.DebugProcessImpl;
|
||||
@@ -20,7 +20,7 @@ public interface MethodBreakpointBase extends FilteredRequestor {
|
||||
boolean isWatchEntry();
|
||||
boolean isWatchExit();
|
||||
|
||||
StreamEx matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess);
|
||||
StreamEx<Method> matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess);
|
||||
|
||||
void disableEmulation();
|
||||
|
||||
|
||||
+1
-1
@@ -230,7 +230,7 @@ public class WildcardMethodBreakpoint extends Breakpoint<JavaMethodBreakpointPro
|
||||
}
|
||||
|
||||
@Override
|
||||
public StreamEx matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess) {
|
||||
public StreamEx<Method> matchingMethods(StreamEx<Method> methods, DebugProcessImpl debugProcess) {
|
||||
return methods.filter(this::matchesMethod);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user