Generate reflection info to classes for function references
The information includes the owner (class, package, script, or null for local functions) and the JVM signature -- this information will be used by reflection to locate the symbol
This commit is contained in:
@@ -40,6 +40,7 @@ public class AsmTypes {
|
||||
public static final Type K_CLASS_TYPE = reflect("KClass");
|
||||
public static final Type K_CLASS_ARRAY_TYPE = Type.getObjectType("[" + K_CLASS_TYPE.getDescriptor());
|
||||
public static final Type K_PACKAGE_TYPE = reflect("KPackage");
|
||||
public static final Type K_DECLARATION_CONTAINER_TYPE = reflect("KDeclarationContainer");
|
||||
|
||||
public static final Type K_FUNCTION = reflect("KFunction");
|
||||
public static final Type K_TOP_LEVEL_FUNCTION = reflect("KTopLevelFunction");
|
||||
|
||||
Reference in New Issue
Block a user