Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
57,100
int () { return 3; }
getVersion
57,101
Collection<String> (Project project) { CommonProcessors.CollectUniquesProcessor<String> processor = new CommonProcessors.CollectUniquesProcessor<>(); FileBasedIndex.getInstance().processAllKeys(KEY, processor, project); final Collection<String> results = new ArrayList<>(processor.getResults()); final GlobalSearchScope ...
getAllRegisteredIds
57,102
Collection<VirtualFile> (Project project, String id) { return FileBasedIndex.getInstance().getContainingFiles(KEY, id, GlobalSearchScope.projectScope(project)); }
getContainingFiles
57,103
IXMLBuilder (@NotNull Map<String, Void> map) { return new NanoXmlBuilder() { public boolean myFxRootUsed = false; @Override public void addAttribute(String key, String nsPrefix, String nsURI, String value, String type) { if (!myFxRootUsed) { throw new StopException(); } if (value != null && FxmlConstants.TYPE.equals(ke...
createParseHandler
57,104
void (String key, String nsPrefix, String nsURI, String value, String type) { if (!myFxRootUsed) { throw new StopException(); } if (value != null && FxmlConstants.TYPE.equals(key)) { map.put(value, null); } }
addAttribute
57,105
void (String name, String nsPrefix, String nsURI, String systemID, int lineNr) { myFxRootUsed = FxmlConstants.FX_ROOT.equals(nsPrefix + ":" + name); }
startElement
57,106
void (String name, String nsPrefix, String nsURI) { throw new StopException(); }
elementAttributesProcessed
57,107
KeyDescriptor<String> () { return EnumeratorStringDescriptor.INSTANCE; }
getKeyDescriptor
57,108
boolean () { return true; }
dependsOnFileContent
57,109
int () { return 2; }
getVersion
57,110
IXMLBuilder (@NotNull Map<String, Void> map) { return new NanoXmlBuilder() { @Override public void addAttribute(String key, String nsPrefix, String nsURI, String value, String type) { if (value != null && FxmlConstants.FX_ID.equals(nsPrefix + ":" + key)) { map.put(value, null); } } }; }
createParseHandler
57,111
void (String key, String nsPrefix, String nsURI, String value, String type) { if (value != null && FxmlConstants.FX_ID.equals(nsPrefix + ":" + key)) { map.put(value, null); } }
addAttribute
57,112
KeyDescriptor<String> () { return EnumeratorStringDescriptor.INSTANCE; }
getKeyDescriptor
57,113
boolean () { return true; }
dependsOnFileContent
57,114
int () { return 1; }
getVersion
57,115
String (String content) { if (!content.contains(JavaFxNamespaceDataProvider.JAVAFX_NAMESPACE)) { return null; } final String[] className = new String[]{null}; NanoXmlUtil.parse(new StringReader(content), new NanoXmlBuilder() { private boolean myFxRootUsed = false; @Override public void addAttribute(String key, String n...
getControllerClassName
57,116
void (String key, String nsPrefix, String nsURI, String value, String type) { if (value != null && (FxmlConstants.FX_CONTROLLER.equals(nsPrefix + ":" + key) || FxmlConstants.TYPE.equals(key) && myFxRootUsed)) { className[0] = value; } }
addAttribute
57,117
void (String name, String nsPrefix, String nsURI, String systemID, int lineNr) { myFxRootUsed = FxmlConstants.FX_ROOT.equals(nsPrefix + ":" + name); }
startElement
57,118
boolean (@NotNull final VirtualFile file) { return JavaFxFileTypeFactory.isFxml(file); }
acceptInput
57,119
List<PsiFile> (final Project project, @NotNull String className) { return findFxmlWithController(project, className, ProjectScope.getAllScope(project)); }
findFxmlWithController
57,120
List<PsiFile> (final Project project, @NotNull String className, @NotNull GlobalSearchScope scope) { final PsiManager psiManager = PsiManager.getInstance(project); return findFxmlWithController(project, className, psiManager::findFile, scope); }
findFxmlWithController
57,121
List<VirtualFile> (final Project project, @NotNull String className) { return findFxmlsWithController(project, className, ProjectScope.getAllScope(project)); }
findFxmlsWithController
57,122
List<VirtualFile> (final Project project, @NotNull String className, @NotNull GlobalSearchScope scope) { return findFxmlWithController(project, className, Functions.id(), scope); }
findFxmlsWithController
57,123
void (final @NotNull Artifact artifact, final @NotNull CompileContext compileContext) { if (!(artifact.getArtifactType() instanceof JavaFxApplicationArtifactType)) { return; } final Project project = compileContext.getProject(); Sdk fxCompatibleSdk = getFxCompatibleSdk(artifact, project); if (fxCompatibleSdk == null) {...
onBuildFinished
57,124
void (String message) { compileContext.addMessage(CompilerMessageCategory.ERROR, message, null, -1, -1); }
registerJavaFxPackagerError
57,125
void (String message) { compileContext.addMessage(CompilerMessageCategory.INFORMATION, message, null, -1, -1); }
registerJavaFxPackagerInfo
57,126
Sdk (Artifact artifact, Project project) { final Set<Module> modules = ReadAction.compute(() -> ArtifactUtil.getModulesIncludedInArtifacts(Collections.singletonList(artifact), project)); if (modules.isEmpty()) { return null; } for (Module module : modules) { final Sdk sdk = ModuleRootManager.getInstance(module).getSdk(...
getFxCompatibleSdk
57,127
ArtifactPropertiesEditor (@NotNull ArtifactEditorContext context) { return new JavaFxArtifactPropertiesEditor(this, context.getProject(), context.getArtifact()); }
createEditor
57,128
void (@NotNull JavaFxArtifactProperties state) { XmlSerializerUtil.copyBean(state, this); }
loadState
57,129
String () { return myTitle; }
getTitle
57,130
void (String title) { myTitle = title; }
setTitle
57,131
String () { return myVendor; }
getVendor
57,132
void (String vendor) { myVendor = vendor; }
setVendor
57,133
String () { return myDescription; }
getDescription
57,134
void (String description) { myDescription = description; }
setDescription
57,135
String () { return myAppClass; }
getAppClass
57,136
void (String appClass) { myAppClass = appClass; }
setAppClass
57,137
String () { return myVersion; }
getVersion
57,138
void (String version) { myVersion = version; }
setVersion
57,139
String () { return myWidth; }
getWidth
57,140
String () { return myHeight; }
getHeight
57,141
void (String width) { myWidth = width; }
setWidth
57,142
void (String height) { myHeight = height; }
setHeight
57,143
String () { return myHtmlTemplateFile; }
getHtmlTemplateFile
57,144
void (String htmlTemplateFile) { myHtmlTemplateFile = htmlTemplateFile; }
setHtmlTemplateFile
57,145
String () { return myHtmlPlaceholderId; }
getHtmlPlaceholderId
57,146
void (String htmlPlaceholderId) { myHtmlPlaceholderId = htmlPlaceholderId; }
setHtmlPlaceholderId
57,147
String () { return myHtmlParamFile; }
getHtmlParamFile
57,148
void (String htmlParamFile) { myHtmlParamFile = htmlParamFile; }
setHtmlParamFile
57,149
String () { return myParamFile; }
getParamFile
57,150
void (String paramFile) { myParamFile = paramFile; }
setParamFile
57,151
String () { return myUpdateMode; }
getUpdateMode
57,152
void (String updateMode) { myUpdateMode = updateMode; }
setUpdateMode
57,153
boolean () { return myEnabledSigning; }
isEnabledSigning
57,154
void (boolean enabledSigning) { myEnabledSigning = enabledSigning; }
setEnabledSigning
57,155
boolean () { return mySelfSigning; }
isSelfSigning
57,156
void (boolean selfSigning) { mySelfSigning = selfSigning; }
setSelfSigning
57,157
String () { return myAlias; }
getAlias
57,158
void (String alias) { myAlias = alias; }
setAlias
57,159
String () { return myKeystore; }
getKeystore
57,160
void (String keystore) { myKeystore = keystore; }
setKeystore
57,161
String () { return myStorepass; }
getStorepass
57,162
void (String storepass) { myStorepass = storepass; }
setStorepass
57,163
String () { return myKeypass; }
getKeypass
57,164
void (String keypass) { myKeypass = keypass; }
setKeypass
57,165
boolean () { return myConvertCss2Bin; }
isConvertCss2Bin
57,166
void (boolean convertCss2Bin) { myConvertCss2Bin = convertCss2Bin; }
setConvertCss2Bin
57,167
String (Artifact rootArtifact, Project project) { final Artifact artifact = getPreloaderArtifact(rootArtifact, project); if (artifact != null) { final JavaFxPreloaderArtifactProperties properties = (JavaFxPreloaderArtifactProperties)artifact.getProperties(JavaFxPreloaderArtifactPropertiesProvider.getInstance()); return...
getPreloaderClass
57,168
String (Artifact rootArtifact, Project project) { final Artifact artifact = getPreloaderArtifact(rootArtifact, project); if (artifact != null) { return ((ArchivePackagingElement)artifact.getRootElement()).getArchiveFileName(); } return null; }
getPreloaderJar
57,169
Artifact (Artifact rootArtifact, Project project) { for (PackagingElement<?> element : rootArtifact.getRootElement().getChildren()) { if (element instanceof ArtifactPackagingElement) { final Artifact artifact = ((ArtifactPackagingElement)element) .findArtifact(ArtifactManager.getInstance(project).getResolvingContext())...
getPreloaderArtifact
57,170
void (String nativeBundle) { myNativeBundle = nativeBundle; }
setNativeBundle
57,171
List<JavaFxManifestAttribute> () { return myCustomManifestAttributes; }
getCustomManifestAttributes
57,172
void (List<JavaFxManifestAttribute> customManifestAttributes) { myCustomManifestAttributes = customManifestAttributes; }
setCustomManifestAttributes
57,173
JavaFxApplicationIcons () { return myIcons; }
getIcons
57,174
void (JavaFxApplicationIcons icons) { myIcons = icons; }
setIcons
57,175
void (String msgOutputLevel) { myMsgOutputLevel = msgOutputLevel; }
setMsgOutputLevel
57,176
String () { return myArtifact.getName(); }
getArtifactName
57,177
String () { return myArtifact.getOutputPath(); }
getArtifactOutputPath
57,178
String () { for (PackagingElement<?> element : myArtifact.getRootElement().getChildren()) { if (element instanceof ArchivePackagingElement) { return myArtifact.getOutputFilePath() + File.separator + ((ArchivePackagingElement)element).getArchiveFileName(); } } return myArtifact.getOutputFilePath(); }
getArtifactOutputFilePath
57,179
String () { return myProperties.getAppClass(); }
getAppClass
57,180
String () { return myProperties.getTitle(); }
getTitle
57,181
String () { return myProperties.getVendor(); }
getVendor
57,182
String () { return myProperties.getDescription(); }
getDescription
57,183
String () { return myProperties.getVersion(); }
getVersion
57,184
JavaFxApplicationIcons () { return myProperties.getIcons(); }
getIcons
57,185
String () { return myProperties.getWidth(); }
getWidth
57,186
String () { return myProperties.getHeight(); }
getHeight
57,187
String () { return myProperties.getPreloaderClass(myArtifact, myProject); }
getPreloaderClass
57,188
String () { return myProperties.getPreloaderJar(myArtifact, myProject); }
getPreloaderJar
57,189
boolean () { return myProperties.isConvertCss2Bin(); }
convertCss2Bin
57,190
String () { return myProperties.getHtmlTemplateFile(); }
getHtmlTemplateFile
57,191
String () { return myProperties.getHtmlPlaceholderId(); }
getHtmlPlaceholderId
57,192
String () { return myProperties.getHtmlParamFile(); }
getHtmlParamFile
57,193
String () { return myProperties.getParamFile(); }
getParamFile
57,194
String () { return myProperties.getUpdateMode(); }
getUpdateMode
57,195
String () { return myProperties.getKeypass(); }
getKeypass
57,196
String () { return myProperties.getStorepass(); }
getStorepass
57,197
String () { return myProperties.getKeystore(); }
getKeystore
57,198
String () { return myProperties.getAlias(); }
getAlias
57,199
boolean () { return myProperties.isSelfSigning(); }
isSelfSigning