Пример #1
0
  public byte getReturnType() {
    if (returnType < 0) {
      returnType = Types.getReturnType(signature);
    }

    return returnType;
  }
Пример #2
0
  public int getNumberOfArguments() {
    if (nArgs < 0) {
      nArgs = Types.getNumberOfArguments(signature);
    }

    return nArgs;
  }
Пример #3
0
  public byte[] getArgumentTypes() {
    if (argTypes == null) {
      argTypes = Types.getArgumentTypes(signature);
      nArgs = argTypes.length;
    }

    return argTypes;
  }
Пример #4
0
  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;
  }
Пример #5
0
 public int getNumberOfCallerStackSlots() {
   return Types.getNumberOfStackSlots(signature, isStatic()); // includes return type
 }
Пример #6
0
 public String getJNIName() {
   return Types.getJNIMangledMethodName(null, name, signature);
 }
Пример #7
0
 public String getReturnTypeName() {
   return Types.getReturnTypeName(signature);
 }
Пример #8
0
 public String[] getArgumentTypeNames() {
   return Types.getArgumentTypeNames(signature);
 }