File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
java/ql/lib/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ module Public {
167
167
or
168
168
result instanceof TypeObject and this instanceof AdditionalNode
169
169
or
170
- result = this .( SsaNode ) .getDefinitionExt ( ) . getSourceVariable ( ) . getType ( )
170
+ result = this .( SsaNode ) .getTypeImpl ( )
171
171
}
172
172
173
173
/** Gets the callable in which this node occurs. */
@@ -394,7 +394,9 @@ class SsaNode extends Node, TSsaNode {
394
394
395
395
SsaNode ( ) { this = TSsaNode ( node ) }
396
396
397
- SsaImpl:: Impl:: DefinitionExt getDefinitionExt ( ) { result = node .getDefinitionExt ( ) }
397
+ BasicBlock getBasicBlock ( ) { result = node .getBasicBlock ( ) }
398
+
399
+ Type getTypeImpl ( ) { result = node .getSourceVariable ( ) .getType ( ) }
398
400
399
401
override Location getLocation ( ) { result = node .getLocation ( ) }
400
402
@@ -442,7 +444,7 @@ module Private {
442
444
result .asCallable ( ) = n .( CaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( ) or
443
445
result .asFieldScope ( ) = n .( FieldValueNode ) .getField ( ) or
444
446
result .asCallable ( ) = any ( Expr e | n .( AdditionalNode ) .nodeAt ( e , _) ) .getEnclosingCallable ( ) or
445
- result .asCallable ( ) = n .( SsaNode ) .getDefinitionExt ( ) . getBasicBlock ( ) .getEnclosingCallable ( )
447
+ result .asCallable ( ) = n .( SsaNode ) .getBasicBlock ( ) .getEnclosingCallable ( )
446
448
}
447
449
448
450
/** Holds if `p` is a `ParameterNode` of `c` with position `pos`. */
You can’t perform that action at this time.
0 commit comments