@@ -9,58 +9,57 @@ import java
99class SslClass extends RefType {
1010 SslClass ( ) {
1111 exists ( Class c | this .getAnAncestor ( ) = c |
12- c .hasQualifiedName ( javaxOrJakarta ( ) + ".net.ssl" , _) or
13- c .hasQualifiedName ( javaxOrJakarta ( ) + ".rmi.ssl" , _)
12+ // Note there are no jakarta equivalents of these classes.
13+ c .hasQualifiedName ( "javax.net.ssl" , _) or
14+ c .hasQualifiedName ( "javax.rmi.ssl" , _)
1415 )
1516 }
1617}
1718
1819class X509TrustManager extends RefType {
19- X509TrustManager ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "X509TrustManager" ) }
20+ X509TrustManager ( ) { this .hasQualifiedName ( "javax .net.ssl", "X509TrustManager" ) }
2021}
2122
2223/** The `javax.net.ssl.HttpsURLConnection` class. */
2324class HttpsUrlConnection extends RefType {
24- HttpsUrlConnection ( ) {
25- this .hasQualifiedName ( javaxOrJakarta ( ) + ".net.ssl" , "HttpsURLConnection" )
26- }
25+ HttpsUrlConnection ( ) { this .hasQualifiedName ( "javax.net.ssl" , "HttpsURLConnection" ) }
2726}
2827
2928class SslSocketFactory extends RefType {
30- SslSocketFactory ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "SSLSocketFactory" ) }
29+ SslSocketFactory ( ) { this .hasQualifiedName ( "javax .net.ssl", "SSLSocketFactory" ) }
3130}
3231
3332class SslContext extends RefType {
34- SslContext ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "SSLContext" ) }
33+ SslContext ( ) { this .hasQualifiedName ( "javax .net.ssl", "SSLContext" ) }
3534}
3635
3736/** The `javax.net.ssl.SslSession` class. */
3837class SslSession extends RefType {
39- SslSession ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "SSLSession" ) }
38+ SslSession ( ) { this .hasQualifiedName ( "javax .net.ssl", "SSLSession" ) }
4039}
4140
4241/** The `javax.net.ssl.SslEngine` class. */
4342class SslEngine extends RefType {
44- SslEngine ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "SSLEngine" ) }
43+ SslEngine ( ) { this .hasQualifiedName ( "javax .net.ssl", "SSLEngine" ) }
4544}
4645
4746/** The `javax.net.ssl.SslSocket` class. */
4847class SslSocket extends RefType {
49- SslSocket ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "SSLSocket" ) }
48+ SslSocket ( ) { this .hasQualifiedName ( "javax .net.ssl", "SSLSocket" ) }
5049}
5150
5251/** The `javax.net.ssl.SslParameters` class. */
5352class SslParameters extends RefType {
54- SslParameters ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "SSLParameters" ) }
53+ SslParameters ( ) { this .hasQualifiedName ( "javax .net.ssl", "SSLParameters" ) }
5554}
5655
5756class HostnameVerifier extends RefType {
58- HostnameVerifier ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .net.ssl", "HostnameVerifier" ) }
57+ HostnameVerifier ( ) { this .hasQualifiedName ( "javax .net.ssl", "HostnameVerifier" ) }
5958}
6059
6160/** The Java class `javax.crypto.KeyGenerator`. */
6261class KeyGenerator extends RefType {
63- KeyGenerator ( ) { this .hasQualifiedName ( javaxOrJakarta ( ) + " .crypto", "KeyGenerator" ) }
62+ KeyGenerator ( ) { this .hasQualifiedName ( "javax .crypto", "KeyGenerator" ) }
6463}
6564
6665/** The Java class `java.security.KeyPairGenerator`. */
@@ -294,7 +293,7 @@ abstract class JavaxCryptoAlgoSpec extends CryptoAlgoSpec { }
294293class JavaxCryptoCipher extends JavaxCryptoAlgoSpec {
295294 JavaxCryptoCipher ( ) {
296295 exists ( Method m | m .getAReference ( ) = this |
297- m .hasQualifiedName ( javaxOrJakarta ( ) + " .crypto", "Cipher" , "getInstance" )
296+ m .hasQualifiedName ( "javax .crypto", "Cipher" , "getInstance" )
298297 )
299298 }
300299
@@ -304,7 +303,7 @@ class JavaxCryptoCipher extends JavaxCryptoAlgoSpec {
304303class JavaxCryptoSecretKey extends JavaxCryptoAlgoSpec {
305304 JavaxCryptoSecretKey ( ) {
306305 exists ( Constructor c | c .getAReference ( ) = this |
307- c .getDeclaringType ( ) .hasQualifiedName ( javaxOrJakarta ( ) + " .crypto.spec", "SecretKeySpec" )
306+ c .getDeclaringType ( ) .hasQualifiedName ( "javax .crypto.spec", "SecretKeySpec" )
308307 )
309308 }
310309
@@ -329,7 +328,7 @@ class JavaxCryptoKeyGenerator extends JavaxCryptoAlgoSpec {
329328class JavaxCryptoKeyAgreement extends JavaxCryptoAlgoSpec {
330329 JavaxCryptoKeyAgreement ( ) {
331330 exists ( Method m | m .getAReference ( ) = this |
332- m .hasQualifiedName ( javaxOrJakarta ( ) + " .crypto", "KeyAgreement" , "getInstance" )
331+ m .hasQualifiedName ( "javax .crypto", "KeyAgreement" , "getInstance" )
333332 )
334333 }
335334
@@ -339,7 +338,7 @@ class JavaxCryptoKeyAgreement extends JavaxCryptoAlgoSpec {
339338class JavaxCryptoKeyFactory extends JavaxCryptoAlgoSpec {
340339 JavaxCryptoKeyFactory ( ) {
341340 exists ( Method m | m .getAReference ( ) = this |
342- m .hasQualifiedName ( javaxOrJakarta ( ) + " .crypto", "SecretKeyFactory" , "getInstance" )
341+ m .hasQualifiedName ( "javax .crypto", "SecretKeyFactory" , "getInstance" )
343342 )
344343 }
345344
@@ -431,7 +430,5 @@ class DsaGenParameterSpec extends AlgorithmParameterSpec {
431430
432431/** The Java class `javax.crypto.spec.DHGenParameterSpec`. */
433432class DhGenParameterSpec extends AlgorithmParameterSpec {
434- DhGenParameterSpec ( ) {
435- this .hasQualifiedName ( javaxOrJakarta ( ) + ".crypto.spec" , "DHGenParameterSpec" )
436- }
433+ DhGenParameterSpec ( ) { this .hasQualifiedName ( "javax.crypto.spec" , "DHGenParameterSpec" ) }
437434}
0 commit comments