Skip to content

Commit cb64041

Browse files
committed
docs: review and improve package-info.java files across all modules
Bring all package-info.java files up to date with the actual package contents, add missing ones for test-only packages.
1 parent babd804 commit cb64041

8 files changed

Lines changed: 64 additions & 21 deletions

File tree

iban-commons-junit/src/main/java/de/speedbanking/iban/junit/jupiter/params/provider/package-info.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright © 2025-2026 Markus Spann, SpeedBankingDe
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
/**
182
* JUnit 5 argument providers for IBAN-related parameterized tests.
193
* <p>

iban-commons-validation/src/main/java/de/speedbanking/validation/package-info.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
* Core package for Jakarta Bean Validation constraints and validators for IBAN and BIC.
33
* <p>
44
* Provides annotations such as {@link de.speedbanking.validation.ValidIban} and
5-
* {@link de.speedbanking.validation.ValidBic} to enforce proper financial data format and checksums.
5+
* {@link de.speedbanking.validation.ValidBic} to enforce proper financial data format and
6+
* checksums. {@code null} and empty values are considered valid by both constraints; combine
7+
* with {@code @NotNull} or {@code @NotBlank} to reject them. Constraint evaluation is delegated
8+
* to {@link de.speedbanking.validation.IbanConstraintValidator} and
9+
* {@link de.speedbanking.validation.BicConstraintValidator}, which reuse the validation engines
10+
* from {@code iban-commons}.
11+
*
12+
* @since 1.8.0
613
*/
714
package de.speedbanking.validation;
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
/**
2-
* Provides classes for BIC validation and handling.
3-
* This includes the main {@link de.speedbanking.bic.Bic} model and its validator components.
2+
* Core package for Business Identifier Code (BIC / SWIFT Code) representation and validation
3+
* according to <strong>ISO 9362</strong>.
4+
* <p>
5+
* Central entry point is the immutable {@link de.speedbanking.bic.Bic} model, created via its
6+
* static factory methods after successful validation by {@link de.speedbanking.bic.BicValidator}.
7+
* Validation failures are reported either as a {@link de.speedbanking.bic.BicValidationResult}
8+
* (non-throwing) carrying a {@link de.speedbanking.bic.BicValidationError}, or as an
9+
* {@link de.speedbanking.bic.InvalidBicException} for the strict factory methods.
10+
* {@link de.speedbanking.bic.RandomBic} generates syntactically valid BICs for testing purposes.
11+
*
12+
* @since 1.8.0
413
*/
514
package de.speedbanking.bic;
Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
/**
2-
* Core package for IBAN representation, validation, and registry services.
3-
* Includes support for deriving lookup keys for international banking services.
2+
* Core package for International Bank Account Number (IBAN) representation, validation, and
3+
* registry services according to <strong>ISO 13616</strong>.
4+
* <p>
5+
* Central entry point is the immutable {@link de.speedbanking.iban.Iban} model. Its structural
6+
* rules per country are held by {@link de.speedbanking.iban.IbanRegistry}, which also provides
7+
* access to {@link de.speedbanking.iban.IbanBuilder country builders} for constructing IBANs from
8+
* their components. Validation is performed by {@link de.speedbanking.iban.IbanValidator} through
9+
* a fail-fast pipeline of country-specific {@link de.speedbanking.iban.CountryValidator}
10+
* implementations (see {@link de.speedbanking.iban.CountryValidators}), optionally combined with a
11+
* {@link de.speedbanking.iban.NationalCheckDigitCalculator} (see
12+
* {@link de.speedbanking.iban.NationalCheckDigitCalculators}).
13+
* <p>
14+
* Further supporting classes:
15+
* <ul>
16+
* <li>{@link de.speedbanking.iban.IbanConfig} – immutable, initialize-once global configuration.</li>
17+
* <li>{@link de.speedbanking.iban.Formatter} – formats a normalized IBAN into the standard
18+
* display form (space-separated groups).</li>
19+
* <li>{@link de.speedbanking.iban.RandomIban} – generates syntactically valid IBANs for testing.</li>
20+
* <li>{@link de.speedbanking.iban.IbanPlusKey} – derives lookup keys for the SWIFT IBAN Plus
21+
* service, supporting BIC derivation from an IBAN.</li>
22+
* <li>{@link de.speedbanking.iban.InvalidIbanException} – thrown by the strict
23+
* {@link de.speedbanking.iban.Iban#of(CharSequence)} factory method on validation failure.</li>
24+
* </ul>
25+
*
26+
* @since 1.8.0
427
*/
528
package de.speedbanking.iban;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
/**
22
* Internal utilities specifically designed for IBAN pattern processing and validation.
3+
* <p>
4+
* {@link de.speedbanking.iban.util.IbanCharType} classifies BBAN pattern placeholder characters
5+
* (e.g. {@code n}, {@code a}, {@code c}), while
6+
* {@link de.speedbanking.iban.util.IbanPatternConverter} translates a country's BBAN pattern into
7+
* an equivalent regular expression. {@link de.speedbanking.iban.util.InvalidBaseException} is
8+
* thrown when such conversions encounter an unsupported or malformed pattern.
9+
*
10+
* @since 1.8.0
311
*/
412
package de.speedbanking.iban.util;

iban-commons/src/main/java/de/speedbanking/util/package-info.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@
4444
* <dd>Common interface implemented by validation error enumerations such as
4545
* {@link de.speedbanking.iban.IbanValidationError} and {@link de.speedbanking.bic.BicValidationError}.</dd>
4646
* </dl>
47+
*
48+
* @since 1.8.0
4749
*/
4850
package de.speedbanking.util;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* JUnit 5 {@link org.junit.jupiter.params.converter.ArgumentConverter} implementations and their
3+
* tests, used to convert string-based parameterized test arguments (e.g. {@code "x"}, {@code "ja"})
4+
* into typed values such as {@code boolean}.
5+
*/
6+
package de.speedbanking.iban.junit.jupiter.params.converter;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Shared test-only helper utilities used across the {@code iban-commons} test suites.
3+
*/
4+
package de.speedbanking.test;

0 commit comments

Comments
 (0)