types

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassNameLess

func ClassNameLess(l, r ClassName) bool

func PackageNameLess

func PackageNameLess(l, r PackageName) bool

func PackageNamesHasPrefix

func PackageNamesHasPrefix(whole, prefix PackageName) bool

Types

type ClassName

type ClassName struct {
	// contains filtered or unexported fields
}

func NewClassName

func NewClassName(packageName PackageName, bareOuterClassName string) ClassName

func ParseClassName

func ParseClassName(fullyQualified string) (*ClassName, error)

func (*ClassName) BareOuterClassName

func (c *ClassName) BareOuterClassName() string

func (*ClassName) FullyQualifiedClassName

func (c *ClassName) FullyQualifiedClassName() string

func (*ClassName) PackageName

func (c *ClassName) PackageName() PackageName

type PackageName

type PackageName struct {
	Name string
}

func NewPackageName

func NewPackageName(name string) PackageName

type ResolvableJavaPackage

type ResolvableJavaPackage struct {
	// contains filtered or unexported fields
}

func NewResolvableJavaPackage

func NewResolvableJavaPackage(packageName PackageName, isTestOnly, isTestSuite bool) *ResolvableJavaPackage

func ParseResolvableJavaPackage

func ParseResolvableJavaPackage(s string) (*ResolvableJavaPackage, error)

func (*ResolvableJavaPackage) PackageName

func (r *ResolvableJavaPackage) PackageName() PackageName

func (*ResolvableJavaPackage) String

func (r *ResolvableJavaPackage) String() string

type ResolveInput

type ResolveInput struct {
	PackageNames         *sorted_set.SortedSet[PackageName]
	ImportedPackageNames *sorted_set.SortedSet[PackageName]
	ExportedPackageNames *sorted_set.SortedSet[PackageName]
}

Jump to

Keyboard shortcuts

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