Computes the extensibility of the given class or interface and also of all supertypes of it.
Computes the extensibility of the given class or interface and also of all supertypes of it.
A type is considered as extensible if one of the criteria matches:
Determines if a class is extensible (i.e., can be inherited from). This property generally depends on the kind of the project. If the project is an application, all classes are considered to be closed; i.e., the class hierarchy is considered to be fixed; if the analyzed project is a library, then the result depends on the concrete assumption about the openness of the library.
However, package visible classes in packages starting with "java." are always treated as not client extensible as this would require that those classes are defined in the respective package which is prevented by the default
ClassLoaderin all cases.Since the computed property is a set property, other analyses have to wait till the property is computed.