File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
src/main/java/org/hibernate/models/spi Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,19 @@ default TypeDetails resolveRelativeType(ClassDetails container) {
152
152
return TypeDetailsHelper .resolveRelativeType ( getType (), container );
153
153
}
154
154
155
+ /**
156
+ * Determine the concrete class of the member relative to the given {@code container} type.
157
+ * <p/>
158
+ * Similar to {@linkplain #resolveRelativeType(TypeDetails)}, but fully resolving the result
159
+ * into the concrete class.
160
+ */
155
161
default ClassBasedTypeDetails resolveRelativeClassType (TypeDetails container ) {
156
162
return TypeDetailsHelper .resolveRelativeClassType ( getType (), container );
157
163
}
158
164
165
+ /**
166
+ * @see #resolveRelativeClassType(TypeDetails)
167
+ */
159
168
default ClassBasedTypeDetails resolveRelativeClassType (ClassDetails container ) {
160
169
return TypeDetailsHelper .resolveRelativeClassType ( getType (), container );
161
170
}
Original file line number Diff line number Diff line change 13
13
*
14
14
* @author Steve Ebersole
15
15
*/
16
- public interface TypeDetails {
16
+ public interface TypeDetails extends TypeVariableScope {
17
17
String getName ();
18
18
19
19
Kind getTypeKind ();
@@ -23,11 +23,6 @@ public interface TypeDetails {
23
23
*/
24
24
boolean isImplementor (Class <?> checkType );
25
25
26
- // /**
27
- // * Find the identified ({@code identifier}) type variable for this type.
28
- // */
29
- // TypeVariableDetails findTypeVariableDetails(String identifier);
30
-
31
26
/**
32
27
* Cast this TypeDetails as a ClassTypeDetails, throwing an exception
33
28
* if it cannot be.
@@ -92,8 +87,6 @@ default WildcardTypeDetails asWildcardType() {
92
87
throw new IllegalArgumentException ( "Not a wildcard type - " + this );
93
88
}
94
89
95
- TypeDetails resolveTypeVariable (String identifier );
96
-
97
90
enum Kind {
98
91
99
92
/**
You can’t perform that action at this time.
0 commit comments