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 TypeMethodDescriptionvoidLauncher.addInputResource(SpoonResource resource)adds a resource to be parsed to build the spoon modelvoidSpoonModelBuilder.addInputSource(SpoonResource source)Adds a file/directory (as aSpoonResource) to be built.voidLauncher.addTemplateResource(SpoonResource resource)voidSpoonModelBuilder.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 TypeMethodDescriptionvoidSpoonModelBuilder.addInputSources(List<SpoonResource> resources)Adds a list of files/directories (as aSpoonResourceto be built.voidSpoonModelBuilder.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 TypeInterfaceDescriptioninterfaceThis interface represents files that can be used as resources for the Spoon compiler.interfaceA Spoon resource that represents a folder.Methods in spoon.compiler that return SpoonResourceModifier and TypeMethodDescriptionstatic SpoonResourceSpoonResourceHelper.createResource(File f)Creates theSpoonResourcecorresponding to the given file.Methods in spoon.compiler that return types with arguments of type SpoonResourceModifier and TypeMethodDescriptionstatic List<SpoonResource>Creates the list ofSpoonResourcecorresponding to the given paths (files, folders, archives). -
Uses of SpoonResource in spoon.support.compiler
Classes in spoon.support.compiler that implement SpoonResourceModifier and TypeClassDescriptionclassclassclassA filtering resource, see https://github.com/INRIA/spoon/issues/877classclassclassclassclass -
Uses of SpoonResource in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type SpoonResourceModifier and TypeMethodDescriptionvoidJDTBasedSpoonCompiler.addInputSource(SpoonResource source)voidJDTBasedSpoonCompiler.addTemplateSource(SpoonResource source)Method parameters in spoon.support.compiler.jdt with type arguments of type SpoonResourceModifier and TypeMethodDescriptionvoidJDTBasedSpoonCompiler.addInputSources(List<SpoonResource> resources)voidJDTBasedSpoonCompiler.addTemplateSources(List<SpoonResource> resources)