public class NativeMethodInfo extends MethodInfo
| Modifier and Type | Field and Description |
|---|---|
protected Method |
mth |
protected NativePeer |
peer |
argSize, argTypes, attributes, ci, code, exceptionHandlers, genericSignature, globalId, lineNumbers, localVars, maxLocals, maxStack, modifiers, mthTable, name, nArgs, retSize, returnType, signature, thrownExceptionClassNames, uniqueName, warnedLocalInfoannotations, attr| Constructor and Description |
|---|
NativeMethodInfo(MethodInfo mi,
Method mth,
NativePeer peer) |
| Modifier and Type | Method and Description |
|---|---|
Instruction |
executeNative(ThreadInfo ti) |
protected Object[] |
getArguments(ThreadInfo ti)
Get and convert the native method parameters off the ThreadInfo stack.
|
int |
getLineNumber(Instruction pc)
Returns the line number for a given position.
|
Method |
getMethod() |
NativePeer |
getNativePeer() |
String |
getStackTraceSource() |
boolean |
hasEmptyBody() |
boolean |
isMJI() |
boolean |
isUnresolvedNativeMethod() |
protected boolean |
isUnsatisfiedLinkError(MJIEnv env) |
void |
replace(MethodInfo mi) |
clone, containsLineNumber, create, createDirectCallStackFrame, createRunStartStackFrame, dump, finishExceptionHandlerTable, finishLineNumberTable, finishLocalVarTable, finishParameterAnnotations, finishThrownExceptions, getArgumentLocalVars, getArgumentsSize, getArgumentTypeNames, getArgumentTypes, getBaseName, getClassInfo, getClassName, getCompleteName, getExceptions, getFirstInsn, getFullName, getGenericSignature, getGlobalId, getHandlerFor, getInstanceFor, getInstruction, getInstructionAt, getInstructions, getInstructionsForLine, getInstructionsForLineInterval, getJNIName, getLastInsn, getLineNumbers, getLocalVar, getLocalVar, getLocalVariableNames, getLocalVars, getLongName, getMatchingInstructions, getMaxLocals, getMaxStack, getMethodInfo, getModifiers, getName, getNumberOfArguments, getNumberOfCallerStackSlots, getNumberOfInstructions, getNumberOfLoadedMethods, getNumberOfStackArguments, getOverriddenMethodInfo, getParameterAnnotations, getParameterAnnotations, getReturnChoiceGeneratorType, getReturnSize, getReturnType, getReturnTypeCode, getReturnTypeName, getSignature, getSourceFileName, getStackTraceName, getThrownExceptionClassNames, getUniqueName, getUniqueName, hasCode, hasParameterAnnotations, includesLine, intersectsLineNumbers, isAbstract, isAtomic, isClinit, isClinit, isCtor, isDirectCallStub, isFirewall, isHidden, isInit, isInitOrClinit, isInternalMethod, isJPFInternal, isNative, isPrivate, isProtected, isPublic, isReferenceReturnType, isStatic, isSynchronized, isSyncRelevant, isSynthetic, isThreadEntry, isVarargs, linkToClass, setCode, setException, setExceptionHandler, setExceptionHandlers, setFirewall, setGenericSignature, setLineNumber, setLineNumbers, setLocalVar, setLocalVarTable, setMaxLocals, setMaxStack, setParameterAnnotations, setParameterAnnotations, setThrownExceptions, startExceptionHandlerTable, startLineNumberTable, startLocalVarTable, startParameterAnnotations, startTrownExceptions, toStringaddAnnotation, addAttr, attrIterator, attrIterator, getAnnotation, getAnnotations, getAttr, getAttr, getDeclaredAnnotations, getNextAttr, hasAnnotations, hasAttr, hasAttr, hasAttrValue, removeAttr, replaceAttr, setAnnotations, setAttrprotected Method mth
protected NativePeer peer
public NativeMethodInfo(MethodInfo mi, Method mth, NativePeer peer)
public void replace(MethodInfo mi)
public boolean isUnresolvedNativeMethod()
isUnresolvedNativeMethod in class MethodInfopublic boolean isMJI()
isMJI in class MethodInfopublic boolean hasEmptyBody()
hasEmptyBody in class MethodInfopublic NativePeer getNativePeer()
public Method getMethod()
public String getStackTraceSource()
getStackTraceSource in class MethodInfopublic int getLineNumber(Instruction pc)
MethodInfogetLineNumber in class MethodInfopublic Instruction executeNative(ThreadInfo ti)
protected boolean isUnsatisfiedLinkError(MJIEnv env)
protected Object[] getArguments(ThreadInfo ti)