public byte getReturnType() { if (returnType < 0) { returnType = Types.getReturnType(signature); } return returnType; }
public int getNumberOfArguments() { if (nArgs < 0) { nArgs = Types.getNumberOfArguments(signature); } return nArgs; }
public byte[] getArgumentTypes() { if (argTypes == null) { argTypes = Types.getArgumentTypes(signature); nArgs = argTypes.length; } return argTypes; }
public int getArgumentsSize() { // it's actually faster to do this on demand just for the invoked methods // than to pull this out of each BCEL Method during init if (argSize < 0) { argSize = Types.getArgumentsSize(signature); if (!isStatic()) { argSize++; } } return argSize; }
public int getNumberOfCallerStackSlots() { return Types.getNumberOfStackSlots(signature, isStatic()); // includes return type }
public String getJNIName() { return Types.getJNIMangledMethodName(null, name, signature); }
public String getReturnTypeName() { return Types.getReturnTypeName(signature); }
public String[] getArgumentTypeNames() { return Types.getArgumentTypeNames(signature); }