descriptors

package
v0.0.0-...-eb536d9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Boolean   = "Z"
	Byte      = "B"
	Short     = "S"
	Char      = "C"
	Int       = "I"
	Float     = "F"
	Double    = "D"
	Long      = "J"
	Void      = "V"
	RefPrefix = "L"
	String    = "Ljava/lang/String;"

	ArrayPrefix  = "["
	ArrayBoolean = "[Z"
	ArrayByte    = "[B"
	ArrayShort   = "[S"
	ArrayChar    = "[C"
	ArrayInt     = "[I"
	ArrayFloat   = "[F"
	ArrayDouble  = "[D"
	ArrayLong    = "[J"
	ArrayString  = "[Ljava/lang/String;"
)

Variables

View Source
var PrimitiveTypeToArrayDescriptor = map[string]string{
	"void":    Void,
	"boolean": Boolean,
	"byte":    Byte,
	"short":   Short,
	"int":     Int,
	"long":    Long,
	"char":    Char,
	"float":   Float,
	"double":  Double,
}

Functions

func ConvertToClassNameFrom

func ConvertToClassNameFrom(descriptor string) string

func ConvertToDescriptorFrom

func ConvertToDescriptorFrom(className string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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