processor

package
v0.0.0-...-963e96b Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	Version ByteCodeVersion
	Entries []Entry
}

type BucketsByCount

type BucketsByCount []*Bucket

func (BucketsByCount) Len

func (a BucketsByCount) Len() int

func (BucketsByCount) Less

func (a BucketsByCount) Less(i, j int) bool

func (BucketsByCount) Swap

func (a BucketsByCount) Swap(i, j int)

type ByteCodeVersion

type ByteCodeVersion struct {
	Major uint16
	Minor uint16
}

func (ByteCodeVersion) JavaVersion

func (v ByteCodeVersion) JavaVersion() string

func (ByteCodeVersion) String

func (v ByteCodeVersion) String() string

type Collector

type Collector struct {
	Entries []Entry
}

func (*Collector) Report

func (collector *Collector) Report(sc *scanner.ScanContext, maxByteCodeMajorVersion uint16, listClassFiles bool)

type Entry

type Entry struct {
	Path    string
	Version ByteCodeVersion
}

type Processor

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

func NewProcessor

func NewProcessor() *Processor

func (*Processor) Process

func (processor *Processor) Process(sc *scanner.ScanContext, path string) error

func (*Processor) Report

func (processor *Processor) Report(maxByteCodeMajorVersion uint16, listClassFiles bool)

Jump to

Keyboard shortcuts

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