Index

A B C D E F G H I L N O P R S T V 
All Classes and Interfaces|All Packages

A

add(Replacement) - Method in class net.neoforged.jst.api.Replacements
 
afterRun(TransformContext) - Method in interface net.neoforged.jst.api.SourceTransformer
Invoked after all source transformations are finished.
apply(CharSequence) - Method in class net.neoforged.jst.api.Replacements
 

B

beforeRun(TransformContext) - Method in interface net.neoforged.jst.api.SourceTransformer
Invoked before source files are visited for transformation.

C

canHaveMultipleEntries() - Method in interface net.neoforged.jst.api.FileSink
 
canHaveMultipleEntries() - Method in interface net.neoforged.jst.api.FileSource
 
close() - Method in interface net.neoforged.jst.api.FileSink
 
close() - Method in interface net.neoforged.jst.api.FileSource
 
COMPARATOR - Static variable in record class net.neoforged.jst.api.Replacement
 
createSourceRoot(VirtualFileManager) - Method in interface net.neoforged.jst.api.FileSource
 
createTransformer() - Method in interface net.neoforged.jst.api.SourceTransformerPlugin
Creates a new transformer to be applied to source code.

D

debug(String, Object...) - Method in class net.neoforged.jst.api.Logger
 
directory() - Method in interface net.neoforged.jst.api.FileEntry
 

E

environment() - Method in record class net.neoforged.jst.api.TransformContext
Returns the value of the environment record component.
equals(Object) - Method in record class net.neoforged.jst.api.Replacement
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.neoforged.jst.api.TransformContext
Indicates whether some other object is "equal to" this one.
error(String, Object...) - Method in class net.neoforged.jst.api.Logger
 

F

FileEntries - Class in net.neoforged.jst.api
 
FileEntry - Interface in net.neoforged.jst.api
 
FileSink - Interface in net.neoforged.jst.api
 
FileSource - Interface in net.neoforged.jst.api
 

G

getAppEnv() - Method in interface net.neoforged.jst.api.IntelliJEnvironment
 
getBinaryClassName(PsiClass, StringBuilder) - Static method in class net.neoforged.jst.api.PsiHelper
An adapted version of ClassUtil.formatClassName(PsiClass, StringBuilder) where Inner-Classes use a $ separator while formatClassName separates InnerClasses with periods from their parent.
getBinaryMethodName(PsiMethod) - Static method in class net.neoforged.jst.api.PsiHelper
 
getBinaryMethodSignature(PsiMethod) - Static method in class net.neoforged.jst.api.PsiHelper
 
getImplicitConstructorSignature(PsiClass) - Static method in class net.neoforged.jst.api.PsiHelper
 
getLastLineLength(PsiWhiteSpace) - Static method in class net.neoforged.jst.api.PsiHelper
 
getName() - Method in interface net.neoforged.jst.api.SourceTransformerPlugin
Unique name used in command-line options to enable this plugin.
getOverloadedSignatures(PsiMethod) - Static method in class net.neoforged.jst.api.PsiHelper
 
getParameterLvtIndices(PsiParameterListOwner) - Static method in class net.neoforged.jst.api.PsiHelper
Gets the local variable table indices of the parameters for the given method or lambda expression
getProjectEnv() - Method in interface net.neoforged.jst.api.IntelliJEnvironment
 
getPsiFacade() - Method in interface net.neoforged.jst.api.IntelliJEnvironment
 
getPsiManager() - Method in interface net.neoforged.jst.api.IntelliJEnvironment
 

H

hasExtension(String) - Method in interface net.neoforged.jst.api.FileEntry
 
hashCode() - Method in record class net.neoforged.jst.api.Replacement
Returns a hash code value for this object.
hashCode() - Method in record class net.neoforged.jst.api.TransformContext
Returns a hash code value for this object.

I

insertAfter(PsiElement, String) - Method in class net.neoforged.jst.api.Replacements
 
insertBefore(PsiElement, String) - Method in class net.neoforged.jst.api.Replacements
 
IntelliJEnvironment - Interface in net.neoforged.jst.api
 
isEmpty() - Method in class net.neoforged.jst.api.Replacements
 
isNonStaticInnerClass(PsiClass) - Static method in class net.neoforged.jst.api.PsiHelper
 
isOrdered() - Method in interface net.neoforged.jst.api.FileSink
 
isOrdered() - Method in interface net.neoforged.jst.api.FileSource
 
isRecordConstructor(PsiMethod) - Static method in class net.neoforged.jst.api.PsiHelper
 

L

lastModified() - Method in interface net.neoforged.jst.api.FileEntry
 
logger() - Method in record class net.neoforged.jst.api.TransformContext
Returns the value of the logger record component.
Logger - Class in net.neoforged.jst.api
 
Logger(PrintStream, PrintStream) - Constructor for class net.neoforged.jst.api.Logger
 

N

net.neoforged.jst.api - package net.neoforged.jst.api
 
newText() - Method in record class net.neoforged.jst.api.Replacement
Returns the value of the newText record component.

O

ofPath(Path, Path) - Static method in class net.neoforged.jst.api.FileEntries
Creates a file entry for a given NIO path.
ofZipEntry(ZipFile, ZipEntry) - Static method in class net.neoforged.jst.api.FileEntries
Creates a file entry for an existing zip entry.
openInputStream() - Method in interface net.neoforged.jst.api.FileEntry
 

P

PsiHelper - Class in net.neoforged.jst.api
 
PsiHelper() - Constructor for class net.neoforged.jst.api.PsiHelper
 
putDirectory(String) - Method in interface net.neoforged.jst.api.FileSink
 
putFile(String, FileTime, byte[]) - Method in interface net.neoforged.jst.api.FileSink
 

R

range() - Method in record class net.neoforged.jst.api.Replacement
Returns the value of the range record component.
relativePath() - Method in interface net.neoforged.jst.api.FileEntry
Path to the file or directory.
remove(PsiElement) - Method in class net.neoforged.jst.api.Replacements
 
replace(PsiElement, String) - Method in class net.neoforged.jst.api.Replacements
 
Replacement - Record Class in net.neoforged.jst.api
 
Replacement(TextRange, String) - Constructor for record class net.neoforged.jst.api.Replacement
Creates an instance of a Replacement record class.
Replacements - Class in net.neoforged.jst.api
 
Replacements() - Constructor for class net.neoforged.jst.api.Replacements
 

S

sink() - Method in record class net.neoforged.jst.api.TransformContext
Returns the value of the sink record component.
source() - Method in record class net.neoforged.jst.api.TransformContext
Returns the value of the source record component.
SourceTransformer - Interface in net.neoforged.jst.api
Transformers are created through plugins, and handle source replacements.
SourceTransformerPlugin - Interface in net.neoforged.jst.api
Accessed via ServiceLoader.
streamEntries() - Method in interface net.neoforged.jst.api.FileSource
 

T

toString() - Method in record class net.neoforged.jst.api.Replacement
Returns a string representation of this record class.
toString() - Method in record class net.neoforged.jst.api.TransformContext
Returns a string representation of this record class.
TransformContext - Record Class in net.neoforged.jst.api
 
TransformContext(IntelliJEnvironment, FileSource, FileSink, Logger) - Constructor for record class net.neoforged.jst.api.TransformContext
Creates an instance of a TransformContext record class.

V

visitFile(PsiFile, Replacements) - Method in interface net.neoforged.jst.api.SourceTransformer
Visit the given psiFile for transformation.
A B C D E F G H I L N O P R S T V 
All Classes and Interfaces|All Packages