File tree Expand file tree Collapse file tree
java/ql/lib/semmle/code/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1674,14 +1674,10 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
16741674 /**
16751675 * Gets the instanceof expression whose pattern declares this identifier, if any.
16761676 */
1677- InstanceOfExpr getAssociatedInstanceOfExpr ( ) {
1678- result .getPattern ( ) .getAChildExpr * ( ) = this
1679- }
1677+ InstanceOfExpr getAssociatedInstanceOfExpr ( ) { result .getPattern ( ) .getAChildExpr * ( ) = this }
16801678
16811679 /** Holds f this is a declaration stemming from a pattern instanceof expression. */
1682- predicate hasAssociatedInstanceOfExpr ( ) {
1683- exists ( this .getAssociatedInstanceOfExpr ( ) )
1684- }
1680+ predicate hasAssociatedInstanceOfExpr ( ) { exists ( this .getAssociatedInstanceOfExpr ( ) ) }
16851681
16861682 /** Gets the initializer expression of this local variable declaration expression, if any. */
16871683 Expr getInit ( ) { result .isNthChildOf ( this , 0 ) }
You can’t perform that action at this time.
0 commit comments