explicit "this" qualifiers

This commit is contained in:
Josh Brown
2023-10-03 16:13:54 -07:00
parent ad86e576a4
commit de2e8b0b12
3 changed files with 7 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ abstract class KeyGeneration extends CryptographicOperation {
abstract CryptographicAlgorithm getAlgorithm();
int getKeySizeInBits(CryptographicAlgorithm alg) {
result = getKeyConfigurationSource(alg).(Literal).getValue().toInt()
result = this.getKeyConfigurationSource(alg).(Literal).getValue().toInt()
}
predicate hasConstantKeySize(CryptographicAlgorithm alg) { exists(this.getKeySizeInBits(alg)) }
@@ -87,7 +87,7 @@ abstract class KeyGeneration extends CryptographicOperation {
exists(this.getKeyConfigurationSource(alg))
}
Expr getAKeyConfigurationSource() { result = getKeyConfigurationSource(_) }
Expr getAKeyConfigurationSource() { result = this.getKeyConfigurationSource(_) }
}
abstract class AsymmetricKeyGeneration extends KeyGeneration { }