✗
public abstract interface Types
Methods
- ✓public abstract javax.lang.model.element.Element asElement(javax.lang.model.type.TypeMirror arg0)
- ✓public abstract javax.lang.model.type.TypeMirror asMemberOf(javax.lang.model.type.DeclaredType arg0, javax.lang.model.element.Element arg1)
- ✗public abstract javax.lang.model.element.TypeElement boxedClass(javax.lang.model.type.PrimitiveType arg0)Comparing jdk-21-ga and jdk-22+36
boxedClass
Returns the class of a boxed value of the primitive type argument. That is, boxing conversion is applied.- Parameters:
p- the primitive type to be converted- Returns:
- the class of a boxed value of the primitive type argument
- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.1.7.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.1.7. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.1.7.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.1.7.5.1.7 Boxing Conversion
- ✗public abstract javax.lang.model.type.TypeMirror capture(javax.lang.model.type.TypeMirror arg0)Comparing jdk-21-ga and jdk-22+36
capture
Applies capture conversion to a type.- Parameters:
t- the type to be converted- Returns:
- the result of applying capture conversion
- Throws:
IllegalArgumentException- if given a type for an executable, package, or module- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.1.10.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.1.10. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.1.10.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.1.10.5.1.10 Capture Conversion
- ✗public abstract boolean contains(javax.lang.model.type.TypeMirror arg0, javax.lang.model.type.TypeMirror arg1)Comparing jdk-21-ga and jdk-22+36
contains
Tests whether one type argument contains another.- Parameters:
t1- the first typet2- the second type- Returns:
trueif and only if the first type contains the second- Throws:
IllegalArgumentException- if given a type for an executable, package, or module- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.5.1.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.5.1. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.5.1.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.5.1.4.5.1 Type Arguments of Parameterized Types
- ✗public abstract java.util.List<? extends javax.lang.model.type.TypeMirror> directSupertypes(javax.lang.model.type.TypeMirror arg0)Comparing jdk-21-ga and jdk-22+36
directSupertypes
Returns the direct supertypes of a type. The interface types, if any, will appear last in the list. For an interface type with no direct super-interfaces, a type mirror representingjava.lang.Objectis returned. The typejava.lang.Objecthas no direct supertype (JLS Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.1.4.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-8.html#jls-8.1.4.8.1.4, Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.1.5.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-8.html#jls-8.1.5.8.1.5) so an empty list is returned for the direct supertypes of a type mirror representingjava.lang.Object.- Parameters:
t- the type being examined- Returns:
- the direct supertypes, or an empty list if none
- Throws:
IllegalArgumentException- if given a type for an executable, package, or module- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.10.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.10. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.10.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.10.4.10 Subtyping
- ✗public abstract javax.lang.model.type.TypeMirror erasure(javax.lang.model.type.TypeMirror arg0)Comparing jdk-21-ga and jdk-22+36
erasure
Returns the erasure of a type.- Parameters:
t- the type to be erased- Returns:
- the erasure of a type
- Throws:
IllegalArgumentException- if given a type for a package or module- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.6.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.6. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.6.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.6.4.6 Type Erasure
- ✓public abstract javax.lang.model.type.ArrayType getArrayType(javax.lang.model.type.TypeMirror arg0)
- ✓public abstract javax.lang.model.type.DeclaredType getDeclaredType(javax.lang.model.element.TypeElement arg0, javax.lang.model.type.TypeMirror[] arg1)
- ✓public abstract javax.lang.model.type.DeclaredType getDeclaredType(javax.lang.model.type.DeclaredType arg0, javax.lang.model.element.TypeElement arg1, javax.lang.model.type.TypeMirror[] arg2)
- ✓public abstract javax.lang.model.type.NoType getNoType(javax.lang.model.type.TypeKind arg0)
- ✓public abstract javax.lang.model.type.NullType getNullType()
- ✓public abstract javax.lang.model.type.PrimitiveType getPrimitiveType(javax.lang.model.type.TypeKind arg0)
- ✓public abstract javax.lang.model.type.WildcardType getWildcardType(javax.lang.model.type.TypeMirror arg0, javax.lang.model.type.TypeMirror arg1)
- ✗public abstract boolean isAssignable(javax.lang.model.type.TypeMirror arg0, javax.lang.model.type.TypeMirror arg1)Comparing jdk-21-ga and jdk-22+36
isAssignable
Tests whether one type is assignable to another.- Parameters:
t1- the first typet2- the second type- Returns:
trueif and only if the first type is assignable to the second- Throws:
IllegalArgumentException- if given a type for an executable, package, or module- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.2.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.2. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.2.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.2.5.2 Assignment Contexts
- ✓public abstract boolean isSameType(javax.lang.model.type.TypeMirror arg0, javax.lang.model.type.TypeMirror arg1)
- ✗public abstract boolean isSubsignature(javax.lang.model.type.ExecutableType arg0, javax.lang.model.type.ExecutableType arg1)Comparing jdk-21-ga and jdk-22+36
isSubsignature
Tests whether the signature of one method is a subsignature of another.- Parameters:
m1- the first methodm2- the second method- Returns:
trueif and only if the first signature is a subsignature of the second- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.2.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-8.html#jls-8.4.2. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.2.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-8.html#jls-8.4.2.8.4.2 Method Signature
- ✗public abstract boolean isSubtype(javax.lang.model.type.TypeMirror arg0, javax.lang.model.type.TypeMirror arg1)Comparing jdk-21-ga and jdk-22+36
isSubtype
Tests whether one type is a subtype of another. Any type is considered to be a subtype of itself.- Parameters:
t1- the first typet2- the second type- Returns:
trueif and only if the first type is a subtype of the second- Throws:
IllegalArgumentException- if given a type for an executable, package, or module- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.10.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.10. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.10.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-4.html#jls-4.10.4.10 Subtyping
- ✗public abstract javax.lang.model.type.PrimitiveType unboxedType(javax.lang.model.type.TypeMirror arg0)Comparing jdk-21-ga and jdk-22+36
unboxedType
Returns the type (a primitive type) of unboxed values of a given type. That is, unboxing conversion is applied.- Parameters:
t- the type to be unboxed- Returns:
- the type of an unboxed value of type
t - Throws:
IllegalArgumentException- if the given type has no unboxing conversion- See Java Language Specification:
- Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.1.8.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.1.8. Moved out of a link with destination https://docs.oracle.com/javase/specs/jls/se21/html/jls-5.html#jls-5.1.8.Moved to a link with destination https://docs.oracle.com/javase/specs/jls/se22/html/jls-5.html#jls-5.1.8.5.1.8 Unboxing Conversion
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| boxedClass(PrimitiveType) | 1 | 1 | ||||||||
| capture(TypeMirror) | 1 | 1 | ||||||||
| contains(TypeMirror,TypeMirror) | 1 | 1 | ||||||||
| directSupertypes(TypeMirror) | 3 | 3 | ||||||||
| erasure(TypeMirror) | 1 | 1 | ||||||||
| isAssignable(TypeMirror,TypeMirror) | 1 | 1 | ||||||||
| isSubsignature(ExecutableType,ExecutableType) | 1 | 1 | ||||||||
| isSubtype(TypeMirror,TypeMirror) | 1 | 1 | ||||||||
| unboxedType(TypeMirror) | 1 | 1 | ||||||||
| Total | 11 | 11 | ||||||||