String (String typeName) { if (PsiTypes.booleanType().getCanonicalText().equals(typeName)) { return "Z"; } else if (PsiTypes.byteType().getCanonicalText().equals(typeName)) { return "B"; } else if (PsiTypes.charType().getCanonicalText().equals(typeName)) { return "C"; } else if (PsiTypes.shortType().getCanonicalText().equals(typeName)) { return "S"; } else if (PsiTypes.intType().getCanonicalText().equals(typeName)) { return "I"; } else if (PsiTypes.longType().getCanonicalText().equals(typeName)) { return "J"; } else if (PsiTypes.floatType().getCanonicalText().equals(typeName)) { return "F"; } else if (PsiTypes.doubleType().getCanonicalText().equals(typeName)) { return "D"; } else if (PsiTypes.voidType().getCanonicalText().equals(typeName)) { return "V"; } return null; }