Uses of Interface
spoon.compiler.SpoonResource
-
Packages that use SpoonResource Package Description spoon This root package provides the default integrated launchers for Spoon program processing.spoon.compiler This package defines interfaces for Java file compilation with Spoon.spoon.support.compiler spoon.support.compiler.jdt -
-
Uses of SpoonResource in spoon
Methods in spoon with parameters of type SpoonResource Modifier and Type Method Description void
Launcher. addInputResource(SpoonResource resource)
adds a resource to be parsed to build the spoon modelvoid
SpoonModelBuilder. addInputSource(SpoonResource source)
Adds a file/directory (as aSpoonResource
) to be built.void
Launcher. addTemplateResource(SpoonResource resource)
void
SpoonModelBuilder. addTemplateSource(SpoonResource source)
Adds a file/directory (as aSpoonResource
) to be used to build templates.Method parameters in spoon with type arguments of type SpoonResource Modifier and Type Method Description void
SpoonModelBuilder. addInputSources(List<SpoonResource> resources)
Adds a list of files/directories (as aSpoonResource
to be built.void
SpoonModelBuilder. addTemplateSources(List<SpoonResource> resources)
Adds a list of files/directories (as a CtResource) to be used to build templates.SpoonModelBuilder
Launcher. createCompiler(List<SpoonResource> inputSources)
Creates a new Spoon Java compiler with a default factory and a list of input sources.SpoonModelBuilder
Launcher. createCompiler(Factory factory, List<SpoonResource> inputSources)
SpoonModelBuilder
Launcher. createCompiler(Factory factory, List<SpoonResource> inputSources, List<SpoonResource> templateSources)
Creates a new Spoon Java compiler in order to process and compile Java source code. -
Uses of SpoonResource in spoon.compiler
Subinterfaces of SpoonResource in spoon.compiler Modifier and Type Interface Description interface
SpoonFile
This interface represents files that can be used as resources for the Spoon compiler.interface
SpoonFolder
A Spoon resource that represents a folder.Methods in spoon.compiler that return SpoonResource Modifier and Type Method Description static SpoonResource
SpoonResourceHelper. createResource(File f)
Creates theSpoonResource
corresponding to the given file.Methods in spoon.compiler that return types with arguments of type SpoonResource Modifier and Type Method Description static List<SpoonResource>
SpoonResourceHelper. resources(String... paths)
Creates the list ofSpoonResource
corresponding to the given paths (files, folders, archives). -
Uses of SpoonResource in spoon.support.compiler
Classes in spoon.support.compiler that implement SpoonResource Modifier and Type Class Description class
FileSystemFile
class
FileSystemFolder
class
FilteringFolder
A filtering resource, see https://github.com/INRIA/spoon/issues/877class
SpoonPom
class
VirtualFile
class
VirtualFolder
class
ZipFile
class
ZipFolder
-
Uses of SpoonResource in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type SpoonResource Modifier and Type Method Description void
JDTBasedSpoonCompiler. addInputSource(SpoonResource source)
void
JDTBasedSpoonCompiler. addTemplateSource(SpoonResource source)
Method parameters in spoon.support.compiler.jdt with type arguments of type SpoonResource Modifier and Type Method Description void
JDTBasedSpoonCompiler. addInputSources(List<SpoonResource> resources)
void
JDTBasedSpoonCompiler. addTemplateSources(List<SpoonResource> resources)
-