Refine search
/** * Creates a new LocalPluginManager * @param context Servlet context. Provided for compatibility as {@code Jenkins.getInstance().servletContext} should be used. * @param rootDir Jenkins home directory. */ public LocalPluginManager(@CheckForNull ServletContext context, @NonNull File rootDir) { super(context, new File(rootDir,"plugins")); }
void foo(@CheckForNull Object o) { @NonNull Object l = o; } }
@NonNull T set2(@CheckForNull T o); }
@Override public void f(@NonNull Object obj, @CheckForNull Object obj2); }
public class TestFieldAnnotations { @NonNull Object x; @CheckForNull Object y;
@Override @CheckForNull @ExpectWarning("NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION,NP_METHOD_RETURN_RELAXING_ANNOTATION") public Integer set2(@NonNull Integer o){ return null; } }
@Override @CheckForNull @ExpectWarning("NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION,NP_METHOD_RETURN_RELAXING_ANNOTATION") public Integer set2(@NonNull Integer o){ return null; } }
/** * Constructs an instance that matches the specified java bean property against the supplied value. * * @param name the property name. * @param expected the expected value. */ public BeanPropertyMatcher(@NonNull String name, @CheckForNull T expected) { this.name = name; this.expected = expected; }
/** * Constructor. * * @param criteria (optional) criteria. * @param observer the {@link SCMHeadObserver}. */ public GitSCMSourceContext(@CheckForNull SCMSourceCriteria criteria, @NonNull SCMHeadObserver observer) { super(criteria, observer); }
/** * Our constructor. * * @param divId id of the {@literal <input>} element on the {@code window.opener} of the * pop-up to inject the uploaded content into. * @param uploadedKeystore the content. */ public Upload(@NonNull String divId, @CheckForNull SecretBytes uploadedKeystore) { this.divId = divId; this.uploadedKeystore = uploadedKeystore; }
/** * Configures the {@link GitTool#getName()} to use. * * @param gitTool the {@link GitTool#getName()} or {@code null} to use the system default. * @return {@code this} for method chaining. */ @SuppressWarnings("unchecked") @NonNull public final B withGitTool(@CheckForNull String gitTool) { this.gitTool = gitTool; return (B) this; }
/** * Constructor. * * @param criteria (optional) criteria. * @param observer the {@link SCMHeadObserver}. */ public GitHubSCMSourceContext(@CheckForNull SCMSourceCriteria criteria, @NonNull SCMHeadObserver observer) { super(criteria, observer); }
/** * Configures the {@link GitRepositoryBrowser} to use. * * @param browser the {@link GitRepositoryBrowser} or {@code null} to use the default "auto" browser. * @return {@code this} for method chaining. */ @SuppressWarnings("unchecked") @NonNull public final B withBrowser(@CheckForNull GitRepositoryBrowser browser) { this.browser = browser; return (B) this; }
/** * Constructs an instance that matches the specified java bean property against the supplied value. * * @param name the property name. * @param expected the expected value. */ public BeanPropertyMatcher(@NonNull String name, @CheckForNull T expected) { this.name = name; this.expected = expected; }
/** * Constructor. * * @param payload the payload. * @param origin the origin. */ public GiteaCreateSCMEvent(@NonNull GiteaCreateEvent payload, @CheckForNull String origin) { super(Type.CREATED, payload, origin); }
/** * Creates a new LocalPluginManager * @param context Servlet context. Provided for compatibility as {@code Jenkins.getInstance().servletContext} should be used. * @param rootDir Jenkins home directory. */ public LocalPluginManager(@CheckForNull ServletContext context, @NonNull File rootDir) { super(context, new File(rootDir,"plugins")); }
/** * Constructor. * * @param connection the connection we will be authenticating. */ public TrileadSSHPublicKeyAuthenticator(@NonNull Connection connection, @NonNull SSHUserPrivateKey user, @CheckForNull String username) { super(connection, user, username); }
/** * Constructor. * * @param connection the connection we will be authenticating. * @since 1.4 */ public TrileadSSHPasswordAuthenticator(@NonNull Connection connection, @NonNull StandardUsernamePasswordCredentials user, @CheckForNull String username) { super(connection, user, username); }
/** * Constructor. * * @param connector the connection we will be authenticating. * @since 1.4 */ public JSchSSHPublicKeyAuthenticator(@NonNull JSchConnector connector, @NonNull SSHUserPrivateKey user, @CheckForNull String username) { super(connector, user, username); }
protected JSchSSHPasswordAuthenticator(@NonNull JSchConnector connection, @NonNull StandardUsernamePasswordCredentials user, @CheckForNull String username) { super(connection, user, username); }