Commit Graph

32 Commits

Author SHA1 Message Date
thibaultfaure 34af11b770 BAEL-5461 code for the Unit Test Private Methods in Java article (#12240)
Co-authored-by: thibault.faure <thibault.faure@mimacom.com>
2022-06-09 16:19:24 +02:00
Asjad J d8adffdbb2 Updated README.md
added link back to the article: https://www.baeldung.com/jdk-com-sun-proxy
2022-05-23 17:15:39 +05:00
515882294 f05171163b BAEL-4463: change method name 2022-05-18 01:51:16 +08:00
515882294 9a1d66f852 BAEL-4463: What is com.sun.proxy.$Proxy 2022-05-08 16:00:41 +08:00
Krzysiek 5f4543c31d JAVA-9486: Use guava.version defined in the parent pom 2022-01-17 20:18:43 +01:00
Loredana Crusoveanu 4054e8f860 Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
johnA1331 afb8a8fb9c Update README.md 2021-11-24 14:15:26 +08:00
Kai Yuan 871b044ea5 add invoking static methods (#11439) 2021-11-21 13:25:21 -06:00
Krzysiek 46df55b61e JAVA-7783: POM properties cleanup 2021-11-16 15:10:49 +01:00
mikr e3aebd9c10 Merge branch 'master' of https://github.com/Maiklins/tutorials into JAVA-7244-Review_log_statements_for_projects
 Conflicts:
	algorithms-searching/src/test/java/com/baeldung/algorithms/quadtree/QuadTreeSearchUnitTest.java
2021-10-31 20:54:51 +01:00
freelansam a5bcd85b16 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
mikr 72f31df764 JAVA-7244 Review log statements for projects 2021-09-18 00:37:04 +02:00
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
johnA1331 f894b98103 Update README.md 2021-06-03 22:30:13 +08:00
Jonathan Cook 1c9bccca01 Merge pull request #10743 from tirumani03/dev/tirumani03/findingClassesInPackage
[BAEL-4279] Finding All Classes in a Java Package
2021-05-30 15:54:45 +02:00
Sarath 29552100ca [BAEL-4279] Formatting 2021-05-13 13:11:38 +05:30
Sarath 4bc42f14a9 [BAEL-4279] Finding All Classes in a Java Package 2021-05-08 02:29:00 +05:30
sampadawagde 5a33b2c3ba JAVA-5223: clean up 2021-05-07 22:56:08 +05:30
sampadawagde db5991efb9 JAVA-5223: Fix formatting of POMs (Part 5) 2021-05-06 22:41:38 +05:30
johnA1331 8c86197317 Update README.md 2021-03-10 21:14:40 +08:00
Bradley M Handy 6a117f9f3a BAEL-4384: Invoke a private method using reflection (#10470)
* - initial commit of sample code

* BAEL-4209:  Moving the localized exception module into core-java-exceptions-3.

* BAEL-4209: Removed the old files for localizing exception messages.

* Added test case to explain invoking a private method.

* Made the code example more useful so we don't look like we're hacking another framework.

* Forgot to make the test class and method package-private.

* Incorporated Spring ReflectionTestUtils into the code sample.

* Updated the Spring Test version to match the article.
2021-03-03 19:44:45 +00:00
Kent@lhind.hp.g5 f5bb8ab648 improvement 2021-01-31 18:54:34 +01:00
johnA1331 9d8d8a6587 Update README.md 2020-10-07 17:18:48 +08:00
Umang Budhwar d48defc3e2 BAEL-4531 (#10093)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.
2020-10-02 21:58:12 -05:00
johnA1331 bea5c242af Update README.md 2020-09-24 03:39:09 +08:00
Umang Budhwar f134833952 Refactored code to use generic methods and use streams. (#10052) 2020-09-19 09:19:13 -07:00
johnA1331 a2ad623ba5 Update README.md 2020-08-20 17:58:14 +08:00
Umang Budhwar a27969cc70 Refactored code to use existing variables. 2020-08-03 21:01:57 +05:30
Umang Budhwar 7ec5e6824e Refactored code to use short primitive instead of Short wrapper class. 2020-08-02 22:36:02 +05:30
Umang Budhwar 0a2f6a4615 Added code to set a field using Reflection. 2020-07-24 20:13:23 +05:30
johnA1331 5d02496340 Create README.md 2020-07-21 22:21:37 +08:00
Umang Budhwar 1a8969f376 BAEL-4089: Accesing private properties of a class in Java (#9441)
* Added code to access private properties of a class

* Removed abstractions to increase simplicity.

* Added unit test cases in givenX_whenY_thenZ format.

* Included test cases for NoSuchFieldException, NoSuchMethodException and
NullPointerException.

* Added new test case for IllegalArgumentException

* Removed test cases for getting private methods

* Added test cases for accessing all data types.

* Segregated test cases for primitive and object types. Added test case
for Autoboxing.

* Condensed fields by removing extra space.

* Added test case for widening.

* Refactored test cases to throw generic Exception

* Created new module core-java-reflection-2

* Revert "Created new module core-java-reflection-2"

This reverts commit 9568663bb2e176eacc2119e605be76577f90b9c6.

* Added new module core-java-reflection-2

* Removed README.MD
2020-07-12 10:50:54 -05:00