public static String getDefaultValueOfType(PsiType type) { if (type instanceof PsiArrayType) { int count = type.getArrayDimensions() - 1; PsiType componentType = type.getDeepComponentType();
@NonNull @Override public PsiType getType() { PsiType type = mManager.findType((TypeReference) mNativeNode); if (type != null && mNativeNode instanceof ArrayTypeReference && (((ArrayTypeReference)mNativeNode).bits & ASTNode.IsVarArgs) != 0) { return PsiEllipsisType.createEllipsis(type.getDeepComponentType(), type.getAnnotations()); } if (type == null) { type = PsiType.NULL; } return type; }
PsiType componentType = transformed != null ? transformed.getDeepComponentType() : null; if (componentType instanceof PsiWildcardType) { componentType = ((PsiWildcardType)componentType).getExtendsBound();
type = type.getDeepComponentType(); if (type == PsiType.INT) { if (!values.isEmpty()) { type = type.getDeepComponentType(); if (type instanceof PsiPrimitiveType) { if (PsiType.BYTE.equals(type)) {
else if (bound.getArrayDimensions() + 1 == type.getArrayDimensions() && bound.getDeepComponentType() instanceof PsiClassType) { return !possibleClasses.contains(((PsiClassType)bound.getDeepComponentType()).resolve());
if (type instanceof PsiArrayType) { type = type.getDeepComponentType(); } else if (type instanceof PsiClassType) {
PsiType type = initializer.getType(); if (type != null) { type = type.getDeepComponentType();