Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
264,000
void (String message) { if (myLogDebugEnabled) { myLogger.debug(this + ": " + message); } }
debug
264,001
void (Exception e) { if (myLogDebugEnabled) { myLogger.debugEx(e); } }
debugEx
264,002
void (LogListener logListener) { }
onStartListening
264,003
String () { return "reference.settings.clouds"; }
getHelpTopic
264,004
boolean () { return false; }
canAutoDetectConfiguration
264,005
RemoteServerConfigurable (@NotNull C configuration) { throw new UnsupportedOperationException(); }
createServerConfigurable
264,006
List<SingletonDeploymentSourceType> () { return Collections.emptyList(); }
getSingletonDeploymentSourceTypes
264,007
boolean () { return true; }
mayHaveProjectSpecificDeploymentSources
264,008
Comparator<Deployment> () { return Comparator.comparing(Deployment::getName); }
getDeploymentComparator
264,009
boolean () { return true; }
canCheckConnection
264,010
ServerConnectionManager () { return ApplicationManager.getApplication().getService(ServerConnectionManager.class); }
getInstance
264,011
String () { return myPresentableText.get(); }
getPresentableText
264,012
String (@NotNull DeploymentSource source, @NotNull D configuration) { return source.getPresentableName(); }
getDeploymentName
264,013
String (@NotNull DeploymentRuntime deploymentRuntime, @NotNull DeploymentSource source, @NotNull D configuration) { return getDeploymentName(source, configuration); }
getRuntimeDeploymentName
264,014
Icon () { return myIcon; }
getIcon
264,015
String () { return myPresentableText.get(); }
getPresentableText
264,016
boolean () { return myTransition; }
isTransition
264,017
boolean () { return true; }
isUndeploySupported
264,018
DeploymentRuntime () { return null; }
getParent
264,019
JavaDebuggerLauncher () { return ApplicationManager.getApplication().getService(JavaDebuggerLauncher.class); }
getInstance
264,020
String () { return myHost; }
getHost
264,021
int () { return myPort; }
getPort
264,022
JavaDebugServerModeHandler () { return null; }
getServerModeHandler
264,023
ClientLibraryManager () { return ApplicationManager.getApplication().getService(ClientLibraryManager.class); }
getInstance
264,024
String () { return myId; }
getId
264,025
URL () { return myDescriptionUrl; }
getDescriptionUrl
264,026
Self () { return (Self)this; }
getState
264,027
void (@NotNull Self state) { XmlSerializerUtil.copyBean(state, this); }
loadState
264,028
String () { return null; }
getCustomToolWindowId
264,029
RemoteServersManager () { return ApplicationManager.getApplication().getService(RemoteServersManager.class); }
getInstance
264,030
DeploymentSource () { return mySourceInstance; }
getSingletonSource
264,031
void (@NotNull DeploymentSource source, @NotNull Element tag) { // }
save
264,032
DeploymentSource (@NotNull Element tag, @NotNull Project project) { return getSingletonSource(); }
load
264,033
boolean () { return false; }
isArchive
264,034
boolean () { return true; }
isValid
264,035
String () { return getType().getPresentableName(); }
getPresentableName
264,036
SingletonDeploymentSourceType () { return findExtension(myTypeClass); }
getType
264,037
String () { return myId; }
getId
264,038
void (@NotNull RunConfiguration configuration, @NotNull S source) { }
setBuildBeforeRunTask
264,039
void (@NotNull JComponent runConfigurationEditorComponent, @NotNull Project project, @NotNull S source, boolean select) { }
updateBuildBeforeRunOption
264,040
boolean () { return false; }
isEditableInDumbMode
264,041
DeploymentConfigurationManager (@NotNull Project project) { return project.getService(DeploymentConfigurationManager.class); }
getInstance
264,042
Self () { return (Self)this; }
getState
264,043
void (@NotNull Self state) { XmlSerializerUtil.copyBean(state, this); }
loadState
264,044
List<Option> () { return myOptions; }
getSelectedOptions
264,045
void (@NotNull List<Option> selectedOptions) { myOptions = new ArrayList<>(selectedOptions); }
setSelectedOptions
264,046
DummyDeploymentConfiguration () { return null; }
getState
264,047
void (@NotNull DummyDeploymentConfiguration state) { }
loadState
264,048
List<Option> () { return new ArrayList<>(); }
getSelectedOptions
264,049
void (@NotNull List<Option> selectedOptions) { }
setSelectedOptions
264,050
boolean (@NotNull String name, @NotNull DeploymentSource deploymentSource, @NotNull D deploymentConfiguration) { return false; }
isGeneratedConfigurationName
264,051
RemoteAgentManager () { return ApplicationManager.getApplication().getService(RemoteAgentManager.class); }
getInstance
264,052
Builder<T> (@NotNull List<Class<?>> rtClasses) { for (Class<?> next : rtClasses) { withRtDependency(next); } return this; }
withRtDependencies
264,053
void () { // Breakpoint! suspendPolicy(SuspendNone) LogExpression("Debugger: testShouldFail() reached") assertEquals(2 * 2, 5); }
testShouldFail
264,054
void () { // Breakpoint! suspendPolicy(SuspendNone) LogExpression("Debugger: testSomething() reached") assertEquals(2 * 2, 4); }
testSomething
264,055
void () { // Breakpoint! suspendPolicy(SuspendNone) LogExpression("Debugger: testShouldFail() reached") assertEquals(2 * 2, 5); }
testShouldFail
264,056
void () { // Breakpoint! suspendPolicy(SuspendNone) LogExpression("Debugger: testSomething() reached") assertEquals(2 * 2, 4); }
testSomething
264,057
void () { // Breakpoint! suspendPolicy(SuspendNone) LogExpression("Debugger: testSomething() reached") assertEquals(2 * 2, 4); }
testSomething
264,058
SC () { return myConfiguration; }
getConfiguration
264,059
ServerTaskExecutor () { return myTasksExecutor; }
getTaskExecutor
264,060
A () { return myAgent; }
getAgent
264,061
AgentTaskExecutor () { return myAgentTaskExecutor; }
getAgentTaskExecutor
264,062
void (@NotNull final ComputeDeploymentsCallback callback) { getTaskExecutor().submit(() -> { try { for (CloudApplicationRuntime application : getApplications()) { Deployment deployment = callback.addDeployment(application.getApplicationName(), application, application.getStatus(), application.getStatusText()); applicat...
computeDeployments
264,063
String (@NotNull RemoteServer<?> account, Module module) { String accountName = account.getName(); String moduleName = module.getName(); return CloudBundle.message("run.configuration.name", accountName, moduleName); }
generateRunConfigurationName
264,064
void () { DefaultTableColumnModel colModel = (DefaultTableColumnModel)myTable.getColumnModel(); int[] colMinWidths = new int[myColumns.length]; for (int iColumn = 0; iColumn < myColumns.length; iColumn++) { TableColumn col = colModel.getColumn(iColumn); colMinWidths[iColumn] = col.getMinWidth(); if (!myColumns[iColumn]...
packColumns
264,065
C[] () { return myColumns; }
getColumns
264,066
DefaultTableModel () { return myTableModel; }
getTableModel
264,067
void (Iterable<? extends Collection<Object>> input) { getTableModel().setRowCount(0); for (Collection<Object> row : input) { getTableModel().addRow(row.toArray()); } packColumns(); }
setInput
264,068
void (List<? extends T> rows) { myInputRows = rows; ArrayList<Collection<Object>> input = new ArrayList<>(); for (T row : rows) { ArrayList<Object> rowCellValues = new ArrayList<>(); for (C column : getColumns()) { rowCellValues.add(column.getColumnValue(row)); } input.add(rowCellValues); } setInput(input); }
setInputRows
264,069
JBTable () { return myTable; }
getTable
264,070
JTableWrapperModel () { return new JTableWrapperModel(); }
createTableModel
264,071
boolean (int row, int column) { return myColumns[column].isEditable(); }
isCellEditable
264,072
void (Object aValue, int row, int column) { myColumns[column].setColumnValue(myInputRows.get(row), aValue); super.setValueAt(aValue, row, column); }
setValueAt
264,073
String () { return myEmail; }
getEmail
264,074
void (String email) { myEmail = email; }
setEmail
264,075
String () { return myPassword; }
getPassword
264,076
void (String password) { myPassword = password; }
setPassword
264,077
CloudProxySettings () { final HttpConfigurable httpConfigurable = HttpConfigurable.getInstance(); return new CloudProxySettings() { @Override public boolean useHttpProxy() { return httpConfigurable.USE_HTTP_PROXY; } @Override public String getHost() { return httpConfigurable.PROXY_HOST; } @Override public int getPort()...
getProxySettings
264,078
boolean () { return httpConfigurable.USE_HTTP_PROXY; }
useHttpProxy
264,079
String () { return httpConfigurable.PROXY_HOST; }
getHost
264,080
int () { return httpConfigurable.PROXY_PORT; }
getPort
264,081
boolean () { return httpConfigurable.PROXY_AUTHENTICATION; }
useAuthentication
264,082
String () { return httpConfigurable.getProxyLogin(); }
getLogin
264,083
String () { return httpConfigurable.getPlainProxyPassword(); }
getPassword
264,084
boolean () { CredentialAttributes credentialAttributes = createCredentialAttributes(); return credentialAttributes != null && PasswordSafe.getInstance().get(credentialAttributes) != null; }
isPasswordSafe
264,085
CredentialAttributes () { return createCredentialAttributes(getServiceName(), getCredentialUser()); }
createCredentialAttributes
264,086
void (String password) { doSetSafeValue(createCredentialAttributes(), getCredentialUser(), password, this::setPassword); }
setPasswordSafe
264,087
String () { return doGetSafeValue(createCredentialAttributes(), this::getPassword); }
getPasswordSafe
264,088
String () { return null; }
getServiceName
264,089
String () { return getEmail(); }
getCredentialUser
264,090
void (@Nullable CredentialAttributes credentialAttributes, @Nullable String credentialUser, @Nullable String secretValue, @NotNull Consumer<? super String> unsafeSetter) { CloudConfigurationUtil.doSetSafeValue(credentialAttributes, credentialUser, secretValue, unsafeSetter); }
doSetSafeValue
264,091
String (@Nullable CredentialAttributes credentialAttributes, @NotNull Supplier<String> unsafeGetter) { return CloudConfigurationUtil.doGetSafeValue(credentialAttributes, unsafeGetter); }
doGetSafeValue
264,092
boolean (@Nullable CredentialAttributes credentialAttributes) { return CloudConfigurationUtil.hasSafeCredentials(credentialAttributes); }
hasSafeCredentials
264,093
CredentialAttributes (String serviceName, String credentialsUser) { return CloudConfigurationUtil.createCredentialAttributes(serviceName, credentialsUser); }
createCredentialAttributes
264,094
boolean () { return !StringUtil.isEmpty(getPassword()); }
shouldMigrateToPasswordSafe
264,095
void () { final String unsafePassword = getPassword(); if (!StringUtil.isEmpty(unsafePassword)) { setPasswordSafe(unsafePassword); } }
migrateToPasswordSafe
264,096
HyperlinkLabel (final @NlsContexts.Label String message) { final HyperlinkLabel link = new HyperlinkLabel(""); link.setIcon(AllIcons.General.ContextHelp); link.setUseIconAsLink(true); link.setIconTextGap(0); link.addHyperlinkListener(new HyperlinkAdapter() { @Override protected void hyperlinkActivated(@NotNull Hyperlin...
createTooltip
264,097
void (@NotNull HyperlinkEvent e) { final JLabel label = new JLabel(message); label.setBorder(HintUtil.createHintBorder()); label.setBackground(HintUtil.getInformationColor()); label.setOpaque(true); HintManager.getInstance() .showHint(label, RelativePoint.getSouthEastOf(link), HintManager.HIDE_BY_ANY_KEY | HintManager....
hyperlinkActivated
264,098
boolean () { return myDefaultDeploymentName; }
isDefaultDeploymentName
264,099
void (boolean defaultDeploymentName) { myDefaultDeploymentName = defaultDeploymentName; }
setDefaultDeploymentName