public VarType copy() { return copy(false); }
private static VarType guessType(int val, boolean boolPermitted) { if (boolPermitted) { VarType constType = VarType.VARTYPE_BOOLEAN; if (val != 0 && val != 1) { constType = constType.copy(true); } return constType; } else if (0 <= val && val <= 127) { return VarType.VARTYPE_BYTECHAR; } else if (-128 <= val && val <= 127) { return VarType.VARTYPE_BYTE; } else if (0 <= val && val <= 32767) { return VarType.VARTYPE_SHORTCHAR; } else if (-32768 <= val && val <= 32767) { return VarType.VARTYPE_SHORT; } else if (0 <= val && val <= 0xFFFF) { return VarType.VARTYPE_CHAR; } else { return VarType.VARTYPE_INT; } }
@Override public VarType getExprType() { VarType exprType = array.getExprType(); if (exprType.equals(VarType.VARTYPE_NULL)) { return hardType.copy(); } else { return exprType.decreaseArrayDim(); } }
String typeName = ExprProcessor.getCastTypeName(md_content.params[i].copy()); if (ExprProcessor.UNDEFINED_TYPE_STRING.equals(typeName) && DecompilerContext.getOption(IFernflowerPreferences.UNDEFINED_PARAM_TYPE_OBJECT)) {
case CodeConstants.opc_dup_x2: int depth1 = 88 - instr.opcode; stack.insertByOffset(depth1, stack.getByOffset(-1).copy()); break; case CodeConstants.opc_dup2: case CodeConstants.opc_dup2_x2: int depth2 = 90 - instr.opcode; stack.insertByOffset(depth2, stack.getByOffset(-2).copy()); stack.insertByOffset(depth2, stack.getByOffset(-1).copy()); break; case CodeConstants.opc_swap:
public VarType copy() { return copy(false); }
private static VarType guessType(int val, boolean boolPermitted) { if (boolPermitted) { VarType constType = VarType.VARTYPE_BOOLEAN; if (val != 0 && val != 1) { constType = constType.copy(true); } return constType; } else if (0 <= val && val <= 127) { return VarType.VARTYPE_BYTECHAR; } else if (-128 <= val && val <= 127) { return VarType.VARTYPE_BYTE; } else if (0 <= val && val <= 32767) { return VarType.VARTYPE_SHORTCHAR; } else if (-32768 <= val && val <= 32767) { return VarType.VARTYPE_SHORT; } else if (0 <= val && val <= 0xFFFF) { return VarType.VARTYPE_CHAR; } else { return VarType.VARTYPE_INT; } }
@Override public VarType getExprType() { VarType exprType = array.getExprType(); if (exprType.equals(VarType.VARTYPE_NULL)) { return hardType.copy(); } else { return exprType.decreaseArrayDim(); } }
String typeName = ExprProcessor.getCastTypeName(md_content.params[i].copy()); if (ExprProcessor.UNDEFINED_TYPE_STRING.equals(typeName) && DecompilerContext.getOption(IFernflowerPreferences.UNDEFINED_PARAM_TYPE_OBJECT)) {
case CodeConstants.opc_dup_x2: int depth1 = 88 - instr.opcode; stack.insertByOffset(depth1, stack.getByOffset(-1).copy()); break; case CodeConstants.opc_dup2: case CodeConstants.opc_dup2_x2: int depth2 = 90 - instr.opcode; stack.insertByOffset(depth2, stack.getByOffset(-2).copy()); stack.insertByOffset(depth2, stack.getByOffset(-1).copy()); break; case CodeConstants.opc_swap: