Uses of Interface
spoon.compiler.SpoonResource
Package
Description
This root package provides the default integrated launchers for Spoon program processing.
This package defines interfaces for Java file compilation with Spoon.
-
Uses of SpoonResource in spoon
Modifier and TypeMethodDescriptionvoid
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.Modifier and TypeMethodDescriptionvoid
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.Launcher.createCompiler(List<SpoonResource> inputSources)
Creates a new Spoon Java compiler with a default factory and a list of input sources.Launcher.createCompiler(Factory factory, List<SpoonResource> inputSources)
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
Modifier and TypeInterfaceDescriptioninterface
This interface represents files that can be used as resources for the Spoon compiler.interface
A Spoon resource that represents a folder.Modifier and TypeMethodDescriptionstatic SpoonResource
SpoonResourceHelper.createResource(File f)
Creates theSpoonResource
corresponding to the given file.Modifier and TypeMethodDescriptionstatic List<SpoonResource>
Creates the list ofSpoonResource
corresponding to the given paths (files, folders, archives). -
Uses of SpoonResource in spoon.support.compiler
Modifier and TypeClassDescriptionclass
class
class
A filtering resource, see https://github.com/INRIA/spoon/issues/877class
class
class
class
class
-
Uses of SpoonResource in spoon.support.compiler.jdt
Modifier and TypeMethodDescriptionvoid
JDTBasedSpoonCompiler.addInputSource(SpoonResource source)
void
JDTBasedSpoonCompiler.addTemplateSource(SpoonResource source)
Modifier and TypeMethodDescriptionvoid
JDTBasedSpoonCompiler.addInputSources(List<SpoonResource> resources)
void
JDTBasedSpoonCompiler.addTemplateSources(List<SpoonResource> resources)