Help us shape the future of Go! Take the 2026 Go Developer Survey

java

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package java implements the Java import extractor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DepKey

func DepKey(_ string) string

DepKey is intentionally empty for Java. Java imports are FQCNs (`com.foo.bar.Baz`); mapping them to Maven group:artifact requires a per-package table the library doesn't ship. Consumers (aegis, SBOM tools) match Module against lockfile-side metadata.

We expose this stub so the API shape stays uniform — and so a future version can grow a heuristic without breaking callers.

func Extract

func Extract(body []byte, opts extract.Options) (extract.Result, error)

Extract runs the Java import pass over body.

Types

This section is empty.

Jump to

Keyboard shortcuts

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