java

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStdlib

func IsStdlib(imp types.PackageName) bool

func IsTestPath

func IsTestPath(dir string) bool

IsTestPath tries to detect if the directory would contain test files of not.

Types

type Package

type Package struct {
	Name types.PackageName

	ImportedClasses                        *sorted_set.SortedSet[types.ClassName]
	ExportedClasses                        *sorted_set.SortedSet[types.ClassName]
	ImportedPackagesWithoutSpecificClasses *sorted_set.SortedSet[types.PackageName]
	Mains                                  *sorted_set.SortedSet[types.ClassName]

	// Especially useful for module mode
	Files       *sorted_set.SortedSet[string]
	TestPackage bool

	PerClassMetadata map[string]PerClassMetadata
}

type PerClassMetadata added in v0.6.0

type PerClassMetadata struct {
	AnnotationClassNames *sorted_set.SortedSet[string]
}

Jump to

Keyboard shortcuts

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