code: protected JvmTypeReference getDeclaredType(JvmIdentifiableElement identifiable) {
  		if (identifiable instanceof JvmOperation) {
  			return ((JvmOperation) identifiable).getReturnType();
  		}
  		if (identifiable instanceof JvmField) {
  			return ((JvmField) identifiable).getType();
  		}
  		if (identifiable instanceof JvmConstructor) {
  			return shared.resolver.getServices().getTypeReferences().createTypeRef(((JvmConstructor) identifiable).getDeclaringType());
  		}
  		if (identifiable instanceof JvmFormalParameter) {
  			JvmTypeReference parameterType = ((JvmFormalParameter) identifiable).getParameterType();
  			return parameterType;
  		}
  		return null;
  	}
docs: /* @Nullable