@Override public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isClosedInFinallyOfEnclosing(BlockScope scope) { BlockScope currentScope = scope; while (true) { if (currentScope.finallyInfo != null && currentScope.finallyInfo.isDefinitelyNonNull(this.binding)) { return true; // closed in enclosing finally } if (!(currentScope.parent instanceof BlockScope)) { return false; } currentScope = (BlockScope) currentScope.parent; } } /**
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
public boolean isDefinitelyNonNull(LocalVariableBinding local) { return this.initsWhenTrue.isDefinitelyNonNull(local) && this.initsWhenFalse.isDefinitelyNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }
/** * Check whether a given local variable is known to be non null, either because * it is definitely non null, or because is has been tested against non null. * @param local the variable to ckeck * @return true iff local cannot be null for this flow info */ public boolean cannotBeNull(LocalVariableBinding local) { return isDefinitelyNonNull(local) || isProtectedNonNull(local); }