Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
28,100
GithubUser () { return assignee; }
getAssignee
28,101
List<GithubUser> () { return assignees; }
getAssignees
28,102
Date () { return closedAt; }
getClosedAt
28,103
Date () { return createdAt; }
getCreatedAt
28,104
Date () { return updatedAt; }
getUpdatedAt
28,105
boolean (Object o) { if (this == o) return true; if (!(o instanceof GithubIssueBase base)) return false; return number.equals(base.number); }
equals
28,106
int () { return Objects.hash(number); }
hashCode
28,107
GithubPermissions () { return permissions; }
getPermissions
28,108
String () { return href; }
getHref
28,109
boolean () { return admin; }
isAdmin
28,110
boolean () { return pull; }
isPull
28,111
boolean () { return push; }
isPush
28,112
String () { return nodeId; }
getNodeId
28,113
String () { return url; }
getUrl
28,114
String () { return name; }
getName
28,115
String () { return color; }
getColor
28,116
boolean (Object o) { if (this == o) return true; if (!(o instanceof GithubIssueLabel label)) return false; if (!id.equals(label.id)) return false; return true; }
equals
28,117
int () { return id.hashCode(); }
hashCode
28,118
boolean () { return plan == null || ownedPrivateRepos == null || plan.privateRepos > ownedPrivateRepos; }
canCreatePrivateRepo
28,119
String () { return name; }
getName
28,120
String () { return email; }
getEmail
28,121
String () { return defaultBranch; }
getDefaultBranch
28,122
String () { return cloneUrl; }
getCloneUrl
28,123
String () { return name; }
getName
28,124
String () { return StringUtil.notNullize(description); }
getDescription
28,125
boolean () { return isPrivate; }
isPrivate
28,126
boolean () { return isFork; }
isFork
28,127
String () { return url; }
getUrl
28,128
String () { return htmlUrl; }
getHtmlUrl
28,129
GithubUser () { return owner; }
getOwner
28,130
String () { return getOwner().getLogin(); }
getUserName
28,131
String () { return getUserName() + "/" + getName(); }
getFullName
28,132
GHRepositoryPath () { return new GHRepositoryPath(getUserName(), getName()); }
getFullPath
28,133
String () { return "GithubRepo{" + "id=" + id + ", name='" + name + '\'' + '}'; }
toString
28,134
boolean (Object o) { if (this == o) return true; if (!(o instanceof GithubRepoBasic basic)) return false; return id.equals(basic.id); }
equals
28,135
int () { return Objects.hash(id); }
hashCode
28,136
PullRequestLinks () { return pullRequest; }
getPullRequestLinks
28,137
String () { return url; }
getUrl
28,138
String () { return htmlUrl; }
getHtmlUrl
28,139
String () { return patchUrl; }
getPatchUrl
28,140
String () { return bodyHtml; }
getBodyHtml
28,141
boolean () { return allowSquashMerge != null ? allowSquashMerge : false; }
getAllowSquashMerge
28,142
boolean () { return allowMergeCommit != null ? allowMergeCommit : false; }
getAllowMergeCommit
28,143
boolean () { return allowRebaseMerge != null ? allowRebaseMerge : false; }
getAllowRebaseMerge
28,144
GithubRepo () { return parent; }
getParent
28,145
GithubRepo () { return source; }
getSource
28,146
String () { return message; }
getMessage
28,147
List<Error> () { if (errors == null) return Collections.emptyList(); return errors; }
getErrors
28,148
String () { if (errors == null) { return message != null ? message : GithubBundle.message("unknown.loading.error"); } else { StringBuilder s = new StringBuilder(); if (message != null) s.append(message); for (Error e : errors) { s.append(String.format("<br/>[%s; %s]%s: %s", e.resource, e.field, e.code, e.message)); } return s.toString(); } }
getPresentableError
28,149
boolean (@NotNull String reason) { if (message == null) return false; return message.contains(reason); }
containsReasonMessage
28,150
boolean (@NotNull String code) { if (errors == null) return false; for (Error error : errors) { if (error.code != null && error.code.contains(code)) return true; } return false; }
containsErrorCode
28,151
boolean (@NotNull String message) { if (errors == null) return false; for (Error error : errors) { if (error.code != null && error.code.contains(message)) return true; } return false; }
containsErrorMessage
28,152
String () { return resource; }
getResource
28,153
String () { return field; }
getField
28,154
String () { return code; }
getCode
28,155
String () { return message; }
getMessage
28,156
String () { return id; }
getId
28,157
String () { return StringUtil.notNullize(description); }
getDescription
28,158
boolean () { return isPublic; }
isPublic
28,159
String () { return htmlUrl; }
getHtmlUrl
28,160
List<GistFile> () { return new ArrayList<>(files.values()); }
getFiles
28,161
GithubUser () { return owner; }
getUser
28,162
String () { return filename; }
getFilename
28,163
String () { return content; }
getContent
28,164
String () { return raw_url; }
getRawUrl
28,165
String () { return name; }
getName
28,166
String () { return login; }
getLogin
28,167
String () { return nodeId; }
getNodeId
28,168
String () { return login; }
getLogin
28,169
String () { return htmlUrl; }
getHtmlUrl
28,170
String () { return avatarUrl; }
getAvatarUrl
28,171
boolean (Object o) { if (this == o) return true; if (!(o instanceof GithubUser user)) return false; return id.equals(user.id); }
equals
28,172
int () { return Objects.hash(id); }
hashCode
28,173
long () { return id; }
getId
28,174
String () { return htmlUrl; }
getHtmlUrl
28,175
Date () { return createdAt; }
getCreatedAt
28,176
Date () { return updatedAt; }
getUpdatedAt
28,177
GithubUser () { return user; }
getUser
28,178
List<T> () { return items; }
getItems
28,179
GithubPermissions () { return permissions; }
getPermissions
28,180
String () { return token; }
getToken
28,181
List<String> () { return scopes; }
getScopes
28,182
String () { return note; }
getNote
28,183
long () { return id; }
getId
28,184
String () { return myFileName; }
getFileName
28,185
String () { return myContent; }
getContent
28,186
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; FileContent that = (FileContent)o; if (!myContent.equals(that.myContent)) return false; if (!myFileName.equals(that.myFileName)) return false; return true; }
equals
28,187
int () { int result = myFileName.hashCode(); result = 31 * result + myContent.hashCode(); return result; }
hashCode
28,188
int () { return myStatusCode; }
getStatusCode
28,189
GithubErrorMessage () { return myError; }
getError
28,190
void (@Nullable String details) { myDetails = details; }
setDetails
28,191
String () { if (myDetails == null) { return super.getMessage(); } else { return myDetails + "\n\n" + super.getMessage(); } }
getMessage
28,192
Icon (@NotNull String path, int cacheKey, int flags) { return IconManager.getInstance().loadRasterizedIcon(path, GithubIcons.class.getClassLoader(), cacheKey, flags); }
load
28,193
ByteCodeViewerManager (Project project) { return project.getService(ByteCodeViewerManager.class); }
getInstance
28,194
String () { return SHOW_BYTECODE_IN_TOOL_WINDOW; }
getShowInToolWindowProperty
28,195
String () { return BYTECODE_AUTO_UPDATE_ENABLED; }
getAutoUpdateEnabledProperty
28,196
String () { return TOOLWINDOW_ID; }
getToolwindowId
28,197
String () { return JavaByteCodeViewerBundle.message("show.bytecode.tool.window.title"); }
getToolwindowTitle
28,198
String () { return JavaByteCodeViewerBundle.message("show.bytecode.for.current.element.action.name"); }
getAutoUpdateTitle
28,199
String () { return JavaByteCodeViewerBundle.message("show.bytecode.for.current.element.action.description"); }
getAutoUpdateDescription