public class ObjectiveCRuntime extends CRuntime
CRuntime.CTypeInfo<T extends NativeObject>, CRuntime.MethodCallInfoBuilderBridJRuntime.TypeInfo<T extends NativeObject>PROPERTY_bridj_c_defaultObjectSize| Constructor and Description |
|---|
ObjectiveCRuntime() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
class_addProtocol(Pointer<? extends ObjCObject> cls,
Pointer<? extends ObjCObject> protocol) |
static Type |
getBlockCallbackType(Class blockClass) |
static ObjectiveCRuntime |
getInstance() |
String |
getMethodSignature(Method method) |
String |
getMethodSignature(Type returnType,
Type... paramTypes) |
static Pointer<? extends ObjCObject> |
getObjCClass(String name) |
String |
getSelector(Method method) |
<T extends NativeObject> |
getTypeInfo(Type type) |
boolean |
isAvailable() |
static Pointer<? extends ObjCObject> |
objc_getProtocol(Pointer<Byte> name) |
void |
register(Type type) |
allocate, createCToJavaCallback, getAbstractCallback, getActualInstanceClass, getApplyMethods, getCallbackMethod, getCallbackNativeImplementer, getDefaultStructSize, getDynamicFunctionFactory, getFastestCallbackMethod, getType, getTypeForCast, getUniqueCallbackMethod, sizeOf, unregistergetType, isOverridenSignaturepublic ObjectiveCRuntime()
public boolean isAvailable()
isAvailable in interface BridJRuntimeisAvailable in class CRuntimepublic static Pointer<? extends ObjCObject> objc_getProtocol(Pointer<Byte> name)
public static boolean class_addProtocol(Pointer<? extends ObjCObject> cls, Pointer<? extends ObjCObject> protocol)
public String getMethodSignature(Method method)
public String getMethodSignature(Type returnType, Type... paramTypes)
public void register(Type type)
register in interface BridJRuntimeregister in class CRuntimepublic String getSelector(Method method)
public static ObjectiveCRuntime getInstance()
public static Type getBlockCallbackType(Class blockClass)
public <T extends NativeObject> BridJRuntime.TypeInfo<T> getTypeInfo(Type type)
getTypeInfo in interface BridJRuntimegetTypeInfo in class CRuntimepublic static Pointer<? extends ObjCObject> getObjCClass(String name) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2009-2015. All Rights Reserved.