MCPcopy Create free account
hub / github.com/golang/mobile / Class

Struct Class

internal/importers/java/java.go:30–56  ·  view source on GitHub ↗

Class is the bind representation of a Java class or interface. Use Import to convert class references to Class.

Source from the content-addressed store, hash-verified

28// interface.
29// Use Import to convert class references to Class.
30type Class struct {
31 // "java.pkg.Class.Inner"
32 Name string
33 // "java.pkg.Class$Inner"
34 FindName string
35 // JNI mangled name
36 JNIName string
37 // "Inner"
38 PkgName string
39 Funcs []*FuncSet
40 Methods []*FuncSet
41 // funcMap maps function names.
42 funcMap map[string]*FuncSet
43 // FuncMap maps method names.
44 methodMap map[string]*FuncSet
45 // All methods, including methods from
46 // supers.
47 AllMethods []*FuncSet
48 Vars []*Var
49 Supers []string
50 Final bool
51 Abstract bool
52 Interface bool
53 Throwable bool
54 // Whether the class has a no-arg constructor
55 HasNoArgCon bool
56}
57
58// FuncSet is the set of overloaded variants of a function.
59// If the function is not overloaded, its FuncSet contains

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected