Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46eec3c

Browse files
Switch to simpler synthetic field model
1 parent 6ae11b5 commit 46eec3c

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

java/ql/lib/semmle/code/java/frameworks/guava/Collections.qll

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -585,35 +585,3 @@ class TableType extends RefType {
585585
)
586586
}
587587
}
588-
589-
private class TableRowField extends SyntheticField {
590-
override predicate fieldSpec(RefType owningType, string fieldName, Type fieldType) {
591-
owningType.hasQualifiedName(guavaCollectPackage(), "Table") and
592-
fieldName = "rowKey" and
593-
fieldType instanceof TypeObject
594-
}
595-
}
596-
597-
private class TableColumnField extends SyntheticField {
598-
override predicate fieldSpec(RefType owningType, string fieldName, Type fieldType) {
599-
owningType.hasQualifiedName(guavaCollectPackage(), "Table") and
600-
fieldName = "columnKey" and
601-
fieldType instanceof TypeObject
602-
}
603-
}
604-
605-
private class MapDifferenceLeftField extends SyntheticField {
606-
override predicate fieldSpec(RefType owningType, string fieldName, Type fieldType) {
607-
owningType.hasQualifiedName(guavaCollectPackage(), "MapDifference") and
608-
fieldName = "left" and
609-
fieldType instanceof TypeObject
610-
}
611-
}
612-
613-
private class MapDifferenceRightField extends SyntheticField {
614-
override predicate fieldSpec(RefType owningType, string fieldName, Type fieldType) {
615-
owningType.hasQualifiedName(guavaCollectPackage(), "MapDifference") and
616-
fieldName = "right" and
617-
fieldType instanceof TypeObject
618-
}
619-
}

0 commit comments

Comments
 (0)