-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filtering unqualified Stacktraces #115
Using method signature to filter unqualified stacktraces generated in java stacktrace console. + Includes code review changes Fixes #115
- Loading branch information
Showing
2 changed files
with
84 additions
and
10 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
org.eclipse.jdt.debug.tests/testfiles/AmbiguityTest/bin/a/Sample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 IBM Corporation. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package a; | ||
import java.net.URL; | ||
/** | ||
* Test class | ||
*/ | ||
public class Sample { | ||
public static void main(String[] args) { | ||
System.out.println("Main Method"); | ||
test(); | ||
} | ||
public static void test() { | ||
System.out.println("Testing.."); | ||
} | ||
public void testMethod() { | ||
System.out.println("Random"); | ||
} | ||
public static void tes3(int x) { | ||
System.out.println("Expected_Single_Parameter"); | ||
} | ||
public void tes2() { | ||
|
||
} | ||
public static void tesComplex(String[] x, java.net.URL[] sx) { | ||
System.out.println("Expected_One_normal_&_One_fully_qualified"); | ||
} | ||
public void testBlank() { | ||
System.out.println("Expected_No_Signature"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters