java2ssa

package
v1.3.5-beta7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Builder = &SSABuilder{}
View Source
var ServletAnnotationMap = map[string]bool{
	"HandlesTypes":         true,
	"HttpConstraint":       true,
	"HttpMethodConstraint": true,
	"MultipartConfig":      true,
	"ServletSecurity":      true,
	"WebFilter":            true,
	"WebInitParam":         true,
	"WebListener":          true,
	"WebServlet":           true,
}
View Source
var SpringFrameworkAnnotationMap = map[string]bool{
	"CrossOrigin":                          true,
	"InitBinder":                           true,
	"ExceptionHandlerReflectiveProcessor":  true,
	"RequestBody":                          true,
	"PathVariable":                         true,
	"package-info":                         true,
	"ModelAttribute":                       true,
	"RequestAttribute":                     true,
	"RequestHeader":                        true,
	"ExceptionHandler":                     true,
	"ControllerMappingReflectiveProcessor": true,
	"GetMapping":                           true,
	"Mapping":                              true,
	"MatrixVariable":                       true,
	"DeleteMapping":                        true,
	"CookieValue":                          true,
	"BindParam":                            true,
	"PostMapping":                          true,
	"PutMapping":                           true,
	"ControllerAdvice":                     true,
	"PatchMapping":                         true,
	"RequestMapping":                       true,
	"RequestMethod":                        true,
	"RequestParam":                         true,
	"RequestPart":                          true,
	"ResponseBody":                         true,
	"ResponseStatus":                       true,
	"RestController":                       true,
	"RestControllerAdvice":                 true,
	"SessionAttribute":                     true,
	"SessionAttributes":                    true,
	"ValueConstants":                       true,
}

Functions

func Frontend added in v1.3.2

func Frontend(src string, force bool) (javaparser.ICompilationUnitContext, error)

func ShowJavaCompilingCost

func ShowJavaCompilingCost()

Types

type AnnotationDescription

type AnnotationDescription struct {
	Name string
}

type SSABuilder added in v1.3.3

type SSABuilder struct{}

func (*SSABuilder) Build added in v1.3.3

func (*SSABuilder) Build(src string, force bool, b *ssa.FunctionBuilder) error

func (*SSABuilder) FilterFile added in v1.3.3

func (*SSABuilder) FilterFile(path string) bool

func (*SSABuilder) GetLanguage

func (*SSABuilder) GetLanguage() consts.Language

func (*SSABuilder) PreHandler

func (s *SSABuilder) PreHandler(fileSystem fi.FileSystem, functionBuilder *ssa.FunctionBuilder, path string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL