Uses of Interface
spoon.compiler.SpoonResource
Packages that use 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
Methods in spoon with parameters of type SpoonResourceModifier 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.Method parameters in spoon with type arguments of type SpoonResourceModifier 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
Subinterfaces of SpoonResource in spoon.compilerModifier and TypeInterfaceDescriptioninterface
This interface represents files that can be used as resources for the Spoon compiler.interface
A Spoon resource that represents a folder.Methods in spoon.compiler that return SpoonResourceModifier and TypeMethodDescriptionstatic SpoonResource
SpoonResourceHelper.createResource(File f)
Creates theSpoonResource
corresponding to the given file.Methods in spoon.compiler that return types with arguments of type SpoonResourceModifier and TypeMethodDescriptionstatic List<SpoonResource>
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 SpoonResourceModifier 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
Methods in spoon.support.compiler.jdt with parameters of type SpoonResourceModifier and TypeMethodDescriptionvoid
JDTBasedSpoonCompiler.addInputSource(SpoonResource source)
void
JDTBasedSpoonCompiler.addTemplateSource(SpoonResource source)
Method parameters in spoon.support.compiler.jdt with type arguments of type SpoonResourceModifier and TypeMethodDescriptionvoid
JDTBasedSpoonCompiler.addInputSources(List<SpoonResource> resources)
void
JDTBasedSpoonCompiler.addTemplateSources(List<SpoonResource> resources)