public class JavaSyntaxHighlighterFactory extends SyntaxHighlighterFactory implements SyntaxHighlighterProvider
LANGUAGE_FACTORY
Constructor and Description |
---|
JavaSyntaxHighlighterFactory() |
Modifier and Type | Method and Description |
---|---|
SyntaxHighlighter |
create(FileType fileType,
Project project,
VirtualFile file)
SyntaxHighlighterProvider implementation (for .class files).
|
SyntaxHighlighter |
getSyntaxHighlighter(Project project,
VirtualFile file)
SyntaxHighlighterFactory implementation (for Java source files).
|
getSyntaxHighlighter, getSyntaxHighlighter
public SyntaxHighlighter getSyntaxHighlighter(Project project, VirtualFile file)
getSyntaxHighlighter
in class SyntaxHighlighterFactory
project
- might be necessary to gather various project settings from.file
- might be necessary to collect file specific settingsSyntaxHighlighter
interface implementation for this particular language.public SyntaxHighlighter create(FileType fileType, Project project, VirtualFile file)
create
in interface SyntaxHighlighterProvider