KT-1508 jet.Number -> j.l.Number
This commit is contained in:
@@ -779,6 +779,7 @@ public class JetTypeMapper {
|
||||
knowTypes.put(standardLibrary.getNullablePrimitiveJetType(primitiveType), jvmPrimitiveType.getWrapper().getAsmType());
|
||||
}
|
||||
|
||||
knowTypes.put(standardLibrary.getNumberType(),JL_NUMBER_TYPE);
|
||||
knowTypes.put(standardLibrary.getStringType(),JL_STRING_TYPE);
|
||||
knowTypes.put(standardLibrary.getNullableStringType(),JL_STRING_TYPE);
|
||||
knowTypes.put(standardLibrary.getCharSequenceType(),JL_CHAR_SEQUENCE_TYPE);
|
||||
@@ -798,10 +799,6 @@ public class JetTypeMapper {
|
||||
|| className.getFqName().equals("java.lang.String") || className.getFqName().equals("java.lang.Object");
|
||||
}
|
||||
|
||||
public String isKnownTypeInfo(JetType jetType) {
|
||||
return knowTypeNames.get(jetType);
|
||||
}
|
||||
|
||||
public boolean isGenericsArray(JetType type) {
|
||||
DeclarationDescriptor declarationDescriptor = type.getConstructor().getDeclarationDescriptor();
|
||||
if(declarationDescriptor instanceof TypeParameterDescriptor)
|
||||
|
||||
Reference in New Issue
Block a user