Skip to content

Commit 314fccd

Browse files
committed
Update MultipleType.java
1 parent 24436b3 commit 314fccd

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

microsphere-java-core/src/main/java/io/microsphere/reflect/MultipleType.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,20 @@
2525
import static java.util.Objects.hash;
2626

2727
/**
28-
* Multiple {@link Type}
28+
* Represents a composite type that encapsulates multiple {@link Type} instances.
29+
* <p>
30+
* This class is useful when dealing with scenarios requiring the combination of multiple types,
31+
* such as generic type resolution or complex type signatures in reflective operations.
32+
* </p>
33+
*
34+
* <h3>Example Usage</h3>
35+
* <pre>{@code
36+
* // Create a MultipleType instance from two types:
37+
* MultipleType typePair = MultipleType.of(String.class, Integer.class);
38+
*
39+
* // Create a MultipleType instance from three types:
40+
* MultipleType typeCombo = MultipleType.of(String.class, Integer.class, List.class);
41+
* }</pre>
2942
*
3043
* @author <a href="mailto:mercyblitz@gmail.com">Mercy</a>
3144
* @since 1.0.0

0 commit comments

Comments
 (0)