File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
java/ql/src/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -80,19 +80,15 @@ class Node extends TNode {
80
80
result = this .( ImplicitPostUpdateNode ) .getPreUpdateNode ( ) .getType ( )
81
81
}
82
82
83
- private Callable getEnclosingCallableImpl ( ) {
83
+ /** Gets the callable in which this node occurs. */
84
+ Callable getEnclosingCallable ( ) {
84
85
result = this .asExpr ( ) .getEnclosingCallable ( ) or
85
86
result = this .asParameter ( ) .getCallable ( ) or
86
87
result = this .( ImplicitVarargsArray ) .getCall ( ) .getEnclosingCallable ( ) or
87
88
result = this .( InstanceParameterNode ) .getCallable ( ) or
88
89
result = this .( ImplicitInstanceAccess ) .getInstanceAccess ( ) .getEnclosingCallable ( ) or
89
90
result = this .( MallocNode ) .getClassInstanceExpr ( ) .getEnclosingCallable ( ) or
90
- result = this .( ImplicitPostUpdateNode ) .getPreUpdateNode ( ) .getEnclosingCallableImpl ( )
91
- }
92
-
93
- /** Gets the callable in which this node occurs. */
94
- Callable getEnclosingCallable ( ) {
95
- result = unique( DataFlowCallable c | c = this .getEnclosingCallableImpl ( ) | c )
91
+ result = this .( ImplicitPostUpdateNode ) .getPreUpdateNode ( ) .getEnclosingCallable ( )
96
92
}
97
93
98
94
private Type getImprovedTypeBound ( ) {
You can’t perform that action at this time.
0 commit comments