added CheckForNull
@@ -510,6 +510,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
*
* @return An AbstractBuild for deprecated methods to use.
*/
+ @CheckForNull
private AbstractBuild getBuildForDeprecatedMethods() {
Executor e = Executor.currentExecutor();
if(e!=null) {
