org.bridj
Class AbstractBridJRuntime
java.lang.Object
org.bridj.AbstractBridJRuntime
- All Implemented Interfaces:
- BridJRuntime
- Direct Known Subclasses:
- CRuntime, DotNetRuntime, MonoRuntime
public abstract class AbstractBridJRuntime
- extends Object
- implements BridJRuntime
Base class for implementation of runtimes
- Author:
- Olivier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBridJRuntime
public AbstractBridJRuntime()
log
protected boolean log(Level level,
String message,
Throwable ex)
log
protected boolean log(Level level,
String message)
unregister
public void unregister(Type type)
- Specified by:
unregister
in interface BridJRuntime
getType
public Type getType(NativeObject instance)
- Specified by:
getType
in interface BridJRuntime
findConstructor
protected Constructor findConstructor(Class<?> type,
int constructorId,
boolean onlyWithAnnotation)
throws SecurityException,
NoSuchMethodException
- Throws:
SecurityException
NoSuchMethodException
isOverridenSignature
public static boolean isOverridenSignature(Type[] parentSignature,
Type[] overrideSignature,
int overrideOffset)
isOverride
protected static boolean isOverride(Type parentSignature,
Type overrideSignature)
Copyright © 2009-2012. All Rights Reserved.