TypeLoader
classin packageklyn.reflection
public class TypeLoader:
TypeLoader
Class responsible for loading types in the reflection system.
Methods
Modifier and Type Member Description
public static attributeCount
attributeCount(typeName as String) as Int:
No summary.
public static attributeFlags
attributeFlags(typeName as String, index as Int) as Int:
No summary.
public static attributeName
attributeName(typeName as String, index as Int) as String:
No summary.
public static attributeType
attributeType(typeName as String, index as Int) as String:
No summary.
public load
load(name as String) as Type throws TypeNotFoundException:
Method to load a type by its name.
public static methodAnnotationCount
methodAnnotationCount(typeName as String, methodName as String) as Int:
Reflection helper: returns the number of annotations on a method.
public static methodAnnotationName
methodAnnotationName(typeName as String, methodName as String, index as Int) as String:
Reflection helper: returns method annotation name by index.
public static methodCount
methodCount(typeName as String) as Int:
Reflection helper: returns the number of methods declared on a type.
public static methodFlags
methodFlags(typeName as String, index as Int) as Int:
No summary.
public static methodName
methodName(typeName as String, index as Int) as String:
Reflection helper: returns method name by index.
public static methodParameterAnnotationCount
methodParameterAnnotationCount(typeName as String, methodName as String, paramName as String) as Int:
Reflection helper: returns the number of annotations on a method parameter.
public static methodParameterAnnotationName
methodParameterAnnotationName(typeName as String, methodName as String, paramName as String, index as Int) as String:
Reflection helper: returns parameter annotation name by index.
public static methodParameterCount
methodParameterCount(typeName as String, methodName as String) as Int:
Reflection helper: returns the number of parameters of a method.
public static methodParameterName
methodParameterName(typeName as String, methodName as String, index as Int) as String:
Reflection helper: returns parameter name by index.
public static methodParameterType
methodParameterType(typeName as String, methodName as String, index as Int) as String:
Reflection helper: returns parameter type by index.
public static methodReturnType
methodReturnType(typeName as String, index as Int) as String:
Reflection helper: returns method return type by index.
public static propertyCount
propertyCount(typeName as String) as Int:
No summary.
public static propertyFlags
propertyFlags(typeName as String, index as Int) as Int:
No summary.
public static propertyName
propertyName(typeName as String, index as Int) as String:
No summary.
public static propertyType
propertyType(typeName as String, index as Int) as String:
No summary.
public static typeAnnotationCount
typeAnnotationCount(typeName as String) as Int:
No summary.
public static typeAnnotationName
typeAnnotationName(typeName as String, index as Int) as String:
No summary.
public static typeGenericParameterCount
typeGenericParameterCount(typeName as String) as Int:
No summary.
public static typeGenericParameterName
typeGenericParameterName(typeName as String, index as Int) as String:
No summary.