java

package
v0.0.0-...-27c8f8a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 30 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LINE_NUMBER_EXTRA_KEY = "lineNumber"
	KIND_EXTRA_KEY        = "kind"
	SYMBOL_NAME_KEY       = "name"
	FILE_KEY              = "file"
)
View Source
const (
	BUNDLES_INIT_OPTION           = "bundles"
	WORKSPACE_INIT_OPTION         = "workspace"
	MVN_SETTINGS_FILE_INIT_OPTION = "mavenSettingsFile"
	GLOBAL_SETTINGS_INIT_OPTION   = "mavenCacheDir"
	MVN_INSECURE_SETTING          = "mavenInsecure"
	CLEAN_EXPLODED_BIN_OPTION     = "cleanExplodedBin"
	JVM_MAX_MEM_INIT_OPTION       = "jvmMaxMem"
	FERN_FLOWER_INIT_OPTION       = "fernFlowerPath"
	DISABLE_MAVEN_SEARCH          = "disableMavenSearch"
	GRADLE_SOURCES_TASK_FILE      = "gradleSourcesTaskFile"
	MAVEN_INDEX_PATH              = "mavenIndexPath"
)

provider specific config keys

View Source
const (
	JDT_CLASS_FILE_URI_PREFIX = "konveyor-jdt"
)

Variables

This section is empty.

Functions

func NewJavaProvider

func NewJavaProvider(log logr.Logger, lspServerName string, contextLines int, logLevel int, config provider.Config) *javaProvider

Types

type LocationType

type LocationType int

LocationType represents different types of rule locations for filtering

const (
	LocationTypeDefault         LocationType = iota // 0 - Type (default)
	LocationInheritance                             // 1 - inheritance
	LocationMethodCall                              // 2 - method_call
	LocationConstructorCall                         // 3 - constructor_call
	LocationAnnotation                              // 4 - annotation
	LocationImplementsType                          // 5 - implements_type
	LocationEnum                                    // 6 - enum (not implemented)
	LocationReturnType                              // 7 - return_type
	LocationImport                                  // 8 - import
	LocationVariableDeclaration                     // 9 - variable_declaration
	LocationTypeKeyword                             // 10 - type
	LocationPackage                                 // 11 - package
	LocationField                                   // 12 - field
	LocationMethod                                  // 13 - method
	LocationClass                                   // 14 - class
)

func GetLocationTypeFromString

func GetLocationTypeFromString(location string) LocationType

GetLocationTypeFromString converts a location string to its corresponding LocationType constant

type SymbolKind

type SymbolKind int

SymbolKind represents LSP symbol kinds

const (
	SymbolKindFile SymbolKind
	SymbolKindModule
	SymbolKindNamespace
	SymbolKindPackage
	SymbolKindClass
	SymbolKindMethod
	SymbolKindProperty
	SymbolKindField
	SymbolKindConstructor
	SymbolKindEnum
	SymbolKindInterface
	SymbolKindFunction
	SymbolKindVariable
	SymbolKindConstant
	SymbolKindString
	SymbolKindNumber
	SymbolKindBoolean
	SymbolKindArray
	SymbolKindObject
	SymbolKindKey
	SymbolKindNull
	SymbolKindEnumMember
	SymbolKindStruct
	SymbolKindEvent
	SymbolKindOperator
	SymbolKindTypeParameter
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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