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) {
152152 return TypeDetailsHelper .resolveRelativeType ( getType (), container );
153153 }
154154
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+ */
155161 default ClassBasedTypeDetails resolveRelativeClassType (TypeDetails container ) {
156162 return TypeDetailsHelper .resolveRelativeClassType ( getType (), container );
157163 }
158164
165+ /**
166+ * @see #resolveRelativeClassType(TypeDetails)
167+ */
159168 default ClassBasedTypeDetails resolveRelativeClassType (ClassDetails container ) {
160169 return TypeDetailsHelper .resolveRelativeClassType ( getType (), container );
161170 }
Original file line number Diff line number Diff line change 1313 *
1414 * @author Steve Ebersole
1515 */
16- public interface TypeDetails {
16+ public interface TypeDetails extends TypeVariableScope {
1717 String getName ();
1818
1919 Kind getTypeKind ();
@@ -23,11 +23,6 @@ public interface TypeDetails {
2323 */
2424 boolean isImplementor (Class <?> checkType );
2525
26- // /**
27- // * Find the identified ({@code identifier}) type variable for this type.
28- // */
29- // TypeVariableDetails findTypeVariableDetails(String identifier);
30-
3126 /**
3227 * Cast this TypeDetails as a ClassTypeDetails, throwing an exception
3328 * if it cannot be.
@@ -92,8 +87,6 @@ default WildcardTypeDetails asWildcardType() {
9287 throw new IllegalArgumentException ( "Not a wildcard type - " + this );
9388 }
9489
95- TypeDetails resolveTypeVariable (String identifier );
96-
9790 enum Kind {
9891
9992 /**
You can’t perform that action at this time.
0 commit comments